From 5fff8afabd783c94c7e99c4ce8fcb8cb8058982c Mon Sep 17 00:00:00 2001 From: mailslurp-sdk-bot Date: Mon, 12 Jun 2023 23:35:46 +0000 Subject: [PATCH] 15.17.17 - csharp-documentation --- .github/workflows/main.yml | 43 + .github/workflows/maven.yml | 30 + .gitignore | 21 + .openapi-generator-ignore | 23 + .openapi-generator/FILES | 767 + .openapi-generator/VERSION | 1 + .travis.yml | 22 + LICENSE | 7 + README.md | 280 + SECURITY.md | 4 + SUPPORT.md | 4 + api/openapi.yaml | 21555 +++++++++++ build.gradle | 168 + build.sbt | 28 + docs/AbstractWebhookPayload.md | 34 + docs/AliasControllerApi.md | 669 + docs/AliasDto.md | 23 + docs/AliasProjection.md | 21 + docs/AttachmentControllerApi.md | 710 + docs/AttachmentEntity.md | 21 + docs/AttachmentMetaData.md | 17 + docs/AttachmentProjection.md | 20 + docs/BasicAuthOptions.md | 15 + docs/BounceControllerApi.md | 528 + docs/BounceProjection.md | 19 + docs/BounceRecipientProjection.md | 19 + docs/BouncedEmailDto.md | 25 + docs/BouncedRecipientDto.md | 21 + docs/BulkActionsControllerApi.md | 210 + docs/BulkSendEmailOptions.md | 15 + docs/CommonActionsControllerApi.md | 407 + docs/Complaint.md | 20 + docs/ConditionOption.md | 32 + docs/ConnectorControllerApi.md | 651 + docs/ConnectorDto.md | 49 + docs/ConnectorProjection.md | 37 + docs/ConnectorSyncEventDto.md | 30 + docs/ConnectorSyncEventProjection.md | 31 + docs/ConnectorSyncRequestResult.md | 15 + docs/ConnectorSyncRequestResultException.md | 17 + ...onnectorSyncRequestResultExceptionCause.md | 16 + ...uestResultExceptionCauseStackTraceInner.md | 20 + ...uestResultExceptionCauseSuppressedInner.md | 15 + docs/ConnectorSyncResult.md | 14 + docs/ContactControllerApi.md | 419 + docs/ContactDto.md | 24 + docs/ContactProjection.md | 22 + docs/ContentMatchOptions.md | 14 + docs/CountDto.md | 14 + docs/CreateAliasOptions.md | 17 + docs/CreateConnectorImapOptions.md | 17 + docs/CreateConnectorOptions.md | 43 + docs/CreateContactOptions.md | 21 + docs/CreateDomainOptions.md | 26 + docs/CreateEmergencyAddressOptions.md | 29 + docs/CreateGroupOptions.md | 15 + docs/CreateInboxDto.md | 36 + docs/CreateInboxForwarderOptions.md | 27 + docs/CreateInboxReplierOptions.md | 37 + docs/CreateInboxRulesetOptions.md | 35 + docs/CreateTemplateOptions.md | 15 + docs/CreateTrackingPixelOptions.md | 15 + docs/CreateWebhookOptions.md | 38 + docs/DNSLookupOptions.md | 112 + docs/DNSLookupResult.md | 113 + docs/DNSLookupResults.md | 14 + docs/DeliveryStatusDto.md | 26 + docs/DescribeDomainOptions.md | 14 + docs/DescribeMailServerDomainResult.md | 16 + docs/DomainControllerApi.md | 564 + docs/DomainDto.md | 35 + docs/DomainIssuesDto.md | 13 + docs/DomainNameRecord.md | 127 + docs/DomainPreview.md | 29 + docs/DownloadAttachmentDto.md | 16 + docs/Email.md | 39 + docs/EmailAnalysis.md | 18 + docs/EmailContentMatchResult.md | 15 + docs/EmailControllerApi.md | 2227 ++ docs/EmailHtmlDto.md | 14 + docs/EmailLinksResult.md | 15 + docs/EmailPreview.md | 23 + docs/EmailPreviewUrls.md | 15 + docs/EmailProjection.md | 27 + docs/EmailRecipients.md | 16 + docs/EmailTextLinesResult.md | 15 + docs/EmailValidationRequestDto.md | 19 + docs/EmailVerificationControllerApi.md | 156 + docs/EmailVerificationResult.md | 18 + docs/EmergencyAddress.md | 35 + docs/EmergencyAddressDto.md | 25 + docs/EmptyResponseDto.md | 13 + docs/ExpirationDefaults.md | 18 + docs/ExpiredControllerApi.md | 292 + docs/ExpiredInboxDto.md | 16 + docs/ExpiredInboxRecordProjection.md | 17 + docs/ExportControllerApi.md | 162 + docs/ExportLink.md | 14 + docs/ExportOptions.md | 28 + docs/FilterBouncedRecipientsOptions.md | 14 + docs/FilterBouncedRecipientsResult.md | 14 + docs/FlushExpiredInboxesResult.md | 15 + docs/FormControllerApi.md | 90 + docs/ForwardEmailOptions.md | 20 + docs/GravatarUrl.md | 15 + docs/GroupContactsDto.md | 15 + docs/GroupControllerApi.md | 639 + docs/GroupDto.md | 17 + docs/GroupProjection.md | 17 + docs/HTMLValidationResult.md | 16 + docs/IPAddressResult.md | 15 + docs/ImapFlagOperationOptions.md | 25 + docs/ImapSmtpAccessDetails.md | 25 + docs/InboxByEmailAddressResult.md | 15 + docs/InboxByNameResult.md | 15 + docs/InboxControllerApi.md | 2890 ++ docs/InboxDto.md | 35 + docs/InboxExistsDto.md | 14 + docs/InboxForwarderControllerApi.md | 732 + docs/InboxForwarderDto.md | 31 + docs/InboxForwarderEventProjection.md | 30 + docs/InboxForwarderTestOptions.md | 14 + docs/InboxForwarderTestResult.md | 15 + docs/InboxIdItem.md | 15 + docs/InboxIdsResult.md | 14 + docs/InboxPreview.md | 33 + docs/InboxReplierControllerApi.md | 514 + docs/InboxReplierDto.md | 38 + docs/InboxReplierEventProjection.md | 32 + docs/InboxRulesetControllerApi.md | 584 + docs/InboxRulesetDto.md | 47 + docs/InboxRulesetTestOptions.md | 14 + docs/InboxRulesetTestResult.md | 15 + docs/JSONSchemaDto.md | 14 + docs/ListUnsubscribeRecipientProjection.md | 17 + docs/MailServerControllerApi.md | 280 + docs/MatchOption.md | 37 + docs/MatchOptions.md | 15 + docs/MissedEmailControllerApi.md | 383 + docs/MissedEmailDto.md | 29 + docs/MissedEmailProjection.md | 18 + docs/NameServerRecord.md | 17 + docs/OrganizationInboxProjection.md | 33 + docs/PageAlias.md | 25 + docs/PageAttachmentEntity.md | 25 + docs/PageBouncedEmail.md | 25 + docs/PageBouncedRecipients.md | 25 + docs/PageComplaint.md | 25 + docs/PageConnector.md | 25 + docs/PageConnectorSyncEvents.md | 25 + docs/PageContactProjection.md | 25 + docs/PageDeliveryStatus.md | 25 + docs/PageEmailPreview.md | 25 + docs/PageEmailProjection.md | 25 + docs/PageEmailValidationRequest.md | 25 + docs/PageExpiredInboxRecordProjection.md | 25 + docs/PageGroupProjection.md | 25 + docs/PageInboxForwarderDto.md | 25 + docs/PageInboxForwarderEvents.md | 25 + docs/PageInboxProjection.md | 25 + docs/PageInboxReplierDto.md | 25 + docs/PageInboxReplierEvents.md | 25 + docs/PageInboxRulesetDto.md | 25 + docs/PageListUnsubscribeRecipients.md | 25 + docs/PageMissedEmailProjection.md | 25 + docs/PageOrganizationInboxProjection.md | 25 + docs/PagePhoneNumberProjection.md | 25 + docs/PageScheduledJobs.md | 25 + docs/PageSentEmailProjection.md | 25 + docs/PageSentEmailWithQueueProjection.md | 25 + docs/PageSmsProjection.md | 25 + docs/PageTemplateProjection.md | 25 + docs/PageThreadProjection.md | 25 + docs/PageTrackingPixelProjection.md | 25 + docs/PageUnknownMissedEmailProjection.md | 25 + docs/PageWebhookProjection.md | 25 + docs/PageWebhookResult.md | 25 + docs/PageableObject.md | 18 + docs/PhoneControllerApi.md | 624 + docs/PhoneNumberDto.md | 31 + docs/PhoneNumberProjection.md | 28 + docs/PhonePlanDto.md | 26 + docs/RawEmailJson.md | 14 + docs/Recipient.md | 16 + docs/ReplyToAliasEmailOptions.md | 30 + docs/ReplyToEmailOptions.md | 32 + docs/ScheduledJob.md | 33 + docs/ScheduledJobDto.md | 33 + docs/SendEmailOptions.md | 51 + docs/SendSMTPEnvelopeOptions.md | 16 + docs/SendWithQueueResult.md | 23 + docs/Sender.md | 16 + docs/SentEmailDto.md | 38 + docs/SentEmailProjection.md | 25 + docs/SentEmailsControllerApi.md | 1192 + docs/SetInboxFavouritedOptions.md | 14 + docs/SimpleSendEmailOptions.md | 17 + docs/SmsControllerApi.md | 364 + docs/SmsDto.md | 20 + docs/SmsMatchOption.md | 34 + docs/SmsPreview.md | 18 + docs/SmsProjection.md | 20 + docs/Sort.md | 15 + docs/TemplateControllerApi.md | 573 + docs/TemplateDto.md | 18 + docs/TemplatePreview.md | 13 + docs/TemplateProjection.md | 18 + docs/TemplateVariable.md | 23 + docs/TestNewInboxForwarderOptions.md | 15 + docs/TestNewInboxRulesetOptions.md | 15 + docs/TestPhoneNumberOptions.md | 13 + docs/ThreadProjection.md | 24 + docs/TrackingControllerApi.md | 226 + docs/TrackingPixelDto.md | 22 + docs/TrackingPixelProjection.md | 22 + docs/UnknownMissedEmailProjection.md | 18 + docs/UnreadCount.md | 14 + docs/UnseenErrorCountDto.md | 14 + docs/UpdateAliasOptions.md | 14 + docs/UpdateDomainOptions.md | 14 + docs/UpdateGroupContacts.md | 14 + docs/UpdateInboxOptions.md | 18 + docs/UpdateInboxReplierOptions.md | 37 + docs/UploadAttachmentBytesRequest.md | 21 + docs/UploadAttachmentOptions.md | 16 + docs/UploadMultipartFormRequest.md | 14 + docs/UserControllerApi.md | 146 + docs/UserInfoDto.md | 49 + docs/ValidateEmailAddressListOptions.md | 14 + docs/ValidateEmailAddressListResult.md | 16 + docs/ValidationDto.md | 15 + docs/ValidationMessage.md | 15 + docs/VerifyEmailAddressOptions.md | 17 + docs/VerifyWebhookSignatureOptions.md | 14 + docs/VerifyWebhookSignatureResults.md | 13 + docs/WaitForConditions.md | 41 + docs/WaitForControllerApi.md | 638 + docs/WaitForSingleSmsOptions.md | 28 + docs/WaitForSmsConditions.md | 42 + docs/WebhookBouncePayload.md | 38 + docs/WebhookBounceRecipientPayload.md | 35 + docs/WebhookControllerApi.md | 2319 ++ docs/WebhookDeliveryStatusPayload.md | 46 + docs/WebhookDto.md | 61 + docs/WebhookEmailOpenedPayload.md | 39 + docs/WebhookEmailReadPayload.md | 38 + docs/WebhookHeaderNameValue.md | 15 + docs/WebhookHeaders.md | 14 + docs/WebhookNewAttachmentPayload.md | 38 + docs/WebhookNewContactPayload.md | 45 + docs/WebhookNewEmailPayload.md | 44 + docs/WebhookNewSmsPayload.md | 41 + docs/WebhookProjection.md | 38 + docs/WebhookRedriveResult.md | 16 + docs/WebhookResultDto.md | 71 + docs/WebhookTestRequest.md | 32 + docs/WebhookTestResponse.md | 15 + docs/WebhookTestResult.md | 16 + git_push.sh | 57 + gradle.properties | 6 + gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 59536 bytes gradle/wrapper/gradle-wrapper.properties | 5 + gradlew | 234 + gradlew.bat | 89 + pom.xml | 369 + settings.gradle | 1 + site/allclasses-frame.html | 661 + site/allclasses-noframe.html | 661 + .../mailslurp/apis/AliasControllerApi.html | 1737 + .../apis/AttachmentControllerApi.html | 1734 + .../mailslurp/apis/BounceControllerApi.html | 1436 + .../apis/BulkActionsControllerApi.html | 724 + .../apis/CommonActionsControllerApi.html | 1316 + .../apis/ConnectorControllerApi.html | 1662 + .../mailslurp/apis/ContactControllerApi.html | 1142 + .../mailslurp/apis/DomainControllerApi.html | 1410 + .../mailslurp/apis/EmailControllerApi.html | 4738 +++ .../apis/EmailVerificationControllerApi.html | 674 + .../mailslurp/apis/ExpiredControllerApi.html | 916 + .../mailslurp/apis/ExportControllerApi.html | 710 + .../com/mailslurp/apis/FormControllerApi.html | 554 + .../mailslurp/apis/GroupControllerApi.html | 1606 + .../mailslurp/apis/InboxControllerApi.html | 6498 ++++ .../apis/InboxForwarderControllerApi.html | 1822 + .../apis/InboxReplierControllerApi.html | 1378 + .../apis/InboxRulesetControllerApi.html | 1510 + .../apis/MailServerControllerApi.html | 862 + .../apis/MissedEmailControllerApi.html | 1184 + .../mailslurp/apis/PhoneControllerApi.html | 1490 + .../apis/SentEmailsControllerApi.html | 2870 ++ site/com/mailslurp/apis/SmsControllerApi.html | 1059 + .../mailslurp/apis/TemplateControllerApi.html | 1454 + .../mailslurp/apis/TrackingControllerApi.html | 800 + .../com/mailslurp/apis/UserControllerApi.html | 608 + .../mailslurp/apis/WaitForControllerApi.html | 1811 + .../mailslurp/apis/WebhookControllerApi.html | 4948 +++ .../apis/class-use/AliasControllerApi.html | 126 + .../class-use/AttachmentControllerApi.html | 126 + .../apis/class-use/BounceControllerApi.html | 126 + .../class-use/BulkActionsControllerApi.html | 126 + .../class-use/CommonActionsControllerApi.html | 126 + .../class-use/ConnectorControllerApi.html | 126 + .../apis/class-use/ContactControllerApi.html | 126 + .../apis/class-use/DomainControllerApi.html | 126 + .../apis/class-use/EmailControllerApi.html | 126 + .../EmailVerificationControllerApi.html | 126 + .../apis/class-use/ExpiredControllerApi.html | 126 + .../apis/class-use/ExportControllerApi.html | 126 + .../apis/class-use/FormControllerApi.html | 126 + .../apis/class-use/GroupControllerApi.html | 126 + .../apis/class-use/InboxControllerApi.html | 126 + .../InboxForwarderControllerApi.html | 126 + .../class-use/InboxReplierControllerApi.html | 126 + .../class-use/InboxRulesetControllerApi.html | 126 + .../class-use/MailServerControllerApi.html | 126 + .../class-use/MissedEmailControllerApi.html | 126 + .../apis/class-use/PhoneControllerApi.html | 126 + .../class-use/SentEmailsControllerApi.html | 126 + .../apis/class-use/SmsControllerApi.html | 126 + .../apis/class-use/TemplateControllerApi.html | 126 + .../apis/class-use/TrackingControllerApi.html | 126 + .../apis/class-use/UserControllerApi.html | 126 + .../apis/class-use/WaitForControllerApi.html | 126 + .../apis/class-use/WebhookControllerApi.html | 126 + site/com/mailslurp/apis/package-frame.html | 48 + site/com/mailslurp/apis/package-summary.html | 252 + site/com/mailslurp/apis/package-tree.html | 166 + site/com/mailslurp/apis/package-use.html | 126 + site/com/mailslurp/clients/ApiCallback.html | 321 + site/com/mailslurp/clients/ApiClient.html | 1891 + site/com/mailslurp/clients/ApiException.html | 573 + site/com/mailslurp/clients/ApiResponse.html | 358 + site/com/mailslurp/clients/Configuration.html | 306 + .../clients/JSON.ByteArrayAdapter.html | 319 + .../clients/JSON.DateTypeAdapter.html | 345 + .../clients/JSON.LocalDateTypeAdapter.html | 344 + .../JSON.OffsetDateTimeTypeAdapter.html | 344 + .../clients/JSON.SqlDateTypeAdapter.html | 346 + site/com/mailslurp/clients/JSON.html | 475 + site/com/mailslurp/clients/Pair.html | 290 + .../clients/ProgressRequestBody.html | 361 + .../clients/ProgressResponseBody.html | 359 + .../clients/ServerConfiguration.html | 375 + .../com/mailslurp/clients/ServerVariable.html | 312 + site/com/mailslurp/clients/StringUtil.html | 341 + .../mailslurp/clients/auth/ApiKeyAuth.html | 388 + .../clients/auth/Authentication.html | 252 + .../mailslurp/clients/auth/HttpBasicAuth.html | 358 + .../clients/auth/HttpBearerAuth.html | 348 + .../clients/auth/class-use/ApiKeyAuth.html | 126 + .../auth/class-use/Authentication.html | 213 + .../clients/auth/class-use/HttpBasicAuth.html | 126 + .../auth/class-use/HttpBearerAuth.html | 126 + .../mailslurp/clients/auth/package-frame.html | 27 + .../clients/auth/package-summary.html | 167 + .../mailslurp/clients/auth/package-tree.html | 145 + .../mailslurp/clients/auth/package-use.html | 178 + .../clients/class-use/ApiCallback.html | 4876 +++ .../clients/class-use/ApiClient.html | 644 + .../clients/class-use/ApiException.html | 9202 +++++ .../clients/class-use/ApiResponse.html | 2308 ++ .../clients/class-use/Configuration.html | 126 + .../class-use/JSON.ByteArrayAdapter.html | 126 + .../class-use/JSON.DateTypeAdapter.html | 126 + .../class-use/JSON.LocalDateTypeAdapter.html | 126 + .../JSON.OffsetDateTimeTypeAdapter.html | 126 + .../class-use/JSON.SqlDateTypeAdapter.html | 126 + .../com/mailslurp/clients/class-use/JSON.html | 183 + .../com/mailslurp/clients/class-use/Pair.html | 336 + .../class-use/ProgressRequestBody.html | 126 + .../class-use/ProgressResponseBody.html | 126 + .../class-use/ServerConfiguration.html | 126 + .../clients/class-use/ServerVariable.html | 179 + .../clients/class-use/StringUtil.html | 126 + site/com/mailslurp/clients/package-frame.html | 43 + .../mailslurp/clients/package-summary.html | 255 + site/com/mailslurp/clients/package-tree.html | 178 + site/com/mailslurp/clients/package-use.html | 247 + .../models/AbstractOpenApiSchema.html | 436 + ...bhookPayload.CustomTypeAdapterFactory.html | 288 + ...tWebhookPayload.EventNameEnum.Adapter.html | 318 + .../AbstractWebhookPayload.EventNameEnum.html | 506 + .../models/AbstractWebhookPayload.html | 712 + .../AliasDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/AliasDto.html | 1090 + ...asProjection.CustomTypeAdapterFactory.html | 288 + .../com/mailslurp/models/AliasProjection.html | 962 + ...chmentEntity.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/AttachmentEntity.html | 1026 + ...mentMetaData.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/AttachmentMetaData.html | 706 + ...ntProjection.CustomTypeAdapterFactory.html | 288 + .../models/AttachmentProjection.html | 898 + ...cAuthOptions.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/BasicAuthOptions.html | 578 + ...ceProjection.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/BounceProjection.html | 834 + ...ntProjection.CustomTypeAdapterFactory.html | 288 + .../models/BounceRecipientProjection.html | 834 + ...ncedEmailDto.CustomTypeAdapterFactory.html | 288 + .../com/mailslurp/models/BouncedEmailDto.html | 1244 + ...RecipientDto.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/BouncedRecipientDto.html | 962 + ...EmailOptions.CustomTypeAdapterFactory.html | 288 + .../models/BulkSendEmailOptions.html | 591 + .../Complaint.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/Complaint.html | 962 + ...ConditionOption.ConditionEnum.Adapter.html | 318 + .../models/ConditionOption.ConditionEnum.html | 398 + ...ditionOption.CustomTypeAdapterFactory.html | 288 + .../ConditionOption.ValueEnum.Adapter.html | 318 + .../models/ConditionOption.ValueEnum.html | 410 + .../com/mailslurp/models/ConditionOption.html | 590 + ...ctorDto.ConnectorAuthTypeEnum.Adapter.html | 318 + .../ConnectorDto.ConnectorAuthTypeEnum.html | 398 + ...onnectorDto.ConnectorTypeEnum.Adapter.html | 318 + .../ConnectorDto.ConnectorTypeEnum.html | 398 + ...ConnectorDto.CustomTypeAdapterFactory.html | 288 + ...ectorDto.SyncScheduleTypeEnum.Adapter.html | 318 + .../ConnectorDto.SyncScheduleTypeEnum.html | 398 + site/com/mailslurp/models/ConnectorDto.html | 1300 + ...rProjection.ConnectorTypeEnum.Adapter.html | 318 + ...ConnectorProjection.ConnectorTypeEnum.html | 398 + ...orProjection.CustomTypeAdapterFactory.html | 288 + ...ojection.SyncScheduleTypeEnum.Adapter.html | 318 + ...nectorProjection.SyncScheduleTypeEnum.html | 398 + .../mailslurp/models/ConnectorProjection.html | 974 + ...SyncEventDto.CustomTypeAdapterFactory.html | 288 + ...orSyncEventDto.SyncStatusEnum.Adapter.html | 318 + .../ConnectorSyncEventDto.SyncStatusEnum.html | 446 + .../models/ConnectorSyncEventDto.html | 840 + ...ntProjection.CustomTypeAdapterFactory.html | 288 + ...ventProjection.SyncStatusEnum.Adapter.html | 318 + ...torSyncEventProjection.SyncStatusEnum.html | 446 + .../models/ConnectorSyncEventProjection.html | 840 + ...equestResult.CustomTypeAdapterFactory.html | 288 + .../models/ConnectorSyncRequestResult.html | 642 + ...ultException.CustomTypeAdapterFactory.html | 288 + .../ConnectorSyncRequestResultException.html | 796 + ...ceptionCause.CustomTypeAdapterFactory.html | 288 + ...nectorSyncRequestResultExceptionCause.html | 732 + ...ckTraceInner.CustomTypeAdapterFactory.html | 288 + ...stResultExceptionCauseStackTraceInner.html | 962 + ...pressedInner.CustomTypeAdapterFactory.html | 288 + ...stResultExceptionCauseSuppressedInner.html | 655 + ...orSyncResult.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/ConnectorSyncResult.html | 591 + .../ContactDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/ContactDto.html | 1180 + ...ctProjection.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/ContactProjection.html | 1039 + ...MatchOptions.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/ContentMatchOptions.html | 514 + .../CountDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/CountDto.html | 514 + ...AliasOptions.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/CreateAliasOptions.html | 706 + ...rImapOptions.CustomTypeAdapterFactory.html | 288 + .../models/CreateConnectorImapOptions.html | 770 + ...Options.ConnectorAuthTypeEnum.Adapter.html | 318 + ...onnectorOptions.ConnectorAuthTypeEnum.html | 398 + ...ctorOptions.ConnectorTypeEnum.Adapter.html | 318 + ...ateConnectorOptions.ConnectorTypeEnum.html | 398 + ...ectorOptions.CustomTypeAdapterFactory.html | 288 + ...rOptions.SyncScheduleTypeEnum.Adapter.html | 318 + ...ConnectorOptions.SyncScheduleTypeEnum.html | 398 + .../models/CreateConnectorOptions.html | 916 + ...ntactOptions.CustomTypeAdapterFactory.html | 288 + .../models/CreateContactOptions.html | 988 + ...omainOptions.CustomTypeAdapterFactory.html | 288 + ...eDomainOptions.DomainTypeEnum.Adapter.html | 318 + .../CreateDomainOptions.DomainTypeEnum.html | 410 + .../mailslurp/models/CreateDomainOptions.html | 712 + ...dressOptions.CustomTypeAdapterFactory.html | 288 + ...essOptions.IsoCountryCodeEnum.Adapter.html | 318 + ...encyAddressOptions.IsoCountryCodeEnum.html | 422 + .../models/CreateEmergencyAddressOptions.html | 904 + ...GroupOptions.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/CreateGroupOptions.html | 578 + ...eateInboxDto.CustomTypeAdapterFactory.html | 288 + .../CreateInboxDto.InboxTypeEnum.Adapter.html | 318 + .../models/CreateInboxDto.InboxTypeEnum.html | 410 + site/com/mailslurp/models/CreateInboxDto.html | 1365 + ...arderOptions.CustomTypeAdapterFactory.html | 288 + ...boxForwarderOptions.FieldEnum.Adapter.html | 318 + ...CreateInboxForwarderOptions.FieldEnum.html | 434 + .../models/CreateInboxForwarderOptions.html | 661 + ...plierOptions.CustomTypeAdapterFactory.html | 288 + ...InboxReplierOptions.FieldEnum.Adapter.html | 318 + .../CreateInboxReplierOptions.FieldEnum.html | 434 + .../models/CreateInboxReplierOptions.html | 1303 + ...nboxRulesetOptions.ActionEnum.Adapter.html | 318 + .../CreateInboxRulesetOptions.ActionEnum.html | 422 + ...lesetOptions.CustomTypeAdapterFactory.html | 288 + ...InboxRulesetOptions.ScopeEnum.Adapter.html | 318 + .../CreateInboxRulesetOptions.ScopeEnum.html | 410 + .../models/CreateInboxRulesetOptions.html | 654 + ...plateOptions.CustomTypeAdapterFactory.html | 288 + .../models/CreateTemplateOptions.html | 578 + ...PixelOptions.CustomTypeAdapterFactory.html | 288 + .../models/CreateTrackingPixelOptions.html | 578 + ...bhookOptions.CustomTypeAdapterFactory.html | 288 + ...eWebhookOptions.EventNameEnum.Adapter.html | 318 + .../CreateWebhookOptions.EventNameEnum.html | 506 + .../models/CreateWebhookOptions.html | 968 + ...ookupOptions.CustomTypeAdapterFactory.html | 288 + ...LookupOptions.RecordTypesEnum.Adapter.html | 318 + .../DNSLookupOptions.RecordTypesEnum.html | 1454 + .../mailslurp/models/DNSLookupOptions.html | 661 + ...LookupResult.CustomTypeAdapterFactory.html | 288 + ...NSLookupResult.RecordTypeEnum.Adapter.html | 318 + .../DNSLookupResult.RecordTypeEnum.html | 1454 + .../com/mailslurp/models/DNSLookupResult.html | 725 + ...ookupResults.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/DNSLookupResults.html | 527 + ...eryStatusDto.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/DeliveryStatusDto.html | 1359 + ...omainOptions.CustomTypeAdapterFactory.html | 288 + .../models/DescribeDomainOptions.html | 514 + ...DomainResult.CustomTypeAdapterFactory.html | 288 + .../DescribeMailServerDomainResult.html | 655 + .../DomainDto.CustomTypeAdapterFactory.html | 288 + .../DomainDto.DomainTypeEnum.Adapter.html | 318 + .../models/DomainDto.DomainTypeEnum.html | 410 + site/com/mailslurp/models/DomainDto.html | 1314 + ...ainIssuesDto.CustomTypeAdapterFactory.html | 288 + .../com/mailslurp/models/DomainIssuesDto.html | 514 + ...inNameRecord.CustomTypeAdapterFactory.html | 288 + .../DomainNameRecord.LabelEnum.Adapter.html | 318 + .../models/DomainNameRecord.LabelEnum.html | 446 + ...mainNameRecord.RecordTypeEnum.Adapter.html | 318 + .../DomainNameRecord.RecordTypeEnum.html | 1454 + .../mailslurp/models/DomainNameRecord.html | 859 + ...omainPreview.CustomTypeAdapterFactory.html | 288 + .../DomainPreview.DomainTypeEnum.Adapter.html | 318 + .../models/DomainPreview.DomainTypeEnum.html | 410 + site/com/mailslurp/models/DomainPreview.html | 904 + ...ttachmentDto.CustomTypeAdapterFactory.html | 288 + .../models/DownloadAttachmentDto.html | 642 + .../Email.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/Email.html | 2198 ++ ...mailAnalysis.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/EmailAnalysis.html | 770 + ...tMatchResult.CustomTypeAdapterFactory.html | 288 + .../models/EmailContentMatchResult.html | 591 + ...EmailHtmlDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/EmailHtmlDto.html | 578 + ...lLinksResult.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/EmailLinksResult.html | 591 + ...EmailPreview.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/EmailPreview.html | 1142 + ...lPreviewUrls.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/EmailPreviewUrls.html | 578 + ...ilProjection.CustomTypeAdapterFactory.html | 288 + .../com/mailslurp/models/EmailProjection.html | 1398 + ...ilRecipients.CustomTypeAdapterFactory.html | 288 + .../com/mailslurp/models/EmailRecipients.html | 681 + ...tLinesResult.CustomTypeAdapterFactory.html | 288 + .../models/EmailTextLinesResult.html | 591 + ...onRequestDto.CustomTypeAdapterFactory.html | 288 + .../models/EmailValidationRequestDto.html | 834 + ...cationResult.CustomTypeAdapterFactory.html | 288 + .../models/EmailVerificationResult.html | 770 + ...gencyAddress.CustomTypeAdapterFactory.html | 288 + ...gencyAddress.PhoneCountryEnum.Adapter.html | 318 + .../EmergencyAddress.PhoneCountryEnum.html | 422 + .../mailslurp/models/EmergencyAddress.html | 1288 + ...cyAddressDto.CustomTypeAdapterFactory.html | 288 + ...cyAddressDto.PhoneCountryEnum.Adapter.html | 318 + .../EmergencyAddressDto.PhoneCountryEnum.html | 422 + .../mailslurp/models/EmergencyAddressDto.html | 648 + ...yResponseDto.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/EmptyResponseDto.html | 514 + ...tionDefaults.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/ExpirationDefaults.html | 770 + ...iredInboxDto.CustomTypeAdapterFactory.html | 288 + .../com/mailslurp/models/ExpiredInboxDto.html | 642 + ...rdProjection.CustomTypeAdapterFactory.html | 288 + .../models/ExpiredInboxRecordProjection.html | 706 + .../ExportLink.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/ExportLink.html | 514 + ...xportOptions.CustomTypeAdapterFactory.html | 288 + ...xportOptions.OutputFormatEnum.Adapter.html | 318 + .../ExportOptions.OutputFormatEnum.html | 410 + site/com/mailslurp/models/ExportOptions.html | 840 + ...ientsOptions.CustomTypeAdapterFactory.html | 288 + .../FilterBouncedRecipientsOptions.html | 527 + ...pientsResult.CustomTypeAdapterFactory.html | 288 + .../models/FilterBouncedRecipientsResult.html | 527 + ...nboxesResult.CustomTypeAdapterFactory.html | 288 + .../models/FlushExpiredInboxesResult.html | 591 + ...EmailOptions.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/ForwardEmailOptions.html | 937 + .../GravatarUrl.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/GravatarUrl.html | 578 + ...pContactsDto.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/GroupContactsDto.html | 591 + .../GroupDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/GroupDto.html | 706 + ...upProjection.CustomTypeAdapterFactory.html | 288 + .../com/mailslurp/models/GroupProjection.html | 706 + ...dationResult.CustomTypeAdapterFactory.html | 288 + .../models/HTMLValidationResult.html | 668 + ...ddressResult.CustomTypeAdapterFactory.html | 288 + .../com/mailslurp/models/IPAddressResult.html | 578 + ...ationOptions.CustomTypeAdapterFactory.html | 288 + ...tionOptions.FlagOperationEnum.Adapter.html | 318 + ...lagOperationOptions.FlagOperationEnum.html | 422 + .../models/ImapFlagOperationOptions.html | 597 + ...ccessDetails.CustomTypeAdapterFactory.html | 288 + .../models/ImapSmtpAccessDetails.html | 1218 + ...ddressResult.CustomTypeAdapterFactory.html | 288 + .../models/InboxByEmailAddressResult.html | 578 + ...ByNameResult.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/InboxByNameResult.html | 578 + .../InboxDto.CustomTypeAdapterFactory.html | 288 + .../InboxDto.InboxTypeEnum.Adapter.html | 318 + .../models/InboxDto.InboxTypeEnum.html | 410 + site/com/mailslurp/models/InboxDto.html | 1301 + ...boxExistsDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/InboxExistsDto.html | 514 + ...ForwarderDto.CustomTypeAdapterFactory.html | 288 + .../InboxForwarderDto.FieldEnum.Adapter.html | 318 + .../models/InboxForwarderDto.FieldEnum.html | 434 + .../mailslurp/models/InboxForwarderDto.html | 917 + ...ntProjection.CustomTypeAdapterFactory.html | 288 + ...derEventProjection.StatusEnum.Adapter.html | 318 + ...oxForwarderEventProjection.StatusEnum.html | 410 + .../models/InboxForwarderEventProjection.html | 968 + ...rTestOptions.CustomTypeAdapterFactory.html | 288 + .../models/InboxForwarderTestOptions.html | 514 + ...erTestResult.CustomTypeAdapterFactory.html | 288 + .../models/InboxForwarderTestResult.html | 593 + .../InboxIdItem.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/InboxIdItem.html | 578 + ...boxIdsResult.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/InboxIdsResult.html | 527 + ...InboxPreview.CustomTypeAdapterFactory.html | 288 + .../InboxPreview.InboxTypeEnum.Adapter.html | 318 + .../models/InboxPreview.InboxTypeEnum.html | 410 + site/com/mailslurp/models/InboxPreview.html | 1173 + ...oxReplierDto.CustomTypeAdapterFactory.html | 288 + .../InboxReplierDto.FieldEnum.Adapter.html | 318 + .../models/InboxReplierDto.FieldEnum.html | 434 + .../com/mailslurp/models/InboxReplierDto.html | 1367 + ...ntProjection.CustomTypeAdapterFactory.html | 288 + ...ierEventProjection.StatusEnum.Adapter.html | 318 + ...nboxReplierEventProjection.StatusEnum.html | 410 + .../models/InboxReplierEventProjection.html | 1109 + .../InboxRulesetDto.ActionEnum.Adapter.html | 318 + .../models/InboxRulesetDto.ActionEnum.html | 422 + ...oxRulesetDto.CustomTypeAdapterFactory.html | 288 + .../InboxRulesetDto.HandlerEnum.Adapter.html | 318 + .../models/InboxRulesetDto.HandlerEnum.html | 398 + .../InboxRulesetDto.ScopeEnum.Adapter.html | 318 + .../models/InboxRulesetDto.ScopeEnum.html | 410 + .../com/mailslurp/models/InboxRulesetDto.html | 916 + ...tTestOptions.CustomTypeAdapterFactory.html | 288 + .../models/InboxRulesetTestOptions.html | 514 + ...etTestResult.CustomTypeAdapterFactory.html | 288 + .../models/InboxRulesetTestResult.html | 593 + ...SONSchemaDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/JSONSchemaDto.html | 514 + ...ntProjection.CustomTypeAdapterFactory.html | 288 + .../ListUnsubscribeRecipientProjection.html | 706 + .../MatchOption.CustomTypeAdapterFactory.html | 288 + .../models/MatchOption.FieldEnum.Adapter.html | 318 + .../models/MatchOption.FieldEnum.html | 446 + .../MatchOption.ShouldEnum.Adapter.html | 318 + .../models/MatchOption.ShouldEnum.html | 410 + site/com/mailslurp/models/MatchOption.html | 654 + ...MatchOptions.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/MatchOptions.html | 604 + ...ssedEmailDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/MissedEmailDto.html | 1526 + ...ilProjection.CustomTypeAdapterFactory.html | 288 + .../models/MissedEmailProjection.html | 770 + ...ServerRecord.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/NameServerRecord.html | 706 + ...oxProjection.CustomTypeAdapterFactory.html | 288 + ...InboxProjection.InboxTypeEnum.Adapter.html | 318 + ...nizationInboxProjection.InboxTypeEnum.html | 410 + .../models/OrganizationInboxProjection.html | 1173 + .../PageAlias.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/PageAlias.html | 1231 + ...chmentEntity.CustomTypeAdapterFactory.html | 288 + .../models/PageAttachmentEntity.html | 1231 + ...BouncedEmail.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/PageBouncedEmail.html | 1231 + ...edRecipients.CustomTypeAdapterFactory.html | 288 + .../models/PageBouncedRecipients.html | 1231 + ...ageComplaint.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/PageComplaint.html | 1231 + ...ageConnector.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/PageConnector.html | 1231 + ...orSyncEvents.CustomTypeAdapterFactory.html | 288 + .../models/PageConnectorSyncEvents.html | 1231 + ...ctProjection.CustomTypeAdapterFactory.html | 288 + .../models/PageContactProjection.html | 1231 + ...liveryStatus.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/PageDeliveryStatus.html | 1231 + ...EmailPreview.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/PageEmailPreview.html | 1231 + ...ilProjection.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/PageEmailProjection.html | 1231 + ...ationRequest.CustomTypeAdapterFactory.html | 288 + .../models/PageEmailValidationRequest.html | 1231 + ...rdProjection.CustomTypeAdapterFactory.html | 288 + .../PageExpiredInboxRecordProjection.html | 1231 + ...upProjection.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/PageGroupProjection.html | 1231 + ...ForwarderDto.CustomTypeAdapterFactory.html | 288 + .../models/PageInboxForwarderDto.html | 1231 + ...warderEvents.CustomTypeAdapterFactory.html | 288 + .../models/PageInboxForwarderEvents.html | 1231 + ...oxProjection.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/PageInboxProjection.html | 1231 + ...oxReplierDto.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/PageInboxReplierDto.html | 1231 + ...eplierEvents.CustomTypeAdapterFactory.html | 288 + .../models/PageInboxReplierEvents.html | 1231 + ...oxRulesetDto.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/PageInboxRulesetDto.html | 1231 + ...beRecipients.CustomTypeAdapterFactory.html | 288 + .../models/PageListUnsubscribeRecipients.html | 1231 + ...ilProjection.CustomTypeAdapterFactory.html | 288 + .../models/PageMissedEmailProjection.html | 1231 + ...oxProjection.CustomTypeAdapterFactory.html | 288 + .../PageOrganizationInboxProjection.html | 1231 + ...erProjection.CustomTypeAdapterFactory.html | 288 + .../models/PagePhoneNumberProjection.html | 1231 + ...cheduledJobs.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/PageScheduledJobs.html | 1231 + ...ilProjection.CustomTypeAdapterFactory.html | 288 + .../models/PageSentEmailProjection.html | 1231 + ...ueProjection.CustomTypeAdapterFactory.html | 288 + .../PageSentEmailWithQueueProjection.html | 1231 + ...msProjection.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/PageSmsProjection.html | 1231 + ...teProjection.CustomTypeAdapterFactory.html | 288 + .../models/PageTemplateProjection.html | 1231 + ...adProjection.CustomTypeAdapterFactory.html | 288 + .../models/PageThreadProjection.html | 1231 + ...elProjection.CustomTypeAdapterFactory.html | 288 + .../models/PageTrackingPixelProjection.html | 1231 + ...ilProjection.CustomTypeAdapterFactory.html | 288 + .../PageUnknownMissedEmailProjection.html | 1231 + ...okProjection.CustomTypeAdapterFactory.html | 288 + .../models/PageWebhookProjection.html | 1231 + ...ebhookResult.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/PageWebhookResult.html | 1231 + ...geableObject.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/PageableObject.html | 834 + ...oneNumberDto.CustomTypeAdapterFactory.html | 288 + ...oneNumberDto.PhoneCountryEnum.Adapter.html | 318 + .../PhoneNumberDto.PhoneCountryEnum.html | 422 + site/com/mailslurp/models/PhoneNumberDto.html | 1032 + ...erProjection.CustomTypeAdapterFactory.html | 288 + ...erProjection.PhoneCountryEnum.Adapter.html | 318 + ...honeNumberProjection.PhoneCountryEnum.html | 422 + .../models/PhoneNumberProjection.html | 776 + ...PhonePlanDto.CustomTypeAdapterFactory.html | 288 + ...PhonePlanDto.PhoneCountryEnum.Adapter.html | 318 + .../models/PhonePlanDto.PhoneCountryEnum.html | 422 + site/com/mailslurp/models/PhonePlanDto.html | 712 + ...RawEmailJson.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/RawEmailJson.html | 514 + .../Recipient.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/Recipient.html | 642 + ...EmailOptions.CustomTypeAdapterFactory.html | 288 + ...EmailOptions.SendStrategyEnum.Adapter.html | 318 + ...yToAliasEmailOptions.SendStrategyEnum.html | 398 + .../models/ReplyToAliasEmailOptions.html | 1060 + ...EmailOptions.CustomTypeAdapterFactory.html | 288 + ...EmailOptions.SendStrategyEnum.Adapter.html | 318 + .../ReplyToEmailOptions.SendStrategyEnum.html | 398 + .../mailslurp/models/ReplyToEmailOptions.html | 1188 + ...ScheduledJob.CustomTypeAdapterFactory.html | 288 + .../ScheduledJob.StatusEnum.Adapter.html | 318 + .../models/ScheduledJob.StatusEnum.html | 434 + site/com/mailslurp/models/ScheduledJob.html | 1096 + ...eduledJobDto.CustomTypeAdapterFactory.html | 288 + .../ScheduledJobDto.StatusEnum.Adapter.html | 318 + .../models/ScheduledJobDto.StatusEnum.html | 434 + .../com/mailslurp/models/ScheduledJobDto.html | 1096 + ...EmailOptions.CustomTypeAdapterFactory.html | 288 + ...EmailOptions.SendStrategyEnum.Adapter.html | 318 + .../SendEmailOptions.SendStrategyEnum.html | 398 + ...ns.ValidateEmailAddressesEnum.Adapter.html | 318 + ...ailOptions.ValidateEmailAddressesEnum.html | 422 + .../mailslurp/models/SendEmailOptions.html | 1822 + ...elopeOptions.CustomTypeAdapterFactory.html | 288 + .../models/SendSMTPEnvelopeOptions.html | 655 + ...hQueueResult.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/SendWithQueueResult.html | 1090 + .../Sender.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/Sender.html | 642 + ...SentEmailDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/SentEmailDto.html | 2156 ++ ...ilProjection.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/SentEmailProjection.html | 1270 + ...ritedOptions.CustomTypeAdapterFactory.html | 288 + .../models/SetInboxFavouritedOptions.html | 514 + ...EmailOptions.CustomTypeAdapterFactory.html | 288 + .../models/SimpleSendEmailOptions.html | 706 + .../SmsDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/SmsDto.html | 962 + ...sMatchOption.CustomTypeAdapterFactory.html | 288 + .../SmsMatchOption.FieldEnum.Adapter.html | 318 + .../models/SmsMatchOption.FieldEnum.html | 410 + .../SmsMatchOption.ShouldEnum.Adapter.html | 318 + .../models/SmsMatchOption.ShouldEnum.html | 410 + site/com/mailslurp/models/SmsMatchOption.html | 654 + .../SmsPreview.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/SmsPreview.html | 834 + ...msProjection.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/SmsProjection.html | 898 + .../models/Sort.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/Sort.html | 642 + .../TemplateDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/TemplateDto.html | 783 + ...platePreview.CustomTypeAdapterFactory.html | 288 + .../com/mailslurp/models/TemplatePreview.html | 514 + ...teProjection.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/TemplateProjection.html | 783 + ...lateVariable.CustomTypeAdapterFactory.html | 288 + ...lateVariable.VariableTypeEnum.Adapter.html | 318 + .../TemplateVariable.VariableTypeEnum.html | 398 + .../mailslurp/models/TemplateVariable.html | 584 + ...arderOptions.CustomTypeAdapterFactory.html | 288 + .../models/TestNewInboxForwarderOptions.html | 578 + ...lesetOptions.CustomTypeAdapterFactory.html | 288 + .../models/TestNewInboxRulesetOptions.html | 578 + ...umberOptions.CustomTypeAdapterFactory.html | 288 + .../models/TestPhoneNumberOptions.html | 514 + ...adProjection.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/ThreadProjection.html | 1193 + ...kingPixelDto.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/TrackingPixelDto.html | 1026 + ...elProjection.CustomTypeAdapterFactory.html | 288 + .../models/TrackingPixelProjection.html | 1026 + ...ilProjection.CustomTypeAdapterFactory.html | 288 + .../models/UnknownMissedEmailProjection.html | 783 + .../UnreadCount.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/UnreadCount.html | 514 + ...rrorCountDto.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/UnseenErrorCountDto.html | 514 + ...AliasOptions.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/UpdateAliasOptions.html | 514 + ...omainOptions.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/UpdateDomainOptions.html | 514 + ...roupContacts.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/UpdateGroupContacts.html | 527 + ...InboxOptions.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/UpdateInboxOptions.html | 783 + ...plierOptions.CustomTypeAdapterFactory.html | 288 + ...InboxReplierOptions.FieldEnum.Adapter.html | 318 + .../UpdateInboxReplierOptions.FieldEnum.html | 434 + .../models/UpdateInboxReplierOptions.html | 1303 + ...BytesRequest.CustomTypeAdapterFactory.html | 288 + .../models/UploadAttachmentBytesRequest.html | 962 + ...hmentOptions.CustomTypeAdapterFactory.html | 288 + .../models/UploadAttachmentOptions.html | 642 + ...tFormRequest.CustomTypeAdapterFactory.html | 288 + .../models/UploadMultipartFormRequest.html | 578 + .../UserInfoDto.AccountStateEnum.Adapter.html | 318 + .../models/UserInfoDto.AccountStateEnum.html | 410 + .../UserInfoDto.AccountTypeEnum.Adapter.html | 318 + .../models/UserInfoDto.AccountTypeEnum.html | 434 + .../UserInfoDto.CustomTypeAdapterFactory.html | 288 + ...rInfoDto.SubscriptionTypeEnum.Adapter.html | 318 + .../UserInfoDto.SubscriptionTypeEnum.html | 434 + site/com/mailslurp/models/UserInfoDto.html | 852 + ...sListOptions.CustomTypeAdapterFactory.html | 288 + .../ValidateEmailAddressListOptions.html | 527 + ...ssListResult.CustomTypeAdapterFactory.html | 288 + .../ValidateEmailAddressListResult.html | 683 + ...alidationDto.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/ValidationDto.html | 578 + ...ationMessage.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/ValidationMessage.html | 578 + ...dressOptions.CustomTypeAdapterFactory.html | 288 + .../models/VerifyEmailAddressOptions.html | 706 + ...atureOptions.CustomTypeAdapterFactory.html | 288 + .../models/VerifyWebhookSignatureOptions.html | 578 + ...atureResults.CustomTypeAdapterFactory.html | 288 + .../models/VerifyWebhookSignatureResults.html | 514 + ...itForConditions.CountTypeEnum.Adapter.html | 318 + .../WaitForConditions.CountTypeEnum.html | 410 + ...orConditions.CustomTypeAdapterFactory.html | 288 + ...rConditions.SortDirectionEnum.Adapter.html | 318 + .../WaitForConditions.SortDirectionEnum.html | 410 + .../mailslurp/models/WaitForConditions.html | 1115 + ...leSmsOptions.CustomTypeAdapterFactory.html | 288 + ...eSmsOptions.SortDirectionEnum.Adapter.html | 318 + ...ForSingleSmsOptions.SortDirectionEnum.html | 410 + .../models/WaitForSingleSmsOptions.html | 904 + ...orSmsConditions.CountTypeEnum.Adapter.html | 318 + .../WaitForSmsConditions.CountTypeEnum.html | 410 + ...msConditions.CustomTypeAdapterFactory.html | 288 + ...sConditions.SortDirectionEnum.Adapter.html | 318 + ...aitForSmsConditions.SortDirectionEnum.html | 410 + .../models/WaitForSmsConditions.html | 1179 + ...ouncePayload.CustomTypeAdapterFactory.html | 288 + ...okBouncePayload.EventNameEnum.Adapter.html | 318 + .../WebhookBouncePayload.EventNameEnum.html | 506 + .../models/WebhookBouncePayload.html | 994 + ...pientPayload.CustomTypeAdapterFactory.html | 288 + ...ecipientPayload.EventNameEnum.Adapter.html | 318 + ...kBounceRecipientPayload.EventNameEnum.html | 506 + .../models/WebhookBounceRecipientPayload.html | 776 + ...tatusPayload.CustomTypeAdapterFactory.html | 288 + ...ryStatusPayload.EventNameEnum.Adapter.html | 318 + ...okDeliveryStatusPayload.EventNameEnum.html | 506 + .../models/WebhookDeliveryStatusPayload.html | 1493 + .../WebhookDto.CustomTypeAdapterFactory.html | 288 + .../WebhookDto.EventNameEnum.Adapter.html | 318 + .../models/WebhookDto.EventNameEnum.html | 506 + .../models/WebhookDto.MethodEnum.Adapter.html | 318 + .../models/WebhookDto.MethodEnum.html | 482 + site/com/mailslurp/models/WebhookDto.html | 1486 + ...penedPayload.CustomTypeAdapterFactory.html | 288 + ...ilOpenedPayload.EventNameEnum.Adapter.html | 318 + ...bhookEmailOpenedPayload.EventNameEnum.html | 506 + .../models/WebhookEmailOpenedPayload.html | 1032 + ...lReadPayload.CustomTypeAdapterFactory.html | 288 + ...mailReadPayload.EventNameEnum.Adapter.html | 318 + ...WebhookEmailReadPayload.EventNameEnum.html | 506 + .../models/WebhookEmailReadPayload.html | 968 + ...derNameValue.CustomTypeAdapterFactory.html | 288 + .../models/WebhookHeaderNameValue.html | 578 + ...bhookHeaders.CustomTypeAdapterFactory.html | 288 + site/com/mailslurp/models/WebhookHeaders.html | 527 + ...hmentPayload.CustomTypeAdapterFactory.html | 288 + ...tachmentPayload.EventNameEnum.Adapter.html | 318 + ...ookNewAttachmentPayload.EventNameEnum.html | 506 + .../models/WebhookNewAttachmentPayload.html | 968 + ...ntactPayload.CustomTypeAdapterFactory.html | 288 + ...wContactPayload.EventNameEnum.Adapter.html | 318 + ...ebhookNewContactPayload.EventNameEnum.html | 506 + .../models/WebhookNewContactPayload.html | 1442 + ...EmailPayload.CustomTypeAdapterFactory.html | 288 + ...NewEmailPayload.EventNameEnum.Adapter.html | 318 + .../WebhookNewEmailPayload.EventNameEnum.html | 506 + .../models/WebhookNewEmailPayload.html | 1404 + ...ewSmsPayload.CustomTypeAdapterFactory.html | 288 + ...okNewSmsPayload.EventNameEnum.Adapter.html | 318 + .../WebhookNewSmsPayload.EventNameEnum.html | 506 + .../models/WebhookNewSmsPayload.html | 1160 + ...okProjection.CustomTypeAdapterFactory.html | 288 + ...bhookProjection.EventNameEnum.Adapter.html | 318 + .../WebhookProjection.EventNameEnum.html | 506 + .../mailslurp/models/WebhookProjection.html | 968 + ...edriveResult.CustomTypeAdapterFactory.html | 288 + .../models/WebhookRedriveResult.html | 642 + ...ookResultDto.CustomTypeAdapterFactory.html | 288 + ...bhookResultDto.HttpMethodEnum.Adapter.html | 318 + .../WebhookResultDto.HttpMethodEnum.html | 482 + ...bhookResultDto.ResultTypeEnum.Adapter.html | 318 + .../WebhookResultDto.ResultTypeEnum.html | 422 + ...ookResultDto.WebhookEventEnum.Adapter.html | 318 + .../WebhookResultDto.WebhookEventEnum.html | 506 + .../mailslurp/models/WebhookResultDto.html | 1492 + ...kTestRequest.CustomTypeAdapterFactory.html | 288 + ...WebhookTestRequest.MethodEnum.Adapter.html | 318 + .../models/WebhookTestRequest.MethodEnum.html | 482 + .../mailslurp/models/WebhookTestRequest.html | 727 + ...TestResponse.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/WebhookTestResponse.html | 578 + ...okTestResult.CustomTypeAdapterFactory.html | 288 + .../mailslurp/models/WebhookTestResult.html | 642 + .../class-use/AbstractOpenApiSchema.html | 126 + ...bhookPayload.CustomTypeAdapterFactory.html | 126 + ...tWebhookPayload.EventNameEnum.Adapter.html | 126 + .../AbstractWebhookPayload.EventNameEnum.html | 211 + .../class-use/AbstractWebhookPayload.html | 260 + .../AliasDto.CustomTypeAdapterFactory.html | 126 + .../mailslurp/models/class-use/AliasDto.html | 307 + ...asProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/AliasProjection.html | 245 + ...chmentEntity.CustomTypeAdapterFactory.html | 126 + .../models/class-use/AttachmentEntity.html | 259 + ...mentMetaData.CustomTypeAdapterFactory.html | 126 + .../models/class-use/AttachmentMetaData.html | 328 + ...ntProjection.CustomTypeAdapterFactory.html | 126 + .../class-use/AttachmentProjection.html | 241 + ...cAuthOptions.CustomTypeAdapterFactory.html | 126 + .../models/class-use/BasicAuthOptions.html | 199 + ...ceProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/BounceProjection.html | 237 + ...ntProjection.CustomTypeAdapterFactory.html | 126 + .../class-use/BounceRecipientProjection.html | 237 + ...ncedEmailDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/BouncedEmailDto.html | 279 + ...RecipientDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/BouncedRecipientDto.html | 255 + ...EmailOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/BulkSendEmailOptions.html | 224 + .../Complaint.CustomTypeAdapterFactory.html | 126 + .../mailslurp/models/class-use/Complaint.html | 245 + ...ConditionOption.ConditionEnum.Adapter.html | 126 + .../ConditionOption.ConditionEnum.html | 211 + ...ditionOption.CustomTypeAdapterFactory.html | 126 + .../ConditionOption.ValueEnum.Adapter.html | 126 + .../class-use/ConditionOption.ValueEnum.html | 211 + .../models/class-use/ConditionOption.html | 221 + ...ctorDto.ConnectorAuthTypeEnum.Adapter.html | 126 + .../ConnectorDto.ConnectorAuthTypeEnum.html | 211 + ...onnectorDto.ConnectorTypeEnum.Adapter.html | 126 + .../ConnectorDto.ConnectorTypeEnum.html | 211 + ...ConnectorDto.CustomTypeAdapterFactory.html | 126 + ...ectorDto.SyncScheduleTypeEnum.Adapter.html | 126 + .../ConnectorDto.SyncScheduleTypeEnum.html | 211 + .../models/class-use/ConnectorDto.html | 319 + ...rProjection.ConnectorTypeEnum.Adapter.html | 126 + ...ConnectorProjection.ConnectorTypeEnum.html | 211 + ...orProjection.CustomTypeAdapterFactory.html | 126 + ...ojection.SyncScheduleTypeEnum.Adapter.html | 126 + ...nectorProjection.SyncScheduleTypeEnum.html | 211 + .../models/class-use/ConnectorProjection.html | 245 + ...SyncEventDto.CustomTypeAdapterFactory.html | 126 + ...orSyncEventDto.SyncStatusEnum.Adapter.html | 126 + .../ConnectorSyncEventDto.SyncStatusEnum.html | 211 + .../class-use/ConnectorSyncEventDto.html | 247 + ...ntProjection.CustomTypeAdapterFactory.html | 126 + ...ventProjection.SyncStatusEnum.Adapter.html | 126 + ...torSyncEventProjection.SyncStatusEnum.html | 211 + .../ConnectorSyncEventProjection.html | 237 + ...equestResult.CustomTypeAdapterFactory.html | 126 + .../class-use/ConnectorSyncRequestResult.html | 235 + ...ultException.CustomTypeAdapterFactory.html | 126 + .../ConnectorSyncRequestResultException.html | 219 + ...ceptionCause.CustomTypeAdapterFactory.html | 126 + ...nectorSyncRequestResultExceptionCause.html | 215 + ...ckTraceInner.CustomTypeAdapterFactory.html | 126 + ...stResultExceptionCauseStackTraceInner.html | 281 + ...pressedInner.CustomTypeAdapterFactory.html | 126 + ...stResultExceptionCauseSuppressedInner.html | 247 + ...orSyncResult.CustomTypeAdapterFactory.html | 126 + .../models/class-use/ConnectorSyncResult.html | 203 + .../ContactDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/ContactDto.html | 339 + ...ctProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/ContactProjection.html | 298 + ...MatchOptions.CustomTypeAdapterFactory.html | 126 + .../models/class-use/ContentMatchOptions.html | 220 + .../CountDto.CustomTypeAdapterFactory.html | 126 + .../mailslurp/models/class-use/CountDto.html | 263 + ...AliasOptions.CustomTypeAdapterFactory.html | 126 + .../models/class-use/CreateAliasOptions.html | 228 + ...rImapOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/CreateConnectorImapOptions.html | 211 + ...Options.ConnectorAuthTypeEnum.Adapter.html | 126 + ...onnectorOptions.ConnectorAuthTypeEnum.html | 211 + ...ctorOptions.ConnectorTypeEnum.Adapter.html | 126 + ...ateConnectorOptions.ConnectorTypeEnum.html | 211 + ...ectorOptions.CustomTypeAdapterFactory.html | 126 + ...rOptions.SyncScheduleTypeEnum.Adapter.html | 126 + ...ConnectorOptions.SyncScheduleTypeEnum.html | 211 + .../class-use/CreateConnectorOptions.html | 273 + ...ntactOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/CreateContactOptions.html | 252 + ...omainOptions.CustomTypeAdapterFactory.html | 126 + ...eDomainOptions.DomainTypeEnum.Adapter.html | 126 + .../CreateDomainOptions.DomainTypeEnum.html | 211 + .../models/class-use/CreateDomainOptions.html | 231 + ...dressOptions.CustomTypeAdapterFactory.html | 126 + ...essOptions.IsoCountryCodeEnum.Adapter.html | 126 + ...encyAddressOptions.IsoCountryCodeEnum.html | 211 + .../CreateEmergencyAddressOptions.html | 236 + ...GroupOptions.CustomTypeAdapterFactory.html | 126 + .../models/class-use/CreateGroupOptions.html | 220 + ...eateInboxDto.CustomTypeAdapterFactory.html | 126 + .../CreateInboxDto.InboxTypeEnum.Adapter.html | 126 + .../CreateInboxDto.InboxTypeEnum.html | 211 + .../models/class-use/CreateInboxDto.html | 272 + ...arderOptions.CustomTypeAdapterFactory.html | 126 + ...boxForwarderOptions.FieldEnum.Adapter.html | 126 + ...CreateInboxForwarderOptions.FieldEnum.html | 211 + .../CreateInboxForwarderOptions.html | 291 + ...plierOptions.CustomTypeAdapterFactory.html | 126 + ...InboxReplierOptions.FieldEnum.Adapter.html | 126 + .../CreateInboxReplierOptions.FieldEnum.html | 211 + .../class-use/CreateInboxReplierOptions.html | 272 + ...nboxRulesetOptions.ActionEnum.Adapter.html | 126 + .../CreateInboxRulesetOptions.ActionEnum.html | 211 + ...lesetOptions.CustomTypeAdapterFactory.html | 126 + ...InboxRulesetOptions.ScopeEnum.Adapter.html | 126 + .../CreateInboxRulesetOptions.ScopeEnum.html | 211 + .../class-use/CreateInboxRulesetOptions.html | 287 + ...plateOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/CreateTemplateOptions.html | 256 + ...PixelOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/CreateTrackingPixelOptions.html | 223 + ...bhookOptions.CustomTypeAdapterFactory.html | 126 + ...eWebhookOptions.EventNameEnum.Adapter.html | 126 + .../CreateWebhookOptions.EventNameEnum.html | 211 + .../class-use/CreateWebhookOptions.html | 313 + ...ookupOptions.CustomTypeAdapterFactory.html | 126 + ...LookupOptions.RecordTypesEnum.Adapter.html | 126 + .../DNSLookupOptions.RecordTypesEnum.html | 233 + .../models/class-use/DNSLookupOptions.html | 228 + ...LookupResult.CustomTypeAdapterFactory.html | 126 + ...NSLookupResult.RecordTypeEnum.Adapter.html | 126 + .../DNSLookupResult.RecordTypeEnum.html | 211 + .../models/class-use/DNSLookupResult.html | 233 + ...ookupResults.CustomTypeAdapterFactory.html | 126 + .../models/class-use/DNSLookupResults.html | 231 + ...eryStatusDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/DeliveryStatusDto.html | 364 + ...omainOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/DescribeDomainOptions.html | 216 + ...DomainResult.CustomTypeAdapterFactory.html | 126 + .../DescribeMailServerDomainResult.html | 239 + .../DomainDto.CustomTypeAdapterFactory.html | 126 + .../DomainDto.DomainTypeEnum.Adapter.html | 126 + .../class-use/DomainDto.DomainTypeEnum.html | 211 + .../mailslurp/models/class-use/DomainDto.html | 358 + ...ainIssuesDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/DomainIssuesDto.html | 229 + ...inNameRecord.CustomTypeAdapterFactory.html | 126 + .../DomainNameRecord.LabelEnum.Adapter.html | 126 + .../class-use/DomainNameRecord.LabelEnum.html | 211 + ...mainNameRecord.RecordTypeEnum.Adapter.html | 126 + .../DomainNameRecord.RecordTypeEnum.html | 211 + .../models/class-use/DomainNameRecord.html | 241 + ...omainPreview.CustomTypeAdapterFactory.html | 126 + .../DomainPreview.DomainTypeEnum.Adapter.html | 126 + .../DomainPreview.DomainTypeEnum.html | 211 + .../models/class-use/DomainPreview.html | 244 + ...ttachmentDto.CustomTypeAdapterFactory.html | 126 + .../class-use/DownloadAttachmentDto.html | 257 + .../Email.CustomTypeAdapterFactory.html | 126 + .../com/mailslurp/models/class-use/Email.html | 539 + ...mailAnalysis.CustomTypeAdapterFactory.html | 126 + .../models/class-use/EmailAnalysis.html | 211 + ...tMatchResult.CustomTypeAdapterFactory.html | 126 + .../class-use/EmailContentMatchResult.html | 238 + ...EmailHtmlDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/EmailHtmlDto.html | 234 + ...lLinksResult.CustomTypeAdapterFactory.html | 126 + .../models/class-use/EmailLinksResult.html | 238 + ...EmailPreview.CustomTypeAdapterFactory.html | 126 + .../models/class-use/EmailPreview.html | 503 + ...lPreviewUrls.CustomTypeAdapterFactory.html | 126 + .../models/class-use/EmailPreviewUrls.html | 256 + ...ilProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/EmailProjection.html | 285 + ...ilRecipients.CustomTypeAdapterFactory.html | 126 + .../models/class-use/EmailRecipients.html | 215 + ...tLinesResult.CustomTypeAdapterFactory.html | 126 + .../class-use/EmailTextLinesResult.html | 269 + ...onRequestDto.CustomTypeAdapterFactory.html | 126 + .../class-use/EmailValidationRequestDto.html | 237 + ...cationResult.CustomTypeAdapterFactory.html | 126 + .../class-use/EmailVerificationResult.html | 243 + ...gencyAddress.CustomTypeAdapterFactory.html | 126 + ...gencyAddress.PhoneCountryEnum.Adapter.html | 126 + .../EmergencyAddress.PhoneCountryEnum.html | 211 + .../models/class-use/EmergencyAddress.html | 286 + ...cyAddressDto.CustomTypeAdapterFactory.html | 126 + ...cyAddressDto.PhoneCountryEnum.Adapter.html | 126 + .../EmergencyAddressDto.PhoneCountryEnum.html | 211 + .../models/class-use/EmergencyAddressDto.html | 221 + ...yResponseDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/EmptyResponseDto.html | 223 + ...tionDefaults.CustomTypeAdapterFactory.html | 126 + .../models/class-use/ExpirationDefaults.html | 245 + ...iredInboxDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/ExpiredInboxDto.html | 260 + ...rdProjection.CustomTypeAdapterFactory.html | 126 + .../ExpiredInboxRecordProjection.html | 229 + .../ExportLink.CustomTypeAdapterFactory.html | 126 + .../models/class-use/ExportLink.html | 233 + ...xportOptions.CustomTypeAdapterFactory.html | 126 + ...xportOptions.OutputFormatEnum.Adapter.html | 126 + .../ExportOptions.OutputFormatEnum.html | 211 + .../models/class-use/ExportOptions.html | 244 + ...ientsOptions.CustomTypeAdapterFactory.html | 126 + .../FilterBouncedRecipientsOptions.html | 223 + ...pientsResult.CustomTypeAdapterFactory.html | 126 + .../FilterBouncedRecipientsResult.html | 234 + ...nboxesResult.CustomTypeAdapterFactory.html | 126 + .../class-use/FlushExpiredInboxesResult.html | 238 + ...EmailOptions.CustomTypeAdapterFactory.html | 126 + .../models/class-use/ForwardEmailOptions.html | 259 + .../GravatarUrl.CustomTypeAdapterFactory.html | 126 + .../models/class-use/GravatarUrl.html | 235 + ...pContactsDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/GroupContactsDto.html | 279 + .../GroupDto.CustomTypeAdapterFactory.html | 126 + .../mailslurp/models/class-use/GroupDto.html | 281 + ...upProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/GroupProjection.html | 274 + ...dationResult.CustomTypeAdapterFactory.html | 126 + .../class-use/HTMLValidationResult.html | 211 + ...ddressResult.CustomTypeAdapterFactory.html | 126 + .../models/class-use/IPAddressResult.html | 231 + ...ationOptions.CustomTypeAdapterFactory.html | 126 + ...tionOptions.FlagOperationEnum.Adapter.html | 126 + ...lagOperationOptions.FlagOperationEnum.html | 211 + .../class-use/ImapFlagOperationOptions.html | 228 + ...ccessDetails.CustomTypeAdapterFactory.html | 126 + .../class-use/ImapSmtpAccessDetails.html | 272 + ...ddressResult.CustomTypeAdapterFactory.html | 126 + .../class-use/InboxByEmailAddressResult.html | 234 + ...ByNameResult.CustomTypeAdapterFactory.html | 126 + .../models/class-use/InboxByNameResult.html | 234 + .../InboxDto.CustomTypeAdapterFactory.html | 126 + .../InboxDto.InboxTypeEnum.Adapter.html | 126 + .../class-use/InboxDto.InboxTypeEnum.html | 211 + .../mailslurp/models/class-use/InboxDto.html | 615 + ...boxExistsDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/InboxExistsDto.html | 233 + ...ForwarderDto.CustomTypeAdapterFactory.html | 126 + .../InboxForwarderDto.FieldEnum.Adapter.html | 126 + .../InboxForwarderDto.FieldEnum.html | 211 + .../models/class-use/InboxForwarderDto.html | 353 + ...ntProjection.CustomTypeAdapterFactory.html | 126 + ...derEventProjection.StatusEnum.Adapter.html | 126 + ...oxForwarderEventProjection.StatusEnum.html | 211 + .../InboxForwarderEventProjection.html | 245 + ...rTestOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/InboxForwarderTestOptions.html | 279 + ...erTestResult.CustomTypeAdapterFactory.html | 126 + .../class-use/InboxForwarderTestResult.html | 289 + .../InboxIdItem.CustomTypeAdapterFactory.html | 126 + .../models/class-use/InboxIdItem.html | 221 + ...boxIdsResult.CustomTypeAdapterFactory.html | 126 + .../models/class-use/InboxIdsResult.html | 233 + ...InboxPreview.CustomTypeAdapterFactory.html | 126 + .../InboxPreview.InboxTypeEnum.Adapter.html | 126 + .../class-use/InboxPreview.InboxTypeEnum.html | 211 + .../models/class-use/InboxPreview.html | 261 + ...oxReplierDto.CustomTypeAdapterFactory.html | 126 + .../InboxReplierDto.FieldEnum.Adapter.html | 126 + .../class-use/InboxReplierDto.FieldEnum.html | 211 + .../models/class-use/InboxReplierDto.html | 379 + ...ntProjection.CustomTypeAdapterFactory.html | 126 + ...ierEventProjection.StatusEnum.Adapter.html | 126 + ...nboxReplierEventProjection.StatusEnum.html | 211 + .../InboxReplierEventProjection.html | 257 + .../InboxRulesetDto.ActionEnum.Adapter.html | 126 + .../class-use/InboxRulesetDto.ActionEnum.html | 211 + ...oxRulesetDto.CustomTypeAdapterFactory.html | 126 + .../InboxRulesetDto.HandlerEnum.Adapter.html | 126 + .../InboxRulesetDto.HandlerEnum.html | 211 + .../InboxRulesetDto.ScopeEnum.Adapter.html | 126 + .../class-use/InboxRulesetDto.ScopeEnum.html | 211 + .../models/class-use/InboxRulesetDto.html | 349 + ...tTestOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/InboxRulesetTestOptions.html | 279 + ...etTestResult.CustomTypeAdapterFactory.html | 126 + .../class-use/InboxRulesetTestResult.html | 289 + ...SONSchemaDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/JSONSchemaDto.html | 248 + ...ntProjection.CustomTypeAdapterFactory.html | 126 + .../ListUnsubscribeRecipientProjection.html | 229 + .../MatchOption.CustomTypeAdapterFactory.html | 126 + .../MatchOption.FieldEnum.Adapter.html | 126 + .../class-use/MatchOption.FieldEnum.html | 211 + .../MatchOption.ShouldEnum.Adapter.html | 126 + .../class-use/MatchOption.ShouldEnum.html | 211 + .../models/class-use/MatchOption.html | 243 + ...MatchOptions.CustomTypeAdapterFactory.html | 126 + .../models/class-use/MatchOptions.html | 320 + ...ssedEmailDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/MissedEmailDto.html | 340 + ...ilProjection.CustomTypeAdapterFactory.html | 126 + .../class-use/MissedEmailProjection.html | 233 + ...ServerRecord.CustomTypeAdapterFactory.html | 126 + .../models/class-use/NameServerRecord.html | 229 + ...oxProjection.CustomTypeAdapterFactory.html | 126 + ...InboxProjection.InboxTypeEnum.Adapter.html | 126 + ...nizationInboxProjection.InboxTypeEnum.html | 211 + .../OrganizationInboxProjection.html | 261 + .../PageAlias.CustomTypeAdapterFactory.html | 126 + .../mailslurp/models/class-use/PageAlias.html | 290 + ...chmentEntity.CustomTypeAdapterFactory.html | 126 + .../class-use/PageAttachmentEntity.html | 293 + ...BouncedEmail.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageBouncedEmail.html | 287 + ...edRecipients.CustomTypeAdapterFactory.html | 126 + .../class-use/PageBouncedRecipients.html | 287 + ...ageComplaint.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageComplaint.html | 287 + ...ageConnector.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageConnector.html | 290 + ...orSyncEvents.CustomTypeAdapterFactory.html | 126 + .../class-use/PageConnectorSyncEvents.html | 321 + ...ctProjection.CustomTypeAdapterFactory.html | 126 + .../class-use/PageContactProjection.html | 322 + ...liveryStatus.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageDeliveryStatus.html | 358 + ...EmailPreview.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageEmailPreview.html | 293 + ...ilProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageEmailProjection.html | 373 + ...ationRequest.CustomTypeAdapterFactory.html | 126 + .../class-use/PageEmailValidationRequest.html | 293 + ...rdProjection.CustomTypeAdapterFactory.html | 126 + .../PageExpiredInboxRecordProjection.html | 290 + ...upProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageGroupProjection.html | 287 + ...ForwarderDto.CustomTypeAdapterFactory.html | 126 + .../class-use/PageInboxForwarderDto.html | 296 + ...warderEvents.CustomTypeAdapterFactory.html | 126 + .../class-use/PageInboxForwarderEvents.html | 287 + ...oxProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageInboxProjection.html | 308 + ...oxReplierDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageInboxReplierDto.html | 293 + ...eplierEvents.CustomTypeAdapterFactory.html | 126 + .../class-use/PageInboxReplierEvents.html | 287 + ...oxRulesetDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageInboxRulesetDto.html | 336 + ...beRecipients.CustomTypeAdapterFactory.html | 126 + .../PageListUnsubscribeRecipients.html | 284 + ...ilProjection.CustomTypeAdapterFactory.html | 126 + .../class-use/PageMissedEmailProjection.html | 293 + ...oxProjection.CustomTypeAdapterFactory.html | 126 + .../PageOrganizationInboxProjection.html | 293 + ...erProjection.CustomTypeAdapterFactory.html | 126 + .../class-use/PagePhoneNumberProjection.html | 286 + ...cheduledJobs.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageScheduledJobs.html | 327 + ...ilProjection.CustomTypeAdapterFactory.html | 126 + .../class-use/PageSentEmailProjection.html | 371 + ...ueProjection.CustomTypeAdapterFactory.html | 126 + .../PageSentEmailWithQueueProjection.html | 287 + ...msProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageSmsProjection.html | 293 + ...teProjection.CustomTypeAdapterFactory.html | 126 + .../class-use/PageTemplateProjection.html | 290 + ...adProjection.CustomTypeAdapterFactory.html | 126 + .../class-use/PageThreadProjection.html | 293 + ...elProjection.CustomTypeAdapterFactory.html | 126 + .../PageTrackingPixelProjection.html | 406 + ...ilProjection.CustomTypeAdapterFactory.html | 126 + .../PageUnknownMissedEmailProjection.html | 296 + ...okProjection.CustomTypeAdapterFactory.html | 126 + .../class-use/PageWebhookProjection.html | 407 + ...ebhookResult.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageWebhookResult.html | 333 + ...geableObject.CustomTypeAdapterFactory.html | 126 + .../models/class-use/PageableObject.html | 677 + ...oneNumberDto.CustomTypeAdapterFactory.html | 126 + ...oneNumberDto.PhoneCountryEnum.Adapter.html | 126 + .../PhoneNumberDto.PhoneCountryEnum.html | 211 + .../models/class-use/PhoneNumberDto.html | 255 + ...erProjection.CustomTypeAdapterFactory.html | 126 + ...erProjection.PhoneCountryEnum.Adapter.html | 126 + ...honeNumberProjection.PhoneCountryEnum.html | 211 + .../class-use/PhoneNumberProjection.html | 233 + ...PhonePlanDto.CustomTypeAdapterFactory.html | 126 + ...PhonePlanDto.PhoneCountryEnum.Adapter.html | 126 + .../PhonePlanDto.PhoneCountryEnum.html | 211 + .../models/class-use/PhonePlanDto.html | 225 + ...RawEmailJson.CustomTypeAdapterFactory.html | 126 + .../models/class-use/RawEmailJson.html | 246 + .../Recipient.CustomTypeAdapterFactory.html | 126 + .../mailslurp/models/class-use/Recipient.html | 261 + ...EmailOptions.CustomTypeAdapterFactory.html | 126 + ...EmailOptions.SendStrategyEnum.Adapter.html | 126 + ...yToAliasEmailOptions.SendStrategyEnum.html | 211 + .../class-use/ReplyToAliasEmailOptions.html | 268 + ...EmailOptions.CustomTypeAdapterFactory.html | 126 + ...EmailOptions.SendStrategyEnum.Adapter.html | 126 + .../ReplyToEmailOptions.SendStrategyEnum.html | 211 + .../models/class-use/ReplyToEmailOptions.html | 272 + ...ScheduledJob.CustomTypeAdapterFactory.html | 126 + .../ScheduledJob.StatusEnum.Adapter.html | 126 + .../class-use/ScheduledJob.StatusEnum.html | 211 + .../models/class-use/ScheduledJob.html | 253 + ...eduledJobDto.CustomTypeAdapterFactory.html | 126 + .../ScheduledJobDto.StatusEnum.Adapter.html | 126 + .../class-use/ScheduledJobDto.StatusEnum.html | 211 + .../models/class-use/ScheduledJobDto.html | 322 + ...EmailOptions.CustomTypeAdapterFactory.html | 126 + ...EmailOptions.SendStrategyEnum.Adapter.html | 126 + .../SendEmailOptions.SendStrategyEnum.html | 211 + ...ns.ValidateEmailAddressesEnum.Adapter.html | 126 + ...ailOptions.ValidateEmailAddressesEnum.html | 211 + .../models/class-use/SendEmailOptions.html | 536 + ...elopeOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/SendSMTPEnvelopeOptions.html | 235 + ...hQueueResult.CustomTypeAdapterFactory.html | 126 + .../models/class-use/SendWithQueueResult.html | 253 + .../Sender.CustomTypeAdapterFactory.html | 126 + .../mailslurp/models/class-use/Sender.html | 203 + ...SentEmailDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/SentEmailDto.html | 509 + ...ilProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/SentEmailProjection.html | 277 + ...ritedOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/SetInboxFavouritedOptions.html | 223 + ...EmailOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/SimpleSendEmailOptions.html | 231 + .../SmsDto.CustomTypeAdapterFactory.html | 126 + .../mailslurp/models/class-use/SmsDto.html | 274 + ...sMatchOption.CustomTypeAdapterFactory.html | 126 + .../SmsMatchOption.FieldEnum.Adapter.html | 126 + .../class-use/SmsMatchOption.FieldEnum.html | 211 + .../SmsMatchOption.ShouldEnum.Adapter.html | 126 + .../class-use/SmsMatchOption.ShouldEnum.html | 211 + .../models/class-use/SmsMatchOption.html | 225 + .../SmsPreview.CustomTypeAdapterFactory.html | 126 + .../models/class-use/SmsPreview.html | 238 + ...msProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/SmsProjection.html | 241 + .../Sort.CustomTypeAdapterFactory.html | 126 + site/com/mailslurp/models/class-use/Sort.html | 679 + .../TemplateDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/TemplateDto.html | 297 + ...platePreview.CustomTypeAdapterFactory.html | 126 + .../models/class-use/TemplatePreview.html | 230 + ...teProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/TemplateProjection.html | 285 + ...lateVariable.CustomTypeAdapterFactory.html | 126 + ...lateVariable.VariableTypeEnum.Adapter.html | 126 + .../TemplateVariable.VariableTypeEnum.html | 211 + .../models/class-use/TemplateVariable.html | 221 + ...arderOptions.CustomTypeAdapterFactory.html | 126 + .../TestNewInboxForwarderOptions.html | 223 + ...lesetOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/TestNewInboxRulesetOptions.html | 223 + ...umberOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/TestPhoneNumberOptions.html | 220 + ...adProjection.CustomTypeAdapterFactory.html | 126 + .../models/class-use/ThreadProjection.html | 269 + ...kingPixelDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/TrackingPixelDto.html | 281 + ...elProjection.CustomTypeAdapterFactory.html | 126 + .../class-use/TrackingPixelProjection.html | 249 + ...ilProjection.CustomTypeAdapterFactory.html | 126 + .../UnknownMissedEmailProjection.html | 237 + .../UnreadCount.CustomTypeAdapterFactory.html | 126 + .../models/class-use/UnreadCount.html | 250 + ...rrorCountDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/UnseenErrorCountDto.html | 226 + ...AliasOptions.CustomTypeAdapterFactory.html | 126 + .../models/class-use/UpdateAliasOptions.html | 220 + ...omainOptions.CustomTypeAdapterFactory.html | 126 + .../models/class-use/UpdateDomainOptions.html | 223 + ...roupContacts.CustomTypeAdapterFactory.html | 126 + .../models/class-use/UpdateGroupContacts.html | 254 + ...InboxOptions.CustomTypeAdapterFactory.html | 126 + .../models/class-use/UpdateInboxOptions.html | 240 + ...plierOptions.CustomTypeAdapterFactory.html | 126 + ...InboxReplierOptions.FieldEnum.Adapter.html | 126 + .../UpdateInboxReplierOptions.FieldEnum.html | 211 + .../class-use/UpdateInboxReplierOptions.html | 276 + ...BytesRequest.CustomTypeAdapterFactory.html | 126 + .../UploadAttachmentBytesRequest.html | 252 + ...hmentOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/UploadAttachmentOptions.html | 224 + ...tFormRequest.CustomTypeAdapterFactory.html | 126 + .../class-use/UploadMultipartFormRequest.html | 232 + .../UserInfoDto.AccountStateEnum.Adapter.html | 126 + .../UserInfoDto.AccountStateEnum.html | 211 + .../UserInfoDto.AccountTypeEnum.Adapter.html | 126 + .../UserInfoDto.AccountTypeEnum.html | 211 + .../UserInfoDto.CustomTypeAdapterFactory.html | 126 + ...rInfoDto.SubscriptionTypeEnum.Adapter.html | 126 + .../UserInfoDto.SubscriptionTypeEnum.html | 211 + .../models/class-use/UserInfoDto.html | 247 + ...sListOptions.CustomTypeAdapterFactory.html | 126 + .../ValidateEmailAddressListOptions.html | 220 + ...ssListResult.CustomTypeAdapterFactory.html | 126 + .../ValidateEmailAddressListResult.html | 248 + ...alidationDto.CustomTypeAdapterFactory.html | 126 + .../models/class-use/ValidationDto.html | 234 + ...ationMessage.CustomTypeAdapterFactory.html | 126 + .../models/class-use/ValidationMessage.html | 239 + ...dressOptions.CustomTypeAdapterFactory.html | 126 + .../class-use/VerifyEmailAddressOptions.html | 228 + ...atureOptions.CustomTypeAdapterFactory.html | 126 + .../VerifyWebhookSignatureOptions.html | 223 + ...atureResults.CustomTypeAdapterFactory.html | 126 + .../VerifyWebhookSignatureResults.html | 230 + ...itForConditions.CountTypeEnum.Adapter.html | 126 + .../WaitForConditions.CountTypeEnum.html | 211 + ...orConditions.CustomTypeAdapterFactory.html | 126 + ...rConditions.SortDirectionEnum.Adapter.html | 126 + .../WaitForConditions.SortDirectionEnum.html | 211 + .../models/class-use/WaitForConditions.html | 256 + ...leSmsOptions.CustomTypeAdapterFactory.html | 126 + ...eSmsOptions.SortDirectionEnum.Adapter.html | 126 + ...ForSingleSmsOptions.SortDirectionEnum.html | 211 + .../class-use/WaitForSingleSmsOptions.html | 240 + ...orSmsConditions.CountTypeEnum.Adapter.html | 126 + .../WaitForSmsConditions.CountTypeEnum.html | 211 + ...msConditions.CustomTypeAdapterFactory.html | 126 + ...sConditions.SortDirectionEnum.Adapter.html | 126 + ...aitForSmsConditions.SortDirectionEnum.html | 211 + .../class-use/WaitForSmsConditions.html | 260 + ...ouncePayload.CustomTypeAdapterFactory.html | 126 + ...okBouncePayload.EventNameEnum.Adapter.html | 126 + .../WebhookBouncePayload.EventNameEnum.html | 211 + .../class-use/WebhookBouncePayload.html | 263 + ...pientPayload.CustomTypeAdapterFactory.html | 126 + ...ecipientPayload.EventNameEnum.Adapter.html | 126 + ...kBounceRecipientPayload.EventNameEnum.html | 211 + .../WebhookBounceRecipientPayload.html | 243 + ...tatusPayload.CustomTypeAdapterFactory.html | 126 + ...ryStatusPayload.EventNameEnum.Adapter.html | 126 + ...okDeliveryStatusPayload.EventNameEnum.html | 211 + .../WebhookDeliveryStatusPayload.html | 290 + .../WebhookDto.CustomTypeAdapterFactory.html | 126 + .../WebhookDto.EventNameEnum.Adapter.html | 126 + .../class-use/WebhookDto.EventNameEnum.html | 211 + .../WebhookDto.MethodEnum.Adapter.html | 126 + .../class-use/WebhookDto.MethodEnum.html | 211 + .../models/class-use/WebhookDto.html | 400 + ...penedPayload.CustomTypeAdapterFactory.html | 126 + ...ilOpenedPayload.EventNameEnum.Adapter.html | 126 + ...bhookEmailOpenedPayload.EventNameEnum.html | 211 + .../class-use/WebhookEmailOpenedPayload.html | 259 + ...lReadPayload.CustomTypeAdapterFactory.html | 126 + ...mailReadPayload.EventNameEnum.Adapter.html | 126 + ...WebhookEmailReadPayload.EventNameEnum.html | 211 + .../class-use/WebhookEmailReadPayload.html | 255 + ...derNameValue.CustomTypeAdapterFactory.html | 126 + .../class-use/WebhookHeaderNameValue.html | 221 + ...bhookHeaders.CustomTypeAdapterFactory.html | 126 + .../models/class-use/WebhookHeaders.html | 261 + ...hmentPayload.CustomTypeAdapterFactory.html | 126 + ...tachmentPayload.EventNameEnum.Adapter.html | 126 + ...ookNewAttachmentPayload.EventNameEnum.html | 211 + .../WebhookNewAttachmentPayload.html | 254 + ...ntactPayload.CustomTypeAdapterFactory.html | 126 + ...wContactPayload.EventNameEnum.Adapter.html | 126 + ...ebhookNewContactPayload.EventNameEnum.html | 211 + .../class-use/WebhookNewContactPayload.html | 290 + ...EmailPayload.CustomTypeAdapterFactory.html | 126 + ...NewEmailPayload.EventNameEnum.Adapter.html | 126 + .../WebhookNewEmailPayload.EventNameEnum.html | 211 + .../class-use/WebhookNewEmailPayload.html | 294 + ...ewSmsPayload.CustomTypeAdapterFactory.html | 126 + ...okNewSmsPayload.EventNameEnum.Adapter.html | 126 + .../WebhookNewSmsPayload.EventNameEnum.html | 211 + .../class-use/WebhookNewSmsPayload.html | 266 + ...okProjection.CustomTypeAdapterFactory.html | 126 + ...bhookProjection.EventNameEnum.Adapter.html | 126 + .../WebhookProjection.EventNameEnum.html | 211 + .../models/class-use/WebhookProjection.html | 245 + ...edriveResult.CustomTypeAdapterFactory.html | 126 + .../class-use/WebhookRedriveResult.html | 238 + ...ookResultDto.CustomTypeAdapterFactory.html | 126 + ...bhookResultDto.HttpMethodEnum.Adapter.html | 126 + .../WebhookResultDto.HttpMethodEnum.html | 211 + ...bhookResultDto.ResultTypeEnum.Adapter.html | 126 + .../WebhookResultDto.ResultTypeEnum.html | 211 + ...ookResultDto.WebhookEventEnum.Adapter.html | 126 + .../WebhookResultDto.WebhookEventEnum.html | 211 + .../models/class-use/WebhookResultDto.html | 332 + ...kTestRequest.CustomTypeAdapterFactory.html | 126 + ...WebhookTestRequest.MethodEnum.Adapter.html | 126 + .../WebhookTestRequest.MethodEnum.html | 211 + .../models/class-use/WebhookTestRequest.html | 212 + ...TestResponse.CustomTypeAdapterFactory.html | 126 + .../models/class-use/WebhookTestResponse.html | 199 + ...okTestResult.CustomTypeAdapterFactory.html | 126 + .../models/class-use/WebhookTestResult.html | 235 + site/com/mailslurp/models/package-frame.html | 616 + .../com/mailslurp/models/package-summary.html | 3117 ++ site/com/mailslurp/models/package-tree.html | 746 + site/com/mailslurp/models/package-use.html | 2477 ++ site/constant-values.html | 12948 +++++++ site/deprecated-list.html | 184 + site/help-doc.html | 231 + site/index-all.html | 30383 ++++++++++++++++ site/index.html | 76 + site/overview-frame.html | 25 + site/overview-summary.html | 152 + site/overview-tree.html | 817 + site/package-list | 4 + site/script.js | 30 + site/serialized-form.html | 158 + site/stylesheet.css | 574 + src/main/AndroidManifest.xml | 3 + .../mailslurp/apis/AliasControllerApi.java | 1338 + .../apis/AttachmentControllerApi.java | 1366 + .../mailslurp/apis/BounceControllerApi.java | 1058 + .../apis/BulkActionsControllerApi.java | 440 + .../apis/CommonActionsControllerApi.java | 889 + .../apis/ConnectorControllerApi.java | 1295 + .../mailslurp/apis/ContactControllerApi.java | 834 + .../mailslurp/apis/DomainControllerApi.java | 1064 + .../mailslurp/apis/EmailControllerApi.java | 4151 +++ .../apis/EmailVerificationControllerApi.java | 371 + .../mailslurp/apis/ExpiredControllerApi.java | 592 + .../mailslurp/apis/ExportControllerApi.java | 414 + .../com/mailslurp/apis/FormControllerApi.java | 244 + .../mailslurp/apis/GroupControllerApi.java | 1266 + .../mailslurp/apis/InboxControllerApi.java | 5590 +++ .../apis/InboxForwarderControllerApi.java | 1418 + .../apis/InboxReplierControllerApi.java | 1003 + .../apis/InboxRulesetControllerApi.java | 1132 + .../apis/MailServerControllerApi.java | 586 + .../apis/MissedEmailControllerApi.java | 807 + .../mailslurp/apis/PhoneControllerApi.java | 1218 + .../apis/SentEmailsControllerApi.java | 2349 ++ .../com/mailslurp/apis/SmsControllerApi.java | 719 + .../mailslurp/apis/TemplateControllerApi.java | 1092 + .../mailslurp/apis/TrackingControllerApi.java | 487 + .../com/mailslurp/apis/UserControllerApi.java | 325 + .../mailslurp/apis/WaitForControllerApi.java | 1368 + .../mailslurp/apis/WebhookControllerApi.java | 4373 +++ .../com/mailslurp/clients/ApiCallback.java | 62 + .../java/com/mailslurp/clients/ApiClient.java | 1489 + .../com/mailslurp/clients/ApiException.java | 166 + .../com/mailslurp/clients/ApiResponse.java | 76 + .../com/mailslurp/clients/Configuration.java | 39 + .../clients/GzipRequestInterceptor.java | 85 + src/main/java/com/mailslurp/clients/JSON.java | 616 + src/main/java/com/mailslurp/clients/Pair.java | 57 + .../clients/ProgressRequestBody.java | 73 + .../clients/ProgressResponseBody.java | 70 + .../clients/ServerConfiguration.java | 58 + .../com/mailslurp/clients/ServerVariable.java | 23 + .../com/mailslurp/clients/StringUtil.java | 83 + .../mailslurp/clients/auth/ApiKeyAuth.java | 80 + .../clients/auth/Authentication.java | 36 + .../mailslurp/clients/auth/HttpBasicAuth.java | 57 + .../clients/auth/HttpBearerAuth.java | 63 + .../models/AbstractOpenApiSchema.java | 149 + .../models/AbstractWebhookPayload.java | 382 + .../java/com/mailslurp/models/AliasDto.java | 520 + .../com/mailslurp/models/AliasProjection.java | 446 + .../mailslurp/models/AttachmentEntity.java | 476 + .../mailslurp/models/AttachmentMetaData.java | 316 + .../models/AttachmentProjection.java | 423 + .../mailslurp/models/BasicAuthOptions.java | 251 + .../mailslurp/models/BounceProjection.java | 394 + .../models/BounceRecipientProjection.java | 394 + .../com/mailslurp/models/BouncedEmailDto.java | 615 + .../mailslurp/models/BouncedRecipientDto.java | 461 + .../models/BulkSendEmailOptions.java | 262 + .../java/com/mailslurp/models/Complaint.java | 446 + .../com/mailslurp/models/ConditionOption.java | 343 + .../com/mailslurp/models/ConnectorDto.java | 740 + .../mailslurp/models/ConnectorProjection.java | 536 + .../models/ConnectorSyncEventDto.java | 434 + .../models/ConnectorSyncEventProjection.java | 434 + .../models/ConnectorSyncRequestResult.java | 279 + .../ConnectorSyncRequestResultException.java | 384 + ...nectorSyncRequestResultExceptionCause.java | 349 + ...stResultExceptionCauseStackTraceInner.java | 433 + ...stResultExceptionCauseSuppressedInner.java | 296 + .../mailslurp/models/ConnectorSyncResult.java | 257 + .../java/com/mailslurp/models/ContactDto.java | 573 + .../mailslurp/models/ContactProjection.java | 502 + .../mailslurp/models/ContentMatchOptions.java | 217 + .../java/com/mailslurp/models/CountDto.java | 214 + .../mailslurp/models/CreateAliasOptions.java | 327 + .../models/CreateConnectorImapOptions.java | 346 + .../models/CreateConnectorOptions.java | 549 + .../models/CreateContactOptions.java | 467 + .../mailslurp/models/CreateDomainOptions.java | 372 + .../models/CreateEmergencyAddressOptions.java | 468 + .../mailslurp/models/CreateGroupOptions.java | 262 + .../com/mailslurp/models/CreateInboxDto.java | 689 + .../models/CreateInboxForwarderOptions.java | 346 + .../models/CreateInboxReplierOptions.java | 680 + .../models/CreateInboxRulesetOptions.java | 381 + .../models/CreateTemplateOptions.java | 251 + .../models/CreateTrackingPixelOptions.java | 254 + .../models/CreateWebhookOptions.java | 521 + .../mailslurp/models/DNSLookupOptions.java | 513 + .../com/mailslurp/models/DNSLookupResult.java | 547 + .../mailslurp/models/DNSLookupResults.java | 232 + .../mailslurp/models/DeliveryStatusDto.java | 646 + .../models/DescribeDomainOptions.java | 217 + .../DescribeMailServerDomainResult.java | 311 + .../java/com/mailslurp/models/DomainDto.java | 695 + .../com/mailslurp/models/DomainIssuesDto.java | 213 + .../mailslurp/models/DomainNameRecord.java | 665 + .../com/mailslurp/models/DomainPreview.java | 472 + .../models/DownloadAttachmentDto.java | 282 + src/main/java/com/mailslurp/models/Email.java | 1102 + .../com/mailslurp/models/EmailAnalysis.java | 353 + .../models/EmailContentMatchResult.java | 261 + .../com/mailslurp/models/EmailHtmlDto.java | 241 + .../mailslurp/models/EmailLinksResult.java | 261 + .../com/mailslurp/models/EmailPreview.java | 562 + .../mailslurp/models/EmailPreviewUrls.java | 251 + .../com/mailslurp/models/EmailProjection.java | 693 + .../com/mailslurp/models/EmailRecipients.java | 335 + .../models/EmailTextLinesResult.java | 261 + .../models/EmailValidationRequestDto.java | 380 + .../models/EmailVerificationResult.java | 358 + .../mailslurp/models/EmergencyAddress.java | 668 + .../mailslurp/models/EmergencyAddressDto.java | 334 + .../mailslurp/models/EmptyResponseDto.java | 208 + .../mailslurp/models/ExpirationDefaults.java | 348 + .../com/mailslurp/models/ExpiredInboxDto.java | 286 + .../models/ExpiredInboxRecordProjection.java | 318 + .../java/com/mailslurp/models/ExportLink.java | 217 + .../com/mailslurp/models/ExportOptions.java | 433 + .../FilterBouncedRecipientsOptions.java | 227 + .../models/FilterBouncedRecipientsResult.java | 227 + .../models/FlushExpiredInboxesResult.java | 260 + .../mailslurp/models/ForwardEmailOptions.java | 449 + .../com/mailslurp/models/GravatarUrl.java | 251 + .../mailslurp/models/GroupContactsDto.java | 266 + .../java/com/mailslurp/models/GroupDto.java | 329 + .../com/mailslurp/models/GroupProjection.java | 329 + .../models/HTMLValidationResult.java | 309 + .../com/mailslurp/models/IPAddressResult.java | 251 + .../models/ImapFlagOperationOptions.java | 310 + .../models/ImapSmtpAccessDetails.java | 582 + .../models/InboxByEmailAddressResult.java | 260 + .../mailslurp/models/InboxByNameResult.java | 260 + .../java/com/mailslurp/models/InboxDto.java | 678 + .../com/mailslurp/models/InboxExistsDto.java | 214 + .../mailslurp/models/InboxForwarderDto.java | 492 + .../models/InboxForwarderEventProjection.java | 506 + .../models/InboxForwarderTestOptions.java | 217 + .../models/InboxForwarderTestResult.java | 252 + .../com/mailslurp/models/InboxIdItem.java | 252 + .../com/mailslurp/models/InboxIdsResult.java | 232 + .../com/mailslurp/models/InboxPreview.java | 611 + .../com/mailslurp/models/InboxReplierDto.java | 715 + .../models/InboxReplierEventProjection.java | 583 + .../com/mailslurp/models/InboxRulesetDto.java | 572 + .../models/InboxRulesetTestOptions.java | 217 + .../models/InboxRulesetTestResult.java | 252 + .../com/mailslurp/models/JSONSchemaDto.java | 217 + .../ListUnsubscribeRecipientProjection.java | 329 + .../com/mailslurp/models/MatchOption.java | 385 + .../com/mailslurp/models/MatchOptions.java | 296 + .../com/mailslurp/models/MissedEmailDto.java | 755 + .../models/MissedEmailProjection.java | 361 + .../mailslurp/models/NameServerRecord.java | 319 + .../models/OrganizationInboxProjection.java | 609 + .../java/com/mailslurp/models/PageAlias.java | 571 + .../models/PageAttachmentEntity.java | 571 + .../mailslurp/models/PageBouncedEmail.java | 571 + .../models/PageBouncedRecipients.java | 571 + .../com/mailslurp/models/PageComplaint.java | 571 + .../com/mailslurp/models/PageConnector.java | 571 + .../models/PageConnectorSyncEvents.java | 571 + .../models/PageContactProjection.java | 571 + .../mailslurp/models/PageDeliveryStatus.java | 571 + .../mailslurp/models/PageEmailPreview.java | 571 + .../mailslurp/models/PageEmailProjection.java | 571 + .../models/PageEmailValidationRequest.java | 571 + .../PageExpiredInboxRecordProjection.java | 571 + .../mailslurp/models/PageGroupProjection.java | 571 + .../models/PageInboxForwarderDto.java | 571 + .../models/PageInboxForwarderEvents.java | 571 + .../mailslurp/models/PageInboxProjection.java | 571 + .../mailslurp/models/PageInboxReplierDto.java | 571 + .../models/PageInboxReplierEvents.java | 571 + .../mailslurp/models/PageInboxRulesetDto.java | 571 + .../models/PageListUnsubscribeRecipients.java | 571 + .../models/PageMissedEmailProjection.java | 571 + .../PageOrganizationInboxProjection.java | 571 + .../models/PagePhoneNumberProjection.java | 571 + .../mailslurp/models/PageScheduledJobs.java | 571 + .../models/PageSentEmailProjection.java | 577 + .../PageSentEmailWithQueueProjection.java | 577 + .../mailslurp/models/PageSmsProjection.java | 571 + .../models/PageTemplateProjection.java | 571 + .../models/PageThreadProjection.java | 571 + .../models/PageTrackingPixelProjection.java | 571 + .../PageUnknownMissedEmailProjection.java | 571 + .../models/PageWebhookProjection.java | 571 + .../mailslurp/models/PageWebhookResult.java | 571 + .../com/mailslurp/models/PageableObject.java | 360 + .../com/mailslurp/models/PhoneNumberDto.java | 531 + .../models/PhoneNumberProjection.java | 401 + .../com/mailslurp/models/PhonePlanDto.java | 366 + .../com/mailslurp/models/RawEmailJson.java | 217 + .../java/com/mailslurp/models/Recipient.java | 296 + .../models/ReplyToAliasEmailOptions.java | 549 + .../mailslurp/models/ReplyToEmailOptions.java | 615 + .../com/mailslurp/models/ScheduledJob.java | 566 + .../com/mailslurp/models/ScheduledJobDto.java | 566 + .../mailslurp/models/SendEmailOptions.java | 982 + .../models/SendSMTPEnvelopeOptions.java | 295 + .../mailslurp/models/SendWithQueueResult.java | 512 + .../java/com/mailslurp/models/Sender.java | 284 + .../com/mailslurp/models/SentEmailDto.java | 1086 + .../mailslurp/models/SentEmailProjection.java | 618 + .../models/SetInboxFavouritedOptions.java | 214 + .../models/SimpleSendEmailOptions.java | 329 + .../java/com/mailslurp/models/SmsDto.java | 447 + .../com/mailslurp/models/SmsMatchOption.java | 379 + .../java/com/mailslurp/models/SmsPreview.java | 385 + .../com/mailslurp/models/SmsProjection.java | 417 + src/main/java/com/mailslurp/models/Sort.java | 265 + .../com/mailslurp/models/TemplateDto.java | 367 + .../com/mailslurp/models/TemplatePreview.java | 216 + .../mailslurp/models/TemplateProjection.java | 359 + .../mailslurp/models/TemplateVariable.java | 296 + .../models/TestNewInboxForwarderOptions.java | 251 + .../models/TestNewInboxRulesetOptions.java | 251 + .../models/TestPhoneNumberOptions.java | 216 + .../mailslurp/models/ThreadProjection.java | 577 + .../mailslurp/models/TrackingPixelDto.java | 490 + .../models/TrackingPixelProjection.java | 477 + .../models/UnknownMissedEmailProjection.java | 360 + .../com/mailslurp/models/UnreadCount.java | 214 + .../mailslurp/models/UnseenErrorCountDto.java | 214 + .../mailslurp/models/UpdateAliasOptions.java | 221 + .../mailslurp/models/UpdateDomainOptions.java | 222 + .../mailslurp/models/UpdateGroupContacts.java | 228 + .../mailslurp/models/UpdateInboxOptions.java | 359 + .../models/UpdateInboxReplierOptions.java | 680 + .../models/UploadAttachmentBytesRequest.java | 419 + .../models/UploadAttachmentOptions.java | 295 + .../models/UploadMultipartFormRequest.java | 247 + .../com/mailslurp/models/UserInfoDto.java | 533 + .../ValidateEmailAddressListOptions.java | 227 + .../ValidateEmailAddressListResult.java | 307 + .../com/mailslurp/models/ValidationDto.java | 252 + .../mailslurp/models/ValidationMessage.java | 247 + .../models/VerifyEmailAddressOptions.java | 325 + .../models/VerifyWebhookSignatureOptions.java | 250 + .../models/VerifyWebhookSignatureResults.java | 213 + .../mailslurp/models/WaitForConditions.java | 627 + .../models/WaitForSingleSmsOptions.java | 449 + .../models/WaitForSmsConditions.java | 658 + .../models/WebhookBouncePayload.java | 548 + .../models/WebhookBounceRecipientPayload.java | 428 + .../models/WebhookDeliveryStatusPayload.java | 795 + .../java/com/mailslurp/models/WebhookDto.java | 842 + .../models/WebhookEmailOpenedPayload.java | 562 + .../models/WebhookEmailReadPayload.java | 525 + .../models/WebhookHeaderNameValue.java | 251 + .../com/mailslurp/models/WebhookHeaders.java | 232 + .../models/WebhookNewAttachmentPayload.java | 527 + .../models/WebhookNewContactPayload.java | 772 + .../models/WebhookNewEmailPayload.java | 769 + .../models/WebhookNewSmsPayload.java | 629 + .../mailslurp/models/WebhookProjection.java | 510 + .../models/WebhookRedriveResult.java | 294 + .../mailslurp/models/WebhookResultDto.java | 891 + .../mailslurp/models/WebhookTestRequest.java | 393 + .../mailslurp/models/WebhookTestResponse.java | 251 + .../mailslurp/models/WebhookTestResult.java | 296 + .../apis/AliasControllerApiTest.java | 184 + .../apis/AttachmentControllerApiTest.java | 178 + .../apis/BounceControllerApiTest.java | 156 + .../apis/BulkActionsControllerApiTest.java | 72 + .../apis/CommonActionsControllerApiTest.java | 133 + .../apis/ConnectorControllerApiTest.java | 167 + .../apis/ContactControllerApiTest.java | 114 + .../apis/DomainControllerApiTest.java | 152 + .../apis/EmailControllerApiTest.java | 516 + .../EmailVerificationControllerApiTest.java | 67 + .../apis/ExpiredControllerApiTest.java | 97 + .../apis/ExportControllerApiTest.java | 69 + .../mailslurp/apis/FormControllerApiTest.java | 53 + .../apis/GroupControllerApiTest.java | 160 + .../apis/InboxControllerApiTest.java | 685 + .../apis/InboxForwarderControllerApiTest.java | 195 + .../apis/InboxReplierControllerApiTest.java | 147 + .../apis/InboxRulesetControllerApiTest.java | 162 + .../apis/MailServerControllerApiTest.java | 88 + .../apis/MissedEmailControllerApiTest.java | 121 + .../apis/PhoneControllerApiTest.java | 138 + .../apis/SentEmailsControllerApiTest.java | 281 + .../mailslurp/apis/SmsControllerApiTest.java | 113 + .../apis/TemplateControllerApiTest.java | 156 + .../apis/TrackingControllerApiTest.java | 83 + .../mailslurp/apis/UserControllerApiTest.java | 58 + .../apis/WaitForControllerApiTest.java | 190 + .../apis/WebhookControllerApiTest.java | 497 + .../models/AbstractWebhookPayloadTest.java | 75 + .../com/mailslurp/models/AliasDtoTest.java | 125 + .../mailslurp/models/AliasProjectionTest.java | 108 + .../models/AttachmentEntityTest.java | 116 + .../models/AttachmentMetaDataTest.java | 74 + .../models/AttachmentProjectionTest.java | 101 + .../models/BasicAuthOptionsTest.java | 58 + .../models/BounceProjectionTest.java | 93 + .../models/BounceRecipientProjectionTest.java | 93 + .../mailslurp/models/BouncedEmailDtoTest.java | 143 + .../models/BouncedRecipientDtoTest.java | 109 + .../models/BulkSendEmailOptionsTest.java | 62 + .../com/mailslurp/models/ComplaintTest.java | 108 + .../mailslurp/models/ConditionOptionTest.java | 58 + .../mailslurp/models/ConnectorDtoTest.java | 148 + .../models/ConnectorProjectionTest.java | 108 + .../models/ConnectorSyncEventDtoTest.java | 92 + .../ConnectorSyncEventProjectionTest.java | 92 + ...sultExceptionCauseStackTraceInnerTest.java | 106 + ...sultExceptionCauseSuppressedInnerTest.java | 69 + ...orSyncRequestResultExceptionCauseTest.java | 78 + ...nnectorSyncRequestResultExceptionTest.java | 87 + .../ConnectorSyncRequestResultTest.java | 69 + .../models/ConnectorSyncResultTest.java | 60 + .../com/mailslurp/models/ContactDtoTest.java | 135 + .../models/ContactProjectionTest.java | 119 + .../models/ContentMatchOptionsTest.java | 50 + .../com/mailslurp/models/CountDtoTest.java | 50 + .../models/CreateAliasOptionsTest.java | 76 + .../CreateConnectorImapOptionsTest.java | 82 + .../models/CreateConnectorOptionsTest.java | 100 + .../models/CreateContactOptionsTest.java | 110 + .../models/CreateDomainOptionsTest.java | 75 + .../CreateEmergencyAddressOptionsTest.java | 98 + .../models/CreateGroupOptionsTest.java | 59 + .../mailslurp/models/CreateInboxDtoTest.java | 159 + .../CreateInboxForwarderOptionsTest.java | 68 + .../models/CreateInboxReplierOptionsTest.java | 150 + .../models/CreateInboxRulesetOptionsTest.java | 66 + .../models/CreateTemplateOptionsTest.java | 58 + .../CreateTrackingPixelOptionsTest.java | 59 + .../models/CreateWebhookOptionsTest.java | 109 + .../models/DNSLookupOptionsTest.java | 68 + .../mailslurp/models/DNSLookupResultTest.java | 76 + .../models/DNSLookupResultsTest.java | 53 + .../models/DeliveryStatusDtoTest.java | 158 + .../models/DescribeDomainOptionsTest.java | 50 + .../DescribeMailServerDomainResultTest.java | 70 + .../com/mailslurp/models/DomainDtoTest.java | 152 + .../mailslurp/models/DomainIssuesDtoTest.java | 50 + .../models/DomainNameRecordTest.java | 92 + .../mailslurp/models/DomainPreviewTest.java | 101 + .../models/DownloadAttachmentDtoTest.java | 66 + .../mailslurp/models/EmailAnalysisTest.java | 83 + .../models/EmailContentMatchResultTest.java | 60 + .../mailslurp/models/EmailHtmlDtoTest.java | 58 + .../models/EmailLinksResultTest.java | 60 + .../mailslurp/models/EmailPreviewTest.java | 127 + .../models/EmailPreviewUrlsTest.java | 58 + .../mailslurp/models/EmailProjectionTest.java | 159 + .../mailslurp/models/EmailRecipientsTest.java | 69 + .../java/com/mailslurp/models/EmailTest.java | 260 + .../models/EmailTextLinesResultTest.java | 60 + .../models/EmailValidationRequestDtoTest.java | 92 + .../models/EmailVerificationResultTest.java | 83 + .../models/EmergencyAddressDtoTest.java | 67 + .../models/EmergencyAddressTest.java | 148 + .../models/EmptyResponseDtoTest.java | 50 + .../models/ExpirationDefaultsTest.java | 84 + .../mailslurp/models/ExpiredInboxDtoTest.java | 67 + .../ExpiredInboxRecordProjectionTest.java | 76 + .../com/mailslurp/models/ExportLinkTest.java | 50 + .../mailslurp/models/ExportOptionsTest.java | 92 + .../FilterBouncedRecipientsOptionsTest.java | 52 + .../FilterBouncedRecipientsResultTest.java | 52 + .../models/FlushExpiredInboxesResultTest.java | 62 + .../models/ForwardEmailOptionsTest.java | 101 + .../com/mailslurp/models/GravatarUrlTest.java | 58 + .../models/GroupContactsDtoTest.java | 62 + .../com/mailslurp/models/GroupDtoTest.java | 77 + .../mailslurp/models/GroupProjectionTest.java | 77 + .../models/HTMLValidationResultTest.java | 69 + .../mailslurp/models/IPAddressResultTest.java | 58 + .../models/ImapFlagOperationOptionsTest.java | 60 + .../models/ImapSmtpAccessDetailsTest.java | 138 + .../models/InboxByEmailAddressResultTest.java | 60 + .../models/InboxByNameResultTest.java | 60 + .../com/mailslurp/models/InboxDtoTest.java | 151 + .../mailslurp/models/InboxExistsDtoTest.java | 50 + .../models/InboxForwarderDtoTest.java | 103 + .../InboxForwarderEventProjectionTest.java | 109 + .../models/InboxForwarderTestOptionsTest.java | 50 + .../models/InboxForwarderTestResultTest.java | 60 + .../com/mailslurp/models/InboxIdItemTest.java | 59 + .../mailslurp/models/InboxIdsResultTest.java | 53 + .../mailslurp/models/InboxPreviewTest.java | 135 + .../mailslurp/models/InboxReplierDtoTest.java | 159 + .../InboxReplierEventProjectionTest.java | 127 + .../mailslurp/models/InboxRulesetDtoTest.java | 101 + .../models/InboxRulesetTestOptionsTest.java | 50 + .../models/InboxRulesetTestResultTest.java | 60 + .../mailslurp/models/JSONSchemaDtoTest.java | 50 + ...istUnsubscribeRecipientProjectionTest.java | 77 + .../com/mailslurp/models/MatchOptionTest.java | 66 + .../mailslurp/models/MatchOptionsTest.java | 63 + .../mailslurp/models/MissedEmailDtoTest.java | 175 + .../models/MissedEmailProjectionTest.java | 85 + .../models/NameServerRecordTest.java | 74 + .../OrganizationInboxProjectionTest.java | 135 + .../com/mailslurp/models/PageAliasTest.java | 143 + .../models/PageAttachmentEntityTest.java | 143 + .../models/PageBouncedEmailTest.java | 143 + .../models/PageBouncedRecipientsTest.java | 143 + .../mailslurp/models/PageComplaintTest.java | 143 + .../models/PageConnectorSyncEventsTest.java | 143 + .../mailslurp/models/PageConnectorTest.java | 143 + .../models/PageContactProjectionTest.java | 143 + .../models/PageDeliveryStatusTest.java | 143 + .../models/PageEmailPreviewTest.java | 143 + .../models/PageEmailProjectionTest.java | 143 + .../PageEmailValidationRequestTest.java | 143 + .../PageExpiredInboxRecordProjectionTest.java | 143 + .../models/PageGroupProjectionTest.java | 143 + .../models/PageInboxForwarderDtoTest.java | 143 + .../models/PageInboxForwarderEventsTest.java | 143 + .../models/PageInboxProjectionTest.java | 143 + .../models/PageInboxReplierDtoTest.java | 143 + .../models/PageInboxReplierEventsTest.java | 143 + .../models/PageInboxRulesetDtoTest.java | 143 + .../PageListUnsubscribeRecipientsTest.java | 143 + .../models/PageMissedEmailProjectionTest.java | 143 + .../PageOrganizationInboxProjectionTest.java | 143 + .../models/PagePhoneNumberProjectionTest.java | 143 + .../models/PageScheduledJobsTest.java | 143 + .../models/PageSentEmailProjectionTest.java | 143 + .../PageSentEmailWithQueueProjectionTest.java | 143 + .../models/PageSmsProjectionTest.java | 143 + .../models/PageTemplateProjectionTest.java | 143 + .../models/PageThreadProjectionTest.java | 143 + .../PageTrackingPixelProjectionTest.java | 143 + .../PageUnknownMissedEmailProjectionTest.java | 143 + .../models/PageWebhookProjectionTest.java | 143 + .../models/PageWebhookResultTest.java | 143 + .../mailslurp/models/PageableObjectTest.java | 91 + .../mailslurp/models/PhoneNumberDtoTest.java | 116 + .../models/PhoneNumberProjectionTest.java | 84 + .../mailslurp/models/PhonePlanDtoTest.java | 76 + .../mailslurp/models/RawEmailJsonTest.java | 50 + .../com/mailslurp/models/RecipientTest.java | 67 + .../models/ReplyToAliasEmailOptionsTest.java | 120 + .../models/ReplyToEmailOptionsTest.java | 136 + .../mailslurp/models/ScheduledJobDtoTest.java | 124 + .../mailslurp/models/ScheduledJobTest.java | 124 + .../models/SendEmailOptionsTest.java | 208 + .../models/SendSMTPEnvelopeOptionsTest.java | 68 + .../models/SendWithQueueResultTest.java | 124 + .../java/com/mailslurp/models/SenderTest.java | 66 + .../mailslurp/models/SentEmailDtoTest.java | 249 + .../models/SentEmailProjectionTest.java | 142 + .../models/SetInboxFavouritedOptionsTest.java | 50 + .../models/SimpleSendEmailOptionsTest.java | 76 + .../java/com/mailslurp/models/SmsDtoTest.java | 108 + .../mailslurp/models/SmsMatchOptionTest.java | 66 + .../com/mailslurp/models/SmsPreviewTest.java | 92 + .../mailslurp/models/SmsProjectionTest.java | 100 + .../java/com/mailslurp/models/SortTest.java | 66 + .../com/mailslurp/models/TemplateDtoTest.java | 87 + .../mailslurp/models/TemplatePreviewTest.java | 50 + .../models/TemplateProjectionTest.java | 86 + .../models/TemplateVariableTest.java | 58 + .../TestNewInboxForwarderOptionsTest.java | 60 + .../TestNewInboxRulesetOptionsTest.java | 60 + .../models/TestPhoneNumberOptionsTest.java | 50 + .../models/ThreadProjectionTest.java | 134 + .../models/TrackingPixelDtoTest.java | 117 + .../models/TrackingPixelProjectionTest.java | 116 + .../UnknownMissedEmailProjectionTest.java | 86 + .../com/mailslurp/models/UnreadCountTest.java | 50 + .../models/UnseenErrorCountDtoTest.java | 50 + .../models/UpdateAliasOptionsTest.java | 51 + .../models/UpdateDomainOptionsTest.java | 52 + .../models/UpdateGroupContactsTest.java | 53 + .../models/UpdateInboxOptionsTest.java | 86 + .../models/UpdateInboxReplierOptionsTest.java | 150 + .../UploadAttachmentBytesRequestTest.java | 106 + .../models/UploadAttachmentOptionsTest.java | 67 + .../UploadMultipartFormRequestTest.java | 59 + .../com/mailslurp/models/UserInfoDtoTest.java | 92 + .../ValidateEmailAddressListOptionsTest.java | 52 + .../ValidateEmailAddressListResultTest.java | 70 + .../mailslurp/models/ValidationDtoTest.java | 60 + .../models/ValidationMessageTest.java | 58 + .../models/VerifyEmailAddressOptionsTest.java | 75 + .../VerifyWebhookSignatureOptionsTest.java | 58 + .../VerifyWebhookSignatureResultsTest.java | 50 + .../models/WaitForConditionsTest.java | 128 + .../models/WaitForSingleSmsOptionsTest.java | 100 + .../models/WaitForSmsConditionsTest.java | 136 + .../models/WebhookBouncePayloadTest.java | 110 + .../WebhookBounceRecipientPayloadTest.java | 84 + .../WebhookDeliveryStatusPayloadTest.java | 175 + .../com/mailslurp/models/WebhookDtoTest.java | 174 + .../models/WebhookEmailOpenedPayloadTest.java | 117 + .../models/WebhookEmailReadPayloadTest.java | 109 + .../models/WebhookHeaderNameValueTest.java | 58 + .../mailslurp/models/WebhookHeadersTest.java | 53 + .../WebhookNewAttachmentPayloadTest.java | 108 + .../models/WebhookNewContactPayloadTest.java | 167 + .../models/WebhookNewEmailPayloadTest.java | 160 + .../models/WebhookNewSmsPayloadTest.java | 132 + .../models/WebhookProjectionTest.java | 108 + .../models/WebhookRedriveResultTest.java | 68 + .../models/WebhookResultDtoTest.java | 173 + .../models/WebhookTestRequestTest.java | 77 + .../models/WebhookTestResponseTest.java | 59 + .../models/WebhookTestResultTest.java | 69 + 2087 files changed, 778464 insertions(+) create mode 100644 .github/workflows/main.yml create mode 100644 .github/workflows/maven.yml create mode 100644 .gitignore create mode 100644 .openapi-generator-ignore create mode 100644 .openapi-generator/FILES create mode 100644 .openapi-generator/VERSION create mode 100644 .travis.yml create mode 100644 LICENSE create mode 100644 README.md create mode 100644 SECURITY.md create mode 100644 SUPPORT.md create mode 100644 api/openapi.yaml create mode 100644 build.gradle create mode 100644 build.sbt create mode 100644 docs/AbstractWebhookPayload.md create mode 100644 docs/AliasControllerApi.md create mode 100644 docs/AliasDto.md create mode 100644 docs/AliasProjection.md create mode 100644 docs/AttachmentControllerApi.md create mode 100644 docs/AttachmentEntity.md create mode 100644 docs/AttachmentMetaData.md create mode 100644 docs/AttachmentProjection.md create mode 100644 docs/BasicAuthOptions.md create mode 100644 docs/BounceControllerApi.md create mode 100644 docs/BounceProjection.md create mode 100644 docs/BounceRecipientProjection.md create mode 100644 docs/BouncedEmailDto.md create mode 100644 docs/BouncedRecipientDto.md create mode 100644 docs/BulkActionsControllerApi.md create mode 100644 docs/BulkSendEmailOptions.md create mode 100644 docs/CommonActionsControllerApi.md create mode 100644 docs/Complaint.md create mode 100644 docs/ConditionOption.md create mode 100644 docs/ConnectorControllerApi.md create mode 100644 docs/ConnectorDto.md create mode 100644 docs/ConnectorProjection.md create mode 100644 docs/ConnectorSyncEventDto.md create mode 100644 docs/ConnectorSyncEventProjection.md create mode 100644 docs/ConnectorSyncRequestResult.md create mode 100644 docs/ConnectorSyncRequestResultException.md create mode 100644 docs/ConnectorSyncRequestResultExceptionCause.md create mode 100644 docs/ConnectorSyncRequestResultExceptionCauseStackTraceInner.md create mode 100644 docs/ConnectorSyncRequestResultExceptionCauseSuppressedInner.md create mode 100644 docs/ConnectorSyncResult.md create mode 100644 docs/ContactControllerApi.md create mode 100644 docs/ContactDto.md create mode 100644 docs/ContactProjection.md create mode 100644 docs/ContentMatchOptions.md create mode 100644 docs/CountDto.md create mode 100644 docs/CreateAliasOptions.md create mode 100644 docs/CreateConnectorImapOptions.md create mode 100644 docs/CreateConnectorOptions.md create mode 100644 docs/CreateContactOptions.md create mode 100644 docs/CreateDomainOptions.md create mode 100644 docs/CreateEmergencyAddressOptions.md create mode 100644 docs/CreateGroupOptions.md create mode 100644 docs/CreateInboxDto.md create mode 100644 docs/CreateInboxForwarderOptions.md create mode 100644 docs/CreateInboxReplierOptions.md create mode 100644 docs/CreateInboxRulesetOptions.md create mode 100644 docs/CreateTemplateOptions.md create mode 100644 docs/CreateTrackingPixelOptions.md create mode 100644 docs/CreateWebhookOptions.md create mode 100644 docs/DNSLookupOptions.md create mode 100644 docs/DNSLookupResult.md create mode 100644 docs/DNSLookupResults.md create mode 100644 docs/DeliveryStatusDto.md create mode 100644 docs/DescribeDomainOptions.md create mode 100644 docs/DescribeMailServerDomainResult.md create mode 100644 docs/DomainControllerApi.md create mode 100644 docs/DomainDto.md create mode 100644 docs/DomainIssuesDto.md create mode 100644 docs/DomainNameRecord.md create mode 100644 docs/DomainPreview.md create mode 100644 docs/DownloadAttachmentDto.md create mode 100644 docs/Email.md create mode 100644 docs/EmailAnalysis.md create mode 100644 docs/EmailContentMatchResult.md create mode 100644 docs/EmailControllerApi.md create mode 100644 docs/EmailHtmlDto.md create mode 100644 docs/EmailLinksResult.md create mode 100644 docs/EmailPreview.md create mode 100644 docs/EmailPreviewUrls.md create mode 100644 docs/EmailProjection.md create mode 100644 docs/EmailRecipients.md create mode 100644 docs/EmailTextLinesResult.md create mode 100644 docs/EmailValidationRequestDto.md create mode 100644 docs/EmailVerificationControllerApi.md create mode 100644 docs/EmailVerificationResult.md create mode 100644 docs/EmergencyAddress.md create mode 100644 docs/EmergencyAddressDto.md create mode 100644 docs/EmptyResponseDto.md create mode 100644 docs/ExpirationDefaults.md create mode 100644 docs/ExpiredControllerApi.md create mode 100644 docs/ExpiredInboxDto.md create mode 100644 docs/ExpiredInboxRecordProjection.md create mode 100644 docs/ExportControllerApi.md create mode 100644 docs/ExportLink.md create mode 100644 docs/ExportOptions.md create mode 100644 docs/FilterBouncedRecipientsOptions.md create mode 100644 docs/FilterBouncedRecipientsResult.md create mode 100644 docs/FlushExpiredInboxesResult.md create mode 100644 docs/FormControllerApi.md create mode 100644 docs/ForwardEmailOptions.md create mode 100644 docs/GravatarUrl.md create mode 100644 docs/GroupContactsDto.md create mode 100644 docs/GroupControllerApi.md create mode 100644 docs/GroupDto.md create mode 100644 docs/GroupProjection.md create mode 100644 docs/HTMLValidationResult.md create mode 100644 docs/IPAddressResult.md create mode 100644 docs/ImapFlagOperationOptions.md create mode 100644 docs/ImapSmtpAccessDetails.md create mode 100644 docs/InboxByEmailAddressResult.md create mode 100644 docs/InboxByNameResult.md create mode 100644 docs/InboxControllerApi.md create mode 100644 docs/InboxDto.md create mode 100644 docs/InboxExistsDto.md create mode 100644 docs/InboxForwarderControllerApi.md create mode 100644 docs/InboxForwarderDto.md create mode 100644 docs/InboxForwarderEventProjection.md create mode 100644 docs/InboxForwarderTestOptions.md create mode 100644 docs/InboxForwarderTestResult.md create mode 100644 docs/InboxIdItem.md create mode 100644 docs/InboxIdsResult.md create mode 100644 docs/InboxPreview.md create mode 100644 docs/InboxReplierControllerApi.md create mode 100644 docs/InboxReplierDto.md create mode 100644 docs/InboxReplierEventProjection.md create mode 100644 docs/InboxRulesetControllerApi.md create mode 100644 docs/InboxRulesetDto.md create mode 100644 docs/InboxRulesetTestOptions.md create mode 100644 docs/InboxRulesetTestResult.md create mode 100644 docs/JSONSchemaDto.md create mode 100644 docs/ListUnsubscribeRecipientProjection.md create mode 100644 docs/MailServerControllerApi.md create mode 100644 docs/MatchOption.md create mode 100644 docs/MatchOptions.md create mode 100644 docs/MissedEmailControllerApi.md create mode 100644 docs/MissedEmailDto.md create mode 100644 docs/MissedEmailProjection.md create mode 100644 docs/NameServerRecord.md create mode 100644 docs/OrganizationInboxProjection.md create mode 100644 docs/PageAlias.md create mode 100644 docs/PageAttachmentEntity.md create mode 100644 docs/PageBouncedEmail.md create mode 100644 docs/PageBouncedRecipients.md create mode 100644 docs/PageComplaint.md create mode 100644 docs/PageConnector.md create mode 100644 docs/PageConnectorSyncEvents.md create mode 100644 docs/PageContactProjection.md create mode 100644 docs/PageDeliveryStatus.md create mode 100644 docs/PageEmailPreview.md create mode 100644 docs/PageEmailProjection.md create mode 100644 docs/PageEmailValidationRequest.md create mode 100644 docs/PageExpiredInboxRecordProjection.md create mode 100644 docs/PageGroupProjection.md create mode 100644 docs/PageInboxForwarderDto.md create mode 100644 docs/PageInboxForwarderEvents.md create mode 100644 docs/PageInboxProjection.md create mode 100644 docs/PageInboxReplierDto.md create mode 100644 docs/PageInboxReplierEvents.md create mode 100644 docs/PageInboxRulesetDto.md create mode 100644 docs/PageListUnsubscribeRecipients.md create mode 100644 docs/PageMissedEmailProjection.md create mode 100644 docs/PageOrganizationInboxProjection.md create mode 100644 docs/PagePhoneNumberProjection.md create mode 100644 docs/PageScheduledJobs.md create mode 100644 docs/PageSentEmailProjection.md create mode 100644 docs/PageSentEmailWithQueueProjection.md create mode 100644 docs/PageSmsProjection.md create mode 100644 docs/PageTemplateProjection.md create mode 100644 docs/PageThreadProjection.md create mode 100644 docs/PageTrackingPixelProjection.md create mode 100644 docs/PageUnknownMissedEmailProjection.md create mode 100644 docs/PageWebhookProjection.md create mode 100644 docs/PageWebhookResult.md create mode 100644 docs/PageableObject.md create mode 100644 docs/PhoneControllerApi.md create mode 100644 docs/PhoneNumberDto.md create mode 100644 docs/PhoneNumberProjection.md create mode 100644 docs/PhonePlanDto.md create mode 100644 docs/RawEmailJson.md create mode 100644 docs/Recipient.md create mode 100644 docs/ReplyToAliasEmailOptions.md create mode 100644 docs/ReplyToEmailOptions.md create mode 100644 docs/ScheduledJob.md create mode 100644 docs/ScheduledJobDto.md create mode 100644 docs/SendEmailOptions.md create mode 100644 docs/SendSMTPEnvelopeOptions.md create mode 100644 docs/SendWithQueueResult.md create mode 100644 docs/Sender.md create mode 100644 docs/SentEmailDto.md create mode 100644 docs/SentEmailProjection.md create mode 100644 docs/SentEmailsControllerApi.md create mode 100644 docs/SetInboxFavouritedOptions.md create mode 100644 docs/SimpleSendEmailOptions.md create mode 100644 docs/SmsControllerApi.md create mode 100644 docs/SmsDto.md create mode 100644 docs/SmsMatchOption.md create mode 100644 docs/SmsPreview.md create mode 100644 docs/SmsProjection.md create mode 100644 docs/Sort.md create mode 100644 docs/TemplateControllerApi.md create mode 100644 docs/TemplateDto.md create mode 100644 docs/TemplatePreview.md create mode 100644 docs/TemplateProjection.md create mode 100644 docs/TemplateVariable.md create mode 100644 docs/TestNewInboxForwarderOptions.md create mode 100644 docs/TestNewInboxRulesetOptions.md create mode 100644 docs/TestPhoneNumberOptions.md create mode 100644 docs/ThreadProjection.md create mode 100644 docs/TrackingControllerApi.md create mode 100644 docs/TrackingPixelDto.md create mode 100644 docs/TrackingPixelProjection.md create mode 100644 docs/UnknownMissedEmailProjection.md create mode 100644 docs/UnreadCount.md create mode 100644 docs/UnseenErrorCountDto.md create mode 100644 docs/UpdateAliasOptions.md create mode 100644 docs/UpdateDomainOptions.md create mode 100644 docs/UpdateGroupContacts.md create mode 100644 docs/UpdateInboxOptions.md create mode 100644 docs/UpdateInboxReplierOptions.md create mode 100644 docs/UploadAttachmentBytesRequest.md create mode 100644 docs/UploadAttachmentOptions.md create mode 100644 docs/UploadMultipartFormRequest.md create mode 100644 docs/UserControllerApi.md create mode 100644 docs/UserInfoDto.md create mode 100644 docs/ValidateEmailAddressListOptions.md create mode 100644 docs/ValidateEmailAddressListResult.md create mode 100644 docs/ValidationDto.md create mode 100644 docs/ValidationMessage.md create mode 100644 docs/VerifyEmailAddressOptions.md create mode 100644 docs/VerifyWebhookSignatureOptions.md create mode 100644 docs/VerifyWebhookSignatureResults.md create mode 100644 docs/WaitForConditions.md create mode 100644 docs/WaitForControllerApi.md create mode 100644 docs/WaitForSingleSmsOptions.md create mode 100644 docs/WaitForSmsConditions.md create mode 100644 docs/WebhookBouncePayload.md create mode 100644 docs/WebhookBounceRecipientPayload.md create mode 100644 docs/WebhookControllerApi.md create mode 100644 docs/WebhookDeliveryStatusPayload.md create mode 100644 docs/WebhookDto.md create mode 100644 docs/WebhookEmailOpenedPayload.md create mode 100644 docs/WebhookEmailReadPayload.md create mode 100644 docs/WebhookHeaderNameValue.md create mode 100644 docs/WebhookHeaders.md create mode 100644 docs/WebhookNewAttachmentPayload.md create mode 100644 docs/WebhookNewContactPayload.md create mode 100644 docs/WebhookNewEmailPayload.md create mode 100644 docs/WebhookNewSmsPayload.md create mode 100644 docs/WebhookProjection.md create mode 100644 docs/WebhookRedriveResult.md create mode 100644 docs/WebhookResultDto.md create mode 100644 docs/WebhookTestRequest.md create mode 100644 docs/WebhookTestResponse.md create mode 100644 docs/WebhookTestResult.md create mode 100644 git_push.sh create mode 100644 gradle.properties create mode 100644 gradle/wrapper/gradle-wrapper.jar create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100644 gradlew create mode 100644 gradlew.bat create mode 100644 pom.xml create mode 100644 settings.gradle create mode 100644 site/allclasses-frame.html create mode 100644 site/allclasses-noframe.html create mode 100644 site/com/mailslurp/apis/AliasControllerApi.html create mode 100644 site/com/mailslurp/apis/AttachmentControllerApi.html create mode 100644 site/com/mailslurp/apis/BounceControllerApi.html create mode 100644 site/com/mailslurp/apis/BulkActionsControllerApi.html create mode 100644 site/com/mailslurp/apis/CommonActionsControllerApi.html create mode 100644 site/com/mailslurp/apis/ConnectorControllerApi.html create mode 100644 site/com/mailslurp/apis/ContactControllerApi.html create mode 100644 site/com/mailslurp/apis/DomainControllerApi.html create mode 100644 site/com/mailslurp/apis/EmailControllerApi.html create mode 100644 site/com/mailslurp/apis/EmailVerificationControllerApi.html create mode 100644 site/com/mailslurp/apis/ExpiredControllerApi.html create mode 100644 site/com/mailslurp/apis/ExportControllerApi.html create mode 100644 site/com/mailslurp/apis/FormControllerApi.html create mode 100644 site/com/mailslurp/apis/GroupControllerApi.html create mode 100644 site/com/mailslurp/apis/InboxControllerApi.html create mode 100644 site/com/mailslurp/apis/InboxForwarderControllerApi.html create mode 100644 site/com/mailslurp/apis/InboxReplierControllerApi.html create mode 100644 site/com/mailslurp/apis/InboxRulesetControllerApi.html create mode 100644 site/com/mailslurp/apis/MailServerControllerApi.html create mode 100644 site/com/mailslurp/apis/MissedEmailControllerApi.html create mode 100644 site/com/mailslurp/apis/PhoneControllerApi.html create mode 100644 site/com/mailslurp/apis/SentEmailsControllerApi.html create mode 100644 site/com/mailslurp/apis/SmsControllerApi.html create mode 100644 site/com/mailslurp/apis/TemplateControllerApi.html create mode 100644 site/com/mailslurp/apis/TrackingControllerApi.html create mode 100644 site/com/mailslurp/apis/UserControllerApi.html create mode 100644 site/com/mailslurp/apis/WaitForControllerApi.html create mode 100644 site/com/mailslurp/apis/WebhookControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/AliasControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/AttachmentControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/BounceControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/BulkActionsControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/CommonActionsControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/ConnectorControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/ContactControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/DomainControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/EmailControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/EmailVerificationControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/ExpiredControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/ExportControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/FormControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/GroupControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/InboxControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/InboxForwarderControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/InboxReplierControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/InboxRulesetControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/MailServerControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/MissedEmailControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/PhoneControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/SentEmailsControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/SmsControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/TemplateControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/TrackingControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/UserControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/WaitForControllerApi.html create mode 100644 site/com/mailslurp/apis/class-use/WebhookControllerApi.html create mode 100644 site/com/mailslurp/apis/package-frame.html create mode 100644 site/com/mailslurp/apis/package-summary.html create mode 100644 site/com/mailslurp/apis/package-tree.html create mode 100644 site/com/mailslurp/apis/package-use.html create mode 100644 site/com/mailslurp/clients/ApiCallback.html create mode 100644 site/com/mailslurp/clients/ApiClient.html create mode 100644 site/com/mailslurp/clients/ApiException.html create mode 100644 site/com/mailslurp/clients/ApiResponse.html create mode 100644 site/com/mailslurp/clients/Configuration.html create mode 100644 site/com/mailslurp/clients/JSON.ByteArrayAdapter.html create mode 100644 site/com/mailslurp/clients/JSON.DateTypeAdapter.html create mode 100644 site/com/mailslurp/clients/JSON.LocalDateTypeAdapter.html create mode 100644 site/com/mailslurp/clients/JSON.OffsetDateTimeTypeAdapter.html create mode 100644 site/com/mailslurp/clients/JSON.SqlDateTypeAdapter.html create mode 100644 site/com/mailslurp/clients/JSON.html create mode 100644 site/com/mailslurp/clients/Pair.html create mode 100644 site/com/mailslurp/clients/ProgressRequestBody.html create mode 100644 site/com/mailslurp/clients/ProgressResponseBody.html create mode 100644 site/com/mailslurp/clients/ServerConfiguration.html create mode 100644 site/com/mailslurp/clients/ServerVariable.html create mode 100644 site/com/mailslurp/clients/StringUtil.html create mode 100644 site/com/mailslurp/clients/auth/ApiKeyAuth.html create mode 100644 site/com/mailslurp/clients/auth/Authentication.html create mode 100644 site/com/mailslurp/clients/auth/HttpBasicAuth.html create mode 100644 site/com/mailslurp/clients/auth/HttpBearerAuth.html create mode 100644 site/com/mailslurp/clients/auth/class-use/ApiKeyAuth.html create mode 100644 site/com/mailslurp/clients/auth/class-use/Authentication.html create mode 100644 site/com/mailslurp/clients/auth/class-use/HttpBasicAuth.html create mode 100644 site/com/mailslurp/clients/auth/class-use/HttpBearerAuth.html create mode 100644 site/com/mailslurp/clients/auth/package-frame.html create mode 100644 site/com/mailslurp/clients/auth/package-summary.html create mode 100644 site/com/mailslurp/clients/auth/package-tree.html create mode 100644 site/com/mailslurp/clients/auth/package-use.html create mode 100644 site/com/mailslurp/clients/class-use/ApiCallback.html create mode 100644 site/com/mailslurp/clients/class-use/ApiClient.html create mode 100644 site/com/mailslurp/clients/class-use/ApiException.html create mode 100644 site/com/mailslurp/clients/class-use/ApiResponse.html create mode 100644 site/com/mailslurp/clients/class-use/Configuration.html create mode 100644 site/com/mailslurp/clients/class-use/JSON.ByteArrayAdapter.html create mode 100644 site/com/mailslurp/clients/class-use/JSON.DateTypeAdapter.html create mode 100644 site/com/mailslurp/clients/class-use/JSON.LocalDateTypeAdapter.html create mode 100644 site/com/mailslurp/clients/class-use/JSON.OffsetDateTimeTypeAdapter.html create mode 100644 site/com/mailslurp/clients/class-use/JSON.SqlDateTypeAdapter.html create mode 100644 site/com/mailslurp/clients/class-use/JSON.html create mode 100644 site/com/mailslurp/clients/class-use/Pair.html create mode 100644 site/com/mailslurp/clients/class-use/ProgressRequestBody.html create mode 100644 site/com/mailslurp/clients/class-use/ProgressResponseBody.html create mode 100644 site/com/mailslurp/clients/class-use/ServerConfiguration.html create mode 100644 site/com/mailslurp/clients/class-use/ServerVariable.html create mode 100644 site/com/mailslurp/clients/class-use/StringUtil.html create mode 100644 site/com/mailslurp/clients/package-frame.html create mode 100644 site/com/mailslurp/clients/package-summary.html create mode 100644 site/com/mailslurp/clients/package-tree.html create mode 100644 site/com/mailslurp/clients/package-use.html create mode 100644 site/com/mailslurp/models/AbstractOpenApiSchema.html create mode 100644 site/com/mailslurp/models/AbstractWebhookPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/AbstractWebhookPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/AbstractWebhookPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/AbstractWebhookPayload.html create mode 100644 site/com/mailslurp/models/AliasDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/AliasDto.html create mode 100644 site/com/mailslurp/models/AliasProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/AliasProjection.html create mode 100644 site/com/mailslurp/models/AttachmentEntity.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/AttachmentEntity.html create mode 100644 site/com/mailslurp/models/AttachmentMetaData.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/AttachmentMetaData.html create mode 100644 site/com/mailslurp/models/AttachmentProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/AttachmentProjection.html create mode 100644 site/com/mailslurp/models/BasicAuthOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/BasicAuthOptions.html create mode 100644 site/com/mailslurp/models/BounceProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/BounceProjection.html create mode 100644 site/com/mailslurp/models/BounceRecipientProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/BounceRecipientProjection.html create mode 100644 site/com/mailslurp/models/BouncedEmailDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/BouncedEmailDto.html create mode 100644 site/com/mailslurp/models/BouncedRecipientDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/BouncedRecipientDto.html create mode 100644 site/com/mailslurp/models/BulkSendEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/BulkSendEmailOptions.html create mode 100644 site/com/mailslurp/models/Complaint.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/Complaint.html create mode 100644 site/com/mailslurp/models/ConditionOption.ConditionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ConditionOption.ConditionEnum.html create mode 100644 site/com/mailslurp/models/ConditionOption.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ConditionOption.ValueEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ConditionOption.ValueEnum.html create mode 100644 site/com/mailslurp/models/ConditionOption.html create mode 100644 site/com/mailslurp/models/ConnectorDto.ConnectorAuthTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ConnectorDto.ConnectorAuthTypeEnum.html create mode 100644 site/com/mailslurp/models/ConnectorDto.ConnectorTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ConnectorDto.ConnectorTypeEnum.html create mode 100644 site/com/mailslurp/models/ConnectorDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ConnectorDto.SyncScheduleTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ConnectorDto.SyncScheduleTypeEnum.html create mode 100644 site/com/mailslurp/models/ConnectorDto.html create mode 100644 site/com/mailslurp/models/ConnectorProjection.ConnectorTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ConnectorProjection.ConnectorTypeEnum.html create mode 100644 site/com/mailslurp/models/ConnectorProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ConnectorProjection.SyncScheduleTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ConnectorProjection.SyncScheduleTypeEnum.html create mode 100644 site/com/mailslurp/models/ConnectorProjection.html create mode 100644 site/com/mailslurp/models/ConnectorSyncEventDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ConnectorSyncEventDto.SyncStatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ConnectorSyncEventDto.SyncStatusEnum.html create mode 100644 site/com/mailslurp/models/ConnectorSyncEventDto.html create mode 100644 site/com/mailslurp/models/ConnectorSyncEventProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ConnectorSyncEventProjection.SyncStatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ConnectorSyncEventProjection.SyncStatusEnum.html create mode 100644 site/com/mailslurp/models/ConnectorSyncEventProjection.html create mode 100644 site/com/mailslurp/models/ConnectorSyncRequestResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ConnectorSyncRequestResult.html create mode 100644 site/com/mailslurp/models/ConnectorSyncRequestResultException.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ConnectorSyncRequestResultException.html create mode 100644 site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.html create mode 100644 site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.html create mode 100644 site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.html create mode 100644 site/com/mailslurp/models/ConnectorSyncResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ConnectorSyncResult.html create mode 100644 site/com/mailslurp/models/ContactDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ContactDto.html create mode 100644 site/com/mailslurp/models/ContactProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ContactProjection.html create mode 100644 site/com/mailslurp/models/ContentMatchOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ContentMatchOptions.html create mode 100644 site/com/mailslurp/models/CountDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CountDto.html create mode 100644 site/com/mailslurp/models/CreateAliasOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateAliasOptions.html create mode 100644 site/com/mailslurp/models/CreateConnectorImapOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateConnectorImapOptions.html create mode 100644 site/com/mailslurp/models/CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/CreateConnectorOptions.ConnectorAuthTypeEnum.html create mode 100644 site/com/mailslurp/models/CreateConnectorOptions.ConnectorTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/CreateConnectorOptions.ConnectorTypeEnum.html create mode 100644 site/com/mailslurp/models/CreateConnectorOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateConnectorOptions.SyncScheduleTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/CreateConnectorOptions.SyncScheduleTypeEnum.html create mode 100644 site/com/mailslurp/models/CreateConnectorOptions.html create mode 100644 site/com/mailslurp/models/CreateContactOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateContactOptions.html create mode 100644 site/com/mailslurp/models/CreateDomainOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateDomainOptions.DomainTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/CreateDomainOptions.DomainTypeEnum.html create mode 100644 site/com/mailslurp/models/CreateDomainOptions.html create mode 100644 site/com/mailslurp/models/CreateEmergencyAddressOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/CreateEmergencyAddressOptions.IsoCountryCodeEnum.html create mode 100644 site/com/mailslurp/models/CreateEmergencyAddressOptions.html create mode 100644 site/com/mailslurp/models/CreateGroupOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateGroupOptions.html create mode 100644 site/com/mailslurp/models/CreateInboxDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateInboxDto.InboxTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/CreateInboxDto.InboxTypeEnum.html create mode 100644 site/com/mailslurp/models/CreateInboxDto.html create mode 100644 site/com/mailslurp/models/CreateInboxForwarderOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateInboxForwarderOptions.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/CreateInboxForwarderOptions.FieldEnum.html create mode 100644 site/com/mailslurp/models/CreateInboxForwarderOptions.html create mode 100644 site/com/mailslurp/models/CreateInboxReplierOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateInboxReplierOptions.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/CreateInboxReplierOptions.FieldEnum.html create mode 100644 site/com/mailslurp/models/CreateInboxReplierOptions.html create mode 100644 site/com/mailslurp/models/CreateInboxRulesetOptions.ActionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/CreateInboxRulesetOptions.ActionEnum.html create mode 100644 site/com/mailslurp/models/CreateInboxRulesetOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateInboxRulesetOptions.ScopeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/CreateInboxRulesetOptions.ScopeEnum.html create mode 100644 site/com/mailslurp/models/CreateInboxRulesetOptions.html create mode 100644 site/com/mailslurp/models/CreateTemplateOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateTemplateOptions.html create mode 100644 site/com/mailslurp/models/CreateTrackingPixelOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateTrackingPixelOptions.html create mode 100644 site/com/mailslurp/models/CreateWebhookOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/CreateWebhookOptions.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/CreateWebhookOptions.EventNameEnum.html create mode 100644 site/com/mailslurp/models/CreateWebhookOptions.html create mode 100644 site/com/mailslurp/models/DNSLookupOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/DNSLookupOptions.RecordTypesEnum.Adapter.html create mode 100644 site/com/mailslurp/models/DNSLookupOptions.RecordTypesEnum.html create mode 100644 site/com/mailslurp/models/DNSLookupOptions.html create mode 100644 site/com/mailslurp/models/DNSLookupResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/DNSLookupResult.RecordTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/DNSLookupResult.RecordTypeEnum.html create mode 100644 site/com/mailslurp/models/DNSLookupResult.html create mode 100644 site/com/mailslurp/models/DNSLookupResults.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/DNSLookupResults.html create mode 100644 site/com/mailslurp/models/DeliveryStatusDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/DeliveryStatusDto.html create mode 100644 site/com/mailslurp/models/DescribeDomainOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/DescribeDomainOptions.html create mode 100644 site/com/mailslurp/models/DescribeMailServerDomainResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/DescribeMailServerDomainResult.html create mode 100644 site/com/mailslurp/models/DomainDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/DomainDto.DomainTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/DomainDto.DomainTypeEnum.html create mode 100644 site/com/mailslurp/models/DomainDto.html create mode 100644 site/com/mailslurp/models/DomainIssuesDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/DomainIssuesDto.html create mode 100644 site/com/mailslurp/models/DomainNameRecord.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/DomainNameRecord.LabelEnum.Adapter.html create mode 100644 site/com/mailslurp/models/DomainNameRecord.LabelEnum.html create mode 100644 site/com/mailslurp/models/DomainNameRecord.RecordTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/DomainNameRecord.RecordTypeEnum.html create mode 100644 site/com/mailslurp/models/DomainNameRecord.html create mode 100644 site/com/mailslurp/models/DomainPreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/DomainPreview.DomainTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/DomainPreview.DomainTypeEnum.html create mode 100644 site/com/mailslurp/models/DomainPreview.html create mode 100644 site/com/mailslurp/models/DownloadAttachmentDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/DownloadAttachmentDto.html create mode 100644 site/com/mailslurp/models/Email.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/Email.html create mode 100644 site/com/mailslurp/models/EmailAnalysis.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmailAnalysis.html create mode 100644 site/com/mailslurp/models/EmailContentMatchResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmailContentMatchResult.html create mode 100644 site/com/mailslurp/models/EmailHtmlDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmailHtmlDto.html create mode 100644 site/com/mailslurp/models/EmailLinksResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmailLinksResult.html create mode 100644 site/com/mailslurp/models/EmailPreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmailPreview.html create mode 100644 site/com/mailslurp/models/EmailPreviewUrls.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmailPreviewUrls.html create mode 100644 site/com/mailslurp/models/EmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmailProjection.html create mode 100644 site/com/mailslurp/models/EmailRecipients.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmailRecipients.html create mode 100644 site/com/mailslurp/models/EmailTextLinesResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmailTextLinesResult.html create mode 100644 site/com/mailslurp/models/EmailValidationRequestDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmailValidationRequestDto.html create mode 100644 site/com/mailslurp/models/EmailVerificationResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmailVerificationResult.html create mode 100644 site/com/mailslurp/models/EmergencyAddress.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmergencyAddress.PhoneCountryEnum.Adapter.html create mode 100644 site/com/mailslurp/models/EmergencyAddress.PhoneCountryEnum.html create mode 100644 site/com/mailslurp/models/EmergencyAddress.html create mode 100644 site/com/mailslurp/models/EmergencyAddressDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmergencyAddressDto.PhoneCountryEnum.Adapter.html create mode 100644 site/com/mailslurp/models/EmergencyAddressDto.PhoneCountryEnum.html create mode 100644 site/com/mailslurp/models/EmergencyAddressDto.html create mode 100644 site/com/mailslurp/models/EmptyResponseDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/EmptyResponseDto.html create mode 100644 site/com/mailslurp/models/ExpirationDefaults.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ExpirationDefaults.html create mode 100644 site/com/mailslurp/models/ExpiredInboxDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ExpiredInboxDto.html create mode 100644 site/com/mailslurp/models/ExpiredInboxRecordProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ExpiredInboxRecordProjection.html create mode 100644 site/com/mailslurp/models/ExportLink.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ExportLink.html create mode 100644 site/com/mailslurp/models/ExportOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ExportOptions.OutputFormatEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ExportOptions.OutputFormatEnum.html create mode 100644 site/com/mailslurp/models/ExportOptions.html create mode 100644 site/com/mailslurp/models/FilterBouncedRecipientsOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/FilterBouncedRecipientsOptions.html create mode 100644 site/com/mailslurp/models/FilterBouncedRecipientsResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/FilterBouncedRecipientsResult.html create mode 100644 site/com/mailslurp/models/FlushExpiredInboxesResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/FlushExpiredInboxesResult.html create mode 100644 site/com/mailslurp/models/ForwardEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ForwardEmailOptions.html create mode 100644 site/com/mailslurp/models/GravatarUrl.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/GravatarUrl.html create mode 100644 site/com/mailslurp/models/GroupContactsDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/GroupContactsDto.html create mode 100644 site/com/mailslurp/models/GroupDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/GroupDto.html create mode 100644 site/com/mailslurp/models/GroupProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/GroupProjection.html create mode 100644 site/com/mailslurp/models/HTMLValidationResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/HTMLValidationResult.html create mode 100644 site/com/mailslurp/models/IPAddressResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/IPAddressResult.html create mode 100644 site/com/mailslurp/models/ImapFlagOperationOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ImapFlagOperationOptions.FlagOperationEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ImapFlagOperationOptions.FlagOperationEnum.html create mode 100644 site/com/mailslurp/models/ImapFlagOperationOptions.html create mode 100644 site/com/mailslurp/models/ImapSmtpAccessDetails.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ImapSmtpAccessDetails.html create mode 100644 site/com/mailslurp/models/InboxByEmailAddressResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxByEmailAddressResult.html create mode 100644 site/com/mailslurp/models/InboxByNameResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxByNameResult.html create mode 100644 site/com/mailslurp/models/InboxDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxDto.InboxTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/InboxDto.InboxTypeEnum.html create mode 100644 site/com/mailslurp/models/InboxDto.html create mode 100644 site/com/mailslurp/models/InboxExistsDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxExistsDto.html create mode 100644 site/com/mailslurp/models/InboxForwarderDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxForwarderDto.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/InboxForwarderDto.FieldEnum.html create mode 100644 site/com/mailslurp/models/InboxForwarderDto.html create mode 100644 site/com/mailslurp/models/InboxForwarderEventProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxForwarderEventProjection.StatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/InboxForwarderEventProjection.StatusEnum.html create mode 100644 site/com/mailslurp/models/InboxForwarderEventProjection.html create mode 100644 site/com/mailslurp/models/InboxForwarderTestOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxForwarderTestOptions.html create mode 100644 site/com/mailslurp/models/InboxForwarderTestResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxForwarderTestResult.html create mode 100644 site/com/mailslurp/models/InboxIdItem.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxIdItem.html create mode 100644 site/com/mailslurp/models/InboxIdsResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxIdsResult.html create mode 100644 site/com/mailslurp/models/InboxPreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxPreview.InboxTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/InboxPreview.InboxTypeEnum.html create mode 100644 site/com/mailslurp/models/InboxPreview.html create mode 100644 site/com/mailslurp/models/InboxReplierDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxReplierDto.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/InboxReplierDto.FieldEnum.html create mode 100644 site/com/mailslurp/models/InboxReplierDto.html create mode 100644 site/com/mailslurp/models/InboxReplierEventProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxReplierEventProjection.StatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/InboxReplierEventProjection.StatusEnum.html create mode 100644 site/com/mailslurp/models/InboxReplierEventProjection.html create mode 100644 site/com/mailslurp/models/InboxRulesetDto.ActionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/InboxRulesetDto.ActionEnum.html create mode 100644 site/com/mailslurp/models/InboxRulesetDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxRulesetDto.HandlerEnum.Adapter.html create mode 100644 site/com/mailslurp/models/InboxRulesetDto.HandlerEnum.html create mode 100644 site/com/mailslurp/models/InboxRulesetDto.ScopeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/InboxRulesetDto.ScopeEnum.html create mode 100644 site/com/mailslurp/models/InboxRulesetDto.html create mode 100644 site/com/mailslurp/models/InboxRulesetTestOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxRulesetTestOptions.html create mode 100644 site/com/mailslurp/models/InboxRulesetTestResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/InboxRulesetTestResult.html create mode 100644 site/com/mailslurp/models/JSONSchemaDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/JSONSchemaDto.html create mode 100644 site/com/mailslurp/models/ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ListUnsubscribeRecipientProjection.html create mode 100644 site/com/mailslurp/models/MatchOption.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/MatchOption.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/MatchOption.FieldEnum.html create mode 100644 site/com/mailslurp/models/MatchOption.ShouldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/MatchOption.ShouldEnum.html create mode 100644 site/com/mailslurp/models/MatchOption.html create mode 100644 site/com/mailslurp/models/MatchOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/MatchOptions.html create mode 100644 site/com/mailslurp/models/MissedEmailDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/MissedEmailDto.html create mode 100644 site/com/mailslurp/models/MissedEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/MissedEmailProjection.html create mode 100644 site/com/mailslurp/models/NameServerRecord.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/NameServerRecord.html create mode 100644 site/com/mailslurp/models/OrganizationInboxProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/OrganizationInboxProjection.InboxTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/OrganizationInboxProjection.InboxTypeEnum.html create mode 100644 site/com/mailslurp/models/OrganizationInboxProjection.html create mode 100644 site/com/mailslurp/models/PageAlias.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageAlias.html create mode 100644 site/com/mailslurp/models/PageAttachmentEntity.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageAttachmentEntity.html create mode 100644 site/com/mailslurp/models/PageBouncedEmail.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageBouncedEmail.html create mode 100644 site/com/mailslurp/models/PageBouncedRecipients.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageBouncedRecipients.html create mode 100644 site/com/mailslurp/models/PageComplaint.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageComplaint.html create mode 100644 site/com/mailslurp/models/PageConnector.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageConnector.html create mode 100644 site/com/mailslurp/models/PageConnectorSyncEvents.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageConnectorSyncEvents.html create mode 100644 site/com/mailslurp/models/PageContactProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageContactProjection.html create mode 100644 site/com/mailslurp/models/PageDeliveryStatus.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageDeliveryStatus.html create mode 100644 site/com/mailslurp/models/PageEmailPreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageEmailPreview.html create mode 100644 site/com/mailslurp/models/PageEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageEmailProjection.html create mode 100644 site/com/mailslurp/models/PageEmailValidationRequest.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageEmailValidationRequest.html create mode 100644 site/com/mailslurp/models/PageExpiredInboxRecordProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageExpiredInboxRecordProjection.html create mode 100644 site/com/mailslurp/models/PageGroupProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageGroupProjection.html create mode 100644 site/com/mailslurp/models/PageInboxForwarderDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageInboxForwarderDto.html create mode 100644 site/com/mailslurp/models/PageInboxForwarderEvents.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageInboxForwarderEvents.html create mode 100644 site/com/mailslurp/models/PageInboxProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageInboxProjection.html create mode 100644 site/com/mailslurp/models/PageInboxReplierDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageInboxReplierDto.html create mode 100644 site/com/mailslurp/models/PageInboxReplierEvents.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageInboxReplierEvents.html create mode 100644 site/com/mailslurp/models/PageInboxRulesetDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageInboxRulesetDto.html create mode 100644 site/com/mailslurp/models/PageListUnsubscribeRecipients.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageListUnsubscribeRecipients.html create mode 100644 site/com/mailslurp/models/PageMissedEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageMissedEmailProjection.html create mode 100644 site/com/mailslurp/models/PageOrganizationInboxProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageOrganizationInboxProjection.html create mode 100644 site/com/mailslurp/models/PagePhoneNumberProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PagePhoneNumberProjection.html create mode 100644 site/com/mailslurp/models/PageScheduledJobs.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageScheduledJobs.html create mode 100644 site/com/mailslurp/models/PageSentEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageSentEmailProjection.html create mode 100644 site/com/mailslurp/models/PageSentEmailWithQueueProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageSentEmailWithQueueProjection.html create mode 100644 site/com/mailslurp/models/PageSmsProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageSmsProjection.html create mode 100644 site/com/mailslurp/models/PageTemplateProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageTemplateProjection.html create mode 100644 site/com/mailslurp/models/PageThreadProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageThreadProjection.html create mode 100644 site/com/mailslurp/models/PageTrackingPixelProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageTrackingPixelProjection.html create mode 100644 site/com/mailslurp/models/PageUnknownMissedEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageUnknownMissedEmailProjection.html create mode 100644 site/com/mailslurp/models/PageWebhookProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageWebhookProjection.html create mode 100644 site/com/mailslurp/models/PageWebhookResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageWebhookResult.html create mode 100644 site/com/mailslurp/models/PageableObject.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PageableObject.html create mode 100644 site/com/mailslurp/models/PhoneNumberDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PhoneNumberDto.PhoneCountryEnum.Adapter.html create mode 100644 site/com/mailslurp/models/PhoneNumberDto.PhoneCountryEnum.html create mode 100644 site/com/mailslurp/models/PhoneNumberDto.html create mode 100644 site/com/mailslurp/models/PhoneNumberProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PhoneNumberProjection.PhoneCountryEnum.Adapter.html create mode 100644 site/com/mailslurp/models/PhoneNumberProjection.PhoneCountryEnum.html create mode 100644 site/com/mailslurp/models/PhoneNumberProjection.html create mode 100644 site/com/mailslurp/models/PhonePlanDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/PhonePlanDto.PhoneCountryEnum.Adapter.html create mode 100644 site/com/mailslurp/models/PhonePlanDto.PhoneCountryEnum.html create mode 100644 site/com/mailslurp/models/PhonePlanDto.html create mode 100644 site/com/mailslurp/models/RawEmailJson.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/RawEmailJson.html create mode 100644 site/com/mailslurp/models/Recipient.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/Recipient.html create mode 100644 site/com/mailslurp/models/ReplyToAliasEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ReplyToAliasEmailOptions.SendStrategyEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ReplyToAliasEmailOptions.SendStrategyEnum.html create mode 100644 site/com/mailslurp/models/ReplyToAliasEmailOptions.html create mode 100644 site/com/mailslurp/models/ReplyToEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ReplyToEmailOptions.SendStrategyEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ReplyToEmailOptions.SendStrategyEnum.html create mode 100644 site/com/mailslurp/models/ReplyToEmailOptions.html create mode 100644 site/com/mailslurp/models/ScheduledJob.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ScheduledJob.StatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ScheduledJob.StatusEnum.html create mode 100644 site/com/mailslurp/models/ScheduledJob.html create mode 100644 site/com/mailslurp/models/ScheduledJobDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ScheduledJobDto.StatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/ScheduledJobDto.StatusEnum.html create mode 100644 site/com/mailslurp/models/ScheduledJobDto.html create mode 100644 site/com/mailslurp/models/SendEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/SendEmailOptions.SendStrategyEnum.Adapter.html create mode 100644 site/com/mailslurp/models/SendEmailOptions.SendStrategyEnum.html create mode 100644 site/com/mailslurp/models/SendEmailOptions.ValidateEmailAddressesEnum.Adapter.html create mode 100644 site/com/mailslurp/models/SendEmailOptions.ValidateEmailAddressesEnum.html create mode 100644 site/com/mailslurp/models/SendEmailOptions.html create mode 100644 site/com/mailslurp/models/SendSMTPEnvelopeOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/SendSMTPEnvelopeOptions.html create mode 100644 site/com/mailslurp/models/SendWithQueueResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/SendWithQueueResult.html create mode 100644 site/com/mailslurp/models/Sender.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/Sender.html create mode 100644 site/com/mailslurp/models/SentEmailDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/SentEmailDto.html create mode 100644 site/com/mailslurp/models/SentEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/SentEmailProjection.html create mode 100644 site/com/mailslurp/models/SetInboxFavouritedOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/SetInboxFavouritedOptions.html create mode 100644 site/com/mailslurp/models/SimpleSendEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/SimpleSendEmailOptions.html create mode 100644 site/com/mailslurp/models/SmsDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/SmsDto.html create mode 100644 site/com/mailslurp/models/SmsMatchOption.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/SmsMatchOption.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/SmsMatchOption.FieldEnum.html create mode 100644 site/com/mailslurp/models/SmsMatchOption.ShouldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/SmsMatchOption.ShouldEnum.html create mode 100644 site/com/mailslurp/models/SmsMatchOption.html create mode 100644 site/com/mailslurp/models/SmsPreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/SmsPreview.html create mode 100644 site/com/mailslurp/models/SmsProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/SmsProjection.html create mode 100644 site/com/mailslurp/models/Sort.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/Sort.html create mode 100644 site/com/mailslurp/models/TemplateDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/TemplateDto.html create mode 100644 site/com/mailslurp/models/TemplatePreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/TemplatePreview.html create mode 100644 site/com/mailslurp/models/TemplateProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/TemplateProjection.html create mode 100644 site/com/mailslurp/models/TemplateVariable.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/TemplateVariable.VariableTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/TemplateVariable.VariableTypeEnum.html create mode 100644 site/com/mailslurp/models/TemplateVariable.html create mode 100644 site/com/mailslurp/models/TestNewInboxForwarderOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/TestNewInboxForwarderOptions.html create mode 100644 site/com/mailslurp/models/TestNewInboxRulesetOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/TestNewInboxRulesetOptions.html create mode 100644 site/com/mailslurp/models/TestPhoneNumberOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/TestPhoneNumberOptions.html create mode 100644 site/com/mailslurp/models/ThreadProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ThreadProjection.html create mode 100644 site/com/mailslurp/models/TrackingPixelDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/TrackingPixelDto.html create mode 100644 site/com/mailslurp/models/TrackingPixelProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/TrackingPixelProjection.html create mode 100644 site/com/mailslurp/models/UnknownMissedEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UnknownMissedEmailProjection.html create mode 100644 site/com/mailslurp/models/UnreadCount.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UnreadCount.html create mode 100644 site/com/mailslurp/models/UnseenErrorCountDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UnseenErrorCountDto.html create mode 100644 site/com/mailslurp/models/UpdateAliasOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UpdateAliasOptions.html create mode 100644 site/com/mailslurp/models/UpdateDomainOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UpdateDomainOptions.html create mode 100644 site/com/mailslurp/models/UpdateGroupContacts.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UpdateGroupContacts.html create mode 100644 site/com/mailslurp/models/UpdateInboxOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UpdateInboxOptions.html create mode 100644 site/com/mailslurp/models/UpdateInboxReplierOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UpdateInboxReplierOptions.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/UpdateInboxReplierOptions.FieldEnum.html create mode 100644 site/com/mailslurp/models/UpdateInboxReplierOptions.html create mode 100644 site/com/mailslurp/models/UploadAttachmentBytesRequest.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UploadAttachmentBytesRequest.html create mode 100644 site/com/mailslurp/models/UploadAttachmentOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UploadAttachmentOptions.html create mode 100644 site/com/mailslurp/models/UploadMultipartFormRequest.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UploadMultipartFormRequest.html create mode 100644 site/com/mailslurp/models/UserInfoDto.AccountStateEnum.Adapter.html create mode 100644 site/com/mailslurp/models/UserInfoDto.AccountStateEnum.html create mode 100644 site/com/mailslurp/models/UserInfoDto.AccountTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/UserInfoDto.AccountTypeEnum.html create mode 100644 site/com/mailslurp/models/UserInfoDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/UserInfoDto.SubscriptionTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/UserInfoDto.SubscriptionTypeEnum.html create mode 100644 site/com/mailslurp/models/UserInfoDto.html create mode 100644 site/com/mailslurp/models/ValidateEmailAddressListOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ValidateEmailAddressListOptions.html create mode 100644 site/com/mailslurp/models/ValidateEmailAddressListResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ValidateEmailAddressListResult.html create mode 100644 site/com/mailslurp/models/ValidationDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ValidationDto.html create mode 100644 site/com/mailslurp/models/ValidationMessage.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/ValidationMessage.html create mode 100644 site/com/mailslurp/models/VerifyEmailAddressOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/VerifyEmailAddressOptions.html create mode 100644 site/com/mailslurp/models/VerifyWebhookSignatureOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/VerifyWebhookSignatureOptions.html create mode 100644 site/com/mailslurp/models/VerifyWebhookSignatureResults.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/VerifyWebhookSignatureResults.html create mode 100644 site/com/mailslurp/models/WaitForConditions.CountTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WaitForConditions.CountTypeEnum.html create mode 100644 site/com/mailslurp/models/WaitForConditions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WaitForConditions.SortDirectionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WaitForConditions.SortDirectionEnum.html create mode 100644 site/com/mailslurp/models/WaitForConditions.html create mode 100644 site/com/mailslurp/models/WaitForSingleSmsOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WaitForSingleSmsOptions.SortDirectionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WaitForSingleSmsOptions.SortDirectionEnum.html create mode 100644 site/com/mailslurp/models/WaitForSingleSmsOptions.html create mode 100644 site/com/mailslurp/models/WaitForSmsConditions.CountTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WaitForSmsConditions.CountTypeEnum.html create mode 100644 site/com/mailslurp/models/WaitForSmsConditions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WaitForSmsConditions.SortDirectionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WaitForSmsConditions.SortDirectionEnum.html create mode 100644 site/com/mailslurp/models/WaitForSmsConditions.html create mode 100644 site/com/mailslurp/models/WebhookBouncePayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookBouncePayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookBouncePayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/WebhookBouncePayload.html create mode 100644 site/com/mailslurp/models/WebhookBounceRecipientPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookBounceRecipientPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookBounceRecipientPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/WebhookBounceRecipientPayload.html create mode 100644 site/com/mailslurp/models/WebhookDeliveryStatusPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookDeliveryStatusPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookDeliveryStatusPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/WebhookDeliveryStatusPayload.html create mode 100644 site/com/mailslurp/models/WebhookDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookDto.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookDto.EventNameEnum.html create mode 100644 site/com/mailslurp/models/WebhookDto.MethodEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookDto.MethodEnum.html create mode 100644 site/com/mailslurp/models/WebhookDto.html create mode 100644 site/com/mailslurp/models/WebhookEmailOpenedPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookEmailOpenedPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookEmailOpenedPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/WebhookEmailOpenedPayload.html create mode 100644 site/com/mailslurp/models/WebhookEmailReadPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookEmailReadPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookEmailReadPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/WebhookEmailReadPayload.html create mode 100644 site/com/mailslurp/models/WebhookHeaderNameValue.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookHeaderNameValue.html create mode 100644 site/com/mailslurp/models/WebhookHeaders.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookHeaders.html create mode 100644 site/com/mailslurp/models/WebhookNewAttachmentPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookNewAttachmentPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookNewAttachmentPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/WebhookNewAttachmentPayload.html create mode 100644 site/com/mailslurp/models/WebhookNewContactPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookNewContactPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookNewContactPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/WebhookNewContactPayload.html create mode 100644 site/com/mailslurp/models/WebhookNewEmailPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookNewEmailPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookNewEmailPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/WebhookNewEmailPayload.html create mode 100644 site/com/mailslurp/models/WebhookNewSmsPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookNewSmsPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookNewSmsPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/WebhookNewSmsPayload.html create mode 100644 site/com/mailslurp/models/WebhookProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookProjection.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookProjection.EventNameEnum.html create mode 100644 site/com/mailslurp/models/WebhookProjection.html create mode 100644 site/com/mailslurp/models/WebhookRedriveResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookRedriveResult.html create mode 100644 site/com/mailslurp/models/WebhookResultDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookResultDto.HttpMethodEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookResultDto.HttpMethodEnum.html create mode 100644 site/com/mailslurp/models/WebhookResultDto.ResultTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookResultDto.ResultTypeEnum.html create mode 100644 site/com/mailslurp/models/WebhookResultDto.WebhookEventEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookResultDto.WebhookEventEnum.html create mode 100644 site/com/mailslurp/models/WebhookResultDto.html create mode 100644 site/com/mailslurp/models/WebhookTestRequest.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookTestRequest.MethodEnum.Adapter.html create mode 100644 site/com/mailslurp/models/WebhookTestRequest.MethodEnum.html create mode 100644 site/com/mailslurp/models/WebhookTestRequest.html create mode 100644 site/com/mailslurp/models/WebhookTestResponse.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookTestResponse.html create mode 100644 site/com/mailslurp/models/WebhookTestResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/WebhookTestResult.html create mode 100644 site/com/mailslurp/models/class-use/AbstractOpenApiSchema.html create mode 100644 site/com/mailslurp/models/class-use/AbstractWebhookPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/AbstractWebhookPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/AbstractWebhookPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/AbstractWebhookPayload.html create mode 100644 site/com/mailslurp/models/class-use/AliasDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/AliasDto.html create mode 100644 site/com/mailslurp/models/class-use/AliasProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/AliasProjection.html create mode 100644 site/com/mailslurp/models/class-use/AttachmentEntity.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/AttachmentEntity.html create mode 100644 site/com/mailslurp/models/class-use/AttachmentMetaData.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/AttachmentMetaData.html create mode 100644 site/com/mailslurp/models/class-use/AttachmentProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/AttachmentProjection.html create mode 100644 site/com/mailslurp/models/class-use/BasicAuthOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/BasicAuthOptions.html create mode 100644 site/com/mailslurp/models/class-use/BounceProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/BounceProjection.html create mode 100644 site/com/mailslurp/models/class-use/BounceRecipientProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/BounceRecipientProjection.html create mode 100644 site/com/mailslurp/models/class-use/BouncedEmailDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/BouncedEmailDto.html create mode 100644 site/com/mailslurp/models/class-use/BouncedRecipientDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/BouncedRecipientDto.html create mode 100644 site/com/mailslurp/models/class-use/BulkSendEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/BulkSendEmailOptions.html create mode 100644 site/com/mailslurp/models/class-use/Complaint.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/Complaint.html create mode 100644 site/com/mailslurp/models/class-use/ConditionOption.ConditionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ConditionOption.ConditionEnum.html create mode 100644 site/com/mailslurp/models/class-use/ConditionOption.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ConditionOption.ValueEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ConditionOption.ValueEnum.html create mode 100644 site/com/mailslurp/models/class-use/ConditionOption.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorDto.ConnectorAuthTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorDto.ConnectorAuthTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorDto.ConnectorTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorDto.ConnectorTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorDto.SyncScheduleTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorDto.SyncScheduleTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorDto.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorProjection.ConnectorTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorProjection.ConnectorTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorProjection.SyncScheduleTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorProjection.SyncScheduleTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorProjection.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncEventDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncEventDto.SyncStatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncEventDto.SyncStatusEnum.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncEventDto.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.SyncStatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.SyncStatusEnum.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncRequestResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncRequestResult.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncRequestResultException.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncRequestResultException.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCause.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseStackTraceInner.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseSuppressedInner.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ConnectorSyncResult.html create mode 100644 site/com/mailslurp/models/class-use/ContactDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ContactDto.html create mode 100644 site/com/mailslurp/models/class-use/ContactProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ContactProjection.html create mode 100644 site/com/mailslurp/models/class-use/ContentMatchOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ContentMatchOptions.html create mode 100644 site/com/mailslurp/models/class-use/CountDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CountDto.html create mode 100644 site/com/mailslurp/models/class-use/CreateAliasOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateAliasOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateConnectorImapOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateConnectorImapOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorAuthTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/CreateConnectorOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateConnectorOptions.SyncScheduleTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/CreateConnectorOptions.SyncScheduleTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/CreateConnectorOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateContactOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateContactOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateDomainOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateDomainOptions.DomainTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/CreateDomainOptions.DomainTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/CreateDomainOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.IsoCountryCodeEnum.html create mode 100644 site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateGroupOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateGroupOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxDto.InboxTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxDto.InboxTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxDto.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.FieldEnum.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxReplierOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxReplierOptions.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxReplierOptions.FieldEnum.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxReplierOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ActionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ActionEnum.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ScopeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ScopeEnum.html create mode 100644 site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateTemplateOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateTemplateOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateTrackingPixelOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateTrackingPixelOptions.html create mode 100644 site/com/mailslurp/models/class-use/CreateWebhookOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/CreateWebhookOptions.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/CreateWebhookOptions.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/CreateWebhookOptions.html create mode 100644 site/com/mailslurp/models/class-use/DNSLookupOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/DNSLookupOptions.RecordTypesEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/DNSLookupOptions.RecordTypesEnum.html create mode 100644 site/com/mailslurp/models/class-use/DNSLookupOptions.html create mode 100644 site/com/mailslurp/models/class-use/DNSLookupResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/DNSLookupResult.RecordTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/DNSLookupResult.RecordTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/DNSLookupResult.html create mode 100644 site/com/mailslurp/models/class-use/DNSLookupResults.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/DNSLookupResults.html create mode 100644 site/com/mailslurp/models/class-use/DeliveryStatusDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/DeliveryStatusDto.html create mode 100644 site/com/mailslurp/models/class-use/DescribeDomainOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/DescribeDomainOptions.html create mode 100644 site/com/mailslurp/models/class-use/DescribeMailServerDomainResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/DescribeMailServerDomainResult.html create mode 100644 site/com/mailslurp/models/class-use/DomainDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/DomainDto.DomainTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/DomainDto.DomainTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/DomainDto.html create mode 100644 site/com/mailslurp/models/class-use/DomainIssuesDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/DomainIssuesDto.html create mode 100644 site/com/mailslurp/models/class-use/DomainNameRecord.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/DomainNameRecord.LabelEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/DomainNameRecord.LabelEnum.html create mode 100644 site/com/mailslurp/models/class-use/DomainNameRecord.RecordTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/DomainNameRecord.RecordTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/DomainNameRecord.html create mode 100644 site/com/mailslurp/models/class-use/DomainPreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/DomainPreview.DomainTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/DomainPreview.DomainTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/DomainPreview.html create mode 100644 site/com/mailslurp/models/class-use/DownloadAttachmentDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/DownloadAttachmentDto.html create mode 100644 site/com/mailslurp/models/class-use/Email.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/Email.html create mode 100644 site/com/mailslurp/models/class-use/EmailAnalysis.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmailAnalysis.html create mode 100644 site/com/mailslurp/models/class-use/EmailContentMatchResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmailContentMatchResult.html create mode 100644 site/com/mailslurp/models/class-use/EmailHtmlDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmailHtmlDto.html create mode 100644 site/com/mailslurp/models/class-use/EmailLinksResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmailLinksResult.html create mode 100644 site/com/mailslurp/models/class-use/EmailPreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmailPreview.html create mode 100644 site/com/mailslurp/models/class-use/EmailPreviewUrls.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmailPreviewUrls.html create mode 100644 site/com/mailslurp/models/class-use/EmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmailProjection.html create mode 100644 site/com/mailslurp/models/class-use/EmailRecipients.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmailRecipients.html create mode 100644 site/com/mailslurp/models/class-use/EmailTextLinesResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmailTextLinesResult.html create mode 100644 site/com/mailslurp/models/class-use/EmailValidationRequestDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmailValidationRequestDto.html create mode 100644 site/com/mailslurp/models/class-use/EmailVerificationResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmailVerificationResult.html create mode 100644 site/com/mailslurp/models/class-use/EmergencyAddress.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmergencyAddress.PhoneCountryEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/EmergencyAddress.PhoneCountryEnum.html create mode 100644 site/com/mailslurp/models/class-use/EmergencyAddress.html create mode 100644 site/com/mailslurp/models/class-use/EmergencyAddressDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmergencyAddressDto.PhoneCountryEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/EmergencyAddressDto.PhoneCountryEnum.html create mode 100644 site/com/mailslurp/models/class-use/EmergencyAddressDto.html create mode 100644 site/com/mailslurp/models/class-use/EmptyResponseDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/EmptyResponseDto.html create mode 100644 site/com/mailslurp/models/class-use/ExpirationDefaults.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ExpirationDefaults.html create mode 100644 site/com/mailslurp/models/class-use/ExpiredInboxDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ExpiredInboxDto.html create mode 100644 site/com/mailslurp/models/class-use/ExpiredInboxRecordProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ExpiredInboxRecordProjection.html create mode 100644 site/com/mailslurp/models/class-use/ExportLink.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ExportLink.html create mode 100644 site/com/mailslurp/models/class-use/ExportOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ExportOptions.OutputFormatEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ExportOptions.OutputFormatEnum.html create mode 100644 site/com/mailslurp/models/class-use/ExportOptions.html create mode 100644 site/com/mailslurp/models/class-use/FilterBouncedRecipientsOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/FilterBouncedRecipientsOptions.html create mode 100644 site/com/mailslurp/models/class-use/FilterBouncedRecipientsResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/FilterBouncedRecipientsResult.html create mode 100644 site/com/mailslurp/models/class-use/FlushExpiredInboxesResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/FlushExpiredInboxesResult.html create mode 100644 site/com/mailslurp/models/class-use/ForwardEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ForwardEmailOptions.html create mode 100644 site/com/mailslurp/models/class-use/GravatarUrl.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/GravatarUrl.html create mode 100644 site/com/mailslurp/models/class-use/GroupContactsDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/GroupContactsDto.html create mode 100644 site/com/mailslurp/models/class-use/GroupDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/GroupDto.html create mode 100644 site/com/mailslurp/models/class-use/GroupProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/GroupProjection.html create mode 100644 site/com/mailslurp/models/class-use/HTMLValidationResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/HTMLValidationResult.html create mode 100644 site/com/mailslurp/models/class-use/IPAddressResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/IPAddressResult.html create mode 100644 site/com/mailslurp/models/class-use/ImapFlagOperationOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ImapFlagOperationOptions.FlagOperationEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ImapFlagOperationOptions.FlagOperationEnum.html create mode 100644 site/com/mailslurp/models/class-use/ImapFlagOperationOptions.html create mode 100644 site/com/mailslurp/models/class-use/ImapSmtpAccessDetails.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ImapSmtpAccessDetails.html create mode 100644 site/com/mailslurp/models/class-use/InboxByEmailAddressResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxByEmailAddressResult.html create mode 100644 site/com/mailslurp/models/class-use/InboxByNameResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxByNameResult.html create mode 100644 site/com/mailslurp/models/class-use/InboxDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxDto.InboxTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/InboxDto.InboxTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/InboxDto.html create mode 100644 site/com/mailslurp/models/class-use/InboxExistsDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxExistsDto.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderDto.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderDto.FieldEnum.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderDto.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderEventProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderEventProjection.StatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderEventProjection.StatusEnum.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderEventProjection.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderTestOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderTestOptions.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderTestResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxForwarderTestResult.html create mode 100644 site/com/mailslurp/models/class-use/InboxIdItem.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxIdItem.html create mode 100644 site/com/mailslurp/models/class-use/InboxIdsResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxIdsResult.html create mode 100644 site/com/mailslurp/models/class-use/InboxPreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxPreview.InboxTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/InboxPreview.InboxTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/InboxPreview.html create mode 100644 site/com/mailslurp/models/class-use/InboxReplierDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxReplierDto.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/InboxReplierDto.FieldEnum.html create mode 100644 site/com/mailslurp/models/class-use/InboxReplierDto.html create mode 100644 site/com/mailslurp/models/class-use/InboxReplierEventProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxReplierEventProjection.StatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/InboxReplierEventProjection.StatusEnum.html create mode 100644 site/com/mailslurp/models/class-use/InboxReplierEventProjection.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetDto.ActionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetDto.ActionEnum.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetDto.HandlerEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetDto.HandlerEnum.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetDto.ScopeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetDto.ScopeEnum.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetDto.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetTestOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetTestOptions.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetTestResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/InboxRulesetTestResult.html create mode 100644 site/com/mailslurp/models/class-use/JSONSchemaDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/JSONSchemaDto.html create mode 100644 site/com/mailslurp/models/class-use/ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ListUnsubscribeRecipientProjection.html create mode 100644 site/com/mailslurp/models/class-use/MatchOption.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/MatchOption.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/MatchOption.FieldEnum.html create mode 100644 site/com/mailslurp/models/class-use/MatchOption.ShouldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/MatchOption.ShouldEnum.html create mode 100644 site/com/mailslurp/models/class-use/MatchOption.html create mode 100644 site/com/mailslurp/models/class-use/MatchOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/MatchOptions.html create mode 100644 site/com/mailslurp/models/class-use/MissedEmailDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/MissedEmailDto.html create mode 100644 site/com/mailslurp/models/class-use/MissedEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/MissedEmailProjection.html create mode 100644 site/com/mailslurp/models/class-use/NameServerRecord.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/NameServerRecord.html create mode 100644 site/com/mailslurp/models/class-use/OrganizationInboxProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/OrganizationInboxProjection.InboxTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/OrganizationInboxProjection.InboxTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/OrganizationInboxProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageAlias.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageAlias.html create mode 100644 site/com/mailslurp/models/class-use/PageAttachmentEntity.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageAttachmentEntity.html create mode 100644 site/com/mailslurp/models/class-use/PageBouncedEmail.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageBouncedEmail.html create mode 100644 site/com/mailslurp/models/class-use/PageBouncedRecipients.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageBouncedRecipients.html create mode 100644 site/com/mailslurp/models/class-use/PageComplaint.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageComplaint.html create mode 100644 site/com/mailslurp/models/class-use/PageConnector.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageConnector.html create mode 100644 site/com/mailslurp/models/class-use/PageConnectorSyncEvents.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageConnectorSyncEvents.html create mode 100644 site/com/mailslurp/models/class-use/PageContactProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageContactProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageDeliveryStatus.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageDeliveryStatus.html create mode 100644 site/com/mailslurp/models/class-use/PageEmailPreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageEmailPreview.html create mode 100644 site/com/mailslurp/models/class-use/PageEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageEmailProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageEmailValidationRequest.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageEmailValidationRequest.html create mode 100644 site/com/mailslurp/models/class-use/PageExpiredInboxRecordProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageExpiredInboxRecordProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageGroupProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageGroupProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxForwarderDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxForwarderDto.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxForwarderEvents.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxForwarderEvents.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxReplierDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxReplierDto.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxReplierEvents.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxReplierEvents.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxRulesetDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageInboxRulesetDto.html create mode 100644 site/com/mailslurp/models/class-use/PageListUnsubscribeRecipients.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageListUnsubscribeRecipients.html create mode 100644 site/com/mailslurp/models/class-use/PageMissedEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageMissedEmailProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageOrganizationInboxProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageOrganizationInboxProjection.html create mode 100644 site/com/mailslurp/models/class-use/PagePhoneNumberProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PagePhoneNumberProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageScheduledJobs.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageScheduledJobs.html create mode 100644 site/com/mailslurp/models/class-use/PageSentEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageSentEmailProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageSentEmailWithQueueProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageSentEmailWithQueueProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageSmsProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageSmsProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageTemplateProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageTemplateProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageThreadProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageThreadProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageTrackingPixelProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageTrackingPixelProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageUnknownMissedEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageUnknownMissedEmailProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageWebhookProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageWebhookProjection.html create mode 100644 site/com/mailslurp/models/class-use/PageWebhookResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageWebhookResult.html create mode 100644 site/com/mailslurp/models/class-use/PageableObject.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PageableObject.html create mode 100644 site/com/mailslurp/models/class-use/PhoneNumberDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PhoneNumberDto.PhoneCountryEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/PhoneNumberDto.PhoneCountryEnum.html create mode 100644 site/com/mailslurp/models/class-use/PhoneNumberDto.html create mode 100644 site/com/mailslurp/models/class-use/PhoneNumberProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PhoneNumberProjection.PhoneCountryEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/PhoneNumberProjection.PhoneCountryEnum.html create mode 100644 site/com/mailslurp/models/class-use/PhoneNumberProjection.html create mode 100644 site/com/mailslurp/models/class-use/PhonePlanDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/PhonePlanDto.PhoneCountryEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/PhonePlanDto.PhoneCountryEnum.html create mode 100644 site/com/mailslurp/models/class-use/PhonePlanDto.html create mode 100644 site/com/mailslurp/models/class-use/RawEmailJson.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/RawEmailJson.html create mode 100644 site/com/mailslurp/models/class-use/Recipient.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/Recipient.html create mode 100644 site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.SendStrategyEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.SendStrategyEnum.html create mode 100644 site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.html create mode 100644 site/com/mailslurp/models/class-use/ReplyToEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ReplyToEmailOptions.SendStrategyEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ReplyToEmailOptions.SendStrategyEnum.html create mode 100644 site/com/mailslurp/models/class-use/ReplyToEmailOptions.html create mode 100644 site/com/mailslurp/models/class-use/ScheduledJob.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ScheduledJob.StatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ScheduledJob.StatusEnum.html create mode 100644 site/com/mailslurp/models/class-use/ScheduledJob.html create mode 100644 site/com/mailslurp/models/class-use/ScheduledJobDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ScheduledJobDto.StatusEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/ScheduledJobDto.StatusEnum.html create mode 100644 site/com/mailslurp/models/class-use/ScheduledJobDto.html create mode 100644 site/com/mailslurp/models/class-use/SendEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/SendEmailOptions.SendStrategyEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/SendEmailOptions.SendStrategyEnum.html create mode 100644 site/com/mailslurp/models/class-use/SendEmailOptions.ValidateEmailAddressesEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/SendEmailOptions.ValidateEmailAddressesEnum.html create mode 100644 site/com/mailslurp/models/class-use/SendEmailOptions.html create mode 100644 site/com/mailslurp/models/class-use/SendSMTPEnvelopeOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/SendSMTPEnvelopeOptions.html create mode 100644 site/com/mailslurp/models/class-use/SendWithQueueResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/SendWithQueueResult.html create mode 100644 site/com/mailslurp/models/class-use/Sender.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/Sender.html create mode 100644 site/com/mailslurp/models/class-use/SentEmailDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/SentEmailDto.html create mode 100644 site/com/mailslurp/models/class-use/SentEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/SentEmailProjection.html create mode 100644 site/com/mailslurp/models/class-use/SetInboxFavouritedOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/SetInboxFavouritedOptions.html create mode 100644 site/com/mailslurp/models/class-use/SimpleSendEmailOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/SimpleSendEmailOptions.html create mode 100644 site/com/mailslurp/models/class-use/SmsDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/SmsDto.html create mode 100644 site/com/mailslurp/models/class-use/SmsMatchOption.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/SmsMatchOption.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/SmsMatchOption.FieldEnum.html create mode 100644 site/com/mailslurp/models/class-use/SmsMatchOption.ShouldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/SmsMatchOption.ShouldEnum.html create mode 100644 site/com/mailslurp/models/class-use/SmsMatchOption.html create mode 100644 site/com/mailslurp/models/class-use/SmsPreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/SmsPreview.html create mode 100644 site/com/mailslurp/models/class-use/SmsProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/SmsProjection.html create mode 100644 site/com/mailslurp/models/class-use/Sort.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/Sort.html create mode 100644 site/com/mailslurp/models/class-use/TemplateDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/TemplateDto.html create mode 100644 site/com/mailslurp/models/class-use/TemplatePreview.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/TemplatePreview.html create mode 100644 site/com/mailslurp/models/class-use/TemplateProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/TemplateProjection.html create mode 100644 site/com/mailslurp/models/class-use/TemplateVariable.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/TemplateVariable.VariableTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/TemplateVariable.VariableTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/TemplateVariable.html create mode 100644 site/com/mailslurp/models/class-use/TestNewInboxForwarderOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/TestNewInboxForwarderOptions.html create mode 100644 site/com/mailslurp/models/class-use/TestNewInboxRulesetOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/TestNewInboxRulesetOptions.html create mode 100644 site/com/mailslurp/models/class-use/TestPhoneNumberOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/TestPhoneNumberOptions.html create mode 100644 site/com/mailslurp/models/class-use/ThreadProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ThreadProjection.html create mode 100644 site/com/mailslurp/models/class-use/TrackingPixelDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/TrackingPixelDto.html create mode 100644 site/com/mailslurp/models/class-use/TrackingPixelProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/TrackingPixelProjection.html create mode 100644 site/com/mailslurp/models/class-use/UnknownMissedEmailProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UnknownMissedEmailProjection.html create mode 100644 site/com/mailslurp/models/class-use/UnreadCount.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UnreadCount.html create mode 100644 site/com/mailslurp/models/class-use/UnseenErrorCountDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UnseenErrorCountDto.html create mode 100644 site/com/mailslurp/models/class-use/UpdateAliasOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UpdateAliasOptions.html create mode 100644 site/com/mailslurp/models/class-use/UpdateDomainOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UpdateDomainOptions.html create mode 100644 site/com/mailslurp/models/class-use/UpdateGroupContacts.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UpdateGroupContacts.html create mode 100644 site/com/mailslurp/models/class-use/UpdateInboxOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UpdateInboxOptions.html create mode 100644 site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.FieldEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.FieldEnum.html create mode 100644 site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.html create mode 100644 site/com/mailslurp/models/class-use/UploadAttachmentBytesRequest.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UploadAttachmentBytesRequest.html create mode 100644 site/com/mailslurp/models/class-use/UploadAttachmentOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UploadAttachmentOptions.html create mode 100644 site/com/mailslurp/models/class-use/UploadMultipartFormRequest.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UploadMultipartFormRequest.html create mode 100644 site/com/mailslurp/models/class-use/UserInfoDto.AccountStateEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/UserInfoDto.AccountStateEnum.html create mode 100644 site/com/mailslurp/models/class-use/UserInfoDto.AccountTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/UserInfoDto.AccountTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/UserInfoDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/UserInfoDto.SubscriptionTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/UserInfoDto.SubscriptionTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/UserInfoDto.html create mode 100644 site/com/mailslurp/models/class-use/ValidateEmailAddressListOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ValidateEmailAddressListOptions.html create mode 100644 site/com/mailslurp/models/class-use/ValidateEmailAddressListResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ValidateEmailAddressListResult.html create mode 100644 site/com/mailslurp/models/class-use/ValidationDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ValidationDto.html create mode 100644 site/com/mailslurp/models/class-use/ValidationMessage.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/ValidationMessage.html create mode 100644 site/com/mailslurp/models/class-use/VerifyEmailAddressOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/VerifyEmailAddressOptions.html create mode 100644 site/com/mailslurp/models/class-use/VerifyWebhookSignatureOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/VerifyWebhookSignatureOptions.html create mode 100644 site/com/mailslurp/models/class-use/VerifyWebhookSignatureResults.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/VerifyWebhookSignatureResults.html create mode 100644 site/com/mailslurp/models/class-use/WaitForConditions.CountTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WaitForConditions.CountTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/WaitForConditions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WaitForConditions.SortDirectionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WaitForConditions.SortDirectionEnum.html create mode 100644 site/com/mailslurp/models/class-use/WaitForConditions.html create mode 100644 site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.SortDirectionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.SortDirectionEnum.html create mode 100644 site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.html create mode 100644 site/com/mailslurp/models/class-use/WaitForSmsConditions.CountTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WaitForSmsConditions.CountTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/WaitForSmsConditions.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WaitForSmsConditions.SortDirectionEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WaitForSmsConditions.SortDirectionEnum.html create mode 100644 site/com/mailslurp/models/class-use/WaitForSmsConditions.html create mode 100644 site/com/mailslurp/models/class-use/WebhookBouncePayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookBouncePayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookBouncePayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookBouncePayload.html create mode 100644 site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.html create mode 100644 site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.html create mode 100644 site/com/mailslurp/models/class-use/WebhookDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookDto.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookDto.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookDto.MethodEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookDto.MethodEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookDto.html create mode 100644 site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.html create mode 100644 site/com/mailslurp/models/class-use/WebhookEmailReadPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookEmailReadPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookEmailReadPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookEmailReadPayload.html create mode 100644 site/com/mailslurp/models/class-use/WebhookHeaderNameValue.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookHeaderNameValue.html create mode 100644 site/com/mailslurp/models/class-use/WebhookHeaders.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookHeaders.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewContactPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewContactPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewContactPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewContactPayload.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewEmailPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewEmailPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewEmailPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewEmailPayload.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewSmsPayload.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewSmsPayload.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewSmsPayload.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookNewSmsPayload.html create mode 100644 site/com/mailslurp/models/class-use/WebhookProjection.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookProjection.EventNameEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookProjection.EventNameEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookProjection.html create mode 100644 site/com/mailslurp/models/class-use/WebhookRedriveResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookRedriveResult.html create mode 100644 site/com/mailslurp/models/class-use/WebhookResultDto.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookResultDto.HttpMethodEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookResultDto.HttpMethodEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookResultDto.ResultTypeEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookResultDto.ResultTypeEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookResultDto.WebhookEventEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookResultDto.WebhookEventEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookResultDto.html create mode 100644 site/com/mailslurp/models/class-use/WebhookTestRequest.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookTestRequest.MethodEnum.Adapter.html create mode 100644 site/com/mailslurp/models/class-use/WebhookTestRequest.MethodEnum.html create mode 100644 site/com/mailslurp/models/class-use/WebhookTestRequest.html create mode 100644 site/com/mailslurp/models/class-use/WebhookTestResponse.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookTestResponse.html create mode 100644 site/com/mailslurp/models/class-use/WebhookTestResult.CustomTypeAdapterFactory.html create mode 100644 site/com/mailslurp/models/class-use/WebhookTestResult.html create mode 100644 site/com/mailslurp/models/package-frame.html create mode 100644 site/com/mailslurp/models/package-summary.html create mode 100644 site/com/mailslurp/models/package-tree.html create mode 100644 site/com/mailslurp/models/package-use.html create mode 100644 site/constant-values.html create mode 100644 site/deprecated-list.html create mode 100644 site/help-doc.html create mode 100644 site/index-all.html create mode 100644 site/index.html create mode 100644 site/overview-frame.html create mode 100644 site/overview-summary.html create mode 100644 site/overview-tree.html create mode 100644 site/package-list create mode 100644 site/script.js create mode 100644 site/serialized-form.html create mode 100644 site/stylesheet.css create mode 100644 src/main/AndroidManifest.xml create mode 100644 src/main/java/com/mailslurp/apis/AliasControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/AttachmentControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/BounceControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/BulkActionsControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/CommonActionsControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/ConnectorControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/ContactControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/DomainControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/EmailControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/EmailVerificationControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/ExpiredControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/ExportControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/FormControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/GroupControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/InboxControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/InboxForwarderControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/InboxReplierControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/InboxRulesetControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/MailServerControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/MissedEmailControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/PhoneControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/SentEmailsControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/SmsControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/TemplateControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/TrackingControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/UserControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/WaitForControllerApi.java create mode 100644 src/main/java/com/mailslurp/apis/WebhookControllerApi.java create mode 100644 src/main/java/com/mailslurp/clients/ApiCallback.java create mode 100644 src/main/java/com/mailslurp/clients/ApiClient.java create mode 100644 src/main/java/com/mailslurp/clients/ApiException.java create mode 100644 src/main/java/com/mailslurp/clients/ApiResponse.java create mode 100644 src/main/java/com/mailslurp/clients/Configuration.java create mode 100644 src/main/java/com/mailslurp/clients/GzipRequestInterceptor.java create mode 100644 src/main/java/com/mailslurp/clients/JSON.java create mode 100644 src/main/java/com/mailslurp/clients/Pair.java create mode 100644 src/main/java/com/mailslurp/clients/ProgressRequestBody.java create mode 100644 src/main/java/com/mailslurp/clients/ProgressResponseBody.java create mode 100644 src/main/java/com/mailslurp/clients/ServerConfiguration.java create mode 100644 src/main/java/com/mailslurp/clients/ServerVariable.java create mode 100644 src/main/java/com/mailslurp/clients/StringUtil.java create mode 100644 src/main/java/com/mailslurp/clients/auth/ApiKeyAuth.java create mode 100644 src/main/java/com/mailslurp/clients/auth/Authentication.java create mode 100644 src/main/java/com/mailslurp/clients/auth/HttpBasicAuth.java create mode 100644 src/main/java/com/mailslurp/clients/auth/HttpBearerAuth.java create mode 100644 src/main/java/com/mailslurp/models/AbstractOpenApiSchema.java create mode 100644 src/main/java/com/mailslurp/models/AbstractWebhookPayload.java create mode 100644 src/main/java/com/mailslurp/models/AliasDto.java create mode 100644 src/main/java/com/mailslurp/models/AliasProjection.java create mode 100644 src/main/java/com/mailslurp/models/AttachmentEntity.java create mode 100644 src/main/java/com/mailslurp/models/AttachmentMetaData.java create mode 100644 src/main/java/com/mailslurp/models/AttachmentProjection.java create mode 100644 src/main/java/com/mailslurp/models/BasicAuthOptions.java create mode 100644 src/main/java/com/mailslurp/models/BounceProjection.java create mode 100644 src/main/java/com/mailslurp/models/BounceRecipientProjection.java create mode 100644 src/main/java/com/mailslurp/models/BouncedEmailDto.java create mode 100644 src/main/java/com/mailslurp/models/BouncedRecipientDto.java create mode 100644 src/main/java/com/mailslurp/models/BulkSendEmailOptions.java create mode 100644 src/main/java/com/mailslurp/models/Complaint.java create mode 100644 src/main/java/com/mailslurp/models/ConditionOption.java create mode 100644 src/main/java/com/mailslurp/models/ConnectorDto.java create mode 100644 src/main/java/com/mailslurp/models/ConnectorProjection.java create mode 100644 src/main/java/com/mailslurp/models/ConnectorSyncEventDto.java create mode 100644 src/main/java/com/mailslurp/models/ConnectorSyncEventProjection.java create mode 100644 src/main/java/com/mailslurp/models/ConnectorSyncRequestResult.java create mode 100644 src/main/java/com/mailslurp/models/ConnectorSyncRequestResultException.java create mode 100644 src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.java create mode 100644 src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.java create mode 100644 src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.java create mode 100644 src/main/java/com/mailslurp/models/ConnectorSyncResult.java create mode 100644 src/main/java/com/mailslurp/models/ContactDto.java create mode 100644 src/main/java/com/mailslurp/models/ContactProjection.java create mode 100644 src/main/java/com/mailslurp/models/ContentMatchOptions.java create mode 100644 src/main/java/com/mailslurp/models/CountDto.java create mode 100644 src/main/java/com/mailslurp/models/CreateAliasOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateConnectorImapOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateConnectorOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateContactOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateDomainOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateEmergencyAddressOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateGroupOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateInboxDto.java create mode 100644 src/main/java/com/mailslurp/models/CreateInboxForwarderOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateInboxReplierOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateInboxRulesetOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateTemplateOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateTrackingPixelOptions.java create mode 100644 src/main/java/com/mailslurp/models/CreateWebhookOptions.java create mode 100644 src/main/java/com/mailslurp/models/DNSLookupOptions.java create mode 100644 src/main/java/com/mailslurp/models/DNSLookupResult.java create mode 100644 src/main/java/com/mailslurp/models/DNSLookupResults.java create mode 100644 src/main/java/com/mailslurp/models/DeliveryStatusDto.java create mode 100644 src/main/java/com/mailslurp/models/DescribeDomainOptions.java create mode 100644 src/main/java/com/mailslurp/models/DescribeMailServerDomainResult.java create mode 100644 src/main/java/com/mailslurp/models/DomainDto.java create mode 100644 src/main/java/com/mailslurp/models/DomainIssuesDto.java create mode 100644 src/main/java/com/mailslurp/models/DomainNameRecord.java create mode 100644 src/main/java/com/mailslurp/models/DomainPreview.java create mode 100644 src/main/java/com/mailslurp/models/DownloadAttachmentDto.java create mode 100644 src/main/java/com/mailslurp/models/Email.java create mode 100644 src/main/java/com/mailslurp/models/EmailAnalysis.java create mode 100644 src/main/java/com/mailslurp/models/EmailContentMatchResult.java create mode 100644 src/main/java/com/mailslurp/models/EmailHtmlDto.java create mode 100644 src/main/java/com/mailslurp/models/EmailLinksResult.java create mode 100644 src/main/java/com/mailslurp/models/EmailPreview.java create mode 100644 src/main/java/com/mailslurp/models/EmailPreviewUrls.java create mode 100644 src/main/java/com/mailslurp/models/EmailProjection.java create mode 100644 src/main/java/com/mailslurp/models/EmailRecipients.java create mode 100644 src/main/java/com/mailslurp/models/EmailTextLinesResult.java create mode 100644 src/main/java/com/mailslurp/models/EmailValidationRequestDto.java create mode 100644 src/main/java/com/mailslurp/models/EmailVerificationResult.java create mode 100644 src/main/java/com/mailslurp/models/EmergencyAddress.java create mode 100644 src/main/java/com/mailslurp/models/EmergencyAddressDto.java create mode 100644 src/main/java/com/mailslurp/models/EmptyResponseDto.java create mode 100644 src/main/java/com/mailslurp/models/ExpirationDefaults.java create mode 100644 src/main/java/com/mailslurp/models/ExpiredInboxDto.java create mode 100644 src/main/java/com/mailslurp/models/ExpiredInboxRecordProjection.java create mode 100644 src/main/java/com/mailslurp/models/ExportLink.java create mode 100644 src/main/java/com/mailslurp/models/ExportOptions.java create mode 100644 src/main/java/com/mailslurp/models/FilterBouncedRecipientsOptions.java create mode 100644 src/main/java/com/mailslurp/models/FilterBouncedRecipientsResult.java create mode 100644 src/main/java/com/mailslurp/models/FlushExpiredInboxesResult.java create mode 100644 src/main/java/com/mailslurp/models/ForwardEmailOptions.java create mode 100644 src/main/java/com/mailslurp/models/GravatarUrl.java create mode 100644 src/main/java/com/mailslurp/models/GroupContactsDto.java create mode 100644 src/main/java/com/mailslurp/models/GroupDto.java create mode 100644 src/main/java/com/mailslurp/models/GroupProjection.java create mode 100644 src/main/java/com/mailslurp/models/HTMLValidationResult.java create mode 100644 src/main/java/com/mailslurp/models/IPAddressResult.java create mode 100644 src/main/java/com/mailslurp/models/ImapFlagOperationOptions.java create mode 100644 src/main/java/com/mailslurp/models/ImapSmtpAccessDetails.java create mode 100644 src/main/java/com/mailslurp/models/InboxByEmailAddressResult.java create mode 100644 src/main/java/com/mailslurp/models/InboxByNameResult.java create mode 100644 src/main/java/com/mailslurp/models/InboxDto.java create mode 100644 src/main/java/com/mailslurp/models/InboxExistsDto.java create mode 100644 src/main/java/com/mailslurp/models/InboxForwarderDto.java create mode 100644 src/main/java/com/mailslurp/models/InboxForwarderEventProjection.java create mode 100644 src/main/java/com/mailslurp/models/InboxForwarderTestOptions.java create mode 100644 src/main/java/com/mailslurp/models/InboxForwarderTestResult.java create mode 100644 src/main/java/com/mailslurp/models/InboxIdItem.java create mode 100644 src/main/java/com/mailslurp/models/InboxIdsResult.java create mode 100644 src/main/java/com/mailslurp/models/InboxPreview.java create mode 100644 src/main/java/com/mailslurp/models/InboxReplierDto.java create mode 100644 src/main/java/com/mailslurp/models/InboxReplierEventProjection.java create mode 100644 src/main/java/com/mailslurp/models/InboxRulesetDto.java create mode 100644 src/main/java/com/mailslurp/models/InboxRulesetTestOptions.java create mode 100644 src/main/java/com/mailslurp/models/InboxRulesetTestResult.java create mode 100644 src/main/java/com/mailslurp/models/JSONSchemaDto.java create mode 100644 src/main/java/com/mailslurp/models/ListUnsubscribeRecipientProjection.java create mode 100644 src/main/java/com/mailslurp/models/MatchOption.java create mode 100644 src/main/java/com/mailslurp/models/MatchOptions.java create mode 100644 src/main/java/com/mailslurp/models/MissedEmailDto.java create mode 100644 src/main/java/com/mailslurp/models/MissedEmailProjection.java create mode 100644 src/main/java/com/mailslurp/models/NameServerRecord.java create mode 100644 src/main/java/com/mailslurp/models/OrganizationInboxProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageAlias.java create mode 100644 src/main/java/com/mailslurp/models/PageAttachmentEntity.java create mode 100644 src/main/java/com/mailslurp/models/PageBouncedEmail.java create mode 100644 src/main/java/com/mailslurp/models/PageBouncedRecipients.java create mode 100644 src/main/java/com/mailslurp/models/PageComplaint.java create mode 100644 src/main/java/com/mailslurp/models/PageConnector.java create mode 100644 src/main/java/com/mailslurp/models/PageConnectorSyncEvents.java create mode 100644 src/main/java/com/mailslurp/models/PageContactProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageDeliveryStatus.java create mode 100644 src/main/java/com/mailslurp/models/PageEmailPreview.java create mode 100644 src/main/java/com/mailslurp/models/PageEmailProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageEmailValidationRequest.java create mode 100644 src/main/java/com/mailslurp/models/PageExpiredInboxRecordProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageGroupProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageInboxForwarderDto.java create mode 100644 src/main/java/com/mailslurp/models/PageInboxForwarderEvents.java create mode 100644 src/main/java/com/mailslurp/models/PageInboxProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageInboxReplierDto.java create mode 100644 src/main/java/com/mailslurp/models/PageInboxReplierEvents.java create mode 100644 src/main/java/com/mailslurp/models/PageInboxRulesetDto.java create mode 100644 src/main/java/com/mailslurp/models/PageListUnsubscribeRecipients.java create mode 100644 src/main/java/com/mailslurp/models/PageMissedEmailProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageOrganizationInboxProjection.java create mode 100644 src/main/java/com/mailslurp/models/PagePhoneNumberProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageScheduledJobs.java create mode 100644 src/main/java/com/mailslurp/models/PageSentEmailProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageSentEmailWithQueueProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageSmsProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageTemplateProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageThreadProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageTrackingPixelProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageUnknownMissedEmailProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageWebhookProjection.java create mode 100644 src/main/java/com/mailslurp/models/PageWebhookResult.java create mode 100644 src/main/java/com/mailslurp/models/PageableObject.java create mode 100644 src/main/java/com/mailslurp/models/PhoneNumberDto.java create mode 100644 src/main/java/com/mailslurp/models/PhoneNumberProjection.java create mode 100644 src/main/java/com/mailslurp/models/PhonePlanDto.java create mode 100644 src/main/java/com/mailslurp/models/RawEmailJson.java create mode 100644 src/main/java/com/mailslurp/models/Recipient.java create mode 100644 src/main/java/com/mailslurp/models/ReplyToAliasEmailOptions.java create mode 100644 src/main/java/com/mailslurp/models/ReplyToEmailOptions.java create mode 100644 src/main/java/com/mailslurp/models/ScheduledJob.java create mode 100644 src/main/java/com/mailslurp/models/ScheduledJobDto.java create mode 100644 src/main/java/com/mailslurp/models/SendEmailOptions.java create mode 100644 src/main/java/com/mailslurp/models/SendSMTPEnvelopeOptions.java create mode 100644 src/main/java/com/mailslurp/models/SendWithQueueResult.java create mode 100644 src/main/java/com/mailslurp/models/Sender.java create mode 100644 src/main/java/com/mailslurp/models/SentEmailDto.java create mode 100644 src/main/java/com/mailslurp/models/SentEmailProjection.java create mode 100644 src/main/java/com/mailslurp/models/SetInboxFavouritedOptions.java create mode 100644 src/main/java/com/mailslurp/models/SimpleSendEmailOptions.java create mode 100644 src/main/java/com/mailslurp/models/SmsDto.java create mode 100644 src/main/java/com/mailslurp/models/SmsMatchOption.java create mode 100644 src/main/java/com/mailslurp/models/SmsPreview.java create mode 100644 src/main/java/com/mailslurp/models/SmsProjection.java create mode 100644 src/main/java/com/mailslurp/models/Sort.java create mode 100644 src/main/java/com/mailslurp/models/TemplateDto.java create mode 100644 src/main/java/com/mailslurp/models/TemplatePreview.java create mode 100644 src/main/java/com/mailslurp/models/TemplateProjection.java create mode 100644 src/main/java/com/mailslurp/models/TemplateVariable.java create mode 100644 src/main/java/com/mailslurp/models/TestNewInboxForwarderOptions.java create mode 100644 src/main/java/com/mailslurp/models/TestNewInboxRulesetOptions.java create mode 100644 src/main/java/com/mailslurp/models/TestPhoneNumberOptions.java create mode 100644 src/main/java/com/mailslurp/models/ThreadProjection.java create mode 100644 src/main/java/com/mailslurp/models/TrackingPixelDto.java create mode 100644 src/main/java/com/mailslurp/models/TrackingPixelProjection.java create mode 100644 src/main/java/com/mailslurp/models/UnknownMissedEmailProjection.java create mode 100644 src/main/java/com/mailslurp/models/UnreadCount.java create mode 100644 src/main/java/com/mailslurp/models/UnseenErrorCountDto.java create mode 100644 src/main/java/com/mailslurp/models/UpdateAliasOptions.java create mode 100644 src/main/java/com/mailslurp/models/UpdateDomainOptions.java create mode 100644 src/main/java/com/mailslurp/models/UpdateGroupContacts.java create mode 100644 src/main/java/com/mailslurp/models/UpdateInboxOptions.java create mode 100644 src/main/java/com/mailslurp/models/UpdateInboxReplierOptions.java create mode 100644 src/main/java/com/mailslurp/models/UploadAttachmentBytesRequest.java create mode 100644 src/main/java/com/mailslurp/models/UploadAttachmentOptions.java create mode 100644 src/main/java/com/mailslurp/models/UploadMultipartFormRequest.java create mode 100644 src/main/java/com/mailslurp/models/UserInfoDto.java create mode 100644 src/main/java/com/mailslurp/models/ValidateEmailAddressListOptions.java create mode 100644 src/main/java/com/mailslurp/models/ValidateEmailAddressListResult.java create mode 100644 src/main/java/com/mailslurp/models/ValidationDto.java create mode 100644 src/main/java/com/mailslurp/models/ValidationMessage.java create mode 100644 src/main/java/com/mailslurp/models/VerifyEmailAddressOptions.java create mode 100644 src/main/java/com/mailslurp/models/VerifyWebhookSignatureOptions.java create mode 100644 src/main/java/com/mailslurp/models/VerifyWebhookSignatureResults.java create mode 100644 src/main/java/com/mailslurp/models/WaitForConditions.java create mode 100644 src/main/java/com/mailslurp/models/WaitForSingleSmsOptions.java create mode 100644 src/main/java/com/mailslurp/models/WaitForSmsConditions.java create mode 100644 src/main/java/com/mailslurp/models/WebhookBouncePayload.java create mode 100644 src/main/java/com/mailslurp/models/WebhookBounceRecipientPayload.java create mode 100644 src/main/java/com/mailslurp/models/WebhookDeliveryStatusPayload.java create mode 100644 src/main/java/com/mailslurp/models/WebhookDto.java create mode 100644 src/main/java/com/mailslurp/models/WebhookEmailOpenedPayload.java create mode 100644 src/main/java/com/mailslurp/models/WebhookEmailReadPayload.java create mode 100644 src/main/java/com/mailslurp/models/WebhookHeaderNameValue.java create mode 100644 src/main/java/com/mailslurp/models/WebhookHeaders.java create mode 100644 src/main/java/com/mailslurp/models/WebhookNewAttachmentPayload.java create mode 100644 src/main/java/com/mailslurp/models/WebhookNewContactPayload.java create mode 100644 src/main/java/com/mailslurp/models/WebhookNewEmailPayload.java create mode 100644 src/main/java/com/mailslurp/models/WebhookNewSmsPayload.java create mode 100644 src/main/java/com/mailslurp/models/WebhookProjection.java create mode 100644 src/main/java/com/mailslurp/models/WebhookRedriveResult.java create mode 100644 src/main/java/com/mailslurp/models/WebhookResultDto.java create mode 100644 src/main/java/com/mailslurp/models/WebhookTestRequest.java create mode 100644 src/main/java/com/mailslurp/models/WebhookTestResponse.java create mode 100644 src/main/java/com/mailslurp/models/WebhookTestResult.java create mode 100644 src/test/java/com/mailslurp/apis/AliasControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/AttachmentControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/BounceControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/BulkActionsControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/CommonActionsControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/ConnectorControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/ContactControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/DomainControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/EmailControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/EmailVerificationControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/ExpiredControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/ExportControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/FormControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/GroupControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/InboxControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/InboxForwarderControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/InboxReplierControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/InboxRulesetControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/MailServerControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/MissedEmailControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/PhoneControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/SentEmailsControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/SmsControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/TemplateControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/TrackingControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/UserControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/WaitForControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/apis/WebhookControllerApiTest.java create mode 100644 src/test/java/com/mailslurp/models/AbstractWebhookPayloadTest.java create mode 100644 src/test/java/com/mailslurp/models/AliasDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/AliasProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/AttachmentEntityTest.java create mode 100644 src/test/java/com/mailslurp/models/AttachmentMetaDataTest.java create mode 100644 src/test/java/com/mailslurp/models/AttachmentProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/BasicAuthOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/BounceProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/BounceRecipientProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/BouncedEmailDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/BouncedRecipientDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/BulkSendEmailOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/ComplaintTest.java create mode 100644 src/test/java/com/mailslurp/models/ConditionOptionTest.java create mode 100644 src/test/java/com/mailslurp/models/ConnectorDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/ConnectorProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/ConnectorSyncEventDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/ConnectorSyncEventProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInnerTest.java create mode 100644 src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInnerTest.java create mode 100644 src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseTest.java create mode 100644 src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionTest.java create mode 100644 src/test/java/com/mailslurp/models/ConnectorSyncRequestResultTest.java create mode 100644 src/test/java/com/mailslurp/models/ConnectorSyncResultTest.java create mode 100644 src/test/java/com/mailslurp/models/ContactDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/ContactProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/ContentMatchOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CountDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateAliasOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateConnectorImapOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateConnectorOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateContactOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateDomainOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateEmergencyAddressOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateGroupOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateInboxDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateInboxForwarderOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateInboxReplierOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateInboxRulesetOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateTemplateOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateTrackingPixelOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/CreateWebhookOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/DNSLookupOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/DNSLookupResultTest.java create mode 100644 src/test/java/com/mailslurp/models/DNSLookupResultsTest.java create mode 100644 src/test/java/com/mailslurp/models/DeliveryStatusDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/DescribeDomainOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/DescribeMailServerDomainResultTest.java create mode 100644 src/test/java/com/mailslurp/models/DomainDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/DomainIssuesDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/DomainNameRecordTest.java create mode 100644 src/test/java/com/mailslurp/models/DomainPreviewTest.java create mode 100644 src/test/java/com/mailslurp/models/DownloadAttachmentDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailAnalysisTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailContentMatchResultTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailHtmlDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailLinksResultTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailPreviewTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailPreviewUrlsTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailRecipientsTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailTextLinesResultTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailValidationRequestDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/EmailVerificationResultTest.java create mode 100644 src/test/java/com/mailslurp/models/EmergencyAddressDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/EmergencyAddressTest.java create mode 100644 src/test/java/com/mailslurp/models/EmptyResponseDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/ExpirationDefaultsTest.java create mode 100644 src/test/java/com/mailslurp/models/ExpiredInboxDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/ExpiredInboxRecordProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/ExportLinkTest.java create mode 100644 src/test/java/com/mailslurp/models/ExportOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/FilterBouncedRecipientsOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/FilterBouncedRecipientsResultTest.java create mode 100644 src/test/java/com/mailslurp/models/FlushExpiredInboxesResultTest.java create mode 100644 src/test/java/com/mailslurp/models/ForwardEmailOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/GravatarUrlTest.java create mode 100644 src/test/java/com/mailslurp/models/GroupContactsDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/GroupDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/GroupProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/HTMLValidationResultTest.java create mode 100644 src/test/java/com/mailslurp/models/IPAddressResultTest.java create mode 100644 src/test/java/com/mailslurp/models/ImapFlagOperationOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/ImapSmtpAccessDetailsTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxByEmailAddressResultTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxByNameResultTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxExistsDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxForwarderDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxForwarderEventProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxForwarderTestOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxForwarderTestResultTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxIdItemTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxIdsResultTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxPreviewTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxReplierDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxReplierEventProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxRulesetDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxRulesetTestOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/InboxRulesetTestResultTest.java create mode 100644 src/test/java/com/mailslurp/models/JSONSchemaDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/ListUnsubscribeRecipientProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/MatchOptionTest.java create mode 100644 src/test/java/com/mailslurp/models/MatchOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/MissedEmailDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/MissedEmailProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/NameServerRecordTest.java create mode 100644 src/test/java/com/mailslurp/models/OrganizationInboxProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageAliasTest.java create mode 100644 src/test/java/com/mailslurp/models/PageAttachmentEntityTest.java create mode 100644 src/test/java/com/mailslurp/models/PageBouncedEmailTest.java create mode 100644 src/test/java/com/mailslurp/models/PageBouncedRecipientsTest.java create mode 100644 src/test/java/com/mailslurp/models/PageComplaintTest.java create mode 100644 src/test/java/com/mailslurp/models/PageConnectorSyncEventsTest.java create mode 100644 src/test/java/com/mailslurp/models/PageConnectorTest.java create mode 100644 src/test/java/com/mailslurp/models/PageContactProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageDeliveryStatusTest.java create mode 100644 src/test/java/com/mailslurp/models/PageEmailPreviewTest.java create mode 100644 src/test/java/com/mailslurp/models/PageEmailProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageEmailValidationRequestTest.java create mode 100644 src/test/java/com/mailslurp/models/PageExpiredInboxRecordProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageGroupProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageInboxForwarderDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/PageInboxForwarderEventsTest.java create mode 100644 src/test/java/com/mailslurp/models/PageInboxProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageInboxReplierDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/PageInboxReplierEventsTest.java create mode 100644 src/test/java/com/mailslurp/models/PageInboxRulesetDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/PageListUnsubscribeRecipientsTest.java create mode 100644 src/test/java/com/mailslurp/models/PageMissedEmailProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageOrganizationInboxProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PagePhoneNumberProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageScheduledJobsTest.java create mode 100644 src/test/java/com/mailslurp/models/PageSentEmailProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageSentEmailWithQueueProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageSmsProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageTemplateProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageThreadProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageTrackingPixelProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageUnknownMissedEmailProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageWebhookProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PageWebhookResultTest.java create mode 100644 src/test/java/com/mailslurp/models/PageableObjectTest.java create mode 100644 src/test/java/com/mailslurp/models/PhoneNumberDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/PhoneNumberProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/PhonePlanDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/RawEmailJsonTest.java create mode 100644 src/test/java/com/mailslurp/models/RecipientTest.java create mode 100644 src/test/java/com/mailslurp/models/ReplyToAliasEmailOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/ReplyToEmailOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/ScheduledJobDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/ScheduledJobTest.java create mode 100644 src/test/java/com/mailslurp/models/SendEmailOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/SendSMTPEnvelopeOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/SendWithQueueResultTest.java create mode 100644 src/test/java/com/mailslurp/models/SenderTest.java create mode 100644 src/test/java/com/mailslurp/models/SentEmailDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/SentEmailProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/SetInboxFavouritedOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/SimpleSendEmailOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/SmsDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/SmsMatchOptionTest.java create mode 100644 src/test/java/com/mailslurp/models/SmsPreviewTest.java create mode 100644 src/test/java/com/mailslurp/models/SmsProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/SortTest.java create mode 100644 src/test/java/com/mailslurp/models/TemplateDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/TemplatePreviewTest.java create mode 100644 src/test/java/com/mailslurp/models/TemplateProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/TemplateVariableTest.java create mode 100644 src/test/java/com/mailslurp/models/TestNewInboxForwarderOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/TestNewInboxRulesetOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/TestPhoneNumberOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/ThreadProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/TrackingPixelDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/TrackingPixelProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/UnknownMissedEmailProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/UnreadCountTest.java create mode 100644 src/test/java/com/mailslurp/models/UnseenErrorCountDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/UpdateAliasOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/UpdateDomainOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/UpdateGroupContactsTest.java create mode 100644 src/test/java/com/mailslurp/models/UpdateInboxOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/UpdateInboxReplierOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/UploadAttachmentBytesRequestTest.java create mode 100644 src/test/java/com/mailslurp/models/UploadAttachmentOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/UploadMultipartFormRequestTest.java create mode 100644 src/test/java/com/mailslurp/models/UserInfoDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/ValidateEmailAddressListOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/ValidateEmailAddressListResultTest.java create mode 100644 src/test/java/com/mailslurp/models/ValidationDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/ValidationMessageTest.java create mode 100644 src/test/java/com/mailslurp/models/VerifyEmailAddressOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/VerifyWebhookSignatureOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/VerifyWebhookSignatureResultsTest.java create mode 100644 src/test/java/com/mailslurp/models/WaitForConditionsTest.java create mode 100644 src/test/java/com/mailslurp/models/WaitForSingleSmsOptionsTest.java create mode 100644 src/test/java/com/mailslurp/models/WaitForSmsConditionsTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookBouncePayloadTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookBounceRecipientPayloadTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookDeliveryStatusPayloadTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookEmailOpenedPayloadTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookEmailReadPayloadTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookHeaderNameValueTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookHeadersTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookNewAttachmentPayloadTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookNewContactPayloadTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookNewEmailPayloadTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookNewSmsPayloadTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookProjectionTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookRedriveResultTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookResultDtoTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookTestRequestTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookTestResponseTest.java create mode 100644 src/test/java/com/mailslurp/models/WebhookTestResultTest.java diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..44ce05d84 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,43 @@ + +# Simple workflow for deploying static content to GitHub Pages +name: sdk_deploy_pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["master"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment +concurrency: + group: "pages" + cancel-in-progress: true + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v1 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + # Upload entire repository + path: 'site' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 000000000..bd4b37d4d --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,30 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven +# +# This file is auto-generated by OpenAPI Generator (https://openapi-generator.tech) + +name: Java CI with Maven + +on: + push: + branches: [ main, master ] + pull_request: + branches: [ main, master ] + +jobs: + build: + name: Build MailSlurp API + runs-on: ubuntu-latest + strategy: + matrix: + java: [ '8' ] + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v2 + with: + java-version: ${{ matrix.java }} + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --no-transfer-progress --file pom.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..a530464af --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +*.class + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.ear + +# exclude jar for gradle wrapper +!gradle/wrapper/*.jar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# build files +**/target +target +.gradle +build diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore new file mode 100644 index 000000000..7484ee590 --- /dev/null +++ b/.openapi-generator-ignore @@ -0,0 +1,23 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES new file mode 100644 index 000000000..ea809dec6 --- /dev/null +++ b/.openapi-generator/FILES @@ -0,0 +1,767 @@ +.github/workflows/maven.yml +.gitignore +.openapi-generator-ignore +.travis.yml +README.md +api/openapi.yaml +build.gradle +build.sbt +docs/AbstractWebhookPayload.md +docs/AliasControllerApi.md +docs/AliasDto.md +docs/AliasProjection.md +docs/AttachmentControllerApi.md +docs/AttachmentEntity.md +docs/AttachmentMetaData.md +docs/AttachmentProjection.md +docs/BasicAuthOptions.md +docs/BounceControllerApi.md +docs/BounceProjection.md +docs/BounceRecipientProjection.md +docs/BouncedEmailDto.md +docs/BouncedRecipientDto.md +docs/BulkActionsControllerApi.md +docs/BulkSendEmailOptions.md +docs/CommonActionsControllerApi.md +docs/Complaint.md +docs/ConditionOption.md +docs/ConnectorControllerApi.md +docs/ConnectorDto.md +docs/ConnectorProjection.md +docs/ConnectorSyncEventDto.md +docs/ConnectorSyncEventProjection.md +docs/ConnectorSyncRequestResult.md +docs/ConnectorSyncRequestResultException.md +docs/ConnectorSyncRequestResultExceptionCause.md +docs/ConnectorSyncRequestResultExceptionCauseStackTraceInner.md +docs/ConnectorSyncRequestResultExceptionCauseSuppressedInner.md +docs/ConnectorSyncResult.md +docs/ContactControllerApi.md +docs/ContactDto.md +docs/ContactProjection.md +docs/ContentMatchOptions.md +docs/CountDto.md +docs/CreateAliasOptions.md +docs/CreateConnectorImapOptions.md +docs/CreateConnectorOptions.md +docs/CreateContactOptions.md +docs/CreateDomainOptions.md +docs/CreateEmergencyAddressOptions.md +docs/CreateGroupOptions.md +docs/CreateInboxDto.md +docs/CreateInboxForwarderOptions.md +docs/CreateInboxReplierOptions.md +docs/CreateInboxRulesetOptions.md +docs/CreateTemplateOptions.md +docs/CreateTrackingPixelOptions.md +docs/CreateWebhookOptions.md +docs/DNSLookupOptions.md +docs/DNSLookupResult.md +docs/DNSLookupResults.md +docs/DeliveryStatusDto.md +docs/DescribeDomainOptions.md +docs/DescribeMailServerDomainResult.md +docs/DomainControllerApi.md +docs/DomainDto.md +docs/DomainIssuesDto.md +docs/DomainNameRecord.md +docs/DomainPreview.md +docs/DownloadAttachmentDto.md +docs/Email.md +docs/EmailAnalysis.md +docs/EmailContentMatchResult.md +docs/EmailControllerApi.md +docs/EmailHtmlDto.md +docs/EmailLinksResult.md +docs/EmailPreview.md +docs/EmailPreviewUrls.md +docs/EmailProjection.md +docs/EmailRecipients.md +docs/EmailTextLinesResult.md +docs/EmailValidationRequestDto.md +docs/EmailVerificationControllerApi.md +docs/EmailVerificationResult.md +docs/EmergencyAddress.md +docs/EmergencyAddressDto.md +docs/EmptyResponseDto.md +docs/ExpirationDefaults.md +docs/ExpiredControllerApi.md +docs/ExpiredInboxDto.md +docs/ExpiredInboxRecordProjection.md +docs/ExportControllerApi.md +docs/ExportLink.md +docs/ExportOptions.md +docs/FilterBouncedRecipientsOptions.md +docs/FilterBouncedRecipientsResult.md +docs/FlushExpiredInboxesResult.md +docs/FormControllerApi.md +docs/ForwardEmailOptions.md +docs/GravatarUrl.md +docs/GroupContactsDto.md +docs/GroupControllerApi.md +docs/GroupDto.md +docs/GroupProjection.md +docs/HTMLValidationResult.md +docs/IPAddressResult.md +docs/ImapFlagOperationOptions.md +docs/ImapSmtpAccessDetails.md +docs/InboxByEmailAddressResult.md +docs/InboxByNameResult.md +docs/InboxControllerApi.md +docs/InboxDto.md +docs/InboxExistsDto.md +docs/InboxForwarderControllerApi.md +docs/InboxForwarderDto.md +docs/InboxForwarderEventProjection.md +docs/InboxForwarderTestOptions.md +docs/InboxForwarderTestResult.md +docs/InboxIdItem.md +docs/InboxIdsResult.md +docs/InboxPreview.md +docs/InboxReplierControllerApi.md +docs/InboxReplierDto.md +docs/InboxReplierEventProjection.md +docs/InboxRulesetControllerApi.md +docs/InboxRulesetDto.md +docs/InboxRulesetTestOptions.md +docs/InboxRulesetTestResult.md +docs/JSONSchemaDto.md +docs/ListUnsubscribeRecipientProjection.md +docs/MailServerControllerApi.md +docs/MatchOption.md +docs/MatchOptions.md +docs/MissedEmailControllerApi.md +docs/MissedEmailDto.md +docs/MissedEmailProjection.md +docs/NameServerRecord.md +docs/OrganizationInboxProjection.md +docs/PageAlias.md +docs/PageAttachmentEntity.md +docs/PageBouncedEmail.md +docs/PageBouncedRecipients.md +docs/PageComplaint.md +docs/PageConnector.md +docs/PageConnectorSyncEvents.md +docs/PageContactProjection.md +docs/PageDeliveryStatus.md +docs/PageEmailPreview.md +docs/PageEmailProjection.md +docs/PageEmailValidationRequest.md +docs/PageExpiredInboxRecordProjection.md +docs/PageGroupProjection.md +docs/PageInboxForwarderDto.md +docs/PageInboxForwarderEvents.md +docs/PageInboxProjection.md +docs/PageInboxReplierDto.md +docs/PageInboxReplierEvents.md +docs/PageInboxRulesetDto.md +docs/PageListUnsubscribeRecipients.md +docs/PageMissedEmailProjection.md +docs/PageOrganizationInboxProjection.md +docs/PagePhoneNumberProjection.md +docs/PageScheduledJobs.md +docs/PageSentEmailProjection.md +docs/PageSentEmailWithQueueProjection.md +docs/PageSmsProjection.md +docs/PageTemplateProjection.md +docs/PageThreadProjection.md +docs/PageTrackingPixelProjection.md +docs/PageUnknownMissedEmailProjection.md +docs/PageWebhookProjection.md +docs/PageWebhookResult.md +docs/PageableObject.md +docs/PhoneControllerApi.md +docs/PhoneNumberDto.md +docs/PhoneNumberProjection.md +docs/PhonePlanDto.md +docs/RawEmailJson.md +docs/Recipient.md +docs/ReplyToAliasEmailOptions.md +docs/ReplyToEmailOptions.md +docs/ScheduledJob.md +docs/ScheduledJobDto.md +docs/SendEmailOptions.md +docs/SendSMTPEnvelopeOptions.md +docs/SendWithQueueResult.md +docs/Sender.md +docs/SentEmailDto.md +docs/SentEmailProjection.md +docs/SentEmailsControllerApi.md +docs/SetInboxFavouritedOptions.md +docs/SimpleSendEmailOptions.md +docs/SmsControllerApi.md +docs/SmsDto.md +docs/SmsMatchOption.md +docs/SmsPreview.md +docs/SmsProjection.md +docs/Sort.md +docs/TemplateControllerApi.md +docs/TemplateDto.md +docs/TemplatePreview.md +docs/TemplateProjection.md +docs/TemplateVariable.md +docs/TestNewInboxForwarderOptions.md +docs/TestNewInboxRulesetOptions.md +docs/TestPhoneNumberOptions.md +docs/ThreadProjection.md +docs/TrackingControllerApi.md +docs/TrackingPixelDto.md +docs/TrackingPixelProjection.md +docs/UnknownMissedEmailProjection.md +docs/UnreadCount.md +docs/UnseenErrorCountDto.md +docs/UpdateAliasOptions.md +docs/UpdateDomainOptions.md +docs/UpdateGroupContacts.md +docs/UpdateInboxOptions.md +docs/UpdateInboxReplierOptions.md +docs/UploadAttachmentBytesRequest.md +docs/UploadAttachmentOptions.md +docs/UploadMultipartFormRequest.md +docs/UserControllerApi.md +docs/UserInfoDto.md +docs/ValidateEmailAddressListOptions.md +docs/ValidateEmailAddressListResult.md +docs/ValidationDto.md +docs/ValidationMessage.md +docs/VerifyEmailAddressOptions.md +docs/VerifyWebhookSignatureOptions.md +docs/VerifyWebhookSignatureResults.md +docs/WaitForConditions.md +docs/WaitForControllerApi.md +docs/WaitForSingleSmsOptions.md +docs/WaitForSmsConditions.md +docs/WebhookBouncePayload.md +docs/WebhookBounceRecipientPayload.md +docs/WebhookControllerApi.md +docs/WebhookDeliveryStatusPayload.md +docs/WebhookDto.md +docs/WebhookEmailOpenedPayload.md +docs/WebhookEmailReadPayload.md +docs/WebhookHeaderNameValue.md +docs/WebhookHeaders.md +docs/WebhookNewAttachmentPayload.md +docs/WebhookNewContactPayload.md +docs/WebhookNewEmailPayload.md +docs/WebhookNewSmsPayload.md +docs/WebhookProjection.md +docs/WebhookRedriveResult.md +docs/WebhookResultDto.md +docs/WebhookTestRequest.md +docs/WebhookTestResponse.md +docs/WebhookTestResult.md +git_push.sh +gradle.properties +gradle/wrapper/gradle-wrapper.jar +gradle/wrapper/gradle-wrapper.properties +gradlew +gradlew.bat +pom.xml +settings.gradle +src/main/AndroidManifest.xml +src/main/java/com/mailslurp/apis/AliasControllerApi.java +src/main/java/com/mailslurp/apis/AttachmentControllerApi.java +src/main/java/com/mailslurp/apis/BounceControllerApi.java +src/main/java/com/mailslurp/apis/BulkActionsControllerApi.java +src/main/java/com/mailslurp/apis/CommonActionsControllerApi.java +src/main/java/com/mailslurp/apis/ConnectorControllerApi.java +src/main/java/com/mailslurp/apis/ContactControllerApi.java +src/main/java/com/mailslurp/apis/DomainControllerApi.java +src/main/java/com/mailslurp/apis/EmailControllerApi.java +src/main/java/com/mailslurp/apis/EmailVerificationControllerApi.java +src/main/java/com/mailslurp/apis/ExpiredControllerApi.java +src/main/java/com/mailslurp/apis/ExportControllerApi.java +src/main/java/com/mailslurp/apis/FormControllerApi.java +src/main/java/com/mailslurp/apis/GroupControllerApi.java +src/main/java/com/mailslurp/apis/InboxControllerApi.java +src/main/java/com/mailslurp/apis/InboxForwarderControllerApi.java +src/main/java/com/mailslurp/apis/InboxReplierControllerApi.java +src/main/java/com/mailslurp/apis/InboxRulesetControllerApi.java +src/main/java/com/mailslurp/apis/MailServerControllerApi.java +src/main/java/com/mailslurp/apis/MissedEmailControllerApi.java +src/main/java/com/mailslurp/apis/PhoneControllerApi.java +src/main/java/com/mailslurp/apis/SentEmailsControllerApi.java +src/main/java/com/mailslurp/apis/SmsControllerApi.java +src/main/java/com/mailslurp/apis/TemplateControllerApi.java +src/main/java/com/mailslurp/apis/TrackingControllerApi.java +src/main/java/com/mailslurp/apis/UserControllerApi.java +src/main/java/com/mailslurp/apis/WaitForControllerApi.java +src/main/java/com/mailslurp/apis/WebhookControllerApi.java +src/main/java/com/mailslurp/clients/ApiCallback.java +src/main/java/com/mailslurp/clients/ApiClient.java +src/main/java/com/mailslurp/clients/ApiException.java +src/main/java/com/mailslurp/clients/ApiResponse.java +src/main/java/com/mailslurp/clients/Configuration.java +src/main/java/com/mailslurp/clients/GzipRequestInterceptor.java +src/main/java/com/mailslurp/clients/JSON.java +src/main/java/com/mailslurp/clients/Pair.java +src/main/java/com/mailslurp/clients/ProgressRequestBody.java +src/main/java/com/mailslurp/clients/ProgressResponseBody.java +src/main/java/com/mailslurp/clients/ServerConfiguration.java +src/main/java/com/mailslurp/clients/ServerVariable.java +src/main/java/com/mailslurp/clients/StringUtil.java +src/main/java/com/mailslurp/clients/auth/ApiKeyAuth.java +src/main/java/com/mailslurp/clients/auth/Authentication.java +src/main/java/com/mailslurp/clients/auth/HttpBasicAuth.java +src/main/java/com/mailslurp/clients/auth/HttpBearerAuth.java +src/main/java/com/mailslurp/models/AbstractOpenApiSchema.java +src/main/java/com/mailslurp/models/AbstractWebhookPayload.java +src/main/java/com/mailslurp/models/AliasDto.java +src/main/java/com/mailslurp/models/AliasProjection.java +src/main/java/com/mailslurp/models/AttachmentEntity.java +src/main/java/com/mailslurp/models/AttachmentMetaData.java +src/main/java/com/mailslurp/models/AttachmentProjection.java +src/main/java/com/mailslurp/models/BasicAuthOptions.java +src/main/java/com/mailslurp/models/BounceProjection.java +src/main/java/com/mailslurp/models/BounceRecipientProjection.java +src/main/java/com/mailslurp/models/BouncedEmailDto.java +src/main/java/com/mailslurp/models/BouncedRecipientDto.java +src/main/java/com/mailslurp/models/BulkSendEmailOptions.java +src/main/java/com/mailslurp/models/Complaint.java +src/main/java/com/mailslurp/models/ConditionOption.java +src/main/java/com/mailslurp/models/ConnectorDto.java +src/main/java/com/mailslurp/models/ConnectorProjection.java +src/main/java/com/mailslurp/models/ConnectorSyncEventDto.java +src/main/java/com/mailslurp/models/ConnectorSyncEventProjection.java +src/main/java/com/mailslurp/models/ConnectorSyncRequestResult.java +src/main/java/com/mailslurp/models/ConnectorSyncRequestResultException.java +src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.java +src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.java +src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.java +src/main/java/com/mailslurp/models/ConnectorSyncResult.java +src/main/java/com/mailslurp/models/ContactDto.java +src/main/java/com/mailslurp/models/ContactProjection.java +src/main/java/com/mailslurp/models/ContentMatchOptions.java +src/main/java/com/mailslurp/models/CountDto.java +src/main/java/com/mailslurp/models/CreateAliasOptions.java +src/main/java/com/mailslurp/models/CreateConnectorImapOptions.java +src/main/java/com/mailslurp/models/CreateConnectorOptions.java +src/main/java/com/mailslurp/models/CreateContactOptions.java +src/main/java/com/mailslurp/models/CreateDomainOptions.java +src/main/java/com/mailslurp/models/CreateEmergencyAddressOptions.java +src/main/java/com/mailslurp/models/CreateGroupOptions.java +src/main/java/com/mailslurp/models/CreateInboxDto.java +src/main/java/com/mailslurp/models/CreateInboxForwarderOptions.java +src/main/java/com/mailslurp/models/CreateInboxReplierOptions.java +src/main/java/com/mailslurp/models/CreateInboxRulesetOptions.java +src/main/java/com/mailslurp/models/CreateTemplateOptions.java +src/main/java/com/mailslurp/models/CreateTrackingPixelOptions.java +src/main/java/com/mailslurp/models/CreateWebhookOptions.java +src/main/java/com/mailslurp/models/DNSLookupOptions.java +src/main/java/com/mailslurp/models/DNSLookupResult.java +src/main/java/com/mailslurp/models/DNSLookupResults.java +src/main/java/com/mailslurp/models/DeliveryStatusDto.java +src/main/java/com/mailslurp/models/DescribeDomainOptions.java +src/main/java/com/mailslurp/models/DescribeMailServerDomainResult.java +src/main/java/com/mailslurp/models/DomainDto.java +src/main/java/com/mailslurp/models/DomainIssuesDto.java +src/main/java/com/mailslurp/models/DomainNameRecord.java +src/main/java/com/mailslurp/models/DomainPreview.java +src/main/java/com/mailslurp/models/DownloadAttachmentDto.java +src/main/java/com/mailslurp/models/Email.java +src/main/java/com/mailslurp/models/EmailAnalysis.java +src/main/java/com/mailslurp/models/EmailContentMatchResult.java +src/main/java/com/mailslurp/models/EmailHtmlDto.java +src/main/java/com/mailslurp/models/EmailLinksResult.java +src/main/java/com/mailslurp/models/EmailPreview.java +src/main/java/com/mailslurp/models/EmailPreviewUrls.java +src/main/java/com/mailslurp/models/EmailProjection.java +src/main/java/com/mailslurp/models/EmailRecipients.java +src/main/java/com/mailslurp/models/EmailTextLinesResult.java +src/main/java/com/mailslurp/models/EmailValidationRequestDto.java +src/main/java/com/mailslurp/models/EmailVerificationResult.java +src/main/java/com/mailslurp/models/EmergencyAddress.java +src/main/java/com/mailslurp/models/EmergencyAddressDto.java +src/main/java/com/mailslurp/models/EmptyResponseDto.java +src/main/java/com/mailslurp/models/ExpirationDefaults.java +src/main/java/com/mailslurp/models/ExpiredInboxDto.java +src/main/java/com/mailslurp/models/ExpiredInboxRecordProjection.java +src/main/java/com/mailslurp/models/ExportLink.java +src/main/java/com/mailslurp/models/ExportOptions.java +src/main/java/com/mailslurp/models/FilterBouncedRecipientsOptions.java +src/main/java/com/mailslurp/models/FilterBouncedRecipientsResult.java +src/main/java/com/mailslurp/models/FlushExpiredInboxesResult.java +src/main/java/com/mailslurp/models/ForwardEmailOptions.java +src/main/java/com/mailslurp/models/GravatarUrl.java +src/main/java/com/mailslurp/models/GroupContactsDto.java +src/main/java/com/mailslurp/models/GroupDto.java +src/main/java/com/mailslurp/models/GroupProjection.java +src/main/java/com/mailslurp/models/HTMLValidationResult.java +src/main/java/com/mailslurp/models/IPAddressResult.java +src/main/java/com/mailslurp/models/ImapFlagOperationOptions.java +src/main/java/com/mailslurp/models/ImapSmtpAccessDetails.java +src/main/java/com/mailslurp/models/InboxByEmailAddressResult.java +src/main/java/com/mailslurp/models/InboxByNameResult.java +src/main/java/com/mailslurp/models/InboxDto.java +src/main/java/com/mailslurp/models/InboxExistsDto.java +src/main/java/com/mailslurp/models/InboxForwarderDto.java +src/main/java/com/mailslurp/models/InboxForwarderEventProjection.java +src/main/java/com/mailslurp/models/InboxForwarderTestOptions.java +src/main/java/com/mailslurp/models/InboxForwarderTestResult.java +src/main/java/com/mailslurp/models/InboxIdItem.java +src/main/java/com/mailslurp/models/InboxIdsResult.java +src/main/java/com/mailslurp/models/InboxPreview.java +src/main/java/com/mailslurp/models/InboxReplierDto.java +src/main/java/com/mailslurp/models/InboxReplierEventProjection.java +src/main/java/com/mailslurp/models/InboxRulesetDto.java +src/main/java/com/mailslurp/models/InboxRulesetTestOptions.java +src/main/java/com/mailslurp/models/InboxRulesetTestResult.java +src/main/java/com/mailslurp/models/JSONSchemaDto.java +src/main/java/com/mailslurp/models/ListUnsubscribeRecipientProjection.java +src/main/java/com/mailslurp/models/MatchOption.java +src/main/java/com/mailslurp/models/MatchOptions.java +src/main/java/com/mailslurp/models/MissedEmailDto.java +src/main/java/com/mailslurp/models/MissedEmailProjection.java +src/main/java/com/mailslurp/models/NameServerRecord.java +src/main/java/com/mailslurp/models/OrganizationInboxProjection.java +src/main/java/com/mailslurp/models/PageAlias.java +src/main/java/com/mailslurp/models/PageAttachmentEntity.java +src/main/java/com/mailslurp/models/PageBouncedEmail.java +src/main/java/com/mailslurp/models/PageBouncedRecipients.java +src/main/java/com/mailslurp/models/PageComplaint.java +src/main/java/com/mailslurp/models/PageConnector.java +src/main/java/com/mailslurp/models/PageConnectorSyncEvents.java +src/main/java/com/mailslurp/models/PageContactProjection.java +src/main/java/com/mailslurp/models/PageDeliveryStatus.java +src/main/java/com/mailslurp/models/PageEmailPreview.java +src/main/java/com/mailslurp/models/PageEmailProjection.java +src/main/java/com/mailslurp/models/PageEmailValidationRequest.java +src/main/java/com/mailslurp/models/PageExpiredInboxRecordProjection.java +src/main/java/com/mailslurp/models/PageGroupProjection.java +src/main/java/com/mailslurp/models/PageInboxForwarderDto.java +src/main/java/com/mailslurp/models/PageInboxForwarderEvents.java +src/main/java/com/mailslurp/models/PageInboxProjection.java +src/main/java/com/mailslurp/models/PageInboxReplierDto.java +src/main/java/com/mailslurp/models/PageInboxReplierEvents.java +src/main/java/com/mailslurp/models/PageInboxRulesetDto.java +src/main/java/com/mailslurp/models/PageListUnsubscribeRecipients.java +src/main/java/com/mailslurp/models/PageMissedEmailProjection.java +src/main/java/com/mailslurp/models/PageOrganizationInboxProjection.java +src/main/java/com/mailslurp/models/PagePhoneNumberProjection.java +src/main/java/com/mailslurp/models/PageScheduledJobs.java +src/main/java/com/mailslurp/models/PageSentEmailProjection.java +src/main/java/com/mailslurp/models/PageSentEmailWithQueueProjection.java +src/main/java/com/mailslurp/models/PageSmsProjection.java +src/main/java/com/mailslurp/models/PageTemplateProjection.java +src/main/java/com/mailslurp/models/PageThreadProjection.java +src/main/java/com/mailslurp/models/PageTrackingPixelProjection.java +src/main/java/com/mailslurp/models/PageUnknownMissedEmailProjection.java +src/main/java/com/mailslurp/models/PageWebhookProjection.java +src/main/java/com/mailslurp/models/PageWebhookResult.java +src/main/java/com/mailslurp/models/PageableObject.java +src/main/java/com/mailslurp/models/PhoneNumberDto.java +src/main/java/com/mailslurp/models/PhoneNumberProjection.java +src/main/java/com/mailslurp/models/PhonePlanDto.java +src/main/java/com/mailslurp/models/RawEmailJson.java +src/main/java/com/mailslurp/models/Recipient.java +src/main/java/com/mailslurp/models/ReplyToAliasEmailOptions.java +src/main/java/com/mailslurp/models/ReplyToEmailOptions.java +src/main/java/com/mailslurp/models/ScheduledJob.java +src/main/java/com/mailslurp/models/ScheduledJobDto.java +src/main/java/com/mailslurp/models/SendEmailOptions.java +src/main/java/com/mailslurp/models/SendSMTPEnvelopeOptions.java +src/main/java/com/mailslurp/models/SendWithQueueResult.java +src/main/java/com/mailslurp/models/Sender.java +src/main/java/com/mailslurp/models/SentEmailDto.java +src/main/java/com/mailslurp/models/SentEmailProjection.java +src/main/java/com/mailslurp/models/SetInboxFavouritedOptions.java +src/main/java/com/mailslurp/models/SimpleSendEmailOptions.java +src/main/java/com/mailslurp/models/SmsDto.java +src/main/java/com/mailslurp/models/SmsMatchOption.java +src/main/java/com/mailslurp/models/SmsPreview.java +src/main/java/com/mailslurp/models/SmsProjection.java +src/main/java/com/mailslurp/models/Sort.java +src/main/java/com/mailslurp/models/TemplateDto.java +src/main/java/com/mailslurp/models/TemplatePreview.java +src/main/java/com/mailslurp/models/TemplateProjection.java +src/main/java/com/mailslurp/models/TemplateVariable.java +src/main/java/com/mailslurp/models/TestNewInboxForwarderOptions.java +src/main/java/com/mailslurp/models/TestNewInboxRulesetOptions.java +src/main/java/com/mailslurp/models/TestPhoneNumberOptions.java +src/main/java/com/mailslurp/models/ThreadProjection.java +src/main/java/com/mailslurp/models/TrackingPixelDto.java +src/main/java/com/mailslurp/models/TrackingPixelProjection.java +src/main/java/com/mailslurp/models/UnknownMissedEmailProjection.java +src/main/java/com/mailslurp/models/UnreadCount.java +src/main/java/com/mailslurp/models/UnseenErrorCountDto.java +src/main/java/com/mailslurp/models/UpdateAliasOptions.java +src/main/java/com/mailslurp/models/UpdateDomainOptions.java +src/main/java/com/mailslurp/models/UpdateGroupContacts.java +src/main/java/com/mailslurp/models/UpdateInboxOptions.java +src/main/java/com/mailslurp/models/UpdateInboxReplierOptions.java +src/main/java/com/mailslurp/models/UploadAttachmentBytesRequest.java +src/main/java/com/mailslurp/models/UploadAttachmentOptions.java +src/main/java/com/mailslurp/models/UploadMultipartFormRequest.java +src/main/java/com/mailslurp/models/UserInfoDto.java +src/main/java/com/mailslurp/models/ValidateEmailAddressListOptions.java +src/main/java/com/mailslurp/models/ValidateEmailAddressListResult.java +src/main/java/com/mailslurp/models/ValidationDto.java +src/main/java/com/mailslurp/models/ValidationMessage.java +src/main/java/com/mailslurp/models/VerifyEmailAddressOptions.java +src/main/java/com/mailslurp/models/VerifyWebhookSignatureOptions.java +src/main/java/com/mailslurp/models/VerifyWebhookSignatureResults.java +src/main/java/com/mailslurp/models/WaitForConditions.java +src/main/java/com/mailslurp/models/WaitForSingleSmsOptions.java +src/main/java/com/mailslurp/models/WaitForSmsConditions.java +src/main/java/com/mailslurp/models/WebhookBouncePayload.java +src/main/java/com/mailslurp/models/WebhookBounceRecipientPayload.java +src/main/java/com/mailslurp/models/WebhookDeliveryStatusPayload.java +src/main/java/com/mailslurp/models/WebhookDto.java +src/main/java/com/mailslurp/models/WebhookEmailOpenedPayload.java +src/main/java/com/mailslurp/models/WebhookEmailReadPayload.java +src/main/java/com/mailslurp/models/WebhookHeaderNameValue.java +src/main/java/com/mailslurp/models/WebhookHeaders.java +src/main/java/com/mailslurp/models/WebhookNewAttachmentPayload.java +src/main/java/com/mailslurp/models/WebhookNewContactPayload.java +src/main/java/com/mailslurp/models/WebhookNewEmailPayload.java +src/main/java/com/mailslurp/models/WebhookNewSmsPayload.java +src/main/java/com/mailslurp/models/WebhookProjection.java +src/main/java/com/mailslurp/models/WebhookRedriveResult.java +src/main/java/com/mailslurp/models/WebhookResultDto.java +src/main/java/com/mailslurp/models/WebhookTestRequest.java +src/main/java/com/mailslurp/models/WebhookTestResponse.java +src/main/java/com/mailslurp/models/WebhookTestResult.java +src/test/java/com/mailslurp/apis/AliasControllerApiTest.java +src/test/java/com/mailslurp/apis/AttachmentControllerApiTest.java +src/test/java/com/mailslurp/apis/BounceControllerApiTest.java +src/test/java/com/mailslurp/apis/BulkActionsControllerApiTest.java +src/test/java/com/mailslurp/apis/CommonActionsControllerApiTest.java +src/test/java/com/mailslurp/apis/ConnectorControllerApiTest.java +src/test/java/com/mailslurp/apis/ContactControllerApiTest.java +src/test/java/com/mailslurp/apis/DomainControllerApiTest.java +src/test/java/com/mailslurp/apis/EmailControllerApiTest.java +src/test/java/com/mailslurp/apis/EmailVerificationControllerApiTest.java +src/test/java/com/mailslurp/apis/ExpiredControllerApiTest.java +src/test/java/com/mailslurp/apis/ExportControllerApiTest.java +src/test/java/com/mailslurp/apis/FormControllerApiTest.java +src/test/java/com/mailslurp/apis/GroupControllerApiTest.java +src/test/java/com/mailslurp/apis/InboxControllerApiTest.java +src/test/java/com/mailslurp/apis/InboxForwarderControllerApiTest.java +src/test/java/com/mailslurp/apis/InboxReplierControllerApiTest.java +src/test/java/com/mailslurp/apis/InboxRulesetControllerApiTest.java +src/test/java/com/mailslurp/apis/MailServerControllerApiTest.java +src/test/java/com/mailslurp/apis/MissedEmailControllerApiTest.java +src/test/java/com/mailslurp/apis/PhoneControllerApiTest.java +src/test/java/com/mailslurp/apis/SentEmailsControllerApiTest.java +src/test/java/com/mailslurp/apis/SmsControllerApiTest.java +src/test/java/com/mailslurp/apis/TemplateControllerApiTest.java +src/test/java/com/mailslurp/apis/TrackingControllerApiTest.java +src/test/java/com/mailslurp/apis/UserControllerApiTest.java +src/test/java/com/mailslurp/apis/WaitForControllerApiTest.java +src/test/java/com/mailslurp/apis/WebhookControllerApiTest.java +src/test/java/com/mailslurp/models/AbstractWebhookPayloadTest.java +src/test/java/com/mailslurp/models/AliasDtoTest.java +src/test/java/com/mailslurp/models/AliasProjectionTest.java +src/test/java/com/mailslurp/models/AttachmentEntityTest.java +src/test/java/com/mailslurp/models/AttachmentMetaDataTest.java +src/test/java/com/mailslurp/models/AttachmentProjectionTest.java +src/test/java/com/mailslurp/models/BasicAuthOptionsTest.java +src/test/java/com/mailslurp/models/BounceProjectionTest.java +src/test/java/com/mailslurp/models/BounceRecipientProjectionTest.java +src/test/java/com/mailslurp/models/BouncedEmailDtoTest.java +src/test/java/com/mailslurp/models/BouncedRecipientDtoTest.java +src/test/java/com/mailslurp/models/BulkSendEmailOptionsTest.java +src/test/java/com/mailslurp/models/ComplaintTest.java +src/test/java/com/mailslurp/models/ConditionOptionTest.java +src/test/java/com/mailslurp/models/ConnectorDtoTest.java +src/test/java/com/mailslurp/models/ConnectorProjectionTest.java +src/test/java/com/mailslurp/models/ConnectorSyncEventDtoTest.java +src/test/java/com/mailslurp/models/ConnectorSyncEventProjectionTest.java +src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInnerTest.java +src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInnerTest.java +src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseTest.java +src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionTest.java +src/test/java/com/mailslurp/models/ConnectorSyncRequestResultTest.java +src/test/java/com/mailslurp/models/ConnectorSyncResultTest.java +src/test/java/com/mailslurp/models/ContactDtoTest.java +src/test/java/com/mailslurp/models/ContactProjectionTest.java +src/test/java/com/mailslurp/models/ContentMatchOptionsTest.java +src/test/java/com/mailslurp/models/CountDtoTest.java +src/test/java/com/mailslurp/models/CreateAliasOptionsTest.java +src/test/java/com/mailslurp/models/CreateConnectorImapOptionsTest.java +src/test/java/com/mailslurp/models/CreateConnectorOptionsTest.java +src/test/java/com/mailslurp/models/CreateContactOptionsTest.java +src/test/java/com/mailslurp/models/CreateDomainOptionsTest.java +src/test/java/com/mailslurp/models/CreateEmergencyAddressOptionsTest.java +src/test/java/com/mailslurp/models/CreateGroupOptionsTest.java +src/test/java/com/mailslurp/models/CreateInboxDtoTest.java +src/test/java/com/mailslurp/models/CreateInboxForwarderOptionsTest.java +src/test/java/com/mailslurp/models/CreateInboxReplierOptionsTest.java +src/test/java/com/mailslurp/models/CreateInboxRulesetOptionsTest.java +src/test/java/com/mailslurp/models/CreateTemplateOptionsTest.java +src/test/java/com/mailslurp/models/CreateTrackingPixelOptionsTest.java +src/test/java/com/mailslurp/models/CreateWebhookOptionsTest.java +src/test/java/com/mailslurp/models/DNSLookupOptionsTest.java +src/test/java/com/mailslurp/models/DNSLookupResultTest.java +src/test/java/com/mailslurp/models/DNSLookupResultsTest.java +src/test/java/com/mailslurp/models/DeliveryStatusDtoTest.java +src/test/java/com/mailslurp/models/DescribeDomainOptionsTest.java +src/test/java/com/mailslurp/models/DescribeMailServerDomainResultTest.java +src/test/java/com/mailslurp/models/DomainDtoTest.java +src/test/java/com/mailslurp/models/DomainIssuesDtoTest.java +src/test/java/com/mailslurp/models/DomainNameRecordTest.java +src/test/java/com/mailslurp/models/DomainPreviewTest.java +src/test/java/com/mailslurp/models/DownloadAttachmentDtoTest.java +src/test/java/com/mailslurp/models/EmailAnalysisTest.java +src/test/java/com/mailslurp/models/EmailContentMatchResultTest.java +src/test/java/com/mailslurp/models/EmailHtmlDtoTest.java +src/test/java/com/mailslurp/models/EmailLinksResultTest.java +src/test/java/com/mailslurp/models/EmailPreviewTest.java +src/test/java/com/mailslurp/models/EmailPreviewUrlsTest.java +src/test/java/com/mailslurp/models/EmailProjectionTest.java +src/test/java/com/mailslurp/models/EmailRecipientsTest.java +src/test/java/com/mailslurp/models/EmailTest.java +src/test/java/com/mailslurp/models/EmailTextLinesResultTest.java +src/test/java/com/mailslurp/models/EmailValidationRequestDtoTest.java +src/test/java/com/mailslurp/models/EmailVerificationResultTest.java +src/test/java/com/mailslurp/models/EmergencyAddressDtoTest.java +src/test/java/com/mailslurp/models/EmergencyAddressTest.java +src/test/java/com/mailslurp/models/EmptyResponseDtoTest.java +src/test/java/com/mailslurp/models/ExpirationDefaultsTest.java +src/test/java/com/mailslurp/models/ExpiredInboxDtoTest.java +src/test/java/com/mailslurp/models/ExpiredInboxRecordProjectionTest.java +src/test/java/com/mailslurp/models/ExportLinkTest.java +src/test/java/com/mailslurp/models/ExportOptionsTest.java +src/test/java/com/mailslurp/models/FilterBouncedRecipientsOptionsTest.java +src/test/java/com/mailslurp/models/FilterBouncedRecipientsResultTest.java +src/test/java/com/mailslurp/models/FlushExpiredInboxesResultTest.java +src/test/java/com/mailslurp/models/ForwardEmailOptionsTest.java +src/test/java/com/mailslurp/models/GravatarUrlTest.java +src/test/java/com/mailslurp/models/GroupContactsDtoTest.java +src/test/java/com/mailslurp/models/GroupDtoTest.java +src/test/java/com/mailslurp/models/GroupProjectionTest.java +src/test/java/com/mailslurp/models/HTMLValidationResultTest.java +src/test/java/com/mailslurp/models/IPAddressResultTest.java +src/test/java/com/mailslurp/models/ImapFlagOperationOptionsTest.java +src/test/java/com/mailslurp/models/ImapSmtpAccessDetailsTest.java +src/test/java/com/mailslurp/models/InboxByEmailAddressResultTest.java +src/test/java/com/mailslurp/models/InboxByNameResultTest.java +src/test/java/com/mailslurp/models/InboxDtoTest.java +src/test/java/com/mailslurp/models/InboxExistsDtoTest.java +src/test/java/com/mailslurp/models/InboxForwarderDtoTest.java +src/test/java/com/mailslurp/models/InboxForwarderEventProjectionTest.java +src/test/java/com/mailslurp/models/InboxForwarderTestOptionsTest.java +src/test/java/com/mailslurp/models/InboxForwarderTestResultTest.java +src/test/java/com/mailslurp/models/InboxIdItemTest.java +src/test/java/com/mailslurp/models/InboxIdsResultTest.java +src/test/java/com/mailslurp/models/InboxPreviewTest.java +src/test/java/com/mailslurp/models/InboxReplierDtoTest.java +src/test/java/com/mailslurp/models/InboxReplierEventProjectionTest.java +src/test/java/com/mailslurp/models/InboxRulesetDtoTest.java +src/test/java/com/mailslurp/models/InboxRulesetTestOptionsTest.java +src/test/java/com/mailslurp/models/InboxRulesetTestResultTest.java +src/test/java/com/mailslurp/models/JSONSchemaDtoTest.java +src/test/java/com/mailslurp/models/ListUnsubscribeRecipientProjectionTest.java +src/test/java/com/mailslurp/models/MatchOptionTest.java +src/test/java/com/mailslurp/models/MatchOptionsTest.java +src/test/java/com/mailslurp/models/MissedEmailDtoTest.java +src/test/java/com/mailslurp/models/MissedEmailProjectionTest.java +src/test/java/com/mailslurp/models/NameServerRecordTest.java +src/test/java/com/mailslurp/models/OrganizationInboxProjectionTest.java +src/test/java/com/mailslurp/models/PageAliasTest.java +src/test/java/com/mailslurp/models/PageAttachmentEntityTest.java +src/test/java/com/mailslurp/models/PageBouncedEmailTest.java +src/test/java/com/mailslurp/models/PageBouncedRecipientsTest.java +src/test/java/com/mailslurp/models/PageComplaintTest.java +src/test/java/com/mailslurp/models/PageConnectorSyncEventsTest.java +src/test/java/com/mailslurp/models/PageConnectorTest.java +src/test/java/com/mailslurp/models/PageContactProjectionTest.java +src/test/java/com/mailslurp/models/PageDeliveryStatusTest.java +src/test/java/com/mailslurp/models/PageEmailPreviewTest.java +src/test/java/com/mailslurp/models/PageEmailProjectionTest.java +src/test/java/com/mailslurp/models/PageEmailValidationRequestTest.java +src/test/java/com/mailslurp/models/PageExpiredInboxRecordProjectionTest.java +src/test/java/com/mailslurp/models/PageGroupProjectionTest.java +src/test/java/com/mailslurp/models/PageInboxForwarderDtoTest.java +src/test/java/com/mailslurp/models/PageInboxForwarderEventsTest.java +src/test/java/com/mailslurp/models/PageInboxProjectionTest.java +src/test/java/com/mailslurp/models/PageInboxReplierDtoTest.java +src/test/java/com/mailslurp/models/PageInboxReplierEventsTest.java +src/test/java/com/mailslurp/models/PageInboxRulesetDtoTest.java +src/test/java/com/mailslurp/models/PageListUnsubscribeRecipientsTest.java +src/test/java/com/mailslurp/models/PageMissedEmailProjectionTest.java +src/test/java/com/mailslurp/models/PageOrganizationInboxProjectionTest.java +src/test/java/com/mailslurp/models/PagePhoneNumberProjectionTest.java +src/test/java/com/mailslurp/models/PageScheduledJobsTest.java +src/test/java/com/mailslurp/models/PageSentEmailProjectionTest.java +src/test/java/com/mailslurp/models/PageSentEmailWithQueueProjectionTest.java +src/test/java/com/mailslurp/models/PageSmsProjectionTest.java +src/test/java/com/mailslurp/models/PageTemplateProjectionTest.java +src/test/java/com/mailslurp/models/PageThreadProjectionTest.java +src/test/java/com/mailslurp/models/PageTrackingPixelProjectionTest.java +src/test/java/com/mailslurp/models/PageUnknownMissedEmailProjectionTest.java +src/test/java/com/mailslurp/models/PageWebhookProjectionTest.java +src/test/java/com/mailslurp/models/PageWebhookResultTest.java +src/test/java/com/mailslurp/models/PageableObjectTest.java +src/test/java/com/mailslurp/models/PhoneNumberDtoTest.java +src/test/java/com/mailslurp/models/PhoneNumberProjectionTest.java +src/test/java/com/mailslurp/models/PhonePlanDtoTest.java +src/test/java/com/mailslurp/models/RawEmailJsonTest.java +src/test/java/com/mailslurp/models/RecipientTest.java +src/test/java/com/mailslurp/models/ReplyToAliasEmailOptionsTest.java +src/test/java/com/mailslurp/models/ReplyToEmailOptionsTest.java +src/test/java/com/mailslurp/models/ScheduledJobDtoTest.java +src/test/java/com/mailslurp/models/ScheduledJobTest.java +src/test/java/com/mailslurp/models/SendEmailOptionsTest.java +src/test/java/com/mailslurp/models/SendSMTPEnvelopeOptionsTest.java +src/test/java/com/mailslurp/models/SendWithQueueResultTest.java +src/test/java/com/mailslurp/models/SenderTest.java +src/test/java/com/mailslurp/models/SentEmailDtoTest.java +src/test/java/com/mailslurp/models/SentEmailProjectionTest.java +src/test/java/com/mailslurp/models/SetInboxFavouritedOptionsTest.java +src/test/java/com/mailslurp/models/SimpleSendEmailOptionsTest.java +src/test/java/com/mailslurp/models/SmsDtoTest.java +src/test/java/com/mailslurp/models/SmsMatchOptionTest.java +src/test/java/com/mailslurp/models/SmsPreviewTest.java +src/test/java/com/mailslurp/models/SmsProjectionTest.java +src/test/java/com/mailslurp/models/SortTest.java +src/test/java/com/mailslurp/models/TemplateDtoTest.java +src/test/java/com/mailslurp/models/TemplatePreviewTest.java +src/test/java/com/mailslurp/models/TemplateProjectionTest.java +src/test/java/com/mailslurp/models/TemplateVariableTest.java +src/test/java/com/mailslurp/models/TestNewInboxForwarderOptionsTest.java +src/test/java/com/mailslurp/models/TestNewInboxRulesetOptionsTest.java +src/test/java/com/mailslurp/models/TestPhoneNumberOptionsTest.java +src/test/java/com/mailslurp/models/ThreadProjectionTest.java +src/test/java/com/mailslurp/models/TrackingPixelDtoTest.java +src/test/java/com/mailslurp/models/TrackingPixelProjectionTest.java +src/test/java/com/mailslurp/models/UnknownMissedEmailProjectionTest.java +src/test/java/com/mailslurp/models/UnreadCountTest.java +src/test/java/com/mailslurp/models/UnseenErrorCountDtoTest.java +src/test/java/com/mailslurp/models/UpdateAliasOptionsTest.java +src/test/java/com/mailslurp/models/UpdateDomainOptionsTest.java +src/test/java/com/mailslurp/models/UpdateGroupContactsTest.java +src/test/java/com/mailslurp/models/UpdateInboxOptionsTest.java +src/test/java/com/mailslurp/models/UpdateInboxReplierOptionsTest.java +src/test/java/com/mailslurp/models/UploadAttachmentBytesRequestTest.java +src/test/java/com/mailslurp/models/UploadAttachmentOptionsTest.java +src/test/java/com/mailslurp/models/UploadMultipartFormRequestTest.java +src/test/java/com/mailslurp/models/UserInfoDtoTest.java +src/test/java/com/mailslurp/models/ValidateEmailAddressListOptionsTest.java +src/test/java/com/mailslurp/models/ValidateEmailAddressListResultTest.java +src/test/java/com/mailslurp/models/ValidationDtoTest.java +src/test/java/com/mailslurp/models/ValidationMessageTest.java +src/test/java/com/mailslurp/models/VerifyEmailAddressOptionsTest.java +src/test/java/com/mailslurp/models/VerifyWebhookSignatureOptionsTest.java +src/test/java/com/mailslurp/models/VerifyWebhookSignatureResultsTest.java +src/test/java/com/mailslurp/models/WaitForConditionsTest.java +src/test/java/com/mailslurp/models/WaitForSingleSmsOptionsTest.java +src/test/java/com/mailslurp/models/WaitForSmsConditionsTest.java +src/test/java/com/mailslurp/models/WebhookBouncePayloadTest.java +src/test/java/com/mailslurp/models/WebhookBounceRecipientPayloadTest.java +src/test/java/com/mailslurp/models/WebhookDeliveryStatusPayloadTest.java +src/test/java/com/mailslurp/models/WebhookDtoTest.java +src/test/java/com/mailslurp/models/WebhookEmailOpenedPayloadTest.java +src/test/java/com/mailslurp/models/WebhookEmailReadPayloadTest.java +src/test/java/com/mailslurp/models/WebhookHeaderNameValueTest.java +src/test/java/com/mailslurp/models/WebhookHeadersTest.java +src/test/java/com/mailslurp/models/WebhookNewAttachmentPayloadTest.java +src/test/java/com/mailslurp/models/WebhookNewContactPayloadTest.java +src/test/java/com/mailslurp/models/WebhookNewEmailPayloadTest.java +src/test/java/com/mailslurp/models/WebhookNewSmsPayloadTest.java +src/test/java/com/mailslurp/models/WebhookProjectionTest.java +src/test/java/com/mailslurp/models/WebhookRedriveResultTest.java +src/test/java/com/mailslurp/models/WebhookResultDtoTest.java +src/test/java/com/mailslurp/models/WebhookTestRequestTest.java +src/test/java/com/mailslurp/models/WebhookTestResponseTest.java +src/test/java/com/mailslurp/models/WebhookTestResultTest.java diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION new file mode 100644 index 000000000..0df17dd0f --- /dev/null +++ b/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.2.1 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..1b6741c08 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +# +# Generated by OpenAPI Generator: https://openapi-generator.tech +# +# Ref: https://docs.travis-ci.com/user/languages/java/ +# +language: java +jdk: + - openjdk12 + - openjdk11 + - openjdk10 + - openjdk9 + - openjdk8 +before_install: + # ensure gradlew has proper permission + - chmod a+x ./gradlew +script: + # test using maven + #- mvn test + # test using gradle + - gradle test + # test using sbt + # - sbt test diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..b1578dad4 --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +Copyright 2023 MailSlurp Email API (Provided by Pettman OÜ, Estonia) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 000000000..1e0b91b02 --- /dev/null +++ b/README.md @@ -0,0 +1,280 @@ +# MailSlurp Java Client + +Create real email addresses on demand. Send and receive emails and attachments from code and tests using Java (and JVM languages). + +MailSlurp is an email API service for creating and using real email addresses in code. +You can create then send and receive emails and attachments in Java and JVM languages. + +> For the Kotlin version see [mailslurp-client-kotlin](https://search.maven.org/artifact/com.mailslurp/mailslurp-client-kotlin). + +## Quick links + +- [API documentation](https://docs.mailslurp.com/api/) +- [Method documentation](https://java.mailslurp.com/) +- [Maven Central Package](https://search.maven.org/artifact/com.mailslurp/mailslurp-client-java) +- [Github Source](https://github.com/mailslurp/mailslurp-client-java) +- [Example guides](https://www.mailslurp.com/examples/) +- [Example Github projects](https://www.mailtesting.net/) +- [Send email using SMTP in Java](https://www.mailslurp.com/smtp/java-send-email-smtp/) + +### Common controller classes + +- [EmailController](https://java.mailslurp.com/com/mailslurp/apis/EmailControllerApi.html) read and send emails +- [InboxController](https://java.mailslurp.com/com/mailslurp/apis/InboxControllerApi.html) create email account inboxes +- [WaitForController](https://java.mailslurp.com/com/mailslurp/apis/WaitForControllerApi.html) wait for expected emails or sms to arrive +- [SMSController](https://java.mailslurp.com/com/mailslurp/apis/SmsControllerApi.html) control phone and sms + +For more controller documentation see the [JavaDocs](https://java.mailslurp.com/). + +### Tutorial articles + +- [Java email testing with Selenium](https://www.mailslurp.com/examples/receive-emails-in-java-selenium-tests/) +- [Java Serenity BDD](https://www.mailslurp.com/examples/serenity-email-account-testing-jbehave-java/) + +## Create API Key + +First you'll need an API Key. [Create a free account](https://app.mailslurp.com) and copy the key from your dashboard. + +## Install MailSlurp dependency + +The `com.mailslurp:mailslurp-client-java` package is [published to Maven Central](https://search.maven.org/artifact/com.mailslurp/mailslurp-client-java). + +### Install using Gradle + +You can install MailSlurp with gradle like so + +```groovy +dependencies { + implementation("com.mailslurp:mailslurp-client-java") +} +``` + +### Install using Maven + +To use MailSlurp with Maven add the dependency to your `pom.xml` file: + +```xml + + + com.mailslurp + mailslurp-client-java + LATEST + pom + +``` + +### Import and configure + +The top namespace for the MailSlurp package is `com.mailslurp`. + +The library is organized into controller classes that reflect the [MailSlurp REST API](https://java.mailslurp.com/com/mailslurp/apis/package-summary.html). To use a controller first import the correct packages: + +```java +import com.mailslurp.apis.*; +import com.mailslurp.clients.*; +import com.mailslurp.models.*; +``` + +Then create a default client with your API Key: + +```java +// create a MailSlurp client with your API_KEY +ApiClient defaultClient = Configuration.getDefaultApiClient(); +defaultClient.setApiKey(YOUR_API_KEY); +``` + +Then you can create controller instances with the client. + +```java +InboxControllerApi inboxControllerApi = new InboxControllerApi(defaultClient); +``` + +### Important: set connection timeouts + +MailSlurp uses 'Keep-Alive' connections for many endpoints to allow your code to wait for conditions. It is important to set a connection timeout on the client and its underlying http client implementation. + +```java +defaultClient.setConnectTimeout(TIMEOUT_MILLIS); +defaultClient.setWriteTimeout(TIMEOUT_MILLIS); +defaultClient.setReadTimeout(TIMEOUT_MILLIS); +``` + +This will help to avoid `java.net.SocketTimeoutException` errors that you may encounter with default timeout settings. + +## Email usage + +Here are some common email use cases. + +### Create email addresses + +MailSlurp has the concept of Inboxes. Each inbox has an ID and a real email address. +Use the [`InboxControllerApi`](https://java.mailslurp.com/com/mailslurp/apis/InboxControllerApi.html) to create an inbox: + +```java +InboxDto inbox = inboxControllerApi.createInboxWithDefaults(); +// verify inbox +assertEquals(inbox.getEmailAddress().contains("@mailslurp"), true); +assertNotNull(inbox.getId()); +``` + +For more options use the options method: + +```java +CreateInboxDto options = new CreateInboxDto() + .description("My inbox") + .inboxType(CreateInboxDto.InboxTypeEnum.SMTP_INBOX); +InboxDto inboxWithOptions = inboxControllerApi.createInboxWithOptions(options); +``` + +### Get an inbox + +```java +// get inbox by id +InboxDto inboxById = inboxControllerApi.getInbox(inbox.getId()); + +// lookup inbox by address +InboxByEmailAddressResult inboxByAddress = inboxControllerApi.getInboxByEmailAddress(inbox.getEmailAddress()); +assertEquals(inboxByAddress.getInboxId(), inbox.getId()); + +// lookup inbox by name +InboxByNameResult inboxByName = inboxControllerApi.getInboxByName("Non-existing inbox"); +assertFalse(inboxByName.getExists()); +``` + +### List inboxes + +Inbox responses are paginated. You can set the page index and size with [method parameters](https://java.mailslurp.com/com/mailslurp/apis/InboxControllerApi.html). + +```java +PageInboxProjection allInboxes = inboxControllerApi.getAllInboxes(0, 10, null, null, null, null, null, null, null, null, null); +// can access pagination +assertTrue(allInboxes.getTotalElements() > 0); +assertEquals(allInboxes.getPageable().getPageNumber().intValue(), 0); +assertEquals(allInboxes.getPageable().getPageSize().intValue(), 10); +// can access inboxes +InboxPreview inboxPreview = allInboxes.getContent().get(0); +``` + +### Send emails + +You can send emails with MailSlurp by first creating an inbox then using its ID to send from: + +```java +SendEmailOptions sendEmailOptions = new SendEmailOptions() + .to(singletonList(inbox.getEmailAddress())) + .subject("Test") + .body("Hello"); +inboxControllerApi.sendEmail(inbox.getId(), sendEmailOptions); +``` + + +### Send Attachments + +To send attachments first upload them as base64 strings before sending (that way you can re-use them). Use the [AttachmentController](https://java.mailslurp.com/com/mailslurp/apis/AttachmentControllerApi.html) methods to send and receive attachments in Java. + +```java +byte[] bytes = {0}; // test file, in reality read a file or input stream as bytes; +UploadAttachmentOptions uploadAttachmentOptions = new UploadAttachmentOptions() + .contentType("text/plain") + .filename("hello.txt") + .base64Contents(Base64.getEncoder().encodeToString(bytes)); + +AttachmentControllerApi attachmentControllerApi = new AttachmentControllerApi(defaultClient); +List attachmentIds = attachmentControllerApi.uploadAttachment(uploadAttachmentOptions); +``` + +Then use the attachment ids when sending. + +```java +SendEmailOptions sendOptions = new SendEmailOptions() + .to(singletonList(inbox2.getEmailAddress())) + .subject("Test email") + .body("Hello with attachment") + .attachments(attachmentIds); +inboxControllerApi.sendEmail(inbox2.getId(), sendOptions); +``` + + +### Receive emails + +You can receive emails using the `waitFor` methods on the [WaitForControllerApi](https://java.mailslurp.com/com/mailslurp/apis/WaitForControllerApi.html) class. + +```java +WaitForControllerApi waitForControllerApi = new WaitForControllerApi(defaultClient); +Email email = waitForControllerApi.waitForLatestEmail(inbox2.getId(), TIMEOUT_MILLIS.longValue(), UNREAD_ONLY, null, null, null, null); + +assertEquals(email.getSubject(), "Hello inbox2"); +assertEquals(email.getBody().contains("Your code is:"), true); +``` + +There are many [other waitFor methods](https://github.com/mailslurp/mailslurp-client-java) available. Most accept an optional `unreadOnly` parameter. + +You can extract email content using `email.getBody()` or regex patterns. + +```java +Pattern p = Pattern.compile("Your code is: ([0-9]{3})"); +Matcher m = p.matcher(email.getBody()); +m.find(); + +String code = m.group(1); +assertEquals(code, "123"); +``` + +If you are having trouble receiving emails please see the [email receiving guide](https://www.mailslurp.com/guides/receiving-emails/) or the [inbox not receiving support page](https://www.mailslurp.com/support/inbox-not-receiving-emails/). + + +### Matching and searching + +There are various search and match options available in the [WaitForControllerApi](https://java.mailslurp.com/com/mailslurp/apis/WaitForControllerApi.html). + +```java +inboxControllerApi.sendEmail(inbox1.getId(), new SendEmailOptions() + .to(singletonList(inbox1.getEmailAddress())) + .subject("Verification code") + .body("Your code is: 456")); +// complex match option +List verificationEmail = waitForControllerApi.waitFor(new WaitForConditions() + .inboxId(inbox1.getId()) + .unreadOnly(true) + .countType(WaitForConditions.CountTypeEnum.EXACTLY) + .count(1) + .addMatchesItem(new MatchOption() + .field(MatchOption.FieldEnum.FROM) + .should(MatchOption.ShouldEnum.EQUAL) + .value(inbox1.getEmailAddress())) + .addMatchesItem(new MatchOption() + .field(MatchOption.FieldEnum.SUBJECT) + .should(MatchOption.ShouldEnum.CONTAIN) + .value("Verification code"))); +assertEquals(verificationEmail.size(), 1); +``` + +### Extracting content + +```java +inboxControllerApi.sendEmail(inbox1.getId(), new SendEmailOptions() + .to(singletonList(inbox3.getEmailAddress())) + .subject("HTML notification") + .body("

Use xpath selectors to find content.

")); +Email emailWithHtml = waitForControllerApi.waitForLatestEmail(inbox3.getId(), TIMEOUT_MILLIS.longValue(), UNREAD_ONLY, null, null, null, null); +// extract content from email body +EmailTextLinesResult emailHTMLQuery = new EmailControllerApi(defaultClient).getEmailHTMLQuery(emailWithHtml.getId(), ".needle"); +assertEquals(emailHTMLQuery.getLines().get(0), "find"); +``` + +### Downloading attachments + +You can fetch metadata for an email's attachments or fetch the attachment files themselves as byte streams using the [attachment controller](https://java.mailslurp.com/com/mailslurp/apis/AttachmentControllerApi.html). + +```java +String attachmentId = email.getAttachments().get(0); +// get attachment file name etc +AttachmentMetaData attachmentInfo = attachmentControllerApi.getAttachmentInfo(attachmentId); +assertNotNull(attachmentInfo.getName()); +// download as bytes +byte[] attachmentBytes = attachmentControllerApi.downloadAttachmentAsBytes(attachmentId); +``` + +## SDK Documentation + +See the examples page for [usage with Selenium and Junit](https://docs.mailslurp.com/examples/) or see the GitHub repository for [full method documentation](https://github.com/mailslurp/mailslurp-client-java/). diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..519979d90 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,4 @@ +# Security + +This client calls the MailSlurp API endpoints. Connections should be made over secure HTTPS using your secure API Token. Do not share or commit the token if you can avoid doing so. +To report security issues or talk with MailSlurp support please email [contact@mailslurp.dev](mailto:contact@mailslurp.dev). diff --git a/SUPPORT.md b/SUPPORT.md new file mode 100644 index 000000000..1727eec57 --- /dev/null +++ b/SUPPORT.md @@ -0,0 +1,4 @@ +# Support + +To report issues or talk with MailSlurp support please email [contact@mailslurp.dev](mailto:contact@mailslurp.dev). +Alternatively you can visit our [support portal](https://www.mailslurp.com/support/) or open a ticket in the corresponding [Github repository](https://www.github.com/mailslurp). diff --git a/api/openapi.yaml b/api/openapi.yaml new file mode 100644 index 000000000..5e6b1d57e --- /dev/null +++ b/api/openapi.yaml @@ -0,0 +1,21555 @@ +openapi: 3.0.1 +info: + contact: + email: contact@mailslurp.dev + url: https://www.mailslurp.com/contact/ + description: |- + MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. + + ## Resources + + - [Homepage](https://www.mailslurp.com) + - Get an [API KEY](https://app.mailslurp.com/sign-up/) + - Generated [SDK Clients](https://docs.mailslurp.com/) + - [Examples](https://github.com/mailslurp/examples) repository + license: + name: Apache 2.0 + url: https://www.mailslurp.com + title: MailSlurp API + version: 6.5.2 +externalDocs: + description: MailSlurp API documentation + url: https://www.mailslurp.com +servers: +- description: MailSlurp API Server + url: https://java.api.mailslurp.com +security: +- API_KEY: [] +tags: +- description: "\"Endpoints for creating, listing, and deleting email aliases. Aliases\ + \ must be validated. Email aliases can be used to hide real email addresses behind\ + \ an alias. If you wish to receive emails with an alias attach an inbox to the\ + \ alias.\n Whenever the inbox receives an email the email will be forwarded\ + \ to the alias email address. See related `threads`. Threads can be used with\ + \ aliases to enable replying to a proxied email. This means that when threads\ + \ are enabled an email alias will \n create a new email thread for the message\ + \ and set the replyTo and from headers on the subsequently proxied email to point\ + \ to the threads unique email address. \n By replying to this address the\ + \ thread will forward it to the original emails sender or replyTo and use the\ + \ same subject and bcc and cc contacts as the email you are replying to. For more\ + \ advanced email operations using aliases use the inboxId for the given alias.\n" + name: AliasController +- description: "Endpoints for managing email entities. Send and read email using the\ + \ email API. You can fetch emails and attachments, reply to emails, and send new\ + \ emails with this controller. Emails belong to inboxes. \nEach inbox can contain\ + \ unlimited emails that are either permanent or temporary depending on your setup.\ + \ Because emails can be quite large when attachments and content are fetched most\ + \ responses only include a preview of the email and its most important features,\ + \ like subject, recipients etc and an ID. Many list results are in a paginated\ + \ form using an index (zero based) and a page size. To receive email decide on\ + \ either `waitFor` methods (such as `waitForLatestEmail` on the `WaitForController`)\ + \ to wait for emails to arrive. Use `getEmails` on `EmailController` or `getInboxEmails`\ + \ on the `InboxController` to list existing emails. To access the body or attachments\ + \ of an email you need to use the `getEmail` and `getAttachment` endpoints with\ + \ specific inbox and email IDs. The body is returned on full email entities and\ + \ contains the parsed body of the email. The email headers (such as recipients,\ + \ subject etc.) are stored on the email object. You can access the RAW SMTP message\ + \ via various `raw` methods. Attachments are treated as separate entities that\ + \ have an ID and belong to the email. To fetch email attachments first fetch the\ + \ full email then use a `downloadAttachment` method for each `attachmentID`. Attachments\ + \ are transferred in a number of ways as either `application/octect-stream` byte\ + \ arrays or as base64 encoded strings with meta data. You may prefer either depending\ + \ on the environment you are in but the base64 implementations are typically safer.\ + \ See the `AttachmentController`, `InboxController`, and `WaitForController` for\ + \ similar methods. \n " + name: EmailController +- name: UserController +- description: Form controller for submitting email-able forms + name: FormController +- name: EmailVerificationController +- description: Endpoints for viewing sent email receipts. These can be used to verify + that an email has been sent or for historical records. Email content and attachments + are stored. For legacy reasons the default send endpoint does not return a sent + email. Use the `sendEmailAndConfirm` methods to receive a sent email receipt after + sending. + name: SentEmailsController +- description: "Endpoints for creating and managing inboxes. Also includes endpoints\ + \ for listing emails within inboxes. \nInboxes are a core feature of MailSlurp.\ + \ Each inbox has a unique ID and emailAddress. Inboxes can be either `HTTP` or\ + \ `SMTP` inboxes. Both are email inboxes but `HTTP` mailboxes are processed using\ + \ AWS SES while `SMTP` inboxes use a custom mail server listening at `mx.mailslurp.com`.\ + \ Use `HTTP` inboxes for testing and `SMTP` inboxes for public facing inboxes.\ + \ If your plan allows custom domains you can create inboxes with custom addresses\ + \ that end in your domain. \nBy default inboxes are assigned a random email address\ + \ ending in `@mailslurp.com`. Use the domainPool options to use a randomly selected\ + \ domain from a pool of available domains. Whenever you create an inbox MailSlurp\ + \ will register the address and store any emails sent to the address within your\ + \ inbox. \nYou can use the `InboxController` endpoints to list the emails in an\ + \ inbox. To get the contents or attachments of an email use the ID returned from\ + \ `InboxController` methods to call the `EmailController` endpoints.\"\n" + name: InboxController +- description: Endpoints for creating and managing inbox repliers. Repliers can automatically + reply to emails received by inboxes using rules. + name: InboxReplierController +- description: View and manage expired inbox records. If an inbox has an expiration + date when it is created it will expire at that time and an ExpiredInboxRecord + will be created for it listing the email address and inbox ID. You can still view + emails belonging to the inbox by using the inbox ID but the inbox can no longer + send or receive emails once expired. + name: ExpiredController +- description: Other endpoints including advanced receive options + name: BulkActionsController +- description: Endpoints for managing inbox connectors that can sync external emails + in MailSlurp inboxes + name: ConnectorController +- description: Endpoints for managing contacts. Contacts can be used for sending emails + to individuals and groups. + name: ContactController +- description: Endpoints for managing groups. Groups can be used for sending emails + to individuals and groups. + name: GroupController +- name: MailServerController +- description: | + Endpoints for creating and managing inbox rulesets. Inbox rulesets are sets of rules that can be automatically applied to inbound and outbound emails for an inbox. Rulesets can have a scope, action, and target. The scope is receiving or sending emails. The action is to block, allow, or forward an email. The target is pattern or email address depending on the action. The handler can be used to handle rules silently or trigger an exception when they occur. See inbox controller for similar methods. + name: InboxRulesetController +- description: Endpoints for managing custom domains. Once you create a custom domain + you must add the returned verification records to your hosting provider. See support + or guides for more information. + name: DomainController +- description: Endpoints for managing tracking entities such as email open and read + tracking pixels. + name: TrackingController +- description: "Endpoints for receiving emails using waitFor methods. The endpoints\ + \ are perfect for synchronous blocking calls, long-polling, or tests (see webhooks\ + \ if you need to respond to email events as they happen using HTTP notification).\ + \ These wait endpoints are all built around a common idea - that you ask for an\ + \ expected number of emails from an inbox and MailSlurp will either: A) Return\ + \ the matching emails if they are present; B) Hold a connection open until the\ + \ matching emails are are received or until a timeout occurs. For test suites\ + \ we recommend that you create a new inbox for each test run and use the waitForLatestEmail\ + \ to hold the connection until the email you expect arrives. Note if your inbox\ + \ is not already empty waitFor methods may return immediately depending on their\ + \ implementation. See each endpoint for more details." + name: WaitForController +- description: Endpoints for creating and managing inbox forwarders. Automatically + forward emails received by inboxes using rules. + name: InboxForwarderController +- description: Endpoints for managing MissedEmails. Missed emails are saved whenever + your account cannot persist a received email because your plan had exceeded a + given usage at the time. Missed emails can be restored with the assistance of + the support team. + name: MissedEmailController +- description: A collection of common actions. Groups together several controllers + behind a facade with convenience methods. Not recommended. It is better in most + cases to call the individual controllers directly as they are where many new features + are added. The controllers are better documented too. This controller is maintained + for backwards compatibility. + name: CommonActionsController +- description: Endpoints for managing phone numbers and addresses + name: PhoneController +- description: "Endpoints for exporting user data to CSV, XML and other formats." + name: ExportController +- description: Endpoints for managing SMS + name: SmsController +- description: Endpoints for managing Templates. Templates can be used when sending + emails and support moustache syntax template variables. Variables can be passed + with send email options or implicitly available if Contact Groups are used. + name: TemplateController +- description: "Endpoints for uploading attachments. Attachments can be uploaded in\ + \ a number of ways: as base64 encoded strings, as byte array octet streams, and\ + \ as multipart form requests. Each upload method returns an array whose first\ + \ element is the ID of the attachment. Use this Id to send the attachment with\ + \ emails. See the EmailController `download` endpoints for downloading attachments.\ + \ Attachment downloads are based on the email ID they belong to and can be downloaded\ + \ using the email controller." + name: AttachmentController +- description: Endpoints for access to bounced emails and bounced recipients + name: BounceController +- description: "Endpoint for interacting with webhooks. Webhooks have a URL that points\ + \ to your server. Useful for email forwarding, email API processing and more.\ + \ They can be added to inboxes and when an inbox receives an email the email ID\ + \ and inbox ID will be posted to the URL endpoint at your server. The schema of\ + \ the webhook payload is available at https://java.api.mailslurp.com/schemas/webhook-payload\ + \ or by calling https://java.api.mailslurp.com/webhooks/test. Use webhooks to\ + \ react in real-time to inbound emails. Use the webhook payload posted to your\ + \ server to fetch the full emails or attachments if you need them. Use the event\ + \ ID as an idempotent record. The ID identifies the webhook payload uniquely.\ + \ MailSlurp tracks webhook processing. It will try not to send the same event\ + \ twice but it can happen. If you receive the same event more than once you can\ + \ ignore it and assume it is the same. It is recommended that you use a store\ + \ or database to track webhooks you have processed to avoid processing events\ + \ more than once." + name: WebhookController +paths: + /webhooks/{webhookId}/headers: + put: + operationId: updateWebhookHeaders + parameters: + - explode: false + in: path + name: webhookId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookHeaders' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookDto' + description: OK + summary: Update a webhook request headers + tags: + - WebhookController + x-content-type: application/json + x-accepts: '*/*' + /templates/{templateId}: + delete: + description: Delete template + operationId: deleteTemplate + parameters: + - description: Template ID + explode: false + in: path + name: templateId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete email template + tags: + - TemplateController + x-accepts: application/json + get: + description: Get email template + operationId: getTemplate + parameters: + - description: Template ID + explode: false + in: path + name: templateId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/TemplateDto' + description: OK + summary: Get template + tags: + - TemplateController + x-accepts: '*/*' + put: + description: Update email template + operationId: updateTemplate + parameters: + - description: Template ID + explode: false + in: path + name: templateId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateTemplateOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/TemplateDto' + description: Created + summary: Update template + tags: + - TemplateController + x-content-type: application/json + x-accepts: '*/*' + /rulesets: + delete: + description: Delete inbox rulesets. Accepts optional inboxId filter. + operationId: deleteInboxRulesets + parameters: + - description: Optional inbox id to attach ruleset to + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + responses: + "204": + description: No Content + summary: Delete inbox rulesets + tags: + - InboxRulesetController + x-accepts: application/json + get: + description: List all rulesets attached to an inbox + operationId: getInboxRulesets + parameters: + - description: Optional inbox id to get rulesets from + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + - description: Optional page index in inbox ruleset list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox ruleset list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageInboxRulesetDto' + description: OK + summary: List inbox rulesets + tags: + - InboxRulesetController + x-accepts: '*/*' + patch: + description: Test new inbox ruleset + operationId: testNewInboxRuleset + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TestNewInboxRulesetOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxRulesetTestResult' + description: OK + summary: Test new inbox ruleset + tags: + - InboxRulesetController + x-content-type: application/json + x-accepts: '*/*' + post: + description: "Create a new inbox rule for forwarding, blocking, and allowing\ + \ emails when sending and receiving" + operationId: createNewInboxRuleset + parameters: + - description: Inbox id to attach ruleset to + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateInboxRulesetOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxRulesetDto' + description: OK + summary: Create an inbox ruleset + tags: + - InboxRulesetController + x-content-type: application/json + x-accepts: '*/*' + put: + description: Test inbox rulesets for inbox + operationId: testInboxRulesetsForInbox + parameters: + - description: ID of inbox + explode: true + in: query + name: inboxId + required: true + schema: + format: uuid + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InboxRulesetTestOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxRulesetTestResult' + description: OK + summary: Test inbox rulesets for inbox + tags: + - InboxRulesetController + x-content-type: application/json + x-accepts: '*/*' + /repliers/{id}: + delete: + description: Delete inbox replier + operationId: deleteInboxReplier + parameters: + - description: ID of inbox replier + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete an inbox replier + tags: + - InboxReplierController + x-accepts: application/json + get: + description: Get inbox ruleset + operationId: getInboxReplier + parameters: + - description: ID of inbox replier + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxReplierDto' + description: OK + summary: Get an inbox replier + tags: + - InboxReplierController + x-accepts: '*/*' + put: + description: Update inbox ruleset + operationId: updateInboxReplier + parameters: + - description: ID of inbox replier + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateInboxReplierOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxReplierDto' + description: OK + summary: Update an inbox replier + tags: + - InboxReplierController + x-content-type: application/json + x-accepts: '*/*' + /inboxes/{inboxId}/favourite: + put: + description: Set and return new favourite state for an inbox + operationId: setInboxFavourited + parameters: + - description: ID of inbox to set favourite state + explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SetInboxFavouritedOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxDto' + description: OK + summary: Set inbox favourited state + tags: + - InboxController + x-content-type: application/json + x-accepts: '*/*' + /groups/{groupId}/contacts: + delete: + operationId: removeContactsFromGroup + parameters: + - explode: false + in: path + name: groupId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateGroupContacts' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/GroupContactsDto' + description: OK + summary: Remove contacts from a group + tags: + - GroupController + x-content-type: application/json + x-accepts: '*/*' + get: + operationId: getGroupWithContacts + parameters: + - explode: false + in: path + name: groupId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/GroupContactsDto' + description: OK + summary: Get group and contacts belonging to it + tags: + - GroupController + x-accepts: '*/*' + put: + operationId: addContactsToGroup + parameters: + - explode: false + in: path + name: groupId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateGroupContacts' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/GroupContactsDto' + description: OK + summary: Add contacts to a group + tags: + - GroupController + x-content-type: application/json + x-accepts: '*/*' + /forwarders: + delete: + description: Delete inbox forwarders. Accepts optional inboxId filter. + operationId: deleteInboxForwarders + parameters: + - description: Optional inbox id to attach forwarder to + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + responses: + "204": + description: No Content + summary: Delete inbox forwarders + tags: + - InboxForwarderController + x-accepts: application/json + get: + description: List all forwarders attached to an inbox + operationId: getInboxForwarders + parameters: + - description: Optional inbox id to get forwarders from + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + - description: Optional page index in inbox forwarder list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox forwarder list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageInboxForwarderDto' + description: OK + summary: List inbox forwarders + tags: + - InboxForwarderController + x-accepts: '*/*' + patch: + description: Test new inbox forwarder + operationId: testNewInboxForwarder + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TestNewInboxForwarderOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxForwarderTestResult' + description: OK + summary: Test new inbox forwarder + tags: + - InboxForwarderController + x-content-type: application/json + x-accepts: '*/*' + post: + description: "Create a new inbox rule for forwarding, blocking, and allowing\ + \ emails when sending and receiving" + operationId: createNewInboxForwarder + parameters: + - description: Inbox id to attach forwarder to + explode: true + in: query + name: inboxId + required: true + schema: + format: uuid + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateInboxForwarderOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxForwarderDto' + description: OK + summary: Create an inbox forwarder + tags: + - InboxForwarderController + x-content-type: application/json + x-accepts: '*/*' + put: + description: Test inbox forwarders for inbox + operationId: testInboxForwardersForInbox + parameters: + - description: ID of inbox + explode: true + in: query + name: inboxId + required: true + schema: + format: uuid + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InboxForwarderTestOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxForwarderTestResult' + description: OK + summary: Test inbox forwarders for inbox + tags: + - InboxForwarderController + x-content-type: application/json + x-accepts: '*/*' + /forwarders/{id}: + delete: + description: Delete inbox forwarder + operationId: deleteInboxForwarder + parameters: + - description: ID of inbox forwarder + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete an inbox forwarder + tags: + - InboxForwarderController + x-accepts: application/json + get: + description: Get inbox ruleset + operationId: getInboxForwarder + parameters: + - description: ID of inbox forwarder + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxForwarderDto' + description: OK + summary: Get an inbox forwarder + tags: + - InboxForwarderController + x-accepts: '*/*' + put: + description: Update inbox ruleset + operationId: updateInboxForwarder + parameters: + - description: ID of inbox forwarder + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateInboxForwarderOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxForwarderDto' + description: OK + summary: Update an inbox forwarder + tags: + - InboxForwarderController + x-content-type: application/json + x-accepts: '*/*' + /emails/{emailId}: + delete: + description: Deletes an email and removes it from the inbox. Deleted emails + cannot be recovered. + operationId: deleteEmail + parameters: + - description: ID of email to delete + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete an email + tags: + - EmailController + x-accepts: application/json + get: + description: Returns a email summary object with headers and content. To retrieve + the raw unparsed email use the getRawEmail endpoints + operationId: getEmail + parameters: + - explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + - description: Decode email body quoted-printable encoding to plain text. SMTP + servers often encode text using quoted-printable format (for instance `=D7`). + This can be a pain for testing + explode: true + in: query + name: decode + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/Email' + description: OK + summary: Get email content including headers and body. Expects email to exist + by ID. For emails that may not have arrived yet use the WaitForController. + tags: + - EmailController + x-accepts: '*/*' + put: + description: "Send the reply to the email sender or reply-to and include same\ + \ subject cc bcc etc. Reply to an email and the contents will be sent with\ + \ the existing subject to the emails `to`, `cc`, and `bcc`." + operationId: replyToEmail + parameters: + - description: ID of the email that should be replied to + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ReplyToEmailOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/SentEmailDto' + description: OK + summary: Reply to an email + tags: + - EmailController + x-content-type: application/json + x-accepts: '*/*' + /domains/{id}: + delete: + description: Delete a domain. This will disable any existing inboxes that use + this domain. + operationId: deleteDomain + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + content: + '*/*': + schema: + items: + type: string + type: array + description: No Content + summary: Delete a domain + tags: + - DomainController + x-accepts: '*/*' + get: + description: Returns domain verification status and tokens for a given domain + operationId: getDomain + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + - explode: true + in: query + name: checkForErrors + required: false + schema: + type: boolean + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/DomainDto' + description: OK + summary: Get a domain + tags: + - DomainController + x-accepts: '*/*' + put: + description: Update values on a domain. Note you cannot change the domain name + as it is immutable. Recreate the domain if you need to alter this. + operationId: updateDomain + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateDomainOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/DomainDto' + description: OK + summary: Update a domain + tags: + - DomainController + x-content-type: application/json + x-accepts: '*/*' + /connectors/{id}: + delete: + operationId: deleteConnector + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete an inbox connector + tags: + - ConnectorController + x-accepts: application/json + get: + operationId: getConnector + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ConnectorDto' + description: OK + summary: Get an inbox connector + tags: + - ConnectorController + x-accepts: '*/*' + put: + operationId: updateConnector + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateConnectorOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ConnectorDto' + description: OK + summary: Update an inbox connector + tags: + - ConnectorController + x-content-type: application/json + x-accepts: '*/*' + /aliases/{aliasId}: + delete: + operationId: deleteAlias + parameters: + - explode: false + in: path + name: aliasId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete an email alias + tags: + - AliasController + x-accepts: application/json + get: + description: Get an email alias by ID + operationId: getAlias + parameters: + - explode: false + in: path + name: aliasId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/AliasDto' + description: OK + summary: Get an email alias + tags: + - AliasController + x-accepts: '*/*' + put: + operationId: updateAlias + parameters: + - explode: false + in: path + name: aliasId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateAliasOptions' + required: true + responses: + "202": + content: + '*/*': + schema: + $ref: '#/components/schemas/AliasDto' + description: Accepted + summary: Update an email alias + tags: + - AliasController + x-content-type: application/json + x-accepts: '*/*' + /aliases/{aliasId}/emails/{emailId}: + put: + description: "Send the reply to the email sender or reply-to and include same\ + \ subject cc bcc etc. Reply to an email and the contents will be sent with\ + \ the existing subject to the emails `to`, `cc`, and `bcc`." + operationId: replyToAliasEmail + parameters: + - description: ID of the alias that email belongs to + explode: false + in: path + name: aliasId + required: true + schema: + format: uuid + type: string + style: simple + - description: ID of the email that should be replied to + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ReplyToAliasEmailOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/SentEmailDto' + description: OK + summary: Reply to an email + tags: + - AliasController + x-content-type: application/json + x-accepts: '*/*' + /webhooks: + delete: + operationId: deleteAllWebhooks + parameters: + - description: before + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "204": + description: No Content + summary: Delete all webhooks + tags: + - WebhookController + x-accepts: application/json + post: + description: Get notified of account level events such as bounce and bounce + recipient. + operationId: createAccountWebhook + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateWebhookOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookDto' + description: Created + summary: Attach a WebHook URL to an inbox + tags: + - WebhookController + x-content-type: application/json + x-accepts: '*/*' + /webhooks/{webhookId}/test: + post: + operationId: sendTestData + parameters: + - explode: false + in: path + name: webhookId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookTestResult' + description: Created + summary: Send webhook test data + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/{webhookId}/schema: + post: + description: Get JSON Schema definition for webhook payload + operationId: getJsonSchemaForWebhookPayload + parameters: + - explode: false + in: path + name: webhookId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/JSONSchemaDto' + description: OK + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/{webhookId}/example: + post: + description: Get example payload for webhook + operationId: getTestWebhookPayloadForWebhook + parameters: + - explode: false + in: path + name: webhookId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/AbstractWebhookPayload' + description: Created + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/verify: + post: + description: Verify a webhook payload using the messageId and signature. This + allows you to be sure that MailSlurp sent the payload and not another server. + operationId: verifyWebhookSignature + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/VerifyWebhookSignatureOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/VerifyWebhookSignatureResults' + description: OK + summary: Verify a webhook payload signature + tags: + - WebhookController + x-content-type: application/json + x-accepts: '*/*' + /webhooks/schema: + post: + description: Get JSON Schema definition for webhook payload by event + operationId: getJsonSchemaForWebhookEvent + parameters: + - explode: true + in: query + name: event + required: true + schema: + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/JSONSchemaDto' + description: OK + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/results/{webhookResultId}/redrive: + post: + description: Allows you to resend a webhook payload that was already sent. Webhooks + that fail are retried automatically for 24 hours and then put in a dead letter + queue. You can retry results manually using this method. + operationId: redriveWebhookResult + parameters: + - description: Webhook Result ID + explode: false + in: path + name: webhookResultId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookRedriveResult' + description: OK + summary: Get a webhook result and try to resend the original webhook payload + tags: + - WebhookController + x-accepts: '*/*' + /waitFor: + post: + description: Generic waitFor method that will wait until an inbox meets given + conditions or return immediately if already met + operationId: waitFor + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WaitForConditions' + required: true + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/EmailPreview' + type: array + description: OK + summary: Wait for an email to match the provided filter conditions such as subject + contains keyword. + tags: + - WaitForController + x-content-type: application/json + x-accepts: '*/*' + /waitForSms: + post: + description: Generic waitFor method that will wait until a phone number meets + given conditions or return immediately if already met + operationId: waitForSms + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WaitForSmsConditions' + required: true + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/SmsPreview' + type: array + description: OK + summary: Wait for an SMS message to match the provided filter conditions such + as body contains keyword. + tags: + - WaitForController + x-content-type: application/json + x-accepts: '*/*' + /waitForMatchingFirstEmail: + post: + description: "Perform a search of emails in an inbox with the given patterns.\ + \ If a result if found then return or else retry the search until a result\ + \ is found or timeout is reached. Match options allow simple CONTAINS or EQUALS\ + \ filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object\ + \ for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}]\ + \ }`. You can use an array of matches and they will be applied sequentially\ + \ to filter out emails. If you want to perform matches and extractions of\ + \ content using Regex patterns see the EmailController `getEmailContentMatch`\ + \ method." + operationId: waitForMatchingFirstEmail + parameters: + - description: Id of the inbox we are matching an email for + explode: true + in: query + name: inboxId + required: true + schema: + format: uuid + type: string + style: form + - description: Max milliseconds to wait + explode: true + in: query + name: timeout + required: false + schema: + format: int64 + type: integer + style: form + - description: Optional filter for unread only + explode: true + in: query + name: unreadOnly + required: false + schema: + default: false + type: boolean + style: form + - description: Filter for emails that were received after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter for emails that were received before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Sort direction + explode: true + in: query + name: sort + required: false + schema: + enum: + - ASC + - DESC + type: string + style: form + - description: Max milliseconds delay between calls + explode: true + in: query + name: delay + required: false + schema: + format: int64 + type: integer + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MatchOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/Email' + description: OK + summary: Wait for or return the first email that matches provided MatchOptions + array + tags: + - WaitForController + x-content-type: application/json + x-accepts: '*/*' + /waitForMatchingEmails: + post: + description: "Perform a search of emails in an inbox with the given patterns.\ + \ If results match expected count then return or else retry the search until\ + \ results are found or timeout is reached. Match options allow simple CONTAINS\ + \ or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions`\ + \ object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}]\ + \ }`. You can use an array of matches and they will be applied sequentially\ + \ to filter out emails. If you want to perform matches and extractions of\ + \ content using Regex patterns see the EmailController `getEmailContentMatch`\ + \ method." + operationId: waitForMatchingEmails + parameters: + - description: Id of the inbox we are fetching emails from + explode: true + in: query + name: inboxId + required: true + schema: + format: uuid + type: string + style: form + - description: Number of emails to wait for. Must be greater or equal to 1 + explode: true + in: query + name: count + required: true + schema: + format: int32 + minimum: 1 + type: integer + style: form + - description: Filter for emails that were received before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Filter for emails that were received after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Sort direction + explode: true + in: query + name: sort + required: false + schema: + enum: + - ASC + - DESC + type: string + style: form + - description: Max milliseconds delay between calls + explode: true + in: query + name: delay + required: false + schema: + format: int64 + type: integer + style: form + - description: Max milliseconds to wait + explode: true + in: query + name: timeout + required: false + schema: + format: int64 + type: integer + style: form + - description: Optional filter for unread only + explode: true + in: query + name: unreadOnly + required: false + schema: + default: false + type: boolean + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MatchOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/EmailPreview' + type: array + description: OK + summary: Wait or return list of emails that match simple matching patterns + tags: + - WaitForController + x-content-type: application/json + x-accepts: '*/*' + /waitForLatestSms: + post: + description: Wait until a phone number meets given conditions or return immediately + if already met + operationId: waitForLatestSms + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WaitForSingleSmsOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/SmsDto' + description: OK + summary: Wait for the latest SMS message to match the provided filter conditions + such as body contains keyword. + tags: + - WaitForController + x-content-type: application/json + x-accepts: '*/*' + /user/json/pluck: + post: + description: Utility function to extract properties from JSON objects in language + where this is cumbersome. + operationId: getJsonPropertyAsString + parameters: + - description: JSON property name or dot separated path selector such as `a.b.c` + explode: true + in: query + name: property + required: true + schema: + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/JsonNode' + required: true + responses: + "200": + content: + '*/*': + schema: + type: string + description: OK + tags: + - UserController + x-content-type: application/json + x-accepts: '*/*' + /tracking/pixels: + get: + description: List tracking pixels in paginated form + operationId: getAllTrackingPixels + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageTrackingPixelProjection' + description: OK + summary: Get tracking pixels + tags: + - TrackingController + x-accepts: '*/*' + post: + description: Create a tracking pixel. A tracking pixel is an image that can + be embedded in an email. When the email is viewed and the image is seen MailSlurp + will mark the pixel as seen. Use tracking pixels to monitor email open events. + You can receive open notifications via webhook or by fetching the pixel. + operationId: createTrackingPixel + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateTrackingPixelOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/TrackingPixelDto' + description: Created + summary: Create tracking pixel + tags: + - TrackingController + x-content-type: application/json + x-accepts: '*/*' + /templates: + get: + description: Get all templates + operationId: getTemplates + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/TemplateProjection' + type: array + description: OK + summary: List templates + tags: + - TemplateController + x-accepts: '*/*' + post: + description: Create an email template with variables for use with templated + transactional emails. + operationId: createTemplate + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateTemplateOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/TemplateDto' + description: Created + summary: Create a Template + tags: + - TemplateController + x-content-type: application/json + x-accepts: '*/*' + /sendEmail: + post: + description: If no senderId or inboxId provided a random email address will + be used to send from. + operationId: sendEmailSimple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SimpleSendEmailOptions' + required: true + responses: + "201": + description: Created + summary: Send an email + tags: + - CommonActionsController + x-content-type: application/json + x-accepts: application/json + /rulesets/{id}/test: + post: + description: Test an inbox ruleset + operationId: testInboxRuleset + parameters: + - description: ID of inbox ruleset + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InboxRulesetTestOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxRulesetTestResult' + description: OK + summary: Test an inbox ruleset + tags: + - InboxRulesetController + x-content-type: application/json + x-accepts: '*/*' + /repliers: + delete: + description: Delete inbox repliers. Accepts optional inboxId filter. + operationId: deleteInboxRepliers + parameters: + - description: Optional inbox id to attach replier to + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + responses: + "204": + description: No Content + summary: Delete inbox repliers + tags: + - InboxReplierController + x-accepts: application/json + get: + description: List all repliers attached to an inbox + operationId: getInboxRepliers + parameters: + - description: Optional inbox id to get repliers from + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + - description: Optional page index in inbox replier list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox replier list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageInboxReplierDto' + description: OK + summary: List inbox repliers + tags: + - InboxReplierController + x-accepts: '*/*' + post: + description: "Create a new inbox rule for reply toing, blocking, and allowing\ + \ emails when sending and receiving" + operationId: createNewInboxReplier + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateInboxReplierOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxReplierDto' + description: OK + summary: Create an inbox replier + tags: + - InboxReplierController + x-content-type: application/json + x-accepts: '*/*' + /phone/numbers/{phoneNumberId}/webhooks: + post: + description: Get notified whenever a phone number receives an SMS via a WebHook + URL. + operationId: createWebhookForPhoneNumber + parameters: + - explode: false + in: path + name: phoneNumberId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateWebhookOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookDto' + description: Created + summary: Attach a WebHook URL to a phone number + tags: + - WebhookController + x-content-type: application/json + x-accepts: '*/*' + /phone/numbers/{phoneNumberId}/test: + post: + operationId: testPhoneNumberSendSms + parameters: + - explode: false + in: header + name: x-test-id + required: false + schema: + type: string + style: simple + - explode: false + in: path + name: phoneNumberId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TestPhoneNumberOptions' + required: true + responses: + "200": + description: OK + tags: + - PhoneController + x-content-type: application/json + x-accepts: application/json + /phone/emergency-addresses: + get: + operationId: getEmergencyAddresses + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/EmergencyAddressDto' + type: array + description: OK + tags: + - PhoneController + x-accepts: '*/*' + post: + operationId: createEmergencyAddress + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateEmergencyAddressOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmergencyAddress' + description: OK + tags: + - PhoneController + x-content-type: application/json + x-accepts: '*/*' + /newEmailAddress: + post: + description: Returns an Inbox with an `id` and an `emailAddress` + operationId: createNewEmailAddress + parameters: + - explode: true + in: query + name: allowTeamAccess + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: useDomainPool + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: expiresAt + required: false + schema: + format: date-time + type: string + style: form + - explode: true + in: query + name: expiresIn + required: false + schema: + format: int64 + type: integer + style: form + - explode: true + in: query + name: emailAddress + required: false + schema: + type: string + style: form + - explode: true + in: query + name: inboxType + required: false + schema: + description: Type of inbox. HTTP inboxes are faster and better for most + cases. SMTP inboxes are more suited for public facing inbound messages + (but cannot send). + enum: + - HTTP_INBOX + - SMTP_INBOX + type: string + style: form + - explode: true + in: query + name: description + required: false + schema: + type: string + style: form + - explode: true + in: query + name: name + required: false + schema: + type: string + style: form + - explode: true + in: query + name: tags + required: false + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: favourite + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: virtualInbox + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: useShortAddress + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: domainName + required: false + schema: + type: string + style: form + - explode: true + in: query + name: domainId + required: false + schema: + format: uuid + type: string + style: form + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxDto' + description: Created + summary: Create new random inbox + tags: + - CommonActionsController + x-accepts: '*/*' + /missed-emails/restore: + post: + description: If emails were missed due to a plan limit they are saved as missed + emails. If support team enables the canRestore flag these emails can be reload + into your account using this method. + operationId: restoreMissedEmails + responses: + "200": + description: OK + summary: Restore missed emails + tags: + - MissedEmailController + x-accepts: application/json + /mail-server/verify/email-address: + post: + deprecated: true + operationId: verifyEmailAddress + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/VerifyEmailAddressOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmailVerificationResult' + description: OK + summary: Deprecated. Use the EmailVerificationController methods for more accurate + and reliable functionality. Verify the existence of an email address at a + given mail server. + tags: + - MailServerController + x-content-type: application/json + x-accepts: '*/*' + /mail-server/describe/ip-address: + post: + operationId: getIpAddress + parameters: + - explode: true + in: query + name: name + required: true + schema: + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/IPAddressResult' + description: OK + summary: Get IP address for a domain + tags: + - MailServerController + x-accepts: '*/*' + /mail-server/describe/domain: + post: + operationId: describeMailServerDomain + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DescribeDomainOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/DescribeMailServerDomainResult' + description: OK + summary: Get DNS Mail Server records for a domain + tags: + - MailServerController + x-content-type: application/json + x-accepts: '*/*' + /mail-server/describe/dns-lookup: + post: + operationId: getDnsLookup + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DNSLookupOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/DNSLookupResults' + description: OK + summary: Lookup DNS records for a domain + tags: + - MailServerController + x-content-type: application/json + x-accepts: '*/*' + /inboxes: + delete: + description: "Permanently delete all inboxes and associated email addresses.\ + \ This will also delete all emails within the inboxes. Be careful as inboxes\ + \ cannot be recovered once deleted. Note: deleting inboxes will not impact\ + \ your usage limits. Monthly inbox creation limits are based on how many inboxes\ + \ were created in the last 30 days, not how many inboxes you currently have." + operationId: deleteAllInboxes + responses: + "204": + description: No Content + summary: Delete all inboxes + tags: + - InboxController + x-accepts: application/json + get: + deprecated: true + description: List the inboxes you have created. Note use of the more advanced + `getAllInboxes` is recommended and allows paginated access using a limit and + sort parameter. + operationId: getInboxes + parameters: + - description: Optional result size limit. Note an automatic limit of 100 results + is applied. See the paginated `getAllEmails` for larger queries. + explode: true + in: query + name: size + required: false + schema: + default: 100 + format: int32 + maximum: 100 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional filter by created after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional exclude catch all inboxes + explode: true + in: query + name: excludeCatchAllInboxes + required: false + schema: + type: boolean + style: form + - description: Optional filter by created before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/InboxDto' + type: array + description: OK + summary: List Inboxes and email addresses + tags: + - InboxController + x-accepts: '*/*' + post: + description: 'Create a new inbox and with a randomized email address to send + and receive from. Pass emailAddress parameter if you wish to use a specific + email address. Creating an inbox is required before sending or receiving emails. + If writing tests it is recommended that you create a new inbox during each + test method so that it is unique and empty. ' + operationId: createInbox + parameters: + - description: A custom email address to use with the inbox. Defaults to null. + When null MailSlurp will assign a random email address to the inbox such + as `123@mailslurp.com`. If you use the `useDomainPool` option when the email + address is null it will generate an email address with a more varied domain + ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom + email address is provided the address is split into a domain and the domain + is queried against your user. If you have created the domain in the MailSlurp + dashboard and verified it you can use any email address that ends with the + domain. Note domain types must match the inbox type - so `SMTP` inboxes + will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need + to send emails as they can only receive. Send an email to this address and + the inbox will receive and store it for you. To retrieve the email use the + Inbox and Email Controller endpoints with the inbox ID. + explode: true + in: query + name: emailAddress + required: false + schema: + type: string + style: form + - description: Tags that inbox has been tagged with. Tags can be added to inboxes + to group different inboxes within an account. You can also search for inboxes + by tag in the dashboard UI. + explode: true + in: query + name: tags + required: false + schema: + items: + type: string + type: array + style: form + - description: Optional name of the inbox. Displayed in the dashboard for easier + search and used as the sender name when sending emails. + explode: true + in: query + name: name + required: false + schema: + type: string + style: form + - description: Optional description of the inbox for labelling purposes. Is + shown in the dashboard and can be used with + explode: true + in: query + name: description + required: false + schema: + type: string + style: form + - description: "Use the MailSlurp domain name pool with this inbox when creating\ + \ the email address. Defaults to null. If enabled the inbox will be an email\ + \ address with a domain randomly chosen from a list of the MailSlurp domains.\ + \ This is useful when the default `@mailslurp.com` email addresses used\ + \ with inboxes are blocked or considered spam by a provider or receiving\ + \ service. When domain pool is enabled an email address will be generated\ + \ ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly\ + \ selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to\ + \ the generated email addresses. When null or false MailSlurp uses the default\ + \ behavior of `@mailslurp.com` or custom email address provided by the emailAddress\ + \ field. Note this feature is only available for `HTTP` inbox types." + explode: true + in: query + name: useDomainPool + required: false + schema: + type: boolean + style: form + - description: Is the inbox a favorite. Marking an inbox as a favorite is typically + done in the dashboard for quick access or filtering + explode: true + in: query + name: favourite + required: false + schema: + type: boolean + style: form + - description: Optional inbox expiration date. If null then this inbox is permanent + and the emails in it won't be deleted. If an expiration date is provided + or is required by your plan the inbox will be closed when the expiration + time is reached. Expired inboxes still contain their emails but can no longer + send or receive emails. An ExpiredInboxRecord is created when an inbox and + the email address and inbox ID are recorded. The expiresAt property is a + timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. + explode: true + in: query + name: expiresAt + required: false + schema: + format: date-time + type: string + style: form + - description: Number of milliseconds that inbox should exist for + explode: true + in: query + name: expiresIn + required: false + schema: + format: int64 + type: integer + style: form + - description: DEPRECATED (team access is always true). Grant team access to + this inbox and the emails that belong to it for team members of your organization. + explode: true + in: query + name: allowTeamAccess + required: false + schema: + type: boolean + style: form + - description: HTTP (default) or SMTP inbox type. HTTP inboxes are default and + best solution for most cases. SMTP inboxes are more reliable for public + inbound email consumption (but do not support sending emails). When using + custom domains the domain type must match the inbox type. HTTP inboxes are + processed by AWS SES while SMTP inboxes use a custom mail server running + at `mx.mailslurp.com`. + explode: true + in: query + name: inboxType + required: false + schema: + description: Type of inbox. HTTP inboxes are faster and better for most + cases. SMTP inboxes are more suited for public facing inbound messages + (but cannot send). + enum: + - HTTP_INBOX + - SMTP_INBOX + type: string + style: form + - description: Virtual inbox prevents any outbound emails from being sent. It + creates sent email records but will never send real emails to recipients. + Great for testing and faking email sending. + explode: true + in: query + name: virtualInbox + required: false + schema: + type: boolean + style: form + - description: Use a shorter email address under 31 characters + explode: true + in: query + name: useShortAddress + required: false + schema: + type: boolean + style: form + - description: ID of custom domain to use for email address. + explode: true + in: query + name: domainId + required: false + schema: + format: uuid + type: string + style: form + - description: FQDN domain name for the domain you have verified. Will be appended + with a randomly assigned recipient name. Use the `emailAddress` option instead + to specify the full custom inbox. + explode: true + in: query + name: domainName + required: false + schema: + type: string + style: form + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxDto' + description: Created + summary: Create an inbox email address. An inbox has a real email address and + can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes. + tags: + - InboxController + x-accepts: '*/*' + /inboxes/{inboxId}: + delete: + description: "Permanently delete an inbox and associated email address as well\ + \ as all emails within the given inbox. This action cannot be undone. Note:\ + \ deleting an inbox will not affect your account usage. Monthly inbox usage\ + \ is based on how many inboxes you create within 30 days, not how many exist\ + \ at time of request." + operationId: deleteInbox + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete inbox + tags: + - InboxController + x-accepts: application/json + get: + description: "Returns an inbox's properties, including its email address and\ + \ ID." + operationId: getInbox + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxDto' + description: OK + summary: Get Inbox. Returns properties of an inbox. + tags: + - InboxController + x-accepts: '*/*' + patch: + description: Update editable fields on an inbox + operationId: updateInbox + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateInboxOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxDto' + description: OK + summary: Update Inbox. Change name and description. Email address is not editable. + tags: + - InboxController + x-content-type: application/json + x-accepts: '*/*' + post: + description: "Send an email from an inbox's email address. \nThe request body\ + \ should contain the `SendEmailOptions` that include recipients, attachments,\ + \ body etc. See `SendEmailOptions` for all available properties. Note the\ + \ `inboxId` refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/\ + \ for more information on how to send emails. This method does not return\ + \ a sent email entity due to legacy reasons. To send and get a sent email\ + \ as returned response use the sister method `sendEmailAndConfirm`." + operationId: sendEmail + parameters: + - description: ID of the inbox you want to send the email from + explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SendEmailOptions' + required: true + responses: + "201": + description: Created + summary: Send Email + tags: + - InboxController + x-content-type: application/json + x-accepts: application/json + /inboxes/{inboxId}/with-schedule: + post: + description: Send an email using a delay. Will place the email onto a scheduler + that will then be processed and sent. Use delays to schedule email sending. + operationId: sendWithSchedule + parameters: + - description: ID of the inbox you want to send the email from + explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + - description: Sending timestamp + explode: true + in: query + name: sendAtTimestamp + required: false + schema: + format: date-time + type: string + style: form + - description: Send after n seconds + explode: true + in: query + name: sendAtNowPlusSeconds + required: false + schema: + format: int64 + type: integer + style: form + - description: Validate before adding to queue + explode: true + in: query + name: validateBeforeEnqueue + required: false + schema: + type: boolean + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SendEmailOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/ScheduledJobDto' + description: Created + summary: Send email with with delay or schedule + tags: + - InboxController + x-content-type: application/json + x-accepts: '*/*' + /inboxes/{inboxId}/with-queue: + post: + description: Send an email using a queue. Will place the email onto a queue + that will then be processed and sent. Use this queue method to enable any + failed email sending to be recovered. This will prevent lost emails when sending + if your account encounters a block or payment issue. + operationId: sendEmailWithQueue + parameters: + - description: ID of the inbox you want to send the email from + explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + - description: Validate before adding to queue + explode: true + in: query + name: validateBeforeEnqueue + required: true + schema: + type: boolean + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SendEmailOptions' + required: true + responses: + "201": + description: Created + summary: Send email with queue + tags: + - InboxController + x-content-type: application/json + x-accepts: application/json + /inboxes/{inboxId}/webhooks: + get: + deprecated: true + operationId: getWebhooks + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/WebhookDto' + type: array + description: OK + summary: Get all webhooks for an Inbox + tags: + - WebhookController + x-accepts: '*/*' + post: + description: Get notified whenever an inbox receives an email via a WebHook + URL. An emailID will be posted to this URL every time an email is received + for this inbox. The URL must be publicly reachable by the MailSlurp server. + You can provide basicAuth values if you wish to secure this endpoint. + operationId: createWebhook + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateWebhookOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookDto' + description: Created + summary: Attach a WebHook URL to an inbox + tags: + - WebhookController + x-content-type: application/json + x-accepts: '*/*' + /inboxes/{inboxId}/smtp-envelope: + post: + description: "Send email using an SMTP envelope containing RCPT TO, MAIL FROM,\ + \ and a SMTP BODY." + operationId: sendSmtpEnvelope + parameters: + - description: ID of the inbox you want to send the email from + explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SendSMTPEnvelopeOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/SentEmailDto' + description: Created + summary: Send email using an SMTP mail envelope and message body and return + sent confirmation + tags: + - InboxController + x-content-type: application/json + x-accepts: '*/*' + /inboxes/{inboxId}/send-test-email: + post: + description: Send an inbox a test email to test email receiving is working + operationId: sendTestEmail + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Send a test email to inbox + tags: + - InboxController + x-accepts: application/json + /inboxes/{inboxId}/rulesets: + get: + description: List all rulesets attached to an inbox + operationId: listInboxRulesets + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in inbox ruleset list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox ruleset list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Optional filter by created after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter by created before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageInboxRulesetDto' + description: OK + summary: List inbox rulesets + tags: + - InboxController + x-accepts: '*/*' + post: + description: "Create a new inbox rule for forwarding, blocking, and allowing\ + \ emails when sending and receiving" + operationId: createInboxRuleset + parameters: + - description: inboxId + explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateInboxRulesetOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxRulesetDto' + description: OK + summary: Create an inbox ruleset + tags: + - InboxController + x-content-type: application/json + x-accepts: '*/*' + /inboxes/{inboxId}/confirm: + post: + description: Sister method for standard `sendEmail` method with the benefit + of returning a `SentEmail` entity confirming the successful sending of the + email with a link to the sent object created for it. + operationId: sendEmailAndConfirm + parameters: + - description: ID of the inbox you want to send the email from + explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SendEmailOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/SentEmailDto' + description: Created + summary: Send email and return sent confirmation + tags: + - InboxController + x-content-type: application/json + x-accepts: '*/*' + /inboxes/withOptions: + post: + description: Additional endpoint that allows inbox creation with request body + options. Can be more flexible that other methods for some clients. + operationId: createInboxWithOptions + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateInboxDto' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxDto' + description: Created + summary: Create an inbox with options. Extended options for inbox creation. + tags: + - InboxController + x-content-type: application/json + x-accepts: '*/*' + /inboxes/withDefaults: + post: + operationId: createInboxWithDefaults + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxDto' + description: Created + summary: Create an inbox with default options. Uses MailSlurp domain pool address + and is private. + tags: + - InboxController + x-accepts: '*/*' + /groups: + get: + operationId: getGroups + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/GroupProjection' + type: array + description: OK + summary: Get all groups + tags: + - GroupController + x-accepts: '*/*' + post: + operationId: createGroup + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateGroupOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/GroupDto' + description: Created + summary: Create a group + tags: + - GroupController + x-content-type: application/json + x-accepts: '*/*' + /forwarders/{id}/test: + post: + description: Test an inbox forwarder + operationId: testInboxForwarder + parameters: + - description: ID of inbox forwarder + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/InboxForwarderTestOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxForwarderTestResult' + description: OK + summary: Test an inbox forwarder + tags: + - InboxForwarderController + x-content-type: application/json + x-accepts: '*/*' + /forms: + post: + description: "This endpoint allows you to submit HTML forms and receive the\ + \ field values and files via email. \n\n#### Parameters\nThe endpoint looks\ + \ for special meta parameters in the form fields OR in the URL request parameters.\ + \ The meta parameters can be used to specify the behaviour of the email. \n\ + \nYou must provide at-least a `_to` email address to tell the endpoint where\ + \ the form should be emailed. These can be submitted as hidden HTML input\ + \ fields with the corresponding `name` attributes or as URL query parameters\ + \ such as `?_to=test@example.com`\n\nThe endpoint takes all other form fields\ + \ that are named and includes them in the message body of the email. Files\ + \ are sent as attachments.\n\n#### Submitting\nThis endpoint accepts form\ + \ submission via POST method. It accepts `application/x-www-form-urlencoded`,\ + \ and `multipart/form-data` content-types.\n\n#### HTML Example\n```html\n\ +
\n \n\ + \ \n \n\ +
\n```\n\n#### URL Example\n```html\n
\n \n Submit\n\n```\n\n\n\nThe email address is\ + \ specified by a `_to` field OR is extracted from an email alias specified\ + \ by a `_toAlias` field (see the alias controller for more information). \n\ + Endpoint accepts . \nYou can specify a content type in HTML forms using the\ + \ `enctype` attribute, for instance: `
`.\n\n" + operationId: submitForm + parameters: + - description: The email address that submitted form should be sent to. + example: test@example.com + explode: true + in: query + name: _to + required: false + schema: + type: string + style: form + - description: Optional subject of the email that will be sent. + example: My form submission + explode: true + in: query + name: _subject + required: false + schema: + type: string + style: form + - description: Optional URL to redirect form submitter to after submission. + If not present user will see a success message. + example: https://mysite.com/form-success + explode: true + in: query + name: _redirectTo + required: false + schema: + type: string + style: form + - description: Email address of the submitting user. Include this if you wish + to record the submitters email address and reply to it later. + example: test@example.com + explode: true + in: query + name: _emailAddress + required: false + schema: + type: string + style: form + - description: Optional success message to display if no _redirectTo present. + example: Thanks for submitting + explode: true + in: query + name: _successMessage + required: false + schema: + type: string + style: form + - description: Optional but recommended field that catches spammers out. Include + as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every + field. If the _spamCheck field is filled the form submission will be ignored. + explode: true + in: query + name: _spamCheck + required: false + schema: + type: string + style: form + - description: All other parameters or fields will be accepted and attached + to the sent email. This includes files and any HTML form field with a name. + These fields will become the body of the email that is sent. + explode: true + in: query + name: otherParameters + required: false + schema: + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + type: string + description: OK + summary: Submit a form to be parsed and sent as an email to an address determined + by the form fields + tags: + - FormController + x-accepts: '*/*' + /export: + get: + operationId: exportEntities + parameters: + - explode: true + in: query + name: exportType + required: true + schema: + enum: + - INBOXES + - CONTACTS + - ATTACHMENTS + - EMAILS + type: string + style: form + - explode: true + in: query + name: apiKey + required: true + schema: + type: string + style: form + - explode: true + in: query + name: outputFormat + required: true + schema: + enum: + - CSV_DEFAULT + - CSV_EXCEL + type: string + style: form + - explode: true + in: query + name: filter + required: false + schema: + type: string + style: form + - explode: true + in: query + name: listSeparatorToken + required: false + schema: + type: string + style: form + - explode: true + in: query + name: excludePreviouslyExported + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: createdEarliestTime + required: false + schema: + format: date-time + type: string + style: form + - explode: true + in: query + name: createdOldestTime + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + items: + format: byte + type: string + type: array + description: OK + summary: Export inboxes link callable via browser + tags: + - ExportController + x-accepts: '*/*' + post: + operationId: getExportLink + parameters: + - explode: true + in: query + name: exportType + required: true + schema: + enum: + - INBOXES + - CONTACTS + - ATTACHMENTS + - EMAILS + type: string + style: form + - explode: true + in: query + name: apiKey + required: false + schema: + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ExportOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ExportLink' + description: OK + summary: Get export link + tags: + - ExportController + x-content-type: application/json + x-accepts: '*/*' + /emails: + delete: + description: Deletes all emails in your account. Be careful as emails cannot + be recovered + operationId: deleteAllEmails + responses: + "204": + description: No Content + summary: Delete all emails in all inboxes. + tags: + - EmailController + x-accepts: application/json + get: + description: By default returns all emails across all inboxes sorted by ascending + created at date. Responses are paginated. You can restrict results to a list + of inbox IDs. You can also filter out read messages + operationId: getEmailsPaginated + parameters: + - description: Optional inbox ids to filter by. Can be repeated. By default + will use all inboxes belonging to your account. + explode: true + in: query + name: inboxId + required: false + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Optional page index in email list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in email list pagination. Maximum size is + 100. Use page index and sort to page through larger results + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + maximum: 100 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional filter for unread emails only. All emails are considered + unread until they are viewed in the dashboard or requested directly + explode: true + in: query + name: unreadOnly + required: false + schema: + default: false + type: boolean + style: form + - description: "Optional search filter. Searches email recipients, sender, subject,\ + \ email address and ID. Does not search email body" + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Optional filter emails received after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter emails received before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageEmailProjection' + description: OK + summary: Get all emails in all inboxes in paginated form. Email API list all. + tags: + - EmailController + x-accepts: '*/*' + post: + description: Alias for `InboxController.sendEmail` method - see original method + for full details. Sends an email from a given inbox that you have created. + If no inbox is supplied a random inbox will be created for you and used to + send the email. + operationId: sendEmailSourceOptional + parameters: + - description: ID of the inbox you want to send the email from + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + - description: Use domain pool. Optionally create inbox to send from using the + mailslurp domain pool. + explode: true + in: query + name: useDomainPool + required: false + schema: + type: boolean + style: form + - description: Optionally create inbox to send from that is a virtual inbox + and won't send to external addresses + explode: true + in: query + name: virtualSend + required: false + schema: + type: boolean + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SendEmailOptions' + required: true + responses: + "201": + description: Created + summary: Send email + tags: + - EmailController + x-content-type: application/json + x-accepts: application/json + /emails/{emailId}/validate: + post: + description: Validate the HTML content of email if HTML is found. Considered + valid if no HTML is present. + operationId: validateEmail + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/ValidationDto' + description: Created + summary: Validate email HTML contents + tags: + - EmailController + x-accepts: '*/*' + /emails/{emailId}/imap-flag-operation: + post: + description: Apply RFC3501 section-2.3.2 IMAP flag operations on an email + operationId: applyImapFlagOperation + parameters: + - explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImapFlagOperationOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmailPreview' + description: OK + summary: Set IMAP flags associated with a message. Only supports '\Seen' flag. + tags: + - EmailController + x-content-type: application/json + x-accepts: '*/*' + /emails/{emailId}/forward: + post: + description: Forward an existing email to new recipients. The sender of the + email will be the inbox that received the email you are forwarding. You can + override the sender with the `from` option. Note you must have access to the + from address in MailSlurp to use the override. For more control consider fetching + the email and sending it a new using the send email endpoints. + operationId: forwardEmail + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ForwardEmailOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/SentEmailDto' + description: Created + summary: Forward email to recipients + tags: + - EmailController + x-content-type: application/json + x-accepts: '*/*' + /emails/{emailId}/contentMatch: + post: + description: "Return the matches for a given Java style regex pattern. Do not\ + \ include the typical `/` at start or end of regex in some languages. Given\ + \ an example `your code is: 12345` the pattern to extract match looks like\ + \ `code is: (\\d{6})`. This will return an array of matches with the first\ + \ matching the entire pattern and the subsequent matching the groups: `['code\ + \ is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html\ + \ for more information of available patterns. " + operationId: getEmailContentMatch + parameters: + - description: ID of email to match against + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ContentMatchOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmailContentMatchResult' + description: OK + summary: Get email content regex pattern match results. Runs regex against email + body and returns match groups. + tags: + - EmailController + x-content-type: application/json + x-accepts: '*/*' + /email-verification/email-address-list: + post: + operationId: validateEmailAddressList + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ValidateEmailAddressListOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ValidateEmailAddressListResult' + description: OK + summary: Validate a list of email addresses. Per unit billing. See your plan + for pricing. + tags: + - EmailVerificationController + x-content-type: application/json + x-accepts: '*/*' + /domains: + get: + description: List all custom domains you have created + operationId: getDomains + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/DomainPreview' + type: array + description: OK + summary: Get domains + tags: + - DomainController + x-accepts: '*/*' + post: + description: Link a domain that you own with MailSlurp so you can create email + addresses using it. Endpoint returns DNS records used for validation. You + must add these verification records to your host provider's DNS setup to verify + the domain. + operationId: createDomain + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateDomainOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/DomainDto' + description: Created + summary: Create Domain + tags: + - DomainController + x-content-type: application/json + x-accepts: '*/*' + /domains/{id}/wildcard: + get: + description: Get the catch all inbox for a domain for missed emails + operationId: getDomainWildcardCatchAllInbox + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxDto' + description: OK + summary: Get catch all wild card inbox for domain + tags: + - DomainController + x-accepts: '*/*' + post: + description: Add a catch all inbox to a domain so that any emails sent to it + that cannot be matched will be sent to the catch all inbox generated + operationId: addDomainWildcardCatchAll + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/DomainDto' + description: OK + summary: Add catch all wild card inbox to domain + tags: + - DomainController + x-accepts: '*/*' + /createInbox: + post: + description: Returns an Inbox with an `id` and an `emailAddress` + operationId: createRandomInbox + parameters: + - explode: true + in: query + name: allowTeamAccess + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: useDomainPool + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: expiresAt + required: false + schema: + format: date-time + type: string + style: form + - explode: true + in: query + name: expiresIn + required: false + schema: + format: int64 + type: integer + style: form + - explode: true + in: query + name: emailAddress + required: false + schema: + type: string + style: form + - explode: true + in: query + name: inboxType + required: false + schema: + description: Type of inbox. HTTP inboxes are faster and better for most + cases. SMTP inboxes are more suited for public facing inbound messages + (but cannot send). + enum: + - HTTP_INBOX + - SMTP_INBOX + type: string + style: form + - explode: true + in: query + name: description + required: false + schema: + type: string + style: form + - explode: true + in: query + name: name + required: false + schema: + type: string + style: form + - explode: true + in: query + name: tags + required: false + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: favourite + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: virtualInbox + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: useShortAddress + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: domainName + required: false + schema: + type: string + style: form + - explode: true + in: query + name: domainId + required: false + schema: + format: uuid + type: string + style: form + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxDto' + description: Created + summary: Create new random inbox + tags: + - CommonActionsController + x-accepts: '*/*' + /contacts: + get: + operationId: getContacts + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/ContactProjection' + type: array + description: OK + summary: Get all contacts + tags: + - ContactController + x-accepts: '*/*' + post: + operationId: createContact + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateContactOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/ContactDto' + description: Created + summary: Create a contact + tags: + - ContactController + x-content-type: application/json + x-accepts: '*/*' + /connectors: + get: + description: List inbox connectors that sync external emails to MailSlurp inboxes + operationId: getConnectors + parameters: + - description: Optional page index in connector list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in connector list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageConnector' + description: OK + summary: Get inbox connectors + tags: + - ConnectorController + x-accepts: '*/*' + post: + description: Sync emails between external mailboxes and MailSlurp inboxes + operationId: createConnector + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateConnectorOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/ConnectorDto' + description: Created + summary: Create an inbox connector + tags: + - ConnectorController + x-content-type: application/json + x-accepts: '*/*' + /connectors/{id}/sync: + post: + operationId: syncConnector + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ConnectorSyncRequestResult' + description: OK + summary: Sync an inbox connector + tags: + - ConnectorController + x-accepts: '*/*' + /bulk/send: + post: + operationId: bulkSendEmails + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BulkSendEmailOptions' + required: true + responses: + "201": + description: Created + summary: Bulk Send Emails + tags: + - BulkActionsController + x-content-type: application/json + x-accepts: application/json + /bulk/inboxes: + delete: + operationId: bulkDeleteInboxes + requestBody: + content: + application/json: + schema: + items: + format: uuid + type: string + type: array + required: true + responses: + "204": + description: No Content + summary: Bulk Delete Inboxes + tags: + - BulkActionsController + x-content-type: application/json + x-accepts: application/json + post: + operationId: bulkCreateInboxes + parameters: + - description: Number of inboxes to be created in bulk + explode: true + in: query + name: count + required: true + schema: + format: int32 + type: integer + style: form + responses: + "201": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/InboxDto' + type: array + description: Created + summary: Bulk create Inboxes (email addresses) + tags: + - BulkActionsController + x-accepts: '*/*' + /bounce/filter-recipients: + post: + description: Prevent email sending errors by remove recipients who have resulted + in past email bounces or complaints + operationId: filterBouncedRecipient + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/FilterBouncedRecipientsOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/FilterBouncedRecipientsResult' + description: OK + summary: Filter a list of email recipients and remove those who have bounced + tags: + - BounceController + x-content-type: application/json + x-accepts: '*/*' + /attachments: + delete: + operationId: deleteAllAttachments + responses: + "204": + description: No Content + summary: Delete all attachments + tags: + - AttachmentController + x-accepts: application/json + get: + description: Get all attachments in paginated response. Each entity contains + meta data for the attachment such as `name` and `content-type`. Use the `attachmentId` + and the download endpoints to get the file contents. + operationId: getAttachments + parameters: + - description: Optional page index for list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size for list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional file name and content type search filter + explode: true + in: query + name: fileNameFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageAttachmentEntity' + description: OK + summary: Get email attachments + tags: + - AttachmentController + x-accepts: '*/*' + post: + operationId: uploadAttachment + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UploadAttachmentOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + items: + type: string + type: array + description: Created + summary: Upload an attachment for sending using base64 file encoding. Returns + an array whose first element is the ID of the uploaded attachment. + tags: + - AttachmentController + x-content-type: application/json + x-accepts: '*/*' + /attachments/multipart: + post: + operationId: uploadMultipartForm + parameters: + - description: Optional content type of attachment + explode: true + in: query + name: contentType + required: false + schema: + type: string + style: form + - description: Optional name of file + explode: true + in: query + name: filename + required: false + schema: + type: string + style: form + - description: Optional content type header of attachment + explode: true + in: query + name: x-filename + required: false + schema: + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/uploadMultipartForm_request' + responses: + "201": + content: + '*/*': + schema: + items: + type: string + type: array + description: Created + summary: Upload an attachment for sending using a Multipart Form request. Returns + an array whose first element is the ID of the uploaded attachment. + tags: + - AttachmentController + x-content-type: application/json + x-accepts: '*/*' + /attachments/bytes: + post: + operationId: uploadAttachmentBytes + parameters: + - description: Optional contentType for file. For instance `application/pdf` + explode: false + in: header + name: contentType + required: false + schema: + type: string + style: simple + - description: Optional filename to save upload with + explode: true + in: query + name: filename + required: false + schema: + type: string + style: form + requestBody: + content: + application/octet-stream: + schema: + $ref: '#/components/schemas/uploadAttachmentBytes_request' + required: true + responses: + "201": + content: + application/json: + schema: + items: + type: string + type: array + description: Created + summary: Upload an attachment for sending using file byte stream input octet + stream. Returns an array whose first element is the ID of the uploaded attachment. + tags: + - AttachmentController + x-content-type: application/octet-stream + x-accepts: application/json + /aliases: + get: + description: Get all email aliases in paginated form + operationId: getAliases + parameters: + - description: Optional page index in alias list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in alias list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageAlias' + description: OK + summary: Get all email aliases you have created + tags: + - AliasController + x-accepts: '*/*' + post: + description: Email aliases use a MailSlurp randomly generated email address + (or a custom domain inbox that you provide) to mask or proxy a real email + address. Emails sent to the alias address will be forwarded to the hidden + email address it was created for. If you want to send a reply use the threadId + attached + operationId: createAlias + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateAliasOptions' + required: true + responses: + "201": + content: + '*/*': + schema: + $ref: '#/components/schemas/AliasDto' + description: Created + summary: Create an email alias. Must be verified by clicking link inside verification + email that will be sent to the address. Once verified the alias will be active. + tags: + - AliasController + x-content-type: application/json + x-accepts: '*/*' + /aliases/{aliasId}/emails: + get: + description: Get paginated emails for an alias by ID + operationId: getAliasEmails + parameters: + - explode: false + in: path + name: aliasId + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index alias email list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size alias email list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional filter by sent after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter by sent before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageEmailProjection' + description: OK + summary: Get emails for an alias + tags: + - AliasController + x-accepts: '*/*' + post: + description: Send an email from an alias. Replies to the email will be forwarded + to the alias masked email address + operationId: sendAliasEmail + parameters: + - explode: false + in: path + name: aliasId + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SendEmailOptions' + required: true + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/SentEmailDto' + description: OK + summary: Send an email from an alias inbox + tags: + - AliasController + x-content-type: application/json + x-accepts: '*/*' + /emails/{emailId}/read: + patch: + description: Marks an email as read or unread. Pass boolean read flag to set + value. This is useful if you want to read an email but keep it as unread + operationId: markAsRead + parameters: + - explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + - description: What value to assign to email read property. Default true. + explode: true + in: query + name: read + required: false + schema: + default: true + type: boolean + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmailPreview' + description: OK + summary: Mark an email as read on unread + tags: + - EmailController + x-accepts: '*/*' + /webhooks/{webhookId}: + delete: + operationId: deleteWebhookById + parameters: + - explode: false + in: path + name: webhookId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + description: OK + summary: Delete a webhook + tags: + - WebhookController + x-accepts: application/json + get: + operationId: getWebhook + parameters: + - explode: false + in: path + name: webhookId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookDto' + description: OK + summary: Get a webhook + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/{webhookId}/results: + get: + operationId: getWebhookResults + parameters: + - description: ID of webhook to get results for + explode: false + in: path + name: webhookId + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Filter for unseen exceptions only + explode: true + in: query + name: unseenOnly + required: false + schema: + type: boolean + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageWebhookResult' + description: OK + summary: Get a webhook results for a webhook + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/test: + get: + description: Get test webhook payload example. Response content depends on eventName + passed. Uses `EMAIL_RECEIVED` as default. + operationId: getTestWebhookPayload + parameters: + - explode: true + in: query + name: eventName + required: false + schema: + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/AbstractWebhookPayload' + description: OK + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/test/new-sms-payload: + get: + operationId: getTestWebhookPayloadNewSms + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookNewSmsPayload' + description: OK + summary: Get webhook test payload for new sms event + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/test/new-email-payload: + get: + operationId: getTestWebhookPayloadNewEmail + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookNewEmailPayload' + description: OK + summary: Get webhook test payload for new email event + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/test/new-contact-payload: + get: + operationId: getTestWebhookPayloadNewContact + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookNewContactPayload' + description: OK + summary: Get webhook test payload for new contact event + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/test/new-attachment-payload: + get: + operationId: getTestWebhookPayloadNewAttachment + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookNewAttachmentPayload' + description: OK + summary: Get webhook test payload for new attachment event + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/test/email-read-payload: + get: + description: Get webhook test payload for email opened event + operationId: getTestWebhookPayloadEmailRead + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookEmailReadPayload' + description: OK + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/test/email-opened-payload: + get: + description: Get webhook test payload for email opened event + operationId: getTestWebhookPayloadEmailOpened + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookEmailOpenedPayload' + description: OK + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/test/email-bounce-recipient-payload: + get: + description: Get webhook test payload for bounce recipient + operationId: getTestWebhookPayloadBounceRecipient + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookBounceRecipientPayload' + description: OK + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/test/email-bounce-payload: + get: + description: Get webhook test payload for bounce + operationId: getTestWebhookPayloadBounce + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookBouncePayload' + description: OK + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/test/delivery-status-payload: + get: + operationId: getTestWebhookPayloadDeliveryStatus + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookDeliveryStatusPayload' + description: OK + summary: Get webhook test payload for delivery status event + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/results: + get: + operationId: getAllWebhookResults + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Filter for unseen exceptions only + explode: true + in: query + name: unseenOnly + required: false + schema: + type: boolean + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageWebhookResult' + description: OK + summary: Get results for all webhooks + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/results/{webhookResultId}: + get: + operationId: getWebhookResult + parameters: + - description: Webhook Result ID + explode: false + in: path + name: webhookResultId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/WebhookResultDto' + description: OK + summary: Get a webhook result for a webhook + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/results/unseen-count: + get: + operationId: getWebhookResultsUnseenErrorCount + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/UnseenErrorCountDto' + description: OK + summary: Get count of unseen webhook results with error status + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/paginated: + get: + description: "List webhooks in paginated form. Allows for page index, page size,\ + \ and sort direction." + operationId: getAllWebhooks + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + maximum: 9223372036854775807 + minimum: 0 + type: integer + style: form + - description: Optional page size for paginated result list. + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: DESC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by inboxId + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + - description: Filter by phoneId + explode: true + in: query + name: phoneId + required: false + schema: + format: uuid + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageWebhookProjection' + description: OK + summary: List Webhooks Paginated + tags: + - WebhookController + x-accepts: '*/*' + /webhooks/account/paginated: + get: + description: "List account webhooks in paginated form. Allows for page index,\ + \ page size, and sort direction." + operationId: getAllAccountWebhooks + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + maximum: 9223372036854775807 + minimum: 0 + type: integer + style: form + - description: Optional page size for paginated result list. + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: DESC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional event type + explode: true + in: query + name: eventType + required: false + schema: + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageWebhookProjection' + description: OK + summary: List account webhooks Paginated + tags: + - WebhookController + x-accepts: '*/*' + /waitForNthEmail: + get: + description: If nth email is already present in inbox then return it. If not + hold the connection open until timeout expires or the nth email is received + and returned. + operationId: waitForNthEmail + parameters: + - description: Id of the inbox you are fetching emails from + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + - description: Zero based index of the email to wait for. If an inbox has 1 + email already and you want to wait for the 2nd email pass index=1 + explode: true + in: query + name: index + required: false + schema: + default: 0 + format: int32 + maximum: 2147483647 + minimum: 0 + type: integer + style: form + - description: Max milliseconds to wait for the nth email if not already present + explode: true + in: query + name: timeout + required: false + schema: + format: int64 + type: integer + style: form + - description: Optional filter for unread only + explode: true + in: query + name: unreadOnly + required: false + schema: + default: false + type: boolean + style: form + - description: Filter for emails that were received after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter for emails that were received before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Sort direction + explode: true + in: query + name: sort + required: false + schema: + enum: + - ASC + - DESC + type: string + style: form + - description: Max milliseconds delay between calls + explode: true + in: query + name: delay + required: false + schema: + format: int64 + type: integer + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/Email' + description: OK + summary: Wait for or fetch the email with a given index in the inbox specified. + If index doesn't exist waits for it to exist or timeout to occur. + tags: + - WaitForController + x-accepts: '*/*' + /waitForLatestEmail: + get: + description: Will return either the last received email or wait for an email + to arrive and return that. If you need to wait for an email for a non-empty + inbox set `unreadOnly=true` or see the other receive methods such as `waitForNthEmail` + or `waitForEmailCount`. + operationId: waitForLatestEmail + parameters: + - description: Id of the inbox we are fetching emails from + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + - description: Max milliseconds to wait + explode: true + in: query + name: timeout + required: false + schema: + format: int64 + type: integer + style: form + - description: Optional filter for unread only. + explode: true + in: query + name: unreadOnly + required: false + schema: + default: false + type: boolean + style: form + - description: Filter for emails that were before after the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Filter for emails that were received after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Sort direction + explode: true + in: query + name: sort + required: false + schema: + enum: + - ASC + - DESC + type: string + style: form + - description: Max milliseconds delay between calls + explode: true + in: query + name: delay + required: false + schema: + format: int64 + type: integer + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/Email' + description: OK + summary: Fetch inbox's latest email or if empty wait for an email to arrive + tags: + - WaitForController + x-accepts: '*/*' + /waitForEmailCount: + get: + description: If inbox contains count or more emails at time of request then + return count worth of emails. If not wait until the count is reached and return + those or return an error if timeout is exceeded. + operationId: waitForEmailCount + parameters: + - description: Id of the inbox we are fetching emails from + explode: true + in: query + name: inboxId + required: true + schema: + format: uuid + type: string + style: form + - description: Number of emails to wait for. Must be greater that 1 + explode: true + in: query + name: count + required: true + schema: + format: int32 + minimum: 1 + type: integer + style: form + - description: Max milliseconds to wait + explode: true + in: query + name: timeout + required: false + schema: + format: int64 + type: integer + style: form + - description: Optional filter for unread only + explode: true + in: query + name: unreadOnly + required: false + schema: + default: false + type: boolean + style: form + - description: Filter for emails that were received before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Filter for emails that were received after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Sort direction + explode: true + in: query + name: sort + required: false + schema: + enum: + - ASC + - DESC + type: string + style: form + - description: Max milliseconds delay between calls + explode: true + in: query + name: delay + required: false + schema: + format: int64 + type: integer + style: form + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/EmailPreview' + type: array + description: OK + summary: Wait for and return count number of emails. Hold connection until inbox + count matches expected or timeout occurs + tags: + - WaitForController + x-accepts: '*/*' + /user/info: + get: + description: Get account information for your user + operationId: getUserInfo + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/UserInfoDto' + description: OK + tags: + - UserController + x-accepts: '*/*' + /tracking/pixels/{id}: + get: + operationId: getTrackingPixel + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/TrackingPixelDto' + description: OK + summary: Get pixel + tags: + - TrackingController + x-accepts: '*/*' + /templates/{templateId}/preview/json: + get: + description: Get email template preview with passed template variables in JSON + format. Pass template variables as query params. + operationId: getTemplatePreviewJson + parameters: + - description: Template ID + explode: false + in: path + name: templateId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/TemplatePreview' + description: OK + summary: Get template preview Json + tags: + - TemplateController + x-accepts: '*/*' + /templates/{templateId}/preview/html: + get: + description: Get email template preview with passed template variables in HTML + format for browsers. Pass template variables as query params. + operationId: getTemplatePreviewHtml + parameters: + - description: Template ID + explode: false + in: path + name: templateId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + text/html;charset=utf-8: + schema: + type: string + text/html: + schema: + type: string + description: OK + summary: Get template preview HTML + tags: + - TemplateController + x-accepts: "text/html,text/html;charset=utf-8" + /templates/paginated: + get: + description: Get all templates in paginated format + operationId: getAllTemplates + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageTemplateProjection' + description: OK + summary: List templates + tags: + - TemplateController + x-accepts: '*/*' + /sms: + delete: + description: Delete all SMS messages or all messages for a given phone number + operationId: deleteSmsMessages + parameters: + - explode: true + in: query + name: phoneNumberId + required: false + schema: + format: uuid + type: string + style: form + responses: + "204": + description: No Content + summary: Delete all SMS messages + tags: + - SmsController + x-accepts: application/json + get: + description: By default returns all SMS messages across all phone numbers sorted + by ascending created at date. Responses are paginated. You can restrict results + to a list of phone number IDs. You can also filter out read messages + operationId: getSmsMessagesPaginated + parameters: + - description: Optional receiving phone number to filter SMS messages for + explode: true + in: query + name: phoneNumber + required: false + schema: + format: uuid + type: string + style: form + - description: Optional page index in SMS list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in SMS list pagination. Maximum size is 100. + Use page index and sort to page through larger results + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + maximum: 100 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional filter for unread SMS only. All SMS are considered unread + until they are viewed in the dashboard or requested directly + explode: true + in: query + name: unreadOnly + required: false + schema: + default: false + type: boolean + style: form + - description: Optional filter SMSs received after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter SMSs received before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageSmsProjection' + description: OK + summary: Get all SMS messages in all phone numbers in paginated form. . + tags: + - SmsController + x-accepts: '*/*' + /sms/{smsId}: + delete: + description: Delete an SMS message + operationId: deleteSmsMessage + parameters: + - explode: false + in: path + name: smsId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete SMS message. + tags: + - SmsController + x-accepts: application/json + get: + description: Returns a SMS summary object with content. + operationId: getSmsMessage + parameters: + - explode: false + in: path + name: smsId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/SmsDto' + description: OK + summary: Get SMS content including body. Expects SMS to exist by ID. For SMS + that may not have arrived yet use the WaitForController. + tags: + - SmsController + x-accepts: '*/*' + /sms/unreadCount: + get: + description: Get number of SMS unread. Unread means has not been viewed in dashboard + or returned in an email API response + operationId: getUnreadSmsCount + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/UnreadCount' + description: OK + summary: Get unread SMS count + tags: + - SmsController + x-accepts: '*/*' + /sent: + delete: + operationId: deleteAllSentEmails + responses: + "204": + description: No Content + summary: Delete all sent email receipts + tags: + - SentEmailsController + x-accepts: application/json + get: + operationId: getSentEmails + parameters: + - description: Optional inboxId to filter sender of sent emails by + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + - description: Optional page index in inbox sent email list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox sent email list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageSentEmailProjection' + description: OK + summary: Get all sent emails in paginated form + tags: + - SentEmailsController + x-accepts: '*/*' + /sent/{sentId}/delivery-status: + get: + description: Get all sent email delivery statuses + operationId: getSentDeliveryStatusesBySentId + parameters: + - description: ID of the sent email that you want to get the delivery status + of. Sent email object is returned when sending an email + explode: false + in: path + name: sentId + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in delivery status list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in delivery status list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageDeliveryStatus' + description: OK + tags: + - SentEmailsController + x-accepts: '*/*' + /sent/{id}: + delete: + operationId: deleteSentEmail + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete sent email receipt + tags: + - SentEmailsController + x-accepts: application/json + get: + operationId: getSentEmail + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/SentEmailDto' + description: OK + summary: Get sent email receipt + tags: + - SentEmailsController + x-accepts: '*/*' + /sent/{id}/urls: + get: + description: Get a list of URLs for sent email content as text/html or raw SMTP + message for viewing the message in a browser. + operationId: getSentEmailPreviewURLs + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmailPreviewUrls' + description: OK + summary: Get sent email URL for viewing in browser or downloading + tags: + - SentEmailsController + x-accepts: '*/*' + /sent/{id}/tracking-pixels: + get: + description: Get all tracking pixels for a sent email in paginated form + operationId: getSentEmailTrackingPixels + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in sent email tracking pixel list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in sent email tracking pixel list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageTrackingPixelProjection' + description: OK + tags: + - SentEmailsController + x-accepts: '*/*' + /sent/{id}/html: + get: + operationId: getSentEmailHTMLContent + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + text/html: + schema: + type: string + description: OK + summary: Get sent email HTML content + tags: + - SentEmailsController + x-accepts: text/html + /sent/{emailId}/raw: + get: + description: "Returns a raw, unparsed, and unprocessed sent email. If your client\ + \ has issues processing the response it is likely due to the response content-type\ + \ which is text/plain. If you need a JSON response content-type use the getRawSentEmailJson\ + \ endpoint" + operationId: getRawSentEmailContents + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + text/plain: + schema: + type: string + description: OK + summary: Get raw sent email string. Returns unparsed raw SMTP message with headers + and body. + tags: + - SentEmailsController + x-accepts: text/plain + /sent/{emailId}/raw/json: + get: + description: "Returns a raw, unparsed, and unprocessed sent email wrapped in\ + \ a JSON response object for easier handling when compared with the getRawSentEmail\ + \ text/plain response" + operationId: getRawSentEmailJson + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/RawEmailJson' + description: OK + summary: Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format. + tags: + - SentEmailsController + x-accepts: '*/*' + /sent/tracking-pixels: + get: + description: Get all sent email tracking pixels in paginated form + operationId: getAllSentTrackingPixels + parameters: + - description: Optional page index in sent email tracking pixel list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in sent email tracking pixel list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageTrackingPixelProjection' + description: OK + tags: + - SentEmailsController + x-accepts: '*/*' + /sent/queue-results: + get: + operationId: getSentEmailsWithQueueResults + parameters: + - description: Optional page index in inbox sent email list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox sent email list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageSentEmailWithQueueProjection' + description: OK + summary: Get results of email sent with queues in paginated form + tags: + - SentEmailsController + x-accepts: '*/*' + /sent/organization: + get: + description: Get all sent organization emails in paginated form + operationId: getSentOrganizationEmails + parameters: + - description: Optional inboxId to filter sender of sent emails by + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + - description: Optional page index in sent email list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in sent email list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageSentEmailProjection' + description: OK + tags: + - SentEmailsController + x-accepts: '*/*' + /sent/delivery-status: + get: + description: Get all sent email delivery statuses + operationId: getSentDeliveryStatuses + parameters: + - description: Optional page index in delivery status list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in delivery status list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageDeliveryStatus' + description: OK + tags: + - SentEmailsController + x-accepts: '*/*' + /sent/delivery-status/{deliveryId}: + get: + description: Get a sent email delivery status + operationId: getSentDeliveryStatus + parameters: + - explode: false + in: path + name: deliveryId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/DeliveryStatusDto' + description: OK + tags: + - SentEmailsController + x-accepts: '*/*' + /sent/delivery-status/wait-for: + get: + description: Wait for delivery statuses + operationId: waitForDeliveryStatuses + parameters: + - description: Optional sent email ID filter + explode: true + in: query + name: sentId + required: false + schema: + format: uuid + type: string + style: form + - description: Optional inbox ID filter + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + - description: Optional timeout milliseconds + explode: true + in: query + name: timeout + required: false + schema: + format: int64 + type: integer + style: form + - description: Zero based index of the delivery status to wait for. If 1 delivery + status already and you want to wait for the 2nd pass index=1 + explode: true + in: query + name: index + required: false + schema: + format: int32 + maximum: 2147483647 + minimum: 0 + type: integer + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/DeliveryStatusDto' + description: OK + tags: + - SentEmailsController + x-accepts: '*/*' + /rulesets/{id}: + delete: + description: Delete inbox ruleset + operationId: deleteInboxRuleset + parameters: + - description: ID of inbox ruleset + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete an inbox ruleset + tags: + - InboxRulesetController + x-accepts: application/json + get: + description: Get inbox ruleset + operationId: getInboxRuleset + parameters: + - description: ID of inbox ruleset + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxRulesetDto' + description: OK + summary: Get an inbox ruleset + tags: + - InboxRulesetController + x-accepts: '*/*' + /repliers/{id}/events: + get: + description: Get inbox ruleset events + operationId: getInboxReplierEvents + parameters: + - description: ID of inbox replier + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in inbox replier event list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox replier event list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageInboxReplierEvents' + description: OK + summary: Get an inbox replier event list + tags: + - InboxReplierController + x-accepts: '*/*' + /phone/plans: + get: + operationId: getPhonePlans + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/PhonePlanDto' + type: array + description: OK + tags: + - PhoneController + x-accepts: '*/*' + /phone/numbers: + get: + operationId: getPhoneNumbers + parameters: + - description: Optional phone country + explode: true + in: query + name: phoneCountry + required: false + schema: + enum: + - US + - GB + - AU + type: string + style: form + - description: Optional page index for list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size for list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PagePhoneNumberProjection' + description: OK + tags: + - PhoneController + x-accepts: '*/*' + /phone/numbers/{phoneNumberId}: + delete: + operationId: deletePhoneNumber + parameters: + - explode: false + in: path + name: phoneNumberId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + tags: + - PhoneController + x-accepts: application/json + get: + operationId: getPhoneNumber + parameters: + - explode: false + in: path + name: phoneNumberId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PhoneNumberDto' + description: OK + tags: + - PhoneController + x-accepts: '*/*' + /phone/numbers/{phoneId}/webhooks/paginated: + get: + operationId: getPhoneNumberWebhooksPaginated + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - explode: false + in: path + name: phoneId + required: true + schema: + format: uuid + type: string + style: simple + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageWebhookProjection' + description: OK + summary: Get paginated webhooks for a phone number + tags: + - WebhookController + x-accepts: '*/*' + /phone/emergency-addresses/{addressId}: + delete: + operationId: deleteEmergencyAddress + parameters: + - explode: false + in: path + name: addressId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmptyResponseDto' + description: OK + tags: + - PhoneController + x-accepts: '*/*' + get: + operationId: getEmergencyAddress + parameters: + - explode: false + in: path + name: addressId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmergencyAddress' + description: OK + tags: + - PhoneController + x-accepts: '*/*' + /missed-emails: + get: + operationId: getAllMissedEmails + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Optional inbox ID filter + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageMissedEmailProjection' + description: OK + summary: Get all MissedEmails in paginated format + tags: + - MissedEmailController + x-accepts: '*/*' + /missed-emails/{missedEmailId}: + get: + description: List emails that were missed due to plan limits. + operationId: getMissedEmail + parameters: + - explode: false + in: path + name: missedEmailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/MissedEmailDto' + description: OK + summary: Get MissedEmail + tags: + - MissedEmailController + x-accepts: '*/*' + /missed-emails/waitForNthMissedEmail: + get: + description: Wait for 0 based index missed email + operationId: waitForNthMissedEmail + parameters: + - description: Optional inbox ID filter + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + - description: Optional timeout milliseconds + explode: true + in: query + name: timeout + required: false + schema: + format: int64 + type: integer + style: form + - description: Zero based index of the email to wait for. If 1 missed email + already and you want to wait for the 2nd email pass index=1 + explode: true + in: query + name: index + required: true + schema: + format: int32 + maximum: 2147483647 + minimum: 0 + type: integer + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/MissedEmailDto' + description: OK + summary: Wait for Nth missed email + tags: + - MissedEmailController + x-accepts: '*/*' + /missed-emails/unknown: + get: + description: Unknown missed emails are emails that were sent to MailSlurp but + could not be assigned to an existing inbox. + operationId: getAllUnknownMissedEmails + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Optional inbox ID filter + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageUnknownMissedEmailProjection' + description: OK + summary: Get all unknown missed emails in paginated format + tags: + - MissedEmailController + x-accepts: '*/*' + /inboxes/{inboxId}/webhooks/paginated: + get: + operationId: getInboxWebhooksPaginated + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageWebhookProjection' + description: OK + summary: Get paginated webhooks for an Inbox + tags: + - WebhookController + x-accepts: '*/*' + /inboxes/{inboxId}/tracking-pixels: + get: + description: List all tracking pixels sent from an inbox + operationId: listInboxTrackingPixels + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in inbox tracking pixel list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox tracking pixel list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Optional filter by created after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter by created before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageTrackingPixelProjection' + description: OK + summary: List inbox tracking pixels + tags: + - InboxController + x-accepts: '*/*' + /inboxes/{inboxId}/sent: + get: + description: Returns an inbox's sent email receipts. Call individual sent email + endpoints for more details. Note for privacy reasons the full body of sent + emails is never stored. An MD5 hash hex is available for comparison instead. + operationId: getInboxSentEmails + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in inbox sent email list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox sent email list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional sent email search + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Optional filter by sent after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter by sent before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageSentEmailProjection' + description: OK + summary: Get Inbox Sent Emails + tags: + - InboxController + x-accepts: '*/*' + /inboxes/{inboxId}/scheduled-jobs: + get: + description: Schedule sending of emails using scheduled jobs. + operationId: getScheduledJobsByInboxId + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in scheduled job list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in scheduled job list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageScheduledJobs' + description: OK + summary: Get all scheduled email sending jobs for the inbox + tags: + - InboxController + x-accepts: '*/*' + /inboxes/{inboxId}/emails: + get: + description: List emails that an inbox has received. Only emails that are sent + to the inbox's email address will appear in the inbox. It may take several + seconds for any email you send to an inbox's email address to appear in the + inbox. To make this endpoint wait for a minimum number of emails use the `minCount` + parameter. The server will retry the inbox database until the `minCount` is + satisfied or the `retryTimeout` is reached + operationId: getEmails + parameters: + - description: Id of inbox that emails belongs to + explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + - description: Alias for limit. Assessed first before assessing any passed limit. + explode: true + in: query + name: size + required: false + schema: + format: int32 + maximum: 100 + type: integer + style: form + - description: "Limit the result set, ordered by received date time sort direction.\ + \ Maximum 100. For more listing options see the email controller" + explode: true + in: query + name: limit + required: false + schema: + format: int32 + maximum: 100 + type: integer + style: form + - description: Sort the results by received date and direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + enum: + - ASC + - DESC + type: string + style: form + - description: Maximum milliseconds to spend retrying inbox database until minCount + emails are returned + explode: true + in: query + name: retryTimeout + required: false + schema: + format: int64 + type: integer + style: form + - explode: true + in: query + name: delayTimeout + required: false + schema: + format: int64 + type: integer + style: form + - description: Minimum acceptable email count. Will cause request to hang (and + retry) until minCount is satisfied or retryTimeout is reached. + explode: true + in: query + name: minCount + required: false + schema: + format: int64 + type: integer + style: form + - explode: true + in: query + name: unreadOnly + required: false + schema: + type: boolean + style: form + - description: Exclude emails received after this ISO 8601 date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Exclude emails received before this ISO 8601 date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/EmailPreview' + type: array + description: OK + summary: Get emails in an Inbox. This method is not idempotent as it allows + retries and waits if you want certain conditions to be met before returning. + For simple listing and sorting of known emails use the email controller instead. + tags: + - InboxController + x-accepts: '*/*' + /inboxes/{inboxId}/emails/paginated: + get: + description: Get a paginated list of emails in an inbox. Does not hold connections + open. + operationId: getInboxEmailsPaginated + parameters: + - description: Optional page index in inbox emails list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox emails list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional filter by received after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter by received before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Id of inbox that emails belongs to + explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageEmailPreview' + description: OK + summary: Get inbox emails paginated + tags: + - InboxController + x-accepts: '*/*' + /inboxes/{inboxId}/emails/count: + get: + operationId: getInboxEmailCount + parameters: + - description: Id of inbox that emails belongs to + explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/CountDto' + description: OK + summary: Get email count in inbox + tags: + - InboxController + x-accepts: '*/*' + /inboxes/{inboxId}/delivery-status: + get: + description: Get all email delivery statuses for an inbox + operationId: getDeliveryStatusesByInboxId + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in delivery status list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in delivery status list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageDeliveryStatus' + description: OK + tags: + - InboxController + x-accepts: '*/*' + /inboxes/tags: + get: + description: Get all inbox tags + operationId: getInboxTags + responses: + "200": + content: + '*/*': + schema: + items: + type: string + type: array + description: OK + summary: Get inbox tags + tags: + - InboxController + x-accepts: '*/*' + /inboxes/scheduled-jobs: + get: + description: Schedule sending of emails using scheduled jobs. These can be inbox + or account level. + operationId: getAllScheduledJobs + parameters: + - description: Optional page index in scheduled job list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in scheduled job list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageScheduledJobs' + description: OK + summary: Get all scheduled email sending jobs for account + tags: + - InboxController + x-accepts: '*/*' + /inboxes/scheduled-jobs/{jobId}: + delete: + description: "Get a scheduled email job and cancel it. Will fail if status of\ + \ job is already cancelled, failed, or complete." + operationId: cancelScheduledJob + parameters: + - explode: false + in: path + name: jobId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ScheduledJobDto' + description: OK + summary: Cancel a scheduled email job + tags: + - InboxController + x-accepts: '*/*' + get: + description: Get a scheduled email job details. + operationId: getScheduledJob + parameters: + - explode: false + in: path + name: jobId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ScheduledJobDto' + description: OK + summary: Get a scheduled email job + tags: + - InboxController + x-accepts: '*/*' + /inboxes/paginated: + get: + description: "List inboxes in paginated form. The results are available on the\ + \ `content` property of the returned object. This method allows for page index\ + \ (zero based), page size (how many results to return), and a sort direction\ + \ (based on createdAt time). You Can also filter by whether an inbox is favorited\ + \ or use email address pattern. This method is the recommended way to query\ + \ inboxes. The alternative `getInboxes` method returns a full list of inboxes\ + \ but is limited to 100 results." + operationId: getAllInboxes + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optionally filter results for favourites only + explode: true + in: query + name: favourite + required: false + schema: + default: false + type: boolean + style: form + - description: "Optionally filter by search words partial matching ID, tags,\ + \ name, and email address" + explode: true + in: query + name: search + required: false + schema: + type: string + style: form + - description: Optionally filter by tags. Will return inboxes that include given + tags + explode: true + in: query + name: tag + required: false + schema: + type: string + style: form + - deprecated: true + description: DEPRECATED. Optionally filter by team access. + explode: true + in: query + name: teamAccess + required: false + schema: + type: boolean + style: form + - description: Optional filter by created after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter by created before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter by inbox type + explode: true + in: query + name: inboxType + required: false + schema: + description: Type of inbox. HTTP inboxes are faster and better for most + cases. SMTP inboxes are more suited for public facing inbound messages + (but cannot send). + enum: + - HTTP_INBOX + - SMTP_INBOX + type: string + style: form + - description: Optional domain ID filter + explode: true + in: query + name: domainId + required: false + schema: + format: uuid + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageInboxProjection' + description: OK + summary: List All Inboxes Paginated + tags: + - InboxController + x-accepts: '*/*' + /inboxes/organization: + get: + description: "List organization inboxes in paginated form. These are inboxes\ + \ created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly`\ + \ for non-admin users. The results are available on the `content` property\ + \ of the returned object. This method allows for page index (zero based),\ + \ page size (how many results to return), and a sort direction (based on createdAt\ + \ time). " + operationId: getOrganizationInboxes + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Optional filter by created after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter by created before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageOrganizationInboxProjection' + description: OK + summary: List Organization Inboxes Paginated + tags: + - InboxController + x-accepts: '*/*' + /inboxes/imap-smtp-access: + get: + description: Get IMAP and SMTP access usernames and passwords + operationId: getImapSmtpAccess + parameters: + - description: Inbox ID + explode: true + in: query + name: inboxId + required: false + schema: + format: uuid + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ImapSmtpAccessDetails' + description: OK + tags: + - InboxController + x-accepts: '*/*' + /inboxes/ids: + get: + description: Get list of inbox IDs + operationId: getInboxIds + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxIdsResult' + description: OK + summary: Get all inbox IDs + tags: + - InboxController + x-accepts: '*/*' + /inboxes/getLatestEmail: + get: + description: Get the newest email in an inbox or wait for one to arrive + operationId: getLatestEmailInInbox + parameters: + - description: ID of the inbox you want to get the latest email from + explode: true + in: query + name: inboxId + required: true + schema: + format: uuid + type: string + style: form + - description: Timeout milliseconds to wait for latest email + explode: true + in: query + name: timeoutMillis + required: true + schema: + format: int64 + type: integer + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/Email' + description: OK + summary: Get latest email in an inbox. Use `WaitForController` to get emails + that may not have arrived yet. + tags: + - InboxController + x-accepts: '*/*' + /inboxes/exists: + get: + description: Check if inboxes exist by email address. Useful if you are sending + emails to mailslurp addresses + operationId: doesInboxExist + parameters: + - description: Email address + explode: true + in: query + name: emailAddress + required: true + schema: + type: string + style: form + - explode: true + in: query + name: allowCatchAll + required: false + schema: + type: boolean + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxExistsDto' + description: OK + summary: Does inbox exist + tags: + - InboxController + x-accepts: '*/*' + /inboxes/count: + get: + operationId: getInboxCount + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/CountDto' + description: OK + summary: Get total inbox count + tags: + - InboxController + x-accepts: '*/*' + /inboxes/byName: + get: + description: Get a inbox result by name + operationId: getInboxByName + parameters: + - explode: true + in: query + name: name + required: true + schema: + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxByNameResult' + description: OK + summary: Search for an inbox with the given name + tags: + - InboxController + x-accepts: '*/*' + /inboxes/byEmailAddress: + get: + description: Get a inbox result by email address + operationId: getInboxByEmailAddress + parameters: + - explode: true + in: query + name: emailAddress + required: true + schema: + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/InboxByEmailAddressResult' + description: OK + summary: Search for an inbox with the provided email address + tags: + - InboxController + x-accepts: '*/*' + /groups/{groupId}: + delete: + operationId: deleteGroup + parameters: + - explode: false + in: path + name: groupId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete group + tags: + - GroupController + x-accepts: application/json + get: + operationId: getGroup + parameters: + - explode: false + in: path + name: groupId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/GroupDto' + description: OK + summary: Get group + tags: + - GroupController + x-accepts: '*/*' + /groups/{groupId}/contacts-paginated: + get: + description: Get group and paginated contacts belonging to it + operationId: getGroupWithContactsPaginated + parameters: + - explode: false + in: path + name: groupId + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in group contact pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in group contact pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageContactProjection' + description: OK + tags: + - GroupController + x-accepts: '*/*' + /groups/paginated: + get: + operationId: getAllGroups + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageGroupProjection' + description: OK + summary: Get all Contact Groups in paginated format + tags: + - GroupController + x-accepts: '*/*' + /forwarders/{id}/events: + get: + description: Get inbox ruleset events + operationId: getInboxForwarderEvents + parameters: + - description: ID of inbox forwarder + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in inbox forwarder event list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox forwarder event list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageInboxForwarderEvents' + description: OK + summary: Get an inbox forwarder event list + tags: + - InboxForwarderController + x-accepts: '*/*' + /expired: + get: + description: Inboxes created with an expiration date will expire after the given + date. An ExpiredInboxRecord is created that records the inboxes old ID and + email address. You can still read emails in the inbox (using the inboxes old + ID) but the email address associated with the inbox can no longer send or + receive emails. Fetch expired inbox records to view the old inboxes properties + operationId: getExpiredInboxes + parameters: + - description: Optional page index in inbox sent email list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in inbox sent email list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageExpiredInboxRecordProjection' + description: OK + summary: List records of expired inboxes + tags: + - ExpiredController + x-accepts: '*/*' + /expired/{expiredId}: + get: + description: Inboxes created with an expiration date will expire after the given + date and be moved to an ExpiredInbox entity. You can still read emails in + the inbox but it can no longer send or receive emails. Fetch the expired inboxes + to view the old inboxes properties + operationId: getExpiredInboxRecord + parameters: + - description: ID of the ExpiredInboxRecord you want to retrieve. This is different + from the ID of the inbox you are interested in. See other methods for getting + ExpiredInboxRecord for an inbox inboxId + explode: false + in: path + name: expiredId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ExpiredInboxDto' + description: OK + summary: Get an expired inbox record + tags: + - ExpiredController + x-accepts: '*/*' + /expired/inbox/{inboxId}: + get: + description: Use the inboxId to return an ExpiredInboxRecord if an inbox has + expired. Inboxes expire and are disabled if an expiration date is set or plan + requires. Returns 404 if no expired inbox is found for the inboxId + operationId: getExpiredInboxByInboxId + parameters: + - description: ID of inbox you want to retrieve (not the inbox ID) + explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ExpiredInboxDto' + description: OK + summary: Get expired inbox record for a previously existing inbox + tags: + - ExpiredController + x-accepts: '*/*' + /expired/defaults: + get: + description: Return default times used for inbox expiration + operationId: getExpirationDefaults + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ExpirationDefaults' + description: OK + summary: Get default expiration settings + tags: + - ExpiredController + x-accepts: '*/*' + /emails/{emailId}/urls: + get: + description: Get a list of URLs for email content as text/html or raw SMTP message + for viewing the message in a browser. + operationId: getEmailPreviewURLs + parameters: + - explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmailPreviewUrls' + description: OK + summary: Get email URLs for viewing in browser or downloading + tags: + - EmailController + x-accepts: '*/*' + /emails/{emailId}/textLines: + get: + description: Parse an email body and return the content as an array of strings. + HTML parsing uses JSoup and UNIX line separators. + operationId: getEmailTextLines + parameters: + - description: ID of email to fetch text for + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + - description: Decode HTML entities + explode: true + in: query + name: decodeHtmlEntities + required: false + schema: + type: boolean + style: form + - description: Line separator character + explode: true + in: query + name: lineSeparator + required: false + schema: + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmailTextLinesResult' + description: OK + summary: "Parse and return text from an email, stripping HTML and decoding encoded\ + \ characters" + tags: + - EmailController + x-accepts: '*/*' + /emails/{emailId}/raw: + get: + description: "Returns a raw, unparsed, and unprocessed email. If your client\ + \ has issues processing the response it is likely due to the response content-type\ + \ which is text/plain. If you need a JSON response content-type use the getRawEmailJson\ + \ endpoint" + operationId: getRawEmailContents + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + text/plain: + schema: + type: string + description: OK + summary: Get raw email string. Returns unparsed raw SMTP message with headers + and body. + tags: + - EmailController + x-accepts: text/plain + /emails/{emailId}/raw/json: + get: + description: "Returns a raw, unparsed, and unprocessed email wrapped in a JSON\ + \ response object for easier handling when compared with the getRawEmail text/plain\ + \ response" + operationId: getRawEmailJson + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/RawEmailJson' + description: OK + summary: Get raw email in JSON. Unparsed SMTP message in JSON wrapper format. + tags: + - EmailController + x-accepts: '*/*' + /emails/{emailId}/links: + get: + description: HTML parsing uses JSoup and UNIX line separators. Searches content + for href attributes + operationId: getEmailLinks + parameters: + - description: ID of email to fetch text for + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmailLinksResult' + description: OK + summary: Parse and return list of links found in an email (only works for HTML + content) + tags: + - EmailController + x-accepts: '*/*' + /emails/{emailId}/html: + get: + description: "Retrieve email content as HTML response for viewing in browsers.\ + \ Decodes quoted-printable entities and converts charset to UTF-8. Pass your\ + \ API KEY as a request parameter when viewing in a browser: `?apiKey=xxx`.\ + \ Returns content-type `text/html;charset=utf-8` so you must call expecting\ + \ that content response not JSON. For JSON response see the `getEmailHTMLJson`\ + \ method." + operationId: getEmailHTML + parameters: + - explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + - explode: true + in: query + name: decode + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + text/html;charset=utf-8: + schema: + type: string + text/html: + schema: + type: string + description: OK + summary: Get email content as HTML. For displaying emails in browser context. + tags: + - EmailController + x-accepts: "text/html,text/html;charset=utf-8" + /emails/{emailId}/htmlQuery: + get: + description: Parse an email body and return the content as an array of text. + HTML parsing uses JSoup which supports JQuery/CSS style selectors + operationId: getEmailHTMLQuery + parameters: + - description: ID of email to perform HTML query on + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + - description: HTML selector to search for. Uses JQuery/JSoup/CSS style selector + like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html + for more information. + explode: true + in: query + name: htmlSelector + required: true + schema: + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmailTextLinesResult' + description: OK + summary: "Parse and return text from an email, stripping HTML and decoding encoded\ + \ characters" + tags: + - EmailController + x-accepts: '*/*' + /emails/{emailId}/html/json: + get: + description: Retrieve email content as HTML response. Decodes quoted-printable + entities and converts charset to UTF-8. Returns content-type `application/json;charset=utf-8` + so you must call expecting that content response not JSON. + operationId: getEmailHTMLJson + parameters: + - explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + - explode: true + in: query + name: decode + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/EmailHtmlDto' + description: OK + summary: Get email content as HTML in JSON wrapper. For fetching entity decoded + HTML content + tags: + - EmailController + x-accepts: '*/*' + /emails/{emailId}/body: + get: + description: Returns the specified email body for a given email as a string + operationId: downloadBody + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + text/plain: + schema: + type: string + text/html: + schema: + type: string + description: OK + summary: Get email body as string. Returned as `plain/text` with content type + header. + tags: + - EmailController + x-accepts: "text/html,text/plain" + /emails/{emailId}/body-bytes: + get: + description: Returns the specified email body for a given email as a stream + / array of bytes. + operationId: downloadBodyBytes + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + default: + content: + application/octet-stream: + schema: + format: byte + type: string + description: default response + summary: Get email body in bytes. Returned as `octet-stream` with content type + header. + tags: + - EmailController + x-accepts: application/octet-stream + /emails/{emailId}/attachments: + get: + description: Returns an array of attachment metadata such as name and content-type + for a given email if present. + operationId: getEmailAttachments + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + items: + $ref: '#/components/schemas/AttachmentMetaData' + type: array + description: OK + summary: Get all email attachment metadata. Metadata includes name and size + of attachments. + tags: + - EmailController + x-accepts: '*/*' + /emails/{emailId}/attachments/{attachmentId}: + get: + description: Returns the specified attachment for a given email as a stream + / array of bytes. You can find attachment ids in email responses endpoint + responses. The response type is application/octet-stream. + operationId: downloadAttachment + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + - description: ID of attachment + explode: false + in: path + name: attachmentId + required: true + schema: + type: string + style: simple + - description: Can pass apiKey in url for this request if you wish to download + the file in a browser. Content type will be set to original content type + of the attachment file. This is so that browsers can download the file correctly. + explode: true + in: query + name: apiKey + required: false + schema: + type: string + style: form + responses: + default: + content: + application/octet-stream: + schema: + format: byte + type: string + description: default response + summary: Get email attachment bytes. Returned as `octet-stream` with content + type header. If you have trouble with byte responses try the `downloadAttachmentBase64` + response endpoints and convert the base 64 encoded content to a file or string. + tags: + - EmailController + x-accepts: application/octet-stream + /emails/{emailId}/attachments/{attachmentId}/metadata: + get: + description: Returns the metadata such as name and content-type for a given + attachment and email. + operationId: getAttachmentMetaData + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + - description: ID of attachment + explode: false + in: path + name: attachmentId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/AttachmentMetaData' + description: OK + summary: Get email attachment metadata. This is the `contentType` and `contentLength` + of an attachment. To get the individual attachments use the `downloadAttachment` + methods. + tags: + - EmailController + x-accepts: '*/*' + /emails/{emailId}/attachments/{attachmentId}/base64: + get: + description: Returns the specified attachment for a given email as a base 64 + encoded string. The response type is application/json. This method is similar + to the `downloadAttachment` method but allows some clients to get around issues + with binary responses. + operationId: downloadAttachmentBase64 + parameters: + - description: ID of email + explode: false + in: path + name: emailId + required: true + schema: + format: uuid + type: string + style: simple + - description: ID of attachment + explode: false + in: path + name: attachmentId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/DownloadAttachmentDto' + description: OK + summary: Get email attachment as base64 encoded string as an alternative to + binary responses. Decode the `base64FileContents` as a `utf-8` encoded string + or array of bytes depending on the `contentType`. + tags: + - EmailController + x-accepts: '*/*' + /emails/unreadCount: + get: + description: Get number of emails unread. Unread means has not been viewed in + dashboard or returned in an email API response + operationId: getUnreadEmailCount + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/UnreadCount' + description: OK + summary: Get unread email count + tags: + - EmailController + x-accepts: '*/*' + /emails/organization: + get: + description: By default returns all emails across all team inboxes sorted by + ascending created at date. Responses are paginated. You can restrict results + to a list of inbox IDs. You can also filter out read messages + operationId: getOrganizationEmailsPaginated + parameters: + - description: Optional inbox ids to filter by. Can be repeated. By default + will use all inboxes belonging to your account. + explode: true + in: query + name: inboxId + required: false + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Optional page index in email list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in email list pagination. Maximum size is + 100. Use page index and sort to page through larger results + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + maximum: 100 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional filter for unread emails only. All emails are considered + unread until they are viewed in the dashboard or requested directly + explode: true + in: query + name: unreadOnly + required: false + schema: + default: false + type: boolean + style: form + - description: Optional search filter search filter for emails. + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Optional filter emails received after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter emails received before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageEmailProjection' + description: OK + summary: Get all organization emails. List team or shared test email accounts + tags: + - EmailController + x-accepts: '*/*' + /emails/latest: + get: + description: Get the newest email in all inboxes or in a passed set of inbox + IDs + operationId: getLatestEmail + parameters: + - description: Optional set of inboxes to filter by. Only get the latest email + from these inbox IDs. If not provided will search across all inboxes + explode: true + in: query + name: inboxIds + required: false + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/Email' + description: OK + summary: Get latest email in all inboxes. Most recently received. + tags: + - EmailController + x-accepts: '*/*' + /emails/latestIn: + get: + description: Get the newest email in all inboxes or in a passed set of inbox + IDs + operationId: getLatestEmailInInbox_1 + parameters: + - description: ID of the inbox you want to get the latest email from + explode: true + in: query + name: inboxId + required: true + schema: + format: uuid + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/Email' + description: OK + summary: Get latest email in an inbox. Use `WaitForController` to get emails + that may not have arrived yet. + tags: + - EmailController + x-accepts: '*/*' + /emails/gravatarFor: + get: + description: Get gravatar url for email address + operationId: getGravatarUrlForEmailAddress + parameters: + - explode: true + in: query + name: emailAddress + required: true + schema: + type: string + style: form + - explode: true + in: query + name: size + required: false + schema: + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/GravatarUrl' + description: OK + tags: + - EmailController + x-accepts: '*/*' + /emails/emails/count: + get: + operationId: getEmailCount + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/CountDto' + description: OK + summary: Get email count + tags: + - EmailController + x-accepts: '*/*' + /email-verification/validation-requests: + get: + operationId: getValidationRequests + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + maximum: 9223372036854775807 + minimum: 0 + type: integer + style: form + - description: Optional page size for paginated result list. + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: DESC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional search filter + explode: true + in: query + name: searchFilter + required: false + schema: + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + - description: Filter where email is valid is true or false + explode: true + in: query + name: isValid + required: false + schema: + type: boolean + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageEmailValidationRequest' + description: OK + summary: Validate a list of email addresses. Per unit billing. See your plan + for pricing. + tags: + - EmailVerificationController + x-accepts: '*/*' + /domains/issues: + get: + description: List domain issues for domains you have created + operationId: getDomainIssues + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/DomainIssuesDto' + description: OK + summary: Get domain issues + tags: + - DomainController + x-accepts: '*/*' + /contacts/{contactId}: + delete: + operationId: deleteContact + parameters: + - explode: false + in: path + name: contactId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete contact + tags: + - ContactController + x-accepts: application/json + get: + operationId: getContact + parameters: + - explode: false + in: path + name: contactId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ContactDto' + description: OK + summary: Get contact + tags: + - ContactController + x-accepts: '*/*' + /contacts/{contactId}/download: + get: + operationId: getContactVCard + parameters: + - explode: false + in: path + name: contactId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + items: + format: byte + type: string + type: array + description: OK + summary: Get contact vCard vcf file + tags: + - ContactController + x-accepts: '*/*' + /contacts/paginated: + get: + operationId: getAllContacts + parameters: + - description: Optional page index in list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageContactProjection' + description: OK + summary: Get all contacts + tags: + - ContactController + x-accepts: '*/*' + /connectors/{id}/events: + get: + operationId: getConnectorSyncEvents + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in connector list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in connector list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageConnectorSyncEvents' + description: OK + summary: Get an inbox connector sync events + tags: + - ConnectorController + x-accepts: '*/*' + /connectors/events: + get: + operationId: getAllConnectorSyncEvents + parameters: + - description: Optional page index in connector list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in connector list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageConnectorSyncEvents' + description: OK + summary: Get all inbox connector sync events + tags: + - ConnectorController + x-accepts: '*/*' + /connectors/events/{id}: + get: + operationId: getConnectorSyncEvent + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/ConnectorSyncEventDto' + description: OK + summary: Get an inbox connector sync event + tags: + - ConnectorController + x-accepts: '*/*' + /bounce/recipients: + get: + description: Bounced recipients are email addresses that you have sent emails + to that did not accept the sent email. Once a recipient is bounced you cannot + send emails to that address. + operationId: getBouncedRecipients + parameters: + - description: 'Optional page index ' + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: 'Optional page size ' + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + maximum: 100 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageBouncedRecipients' + description: OK + summary: Get paginated list of bounced recipients. + tags: + - BounceController + x-accepts: '*/*' + /bounce/recipients/{id}: + get: + description: Bounced emails are email you have sent that were rejected by a + recipient + operationId: getBouncedRecipient + parameters: + - description: ID of the bounced recipient + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/BouncedRecipientDto' + description: OK + summary: Get a bounced email. + tags: + - BounceController + x-accepts: '*/*' + /bounce/list-unsubscribe-recipients: + get: + description: Unsubscribed recipient have unsubscribed from a mailing list for + a user or domain and cannot be contacted again. + operationId: getListUnsubscribeRecipients + parameters: + - description: Optional page index + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: 'Optional page size ' + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + maximum: 100 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by domainId + explode: true + in: query + name: domainId + required: false + schema: + format: uuid + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageListUnsubscribeRecipients' + description: OK + summary: Get paginated list of unsubscribed recipients. + tags: + - BounceController + x-accepts: '*/*' + /bounce/emails: + get: + description: Bounced emails are email you have sent that were rejected by a + recipient + operationId: getBouncedEmails + parameters: + - description: Optional page index + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: 'Optional page size ' + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + maximum: 100 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageBouncedEmail' + description: OK + summary: Get paginated list of bounced emails. + tags: + - BounceController + x-accepts: '*/*' + /bounce/emails/{id}: + get: + description: Bounced emails are email you have sent that were rejected by a + recipient + operationId: getBouncedEmail + parameters: + - description: ID of the bounced email to fetch + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/BouncedEmailDto' + description: OK + summary: Get a bounced email. + tags: + - BounceController + x-accepts: '*/*' + /bounce/complaints: + get: + description: SMTP complaints made against your account + operationId: getComplaints + parameters: + - description: 'Optional page index ' + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: 'Optional page size ' + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + maximum: 100 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Filter by created at after the given timestamp + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Filter by created at before the given timestamp + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageComplaint' + description: OK + summary: Get paginated list of complaints. + tags: + - BounceController + x-accepts: '*/*' + /attachments/{attachmentId}: + delete: + operationId: deleteAttachment + parameters: + - description: ID of attachment + explode: false + in: path + name: attachmentId + required: true + schema: + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete an attachment + tags: + - AttachmentController + x-accepts: application/json + get: + operationId: getAttachment + parameters: + - description: ID of attachment + explode: false + in: path + name: attachmentId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/AttachmentEntity' + description: OK + summary: Get an attachment entity + tags: + - AttachmentController + x-accepts: '*/*' + /attachments/{attachmentId}/metadata: + get: + description: Returns the metadata for an attachment. It is saved separately + to the content of the attachment. Contains properties `name` and `content-type` + and `content-length` in bytes for a given attachment. + operationId: getAttachmentInfo + parameters: + - description: ID of attachment + explode: false + in: path + name: attachmentId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/AttachmentMetaData' + description: OK + summary: Get email attachment metadata information + tags: + - AttachmentController + x-accepts: '*/*' + /attachments/{attachmentId}/bytes: + get: + description: Returns the specified attachment for a given email as a stream + / array of bytes. You can find attachment ids in email responses endpoint + responses. The response type is application/octet-stream. + operationId: downloadAttachmentAsBytes + parameters: + - description: ID of attachment + explode: false + in: path + name: attachmentId + required: true + schema: + type: string + style: simple + responses: + default: + content: + application/octet-stream: + schema: + format: byte + type: string + description: default response + summary: Download attachments. Get email attachment bytes. If you have trouble + with byte responses try the `downloadAttachmentBase64` response endpoints. + tags: + - AttachmentController + x-accepts: application/octet-stream + /attachments/{attachmentId}/base64: + get: + description: Returns the specified attachment for a given email as a base 64 + encoded string. The response type is application/json. This method is similar + to the `downloadAttachment` method but allows some clients to get around issues + with binary responses. + operationId: downloadAttachmentAsBase64Encoded + parameters: + - description: ID of attachment + explode: false + in: path + name: attachmentId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/DownloadAttachmentDto' + description: OK + summary: Get email attachment as base64 encoded string as alternative to binary + responses. To read the content decode the Base64 encoded contents. + tags: + - AttachmentController + x-accepts: '*/*' + /aliases/{aliasId}/threads: + get: + description: Returns threads created for an email alias in paginated form + operationId: getAliasThreads + parameters: + - explode: false + in: path + name: aliasId + required: true + schema: + format: uuid + type: string + style: simple + - description: Optional page index in thread list pagination + explode: true + in: query + name: page + required: false + schema: + default: 0 + format: int32 + type: integer + style: form + - description: Optional page size in thread list pagination + explode: true + in: query + name: size + required: false + schema: + default: 20 + format: int32 + type: integer + style: form + - description: Optional createdAt sort direction ASC or DESC + explode: true + in: query + name: sort + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Optional filter by sent after given date time + explode: true + in: query + name: since + required: false + schema: + format: date-time + type: string + style: form + - description: Optional filter by sent before given date time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/PageThreadProjection' + description: OK + summary: Get threads created for an alias + tags: + - AliasController + x-accepts: '*/*' + /inboxes/{inboxId}/webhooks/{webhookId}: + delete: + operationId: deleteWebhook + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + - explode: false + in: path + name: webhookId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete and disable a Webhook for an Inbox + tags: + - WebhookController + x-accepts: application/json + /inboxes/{inboxId}/deleteAllInboxEmails: + delete: + description: Deletes all emails in an inbox. Be careful as emails cannot be + recovered + operationId: deleteAllInboxEmails + parameters: + - explode: false + in: path + name: inboxId + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No Content + summary: Delete all emails in a given inboxes. + tags: + - InboxController + x-accepts: application/json + /inboxes/expired: + delete: + description: Remove any expired inboxes for your account (instead of waiting + for scheduled removal on server) + operationId: flushExpired + parameters: + - description: Optional expired at before flag to flush expired inboxes that + have expired before the given time + explode: true + in: query + name: before + required: false + schema: + format: date-time + type: string + style: form + responses: + "200": + content: + '*/*': + schema: + $ref: '#/components/schemas/FlushExpiredInboxesResult' + description: OK + summary: Remove expired inboxes + tags: + - InboxController + x-accepts: '*/*' + /emptyInbox: + delete: + description: Deletes all emails + operationId: emptyInbox + parameters: + - explode: true + in: query + name: inboxId + required: true + schema: + format: uuid + type: string + style: form + responses: + "204": + description: No Content + summary: Delete all emails in an inbox + tags: + - CommonActionsController + x-accepts: application/json + /deleteEmailAddress: + delete: + description: Deletes inbox email address + operationId: deleteEmailAddress + parameters: + - explode: true + in: query + name: inboxId + required: true + schema: + format: uuid + type: string + style: form + responses: + "204": + description: No Content + summary: Delete inbox email address by inbox id + tags: + - CommonActionsController + x-accepts: application/json +components: + schemas: + WebhookHeaderNameValue: + description: Name value pair for webhook header + example: + name: name + value: value + properties: + name: + description: Name of header + type: string + value: + description: Value of header + type: string + required: + - name + - value + type: object + WebhookHeaders: + description: Webhook HTTP headers to include with each request from MailSlurp + to your server + example: + headers: + - name: name + value: value + - name: name + value: value + properties: + headers: + description: List of header name value pairs to include with webhook requests + items: + $ref: '#/components/schemas/WebhookHeaderNameValue' + type: array + required: + - headers + type: object + WebhookDto: + description: Representation of a webhook for an inbox. The URL specified will + be using by MailSlurp whenever an email is received by the attached inbox. + A webhook entity should have a URL that points to your server. Your server + should accept HTTP/S POST requests and return a success 200. MailSlurp will + retry your webhooks if they fail. See https://java.api.mailslurp.com/schemas/webhook-payload + for the payload schema. + example: + ignoreInsecureSslCertificates: true + useStaticIpRange: true + method: GET + basicAuth: true + phoneId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + url: url + createdAt: 2000-01-23T04:56:07.000+00:00 + requestBodyTemplate: requestBodyTemplate + requestHeaders: + headers: + - name: name + value: value + - name: name + value: value + payloadJsonSchema: payloadJsonSchema + name: name + eventName: EMAIL_RECEIVED + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + description: ID of the Webhook + format: uuid + type: string + userId: + description: User ID of the Webhook + format: uuid + type: string + basicAuth: + description: Does webhook expect basic authentication? If true it means + you created this webhook with a username and password. MailSlurp will + use these in the URL to authenticate itself. + type: boolean + name: + description: Name of the webhook + nullable: true + type: string + phoneId: + description: The phoneNumberId that the Webhook will be triggered by. If + null then webhook triggered at account level or inbox level if inboxId + set + format: uuid + nullable: true + type: string + inboxId: + description: The inbox that the Webhook will be triggered by. If null then + webhook triggered at account level or phone level if phoneId set + format: uuid + nullable: true + type: string + requestBodyTemplate: + description: Request body template for HTTP request that will be sent for + the webhook. Use Moustache style template variables to insert values from + the original event payload. + nullable: true + type: string + url: + description: URL of your server that the webhook will be sent to. The schema + of the JSON that is sent is described by the payloadJsonSchema. + type: string + method: + description: HTTP method that your server endpoint must listen for + enum: + - GET + - HEAD + - POST + - PUT + - PATCH + - DELETE + - OPTIONS + - TRACE + type: string + payloadJsonSchema: + description: Deprecated. Fetch JSON Schema for webhook using the getJsonSchemaForWebhookPayload + method + type: string + createdAt: + description: When the webhook was created + format: date-time + nullable: true + type: string + updatedAt: + format: date-time + type: string + eventName: + description: Webhook trigger event name + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + nullable: true + type: string + requestHeaders: + $ref: '#/components/schemas/WebhookHeaders' + ignoreInsecureSslCertificates: + description: Should notifier ignore insecure SSL certificates + nullable: true + type: boolean + useStaticIpRange: + description: Should notifier use static IP range when sending webhook payload + nullable: true + type: boolean + required: + - basicAuth + - createdAt + - id + - method + - payloadJsonSchema + - updatedAt + - url + - userId + type: object + CreateTemplateOptions: + description: Create template options + example: + name: name + content: content + properties: + name: + description: Name of template + type: string + content: + description: "Template content. Can include moustache style variables such\ + \ as {{var_name}}" + type: string + required: + - content + - name + type: object + TemplateDto: + description: Email template + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + variables: + - variableType: STRING + name: name + - variableType: STRING + name: name + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + content: content + properties: + id: + description: ID of template + format: uuid + type: string + name: + description: Template name + type: string + variables: + description: Variables available in template that can be replaced with values + items: + $ref: '#/components/schemas/TemplateVariable' + type: array + content: + description: Content of the template + type: string + createdAt: + description: Created at time + format: date-time + type: string + required: + - content + - createdAt + - id + - name + - variables + type: object + TemplateVariable: + description: Variable for use with email template + example: + variableType: STRING + name: name + properties: + name: + description: "Name of variable. This can be used in a template as {{name}}" + type: string + variableType: + description: The type of variable + enum: + - STRING + type: string + required: + - name + - variableType + type: object + InboxRulesetTestOptions: + description: Test options for inbox ruleset + example: + testTarget: testTarget + properties: + testTarget: + type: string + required: + - testTarget + type: object + InboxRulesetTestResult: + description: Result of test of inbox ruleset + example: + rulesetMatches: + key: true + matches: true + properties: + rulesetMatches: + additionalProperties: + description: Map of inbox ruleset ID to boolean of if target matches + type: boolean + description: Map of inbox ruleset ID to boolean of if target matches + type: object + matches: + type: boolean + required: + - matches + - rulesetMatches + type: object + UpdateInboxReplierOptions: + description: Options for updating an inbox replier + example: + charset: charset + subject: subject + match: match + ignoreReplyTo: true + body: body + templateId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + templateVariables: + key: "{}" + field: RECIPIENTS + isHTML: true + name: name + replyTo: replyTo + from: from + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + inboxId: + description: Inbox ID to attach replier to + format: uuid + type: string + name: + description: Name for replier + nullable: true + type: string + field: + description: Field to match against to trigger inbox replier for inbound + email + enum: + - RECIPIENTS + - SENDER + - SUBJECT + - ATTACHMENTS + type: string + match: + description: String or wildcard style match for field specified when evaluating + reply rules + type: string + replyTo: + description: Reply-to email address when sending replying + nullable: true + type: string + subject: + description: Subject override when replying to email + nullable: true + type: string + from: + description: Send email from address + nullable: true + type: string + charset: + description: Email reply charset + nullable: true + type: string + isHTML: + description: Send HTML email + nullable: true + type: boolean + ignoreReplyTo: + description: Ignore sender replyTo when responding. Send directly to the + sender if enabled. + nullable: true + type: boolean + body: + description: Email body for reply + nullable: true + type: string + templateId: + description: ID of template to use when sending a reply + format: uuid + nullable: true + type: string + templateVariables: + additionalProperties: + description: Template variable values + nullable: true + type: object + description: Template variable values + nullable: true + type: object + required: + - field + - inboxId + - match + type: object + InboxReplierDto: + description: Inbox replier. Will automatically reply to inbound emails that + match given field for an inbox. + example: + charset: charset + subject: subject + match: match + ignoreReplyTo: true + templateId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + templateVariables: + key: "{}" + createdAt: 2000-01-23T04:56:07.000+00:00 + field: RECIPIENTS + isHTML: true + name: name + replyTo: replyTo + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + inboxId: + format: uuid + type: string + name: + nullable: true + type: string + field: + enum: + - RECIPIENTS + - SENDER + - SUBJECT + - ATTACHMENTS + type: string + match: + type: string + replyTo: + nullable: true + type: string + subject: + nullable: true + type: string + from: + nullable: true + type: string + charset: + nullable: true + type: string + isHTML: + type: boolean + templateId: + format: uuid + nullable: true + type: string + templateVariables: + additionalProperties: + nullable: true + type: object + nullable: true + type: object + ignoreReplyTo: + type: boolean + createdAt: + format: date-time + type: string + required: + - createdAt + - field + - id + - ignoreReplyTo + - inboxId + - isHTML + - match + type: object + SetInboxFavouritedOptions: + description: Options for setting inbox favourite state + example: + state: true + properties: + state: + description: Is the inbox a favorite. Marking an inbox as a favorite is + typically done in the dashboard for quick access or filtering + type: boolean + required: + - state + type: object + InboxDto: + description: "Representation of a MailSlurp inbox. An inbox has an ID and a\ + \ real email address. Emails can be sent to or from this email address. Inboxes\ + \ are either `SMTP` or `HTTP` mailboxes. The default, `HTTP` inboxes, use\ + \ AWS SES to process emails and are best suited as test email accounts and\ + \ do not support IMAP or POP3. `SMTP` inboxes use a custom mail server at\ + \ `mx.mailslurp.com` and support SMTP login, IMAP and POP3. Use the `EmailController`\ + \ or the `InboxController` methods to send and receive emails and attachments.\ + \ Inboxes may have a description, name, and tags for display purposes. You\ + \ can also favourite an inbox for easier searching." + example: + inboxType: HTTP_INBOX + description: description + readOnly: true + favourite: true + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + expiresAt: expiresAt + tags: + - tags + - tags + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + virtualInbox: true + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + description: ID of the inbox. The ID is a UUID-V4 format string. Use the + inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress + property for the email address or the inbox. To get emails in an inbox + use the WaitFor and Inbox Controller methods `waitForLatestEmail` and + `getEmails` methods respectively. Inboxes can be used with aliases to + forward emails automatically. + format: uuid + type: string + userId: + description: ID of user that inbox belongs to + format: uuid + nullable: true + type: string + createdAt: + description: When the inbox was created. Time stamps are in ISO DateTime + Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`. + format: date-time + type: string + name: + description: Name of the inbox and used as the sender name when sending + emails .Displayed in the dashboard for easier search + nullable: true + type: string + domainId: + description: ID of custom domain used by the inbox if any + format: uuid + nullable: true + type: string + description: + description: Description of an inbox for labelling and searching purposes + nullable: true + type: string + emailAddress: + description: The inbox's email address. Inbox projections and previews may + not include the email address. To view the email address fetch the inbox + entity directly. Send an email to this address and the inbox will receive + and store it for you. Note the email address in MailSlurp match characters + exactly and are case sensitive so `+123` additions are considered different + addresses. To retrieve the email use the Inbox and Email Controller endpoints + with the inbox ID. + type: string + expiresAt: + description: "Inbox expiration time. When, if ever, the inbox should expire\ + \ and be deleted. If null then this inbox is permanent and the emails\ + \ in it won't be deleted. This is the default behavior unless expiration\ + \ date is set. If an expiration date is set and the time is reached MailSlurp\ + \ will expire the inbox and move it to an expired inbox entity. You can\ + \ still access the emails belonging to it but it can no longer send or\ + \ receive email." + nullable: true + type: string + favourite: + description: Is the inbox a favorite inbox. Make an inbox a favorite is + typically done in the dashboard for quick access or filtering + type: boolean + tags: + description: Tags that inbox has been tagged with. Tags can be added to + inboxes to group different inboxes within an account. You can also search + for inboxes by tag in the dashboard UI. + items: + description: Tags that inbox has been tagged with. Tags can be added to + inboxes to group different inboxes within an account. You can also search + for inboxes by tag in the dashboard UI. + nullable: true + type: string + nullable: true + type: array + inboxType: + description: Type of inbox. HTTP inboxes are faster and better for most + cases. SMTP inboxes are more suited for public facing inbound messages + (but cannot send). + enum: + - HTTP_INBOX + - SMTP_INBOX + nullable: true + type: string + readOnly: + description: Is the inbox readOnly for the caller. Read only means can not + be deleted or modified. This flag is present when using team accounts + and shared inboxes. + type: boolean + virtualInbox: + description: Virtual inbox can receive email but will not send emails to + real recipients. Will save sent email record but never send an actual + email. Perfect for testing mail server actions. + type: boolean + required: + - createdAt + - emailAddress + - favourite + - id + - readOnly + - virtualInbox + title: Inbox + type: object + UpdateGroupContacts: + description: Update group contacts options. Pass a list of contact ids to replace + existing group contacts. + example: + contactIds: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + contactIds: + items: + format: uuid + type: string + type: array + required: + - contactIds + type: object + ContactDto: + description: Contact object. For saving a user in contact book. + example: + firstName: firstName + lastName: lastName + metaData: "{}" + optOut: true + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddresses: + - emailAddresses + - emailAddresses + groupId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + company: company + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + primaryEmailAddress: primaryEmailAddress + tags: + - tags + - tags + properties: + id: + format: uuid + type: string + groupId: + format: uuid + nullable: true + type: string + firstName: + nullable: true + type: string + lastName: + nullable: true + type: string + company: + nullable: true + type: string + emailAddresses: + items: + type: string + type: array + primaryEmailAddress: + nullable: true + type: string + tags: + items: + type: string + type: array + metaData: + nullable: true + type: object + optOut: + nullable: true + type: boolean + createdAt: + format: date-time + type: string + required: + - createdAt + - emailAddresses + - id + - tags + type: object + GroupContactsDto: + description: Describes contacts attached to a contact group + example: + contacts: + - firstName: firstName + lastName: lastName + metaData: "{}" + optOut: true + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddresses: + - emailAddresses + - emailAddresses + groupId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + company: company + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + primaryEmailAddress: primaryEmailAddress + tags: + - tags + - tags + - firstName: firstName + lastName: lastName + metaData: "{}" + optOut: true + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddresses: + - emailAddresses + - emailAddresses + groupId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + company: company + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + primaryEmailAddress: primaryEmailAddress + tags: + - tags + - tags + group: + createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + description: description + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + group: + $ref: '#/components/schemas/GroupDto' + contacts: + items: + $ref: '#/components/schemas/ContactDto' + type: array + required: + - contacts + - group + type: object + GroupDto: + description: Contact group data + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + description: description + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + name: + type: string + description: + nullable: true + type: string + createdAt: + format: date-time + type: string + required: + - createdAt + - id + - name + type: object + JsonNode: + nullable: true + type: object + InboxForwarderTestOptions: + description: Options for testing an inbox forwarder against a value + example: + testValue: testValue + properties: + testValue: + type: string + required: + - testValue + type: object + InboxForwarderTestResult: + description: Results of inbox forwarder test + example: + doesMatch: true + matches: + key: true + properties: + matches: + additionalProperties: + type: boolean + type: object + doesMatch: + type: boolean + required: + - doesMatch + - matches + type: object + CreateInboxForwarderOptions: + description: Options for creating an inbox forwarder + example: + field: RECIPIENTS + forwardToRecipients: + - forwardToRecipients + - forwardToRecipients + match: match + properties: + field: + description: Field to match against to trigger inbox forwarding for inbound + email + enum: + - RECIPIENTS + - SENDER + - SUBJECT + - ATTACHMENTS + type: string + match: + description: String or wildcard style match for field specified when evaluating + forwarding rules + type: string + forwardToRecipients: + description: Email addresses to forward an email to if it matches the field + and match criteria of the forwarder + items: + description: Email addresses to forward an email to if it matches the + field and match criteria of the forwarder + type: string + type: array + required: + - field + - forwardToRecipients + - match + type: object + InboxForwarderDto: + description: Inbox forwarder. Describes how an inbox will forward matching emails + to designated recipients. + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + field: RECIPIENTS + forwardToRecipients: + - forwardToRecipients + - forwardToRecipients + name: name + match: match + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + externalDocs: + url: https://docs.mailslurp.com/forwarders + properties: + id: + format: uuid + type: string + inboxId: + format: uuid + type: string + name: + description: Name of inbox forwarder + nullable: true + type: string + field: + description: Which field to match against + enum: + - RECIPIENTS + - SENDER + - SUBJECT + - ATTACHMENTS + type: string + match: + description: Wild-card type pattern to apply to field + type: string + forwardToRecipients: + description: Who to send forwarded email to + items: + description: Who to send forwarded email to + type: string + type: array + createdAt: + format: date-time + type: string + required: + - createdAt + - field + - forwardToRecipients + - id + - inboxId + - match + type: object + ReplyToEmailOptions: + description: Options for replying to email with API + example: + template: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sendStrategy: SINGLE_MESSAGE + charset: charset + useInboxName: true + attachments: + - attachments + - attachments + isHTML: true + replyTo: replyTo + from: from + html: true + body: body + templateVariables: + key: "{}" + properties: + body: + description: Body of the reply email you want to send + type: string + isHTML: + description: Is the reply HTML + type: boolean + from: + description: The from header that should be used. Optional + nullable: true + type: string + replyTo: + description: The replyTo header that should be used. Optional + nullable: true + type: string + charset: + description: The charset that your message should be sent with. Optional. + Default is UTF-8 + nullable: true + type: string + attachments: + description: List of uploaded attachments to send with the reply. Optional. + items: + description: List of uploaded attachments to send with the reply. Optional. + nullable: true + type: string + nullable: true + type: array + templateVariables: + additionalProperties: + description: Template variables if using a template + nullable: true + type: object + description: Template variables if using a template + nullable: true + type: object + template: + description: Template ID to use instead of body. Will use template variable + map to fill defined variable slots. + format: uuid + nullable: true + type: string + sendStrategy: + description: How an email should be sent based on its recipients + enum: + - SINGLE_MESSAGE + nullable: true + type: string + useInboxName: + description: Optionally use inbox name as display name for sender email + address + nullable: true + type: boolean + html: + type: boolean + writeOnly: true + required: + - body + - isHTML + type: object + SentEmailDto: + description: Sent email details + example: + charset: charset + bcc: + - bcc + - bcc + attachments: + - attachments + - attachments + subject: subject + messageIds: + - messageIds + - messageIds + body: body + templateId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualSend: true + toContacts: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + from: from + html: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + toGroup: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + cc: + - cc + - cc + messageId: messageId + pixelIds: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sentAt: 2000-01-23T04:56:07.000+00:00 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bodyMD5Hash: bodyMD5Hash + templateVariables: + key: "{}" + isHTML: true + replyTo: replyTo + to: + - to + - to + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + description: ID of sent email + format: uuid + type: string + userId: + description: User ID + format: uuid + type: string + inboxId: + description: Inbox ID email was sent from + format: uuid + type: string + domainId: + description: Domain ID + format: uuid + nullable: true + type: string + to: + description: Recipients email was sent to + items: + description: Recipients email was sent to + nullable: true + type: string + nullable: true + type: array + from: + description: Sent from address + nullable: true + type: string + replyTo: + nullable: true + type: string + cc: + items: + nullable: true + type: string + nullable: true + type: array + bcc: + items: + nullable: true + type: string + nullable: true + type: array + attachments: + description: Array of IDs of attachments that were sent with this email + items: + description: Array of IDs of attachments that were sent with this email + nullable: true + type: string + nullable: true + type: array + subject: + nullable: true + type: string + bodyMD5Hash: + description: MD5 Hash + nullable: true + type: string + body: + description: Sent email body + nullable: true + type: string + toContacts: + items: + format: uuid + nullable: true + type: string + nullable: true + type: array + toGroup: + format: uuid + nullable: true + type: string + charset: + nullable: true + type: string + isHTML: + nullable: true + type: boolean + sentAt: + format: date-time + type: string + pixelIds: + items: + format: uuid + nullable: true + type: string + nullable: true + type: array + messageId: + nullable: true + type: string + messageIds: + items: + nullable: true + type: string + nullable: true + type: array + virtualSend: + nullable: true + type: boolean + templateId: + format: uuid + nullable: true + type: string + templateVariables: + additionalProperties: + nullable: true + type: object + nullable: true + type: object + html: + type: boolean + writeOnly: true + required: + - id + - inboxId + - sentAt + - userId + type: object + UpdateDomainOptions: + description: Options for creating a domain to use with MailSlurp. You must have + ownership access to this domain in order to verify it. Domains will not functionally + currently until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains + for help. + example: + catchAllInboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + catchAllInboxId: + format: uuid + nullable: true + type: string + type: object + DomainDto: + description: Domain plus verification records and status + example: + hasMissingRecords: true + missingRecordsMessage: missingRecordsMessage + isVerified: true + domainType: HTTP_INBOX + verificationToken: verificationToken + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + domainNameRecords: + - recordType: A + name: name + label: VERIFICATION + recordEntries: + - recordEntries + - recordEntries + ttl: 0 + required: true + - recordType: A + name: name + label: VERIFICATION + recordEntries: + - recordEntries + - recordEntries + ttl: 0 + required: true + catchAllInboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + createdAt: 2000-01-23T04:56:07.000+00:00 + domain: domain + dkimTokens: + - dkimTokens + - dkimTokens + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + domain: + description: Custom domain name + type: string + verificationToken: + description: Verification tokens + type: string + dkimTokens: + description: Unique token DKIM tokens + items: + description: Unique token DKIM tokens + type: string + type: array + missingRecordsMessage: + description: If the domain is missing records then show which pairs are + missing. + nullable: true + type: string + hasMissingRecords: + description: Whether the domain has missing required records. If true then + see the domain in the dashboard app. + type: boolean + isVerified: + description: Whether domain has been verified or not. If the domain is not + verified after 72 hours there is most likely an issue with the domains + DNS records. + type: boolean + domainNameRecords: + description: "List of DNS domain name records (C, MX, TXT) etc that you\ + \ must add to the DNS server associated with your domain provider." + items: + $ref: '#/components/schemas/DomainNameRecord' + type: array + catchAllInboxId: + description: The optional catch all inbox that will receive emails sent + to the domain that cannot be matched. + format: uuid + nullable: true + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + domainType: + description: Type of domain. Dictates type of inbox that can be created + with domain. HTTP means inboxes are processed using SES while SMTP inboxes + use a custom SMTP mail server. SMTP does not support sending so use HTTP + for sending emails. + enum: + - HTTP_INBOX + - SMTP_DOMAIN + type: string + required: + - createdAt + - dkimTokens + - domain + - domainNameRecords + - domainType + - hasMissingRecords + - id + - isVerified + - updatedAt + - userId + - verificationToken + type: object + DomainNameRecord: + description: DNS Record required for verification of a domain. Record vary depending + on domain type. + example: + recordType: A + name: name + label: VERIFICATION + recordEntries: + - recordEntries + - recordEntries + ttl: 0 + required: true + properties: + label: + description: Domain Name Server Record Label + enum: + - VERIFICATION + - MX + - SPF + - DKIM + - DMARC + type: string + required: + type: boolean + recordType: + description: Domain Name Server Record Types + enum: + - A + - NS + - MD + - MF + - CNAME + - SOA + - MB + - MG + - MR + - "NULL" + - WKS + - PTR + - HINFO + - MINFO + - MX + - TXT + - RP + - AFSDB + - X25 + - ISDN + - RT + - NSAP + - NSAP_PTR + - SIG + - KEY + - PX + - GPOS + - AAAA + - LOC + - NXT + - EID + - NIMLOC + - SRV + - ATMA + - NAPTR + - KX + - CERT + - A6 + - DNAME + - SINK + - OPT + - APL + - DS + - SSHFP + - IPSECKEY + - RRSIG + - NSEC + - DNSKEY + - DHCID + - NSEC3 + - NSEC3PARAM + - TLSA + - SMIMEA + - HIP + - NINFO + - RKEY + - TALINK + - CDS + - CDNSKEY + - OPENPGPKEY + - CSYNC + - ZONEMD + - SVCB + - HTTPS + - SPF + - UINFO + - UID + - GID + - UNSPEC + - NID + - L32 + - L64 + - LP + - EUI48 + - EUI64 + - TKEY + - TSIG + - IXFR + - AXFR + - MAILB + - MAILA + - ANY + - URI + - CAA + - AVC + - DOA + - AMTRELAY + - TA + - DLV + type: string + name: + type: string + recordEntries: + items: + type: string + type: array + ttl: + format: int64 + type: integer + required: + - label + - name + - recordEntries + - recordType + - required + - ttl + type: object + CreateConnectorImapOptions: + example: + password: password + port: 0 + host: host + username: username + useSSL: true + properties: + host: + type: string + port: + format: int32 + type: integer + username: + type: string + password: + type: string + useSSL: + type: boolean + required: + - host + - password + - port + - useSSL + - username + type: object + CreateConnectorOptions: + example: + syncEnabled: true + connectorType: IMAP + syncInterval: 6 + imapSettings: + password: password + port: 0 + host: host + username: username + useSSL: true + syncScheduleType: INTERVAL + connectorAuthType: PLAIN_TEXT + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + connectorType: + enum: + - IMAP + type: string + connectorAuthType: + enum: + - PLAIN_TEXT + type: string + imapSettings: + $ref: '#/components/schemas/CreateConnectorImapOptions' + inboxId: + format: uuid + type: string + syncEnabled: + type: boolean + syncScheduleType: + enum: + - INTERVAL + type: string + syncInterval: + format: int32 + type: integer + required: + - connectorAuthType + - connectorType + - syncEnabled + - syncScheduleType + type: object + ConnectorDto: + example: + imapSsl: true + connectorType: IMAP + syncInterval: 0 + syncScheduleType: INTERVAL + imapPassword: imapPassword + imapUsername: imapUsername + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + imapPort: 6 + imapHost: imapHost + syncEnabled: true + createdAt: 2000-01-23T04:56:07.000+00:00 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + connectorAuthType: PLAIN_TEXT + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + connectorType: + enum: + - IMAP + type: string + connectorAuthType: + enum: + - PLAIN_TEXT + type: string + syncEnabled: + type: boolean + syncScheduleType: + enum: + - INTERVAL + type: string + syncInterval: + format: int32 + type: integer + imapHost: + type: string + imapPort: + format: int32 + type: integer + imapUsername: + type: string + imapPassword: + type: string + imapSsl: + type: boolean + createdAt: + format: date-time + type: string + required: + - connectorAuthType + - connectorType + - createdAt + - id + - syncEnabled + - syncScheduleType + - userId + type: object + UpdateAliasOptions: + description: Update an email alias + example: + name: name + properties: + name: + description: Optional name for alias + nullable: true + type: string + type: object + AliasDto: + description: Email alias representation + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + isVerified: true + maskedEmailAddress: maskedEmailAddress + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + useThreads: true + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + emailAddress: + description: The alias's email address for receiving email + type: string + maskedEmailAddress: + description: The underlying email address that is hidden and will received + forwarded email + nullable: true + type: string + userId: + format: uuid + type: string + inboxId: + description: Inbox that is associated with the alias + format: uuid + type: string + name: + nullable: true + type: string + useThreads: + description: If alias will generate response threads or not when email are + received by it + nullable: true + type: boolean + isVerified: + description: Has the alias been verified. You must verify an alias if the + masked email address has not yet been verified by your account + type: boolean + createdAt: + format: date-time + nullable: true + type: string + updatedAt: + format: date-time + nullable: true + type: string + required: + - emailAddress + - id + - inboxId + - isVerified + - userId + type: object + ReplyToAliasEmailOptions: + description: Options for replying to an alias email using the alias inbox + example: + template: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sendStrategy: SINGLE_MESSAGE + charset: charset + useInboxName: true + attachments: + - attachments + - attachments + isHTML: true + html: true + body: body + templateVariables: + key: "{}" + properties: + body: + description: Body of the reply email you want to send + type: string + isHTML: + description: Is the reply HTML + type: boolean + charset: + description: The charset that your message should be sent with. Optional. + Default is UTF-8 + nullable: true + type: string + attachments: + description: List of uploaded attachments to send with the reply. Optional. + items: + description: List of uploaded attachments to send with the reply. Optional. + nullable: true + type: string + nullable: true + type: array + templateVariables: + additionalProperties: + description: Template variables if using a template + nullable: true + type: object + description: Template variables if using a template + nullable: true + type: object + template: + description: Template ID to use instead of body. Will use template variable + map to fill defined variable slots. + format: uuid + nullable: true + type: string + sendStrategy: + description: How an email should be sent based on its recipients + enum: + - SINGLE_MESSAGE + nullable: true + type: string + useInboxName: + description: Optionally use inbox name as display name for sender email + address + nullable: true + type: boolean + html: + type: boolean + writeOnly: true + required: + - body + - isHTML + type: object + BasicAuthOptions: + description: Basic Authentication options for webhooks. Will be used is present + when calling webhook endpoints. + example: + password: password + username: username + nullable: true + properties: + username: + type: string + password: + type: string + required: + - password + - username + type: object + CreateWebhookOptions: + description: Options for creating a webhook. Webhooks can be attached to inboxes + and MailSlurp will POST a webhook payload to the URL specified whenever the + webhook's event is triggered. Webhooks are great for processing many inbound + emails and responding to other events at scale. Customize the payload sent + to your endpoint by setting the `requestBodyTemplate` property to a string + with moustache style variables. Property names from the standard payload model + for the given event are available as variables. + example: + useStaticIpRange: false + ignoreInsecureSslCertificates: true + requestBodyTemplate: requestBodyTemplate + basicAuth: + password: password + username: username + name: name + eventName: EMAIL_RECEIVED + includeHeaders: + headers: + - name: name + value: value + - name: name + value: value + url: url + properties: + url: + description: Public URL on your server that MailSlurp can post WebhookNotification + payload to when an email is received or an event is trigger. The payload + of the submitted JSON is dependent on the webhook event type. See docs.mailslurp.com/webhooks + for event payload documentation. + type: string + basicAuth: + $ref: '#/components/schemas/BasicAuthOptions' + name: + description: Optional name for the webhook + nullable: true + type: string + eventName: + description: Optional webhook event name. Default is `EMAIL_RECEIVED` and + is triggered when an email is received by the inbox associated with the + webhook. Payload differ according to the webhook event name. + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + nullable: true + type: string + includeHeaders: + $ref: '#/components/schemas/WebhookHeaders' + requestBodyTemplate: + description: "Template for the JSON body of the webhook request that will\ + \ be sent to your server. Use Moustache style `{{variableName}}` templating\ + \ to use parts of the standard webhook payload for the given event." + nullable: true + type: string + useStaticIpRange: + default: false + description: Use static IP range when calling webhook endpoint + nullable: true + type: boolean + ignoreInsecureSslCertificates: + description: Ignore insecure SSL certificates when sending request. Useful + for self-signed certs. + nullable: true + type: boolean + required: + - url + type: object + WebhookTestRequest: + description: Result of webhook test request + example: + headers: + key: headers + method: GET + payload: payload + url: url + properties: + url: + type: string + method: + enum: + - GET + - HEAD + - POST + - PUT + - PATCH + - DELETE + - OPTIONS + - TRACE + type: string + headers: + additionalProperties: + type: string + type: object + payload: + nullable: true + type: string + required: + - headers + - method + - url + type: object + WebhookTestResponse: + description: Response from webhook test request + example: + message: message + statusCode: 0 + properties: + statusCode: + format: int32 + nullable: true + type: integer + message: + nullable: true + type: string + type: object + WebhookTestResult: + description: Results of testing a webhook + example: + request: + headers: + key: headers + method: GET + payload: payload + url: url + response: + message: message + statusCode: 0 + message: message + properties: + message: + nullable: true + type: string + response: + $ref: '#/components/schemas/WebhookTestResponse' + request: + $ref: '#/components/schemas/WebhookTestRequest' + required: + - request + - response + type: object + JSONSchemaDto: + description: JSONSchema for payload + example: + value: value + properties: + value: + type: string + required: + - value + type: object + AbstractWebhookPayload: + description: "Abstract webhook payload. Use the correct payload type for your\ + \ webhook event type in order to access all the specific properties for that\ + \ event. See the `NEW_EMAIL`,`NEW_CONTACT`, `NEW_ATTACHMENT` and `EMAIL_OPENED`\ + \ payloads for the properties available for those events." + example: + webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + eventName: EMAIL_RECEIVED + messageId: messageId + webhookName: webhookName + properties: + eventName: + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + messageId: + type: string + webhookId: + format: uuid + type: string + webhookName: + type: string + required: + - eventName + - messageId + - webhookId + type: object + VerifyWebhookSignatureOptions: + example: + signature: signature + messageId: messageId + properties: + messageId: + type: string + signature: + type: string + required: + - messageId + - signature + type: object + VerifyWebhookSignatureResults: + example: + isValid: true + properties: + isValid: + type: boolean + required: + - isValid + type: object + WebhookRedriveResult: + description: Result of retrying webhook + example: + success: true + webhookResultId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + properties: + webhookResultId: + format: uuid + type: string + success: + type: boolean + message: + nullable: true + type: string + required: + - success + - webhookResultId + type: object + MatchOption: + description: "Options for matching emails in an inbox. Each match option object\ + \ contains a `field`, `should` and `value` property. Together they form logical\ + \ conditions such as `SUBJECT` should `CONTAIN` value." + example: + field: SUBJECT + should: CONTAIN + value: value + nullable: true + properties: + field: + description: Fields of an email object that can be used to filter results + enum: + - SUBJECT + - TO + - BCC + - CC + - FROM + title: MatchField + type: string + should: + description: How the value of the email field specified should be compared + to the value given in the match options. + enum: + - CONTAIN + - EQUAL + title: MatchShould + type: string + value: + description: The value you wish to compare with the value of the field specified + using the `should` value passed. For example `BODY` should `CONTAIN` a + value passed. + type: string + required: + - field + - should + - value + type: object + WaitForConditions: + description: Conditions to apply to emails that you are waiting for + example: + delayTimeout: 6 + sortDirection: ASC + before: 2000-01-23T04:56:07.000+00:00 + count: 0 + unreadOnly: true + countType: EXACTLY + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + matches: + - field: SUBJECT + should: CONTAIN + value: value + - field: SUBJECT + should: CONTAIN + value: value + timeout: 1 + since: 2000-01-23T04:56:07.000+00:00 + properties: + inboxId: + description: ID of inbox to search within and apply conditions to. Essentially + filtering the emails found to give a count. + format: uuid + type: string + count: + description: Number of results that should match conditions. Either exactly + or at least this amount based on the `countType`. If count condition is + not met and the timeout has not been reached the `waitFor` method will + retry the operation. + format: int32 + nullable: true + type: integer + delayTimeout: + description: Max time in milliseconds to wait between retries if a `timeout` + is specified. + format: int64 + nullable: true + type: integer + timeout: + description: Max time in milliseconds to retry the `waitFor` operation until + conditions are met. + format: int64 + type: integer + unreadOnly: + description: "Apply conditions only to **unread** emails. All emails begin\ + \ with `read=false`. An email is marked `read=true` when an `EmailDto`\ + \ representation of it has been returned to the user at least once. For\ + \ example you have called `getEmail` or `waitForLatestEmail` etc., or\ + \ you have viewed the email in the dashboard." + nullable: true + type: boolean + countType: + description: How result size should be compared with the expected size. + Exactly or at-least matching result? + enum: + - EXACTLY + - ATLEAST + nullable: true + title: CountType + type: string + matches: + description: Conditions that should be matched for an email to qualify for + results. Each condition will be applied in order to each email within + an inbox to filter a result list of matching emails you are waiting for. + items: + $ref: '#/components/schemas/MatchOption' + nullable: true + type: array + sortDirection: + description: Direction to sort matching emails by created time + enum: + - ASC + - DESC + nullable: true + type: string + since: + description: ISO Date Time earliest time of email to consider. Filter for + matching emails that were received after this date + format: date-time + nullable: true + type: string + before: + description: ISO Date Time latest time of email to consider. Filter for + matching emails that were received before this date + format: date-time + nullable: true + type: string + required: + - inboxId + - timeout + type: object + EmailPreview: + description: Preview of an email message. For full message (including body and + attachments) call the `getEmail` or other email endpoints with the provided + email ID. + example: + cc: + - cc + - cc + createdAt: 2000-01-23T04:56:07.000+00:00 + bcc: + - bcc + - bcc + read: true + attachments: + - attachments + - attachments + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + description: ID of the email entity + format: uuid + type: string + domainId: + description: ID of the domain that received the email + format: uuid + nullable: true + type: string + subject: + description: The subject line of the email message as specified by SMTP + subject header + nullable: true + type: string + to: + description: List of `To` recipient email addresses that the email was addressed + to. See recipients object for names. + items: + description: List of `To` recipient email addresses that the email was + addressed to. See recipients object for names. + nullable: true + type: string + nullable: true + type: array + from: + description: Who the email was sent from. An email address - see fromName + for the sender name. + nullable: true + type: string + bcc: + description: List of `BCC` recipients email addresses that the email was + addressed to. See recipients object for names. + items: + description: List of `BCC` recipients email addresses that the email was + addressed to. See recipients object for names. + nullable: true + type: string + nullable: true + type: array + cc: + description: List of `CC` recipients email addresses that the email was + addressed to. See recipients object for names. + items: + description: List of `CC` recipients email addresses that the email was + addressed to. See recipients object for names. + nullable: true + type: string + nullable: true + type: array + createdAt: + description: When was the email received by MailSlurp + format: date-time + type: string + read: + description: Read flag. Has the email ever been viewed in the dashboard + or fetched via the API with a hydrated body? If so the email is marked + as read. Paginated results do not affect read status. Read status is different + to email opened event as it depends on your own account accessing the + email. Email opened is determined by tracking pixels sent to other uses + if enable during sending. You can listened for both email read and email + opened events using webhooks. + type: boolean + attachments: + description: "List of IDs of attachments found in the email. Use these IDs\ + \ with the Inbox and Email Controllers to download attachments and attachment\ + \ meta data such as filesize, name, extension." + items: + description: "List of IDs of attachments found in the email. Use these\ + \ IDs with the Inbox and Email Controllers to download attachments and\ + \ attachment meta data such as filesize, name, extension." + nullable: true + type: string + nullable: true + type: array + required: + - createdAt + - id + - read + - to + type: object + SmsMatchOption: + description: "Options for matching SMS messages in a phone number. Each match\ + \ option object contains a `field`, `should` and `value` property. Together\ + \ they form logical conditions such as `BODY` should `CONTAIN` value." + example: + field: BODY + should: CONTAIN + value: value + nullable: true + properties: + field: + description: Fields of an SMS object that can be used to filter results + enum: + - BODY + - FROM + title: SmsMatchField + type: string + should: + description: How the value of the email field specified should be compared + to the value given in the match options. + enum: + - CONTAIN + - EQUAL + title: MatchShould + type: string + value: + description: The value you wish to compare with the value of the field specified + using the `should` value passed. For example `BODY` should `CONTAIN` a + value passed. + type: string + required: + - field + - should + - value + type: object + WaitForSmsConditions: + description: Conditions to apply to emails that you are waiting for + example: + delayTimeout: 1 + sortDirection: ASC + before: 2000-01-23T04:56:07.000+00:00 + limit: 0 + count: 6 + unreadOnly: true + countType: EXACTLY + phoneNumberId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + matches: + - field: BODY + should: CONTAIN + value: value + - field: BODY + should: CONTAIN + value: value + timeout: 5 + since: 2000-01-23T04:56:07.000+00:00 + properties: + phoneNumberId: + description: ID of phone number to search within and apply conditions to. + Essentially filtering the SMS found to give a count. + format: uuid + type: string + limit: + description: Limit results + format: int32 + nullable: true + type: integer + count: + description: Number of results that should match conditions. Either exactly + or at least this amount based on the `countType`. If count condition is + not met and the timeout has not been reached the `waitFor` method will + retry the operation. + format: int64 + type: integer + delayTimeout: + description: Max time in milliseconds to wait between retries if a `timeout` + is specified. + format: int64 + nullable: true + type: integer + timeout: + description: Max time in milliseconds to retry the `waitFor` operation until + conditions are met. + format: int64 + type: integer + unreadOnly: + description: "Apply conditions only to **unread** SMS. All SMS messages\ + \ begin with `read=false`. An SMS is marked `read=true` when an `SMS`\ + \ has been returned to the user at least once. For example you have called\ + \ `getSms` or `waitForSms` etc., or you have viewed the SMS in the dashboard." + nullable: true + type: boolean + countType: + description: How result size should be compared with the expected size. + Exactly or at-least matching result? + enum: + - EXACTLY + - ATLEAST + nullable: true + title: CountType + type: string + matches: + description: Conditions that should be matched for an SMS to qualify for + results. Each condition will be applied in order to each SMS within a + phone number to filter a result list of matching SMSs you are waiting + for. + items: + $ref: '#/components/schemas/SmsMatchOption' + nullable: true + type: array + sortDirection: + description: Direction to sort matching SMSs by created time + enum: + - ASC + - DESC + nullable: true + type: string + since: + description: ISO Date Time earliest time of SMS to consider. Filter for + matching SMSs that were received after this date + format: date-time + nullable: true + type: string + before: + description: ISO Date Time latest time of SMS to consider. Filter for matching + SMSs that were received before this date + format: date-time + nullable: true + type: string + required: + - count + - phoneNumberId + - timeout + type: object + SmsPreview: + example: + fromNumber: fromNumber + createdAt: 2000-01-23T04:56:07.000+00:00 + phoneNumber: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + body: body + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + body: + type: string + phoneNumber: + format: uuid + type: string + fromNumber: + type: string + createdAt: + format: date-time + type: string + required: + - body + - createdAt + - fromNumber + - id + - phoneNumber + - userId + type: object + ConditionOption: + description: Options for matching emails in an inbox based on a condition such + as `HAS_ATTACHMENTS=TRUE` + example: + condition: HAS_ATTACHMENTS + value: "TRUE" + nullable: true + properties: + condition: + description: Condition of an email object that can be used to filter results + enum: + - HAS_ATTACHMENTS + title: ConditionField + type: string + value: + description: Expected condition value + enum: + - "TRUE" + - "FALSE" + title: ConditionValue + type: string + required: + - condition + - value + type: object + MatchOptions: + description: "Optional filter for matching emails based on fields. For instance\ + \ filter results to only include emails whose `SUBJECT` value does `CONTAIN`\ + \ given match value. An example payload would be `{ matches: [{ field: 'SUBJECT',\ + \ should: 'CONTAIN', value: 'Welcome' }] }`. You can also pass conditions\ + \ such as `HAS_ATTACHMENT`. If you wish to extract regex matches inside the\ + \ email content see the `getEmailContentMatch` method in the EmailController." + example: + conditions: + - condition: HAS_ATTACHMENTS + value: "TRUE" + - condition: HAS_ATTACHMENTS + value: "TRUE" + matches: + - field: SUBJECT + should: CONTAIN + value: value + - field: SUBJECT + should: CONTAIN + value: value + properties: + matches: + description: "Zero or more match options such as `{ field: 'SUBJECT', should:\ + \ 'CONTAIN', value: 'Welcome' }`. Options are additive so if one does\ + \ not match the email is excluded from results" + items: + $ref: '#/components/schemas/MatchOption' + nullable: true + type: array + conditions: + description: "Zero or more conditions such as `{ condition: 'HAS_ATTACHMENTS',\ + \ value: 'TRUE' }`. Note the values are the strings `TRUE|FALSE` not booleans." + items: + $ref: '#/components/schemas/ConditionOption' + nullable: true + type: array + type: object + Email: + description: "Email entity (also known as EmailDto). When an SMTP email message\ + \ is received by MailSlurp it is parsed. The body and attachments are written\ + \ to disk and the fields such as to, from, subject etc are stored in a database.\ + \ The `body` contains the email content. If you want the original SMTP message\ + \ see the `getRawEmail` endpoints. The attachments can be fetched using the\ + \ AttachmentController" + example: + charset: charset + bcc: + - bcc + - bcc + attachments: + - attachments + - attachments + subject: subject + body: body + teamAccess: true + createdAt: 2000-01-23T04:56:07.000+00:00 + from: from + headersMap: + key: + - headersMap + - headersMap + html: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + cc: + - cc + - cc + headers: + key: headers + read: true + analysis: + spamVerdict: spamVerdict + virusVerdict: virusVerdict + spfVerdict: spfVerdict + dmarcVerdict: dmarcVerdict + dkimVerdict: dkimVerdict + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bodyMD5Hash: bodyMD5Hash + sender: + emailAddress: emailAddress + rawValue: rawValue + name: name + recipients: + cc: + - emailAddress: emailAddress + rawValue: rawValue + name: name + - emailAddress: emailAddress + rawValue: rawValue + name: name + bcc: + - emailAddress: emailAddress + rawValue: rawValue + name: name + - emailAddress: emailAddress + rawValue: rawValue + name: name + to: + - emailAddress: emailAddress + rawValue: rawValue + name: name + - emailAddress: emailAddress + rawValue: rawValue + name: name + isHTML: true + replyTo: replyTo + to: + - to + - to + bodyExcerpt: bodyExcerpt + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + description: ID of the email entity + format: uuid + type: string + userId: + description: ID of user that email belongs to + format: uuid + type: string + inboxId: + description: ID of the inbox that received the email + format: uuid + type: string + domainId: + description: ID of the domain that received the email + format: uuid + nullable: true + type: string + to: + description: List of `To` recipient email addresses that the email was addressed + to. See recipients object for names. + items: + description: List of `To` recipient email addresses that the email was + addressed to. See recipients object for names. + type: string + type: array + from: + description: Who the email was sent from. An email address - see fromName + for the sender name. + nullable: true + type: string + sender: + $ref: '#/components/schemas/Sender' + recipients: + $ref: '#/components/schemas/EmailRecipients' + replyTo: + description: The `replyTo` field on the received email message + nullable: true + type: string + cc: + description: List of `CC` recipients email addresses that the email was + addressed to. See recipients object for names. + items: + description: List of `CC` recipients email addresses that the email was + addressed to. See recipients object for names. + nullable: true + type: string + nullable: true + type: array + bcc: + description: List of `BCC` recipients email addresses that the email was + addressed to. See recipients object for names. + items: + description: List of `BCC` recipients email addresses that the email was + addressed to. See recipients object for names. + nullable: true + type: string + nullable: true + type: array + headers: + additionalProperties: + deprecated: true + description: Collection of SMTP headers attached to email + nullable: true + type: string + deprecated: true + description: Collection of SMTP headers attached to email + nullable: true + type: object + headersMap: + additionalProperties: + description: Multi-value map of SMTP headers attached to email + items: + description: Multi-value map of SMTP headers attached to email + nullable: true + type: string + nullable: true + type: array + description: Multi-value map of SMTP headers attached to email + nullable: true + type: object + attachments: + description: "List of IDs of attachments found in the email. Use these IDs\ + \ with the Inbox and Email Controllers to download attachments and attachment\ + \ meta data such as filesize, name, extension." + items: + description: "List of IDs of attachments found in the email. Use these\ + \ IDs with the Inbox and Email Controllers to download attachments and\ + \ attachment meta data such as filesize, name, extension." + nullable: true + type: string + nullable: true + type: array + subject: + description: The subject line of the email message as specified by SMTP + subject header + nullable: true + type: string + body: + description: The body of the email message as text parsed from the SMTP + message body (does not include attachments). Fetch the raw content to + access the SMTP message and use the attachments property to access attachments. + The body is stored separately to the email entity so the body is not returned + in paginated results only in full single email or wait requests. + nullable: true + type: string + bodyExcerpt: + description: An excerpt of the body of the email message for quick preview + . + nullable: true + type: string + bodyMD5Hash: + description: A hash signature of the email message using MD5. Useful for + comparing emails without fetching full body. + nullable: true + type: string + isHTML: + description: Is the email body content type HTML? + nullable: true + type: boolean + charset: + description: Detected character set of the email body such as UTF-8 + nullable: true + type: string + analysis: + $ref: '#/components/schemas/EmailAnalysis' + createdAt: + description: When was the email received by MailSlurp + format: date-time + type: string + updatedAt: + description: When was the email last updated + format: date-time + type: string + read: + description: Read flag. Has the email ever been viewed in the dashboard + or fetched via the API with a hydrated body? If so the email is marked + as read. Paginated results do not affect read status. Read status is different + to email opened event as it depends on your own account accessing the + email. Email opened is determined by tracking pixels sent to other uses + if enable during sending. You can listened for both email read and email + opened events using webhooks. + type: boolean + teamAccess: + description: Can the email be accessed by organization team members + type: boolean + html: + type: boolean + writeOnly: true + required: + - createdAt + - id + - inboxId + - read + - teamAccess + - to + - updatedAt + - userId + type: object + EmailAnalysis: + description: Analysis result for email. Each verdict property is a string PASS|FAIL|GRAY + or dynamic error message + example: + spamVerdict: spamVerdict + virusVerdict: virusVerdict + spfVerdict: spfVerdict + dmarcVerdict: dmarcVerdict + dkimVerdict: dkimVerdict + nullable: true + properties: + spamVerdict: + description: Verdict of spam ranking analysis + nullable: true + type: string + virusVerdict: + description: Verdict of virus scan analysis + nullable: true + type: string + spfVerdict: + description: Verdict of Send Policy Framework record spoofing analysis + nullable: true + type: string + dkimVerdict: + description: Verdict of DomainKeys Identified Mail analysis + nullable: true + type: string + dmarcVerdict: + description: Verdict of Domain-based Message Authentication Reporting and + Conformance analysis + nullable: true + type: string + type: object + EmailRecipients: + description: "The `To`,`CC`,`BCC` recipients stored in object form with email\ + \ address and name accessible." + example: + cc: + - emailAddress: emailAddress + rawValue: rawValue + name: name + - emailAddress: emailAddress + rawValue: rawValue + name: name + bcc: + - emailAddress: emailAddress + rawValue: rawValue + name: name + - emailAddress: emailAddress + rawValue: rawValue + name: name + to: + - emailAddress: emailAddress + rawValue: rawValue + name: name + - emailAddress: emailAddress + rawValue: rawValue + name: name + nullable: true + properties: + to: + items: + $ref: '#/components/schemas/Recipient' + type: array + cc: + items: + $ref: '#/components/schemas/Recipient' + type: array + bcc: + items: + $ref: '#/components/schemas/Recipient' + type: array + type: object + Recipient: + description: Email recipient + example: + emailAddress: emailAddress + rawValue: rawValue + name: name + properties: + rawValue: + type: string + emailAddress: + type: string + name: + nullable: true + type: string + required: + - emailAddress + - rawValue + type: object + Sender: + description: Sender object containing from email address and from personal name + if provided in address + example: + emailAddress: emailAddress + rawValue: rawValue + name: name + nullable: true + properties: + rawValue: + type: string + emailAddress: + type: string + name: + type: string + required: + - emailAddress + - rawValue + type: object + WaitForSingleSmsOptions: + example: + sortDirection: ASC + delay: 6 + before: 2000-01-23T04:56:07.000+00:00 + unreadOnly: true + phoneNumberId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + timeout: 0 + since: 2000-01-23T04:56:07.000+00:00 + properties: + phoneNumberId: + format: uuid + type: string + timeout: + format: int64 + type: integer + unreadOnly: + type: boolean + before: + format: date-time + type: string + since: + format: date-time + type: string + sortDirection: + enum: + - ASC + - DESC + type: string + delay: + format: int64 + type: integer + required: + - phoneNumberId + - timeout + type: object + SmsDto: + example: + fromNumber: fromNumber + createdAt: 2000-01-23T04:56:07.000+00:00 + phoneNumber: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + read: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + body: body + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + phoneNumber: + format: uuid + type: string + fromNumber: + type: string + body: + type: string + read: + type: boolean + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + required: + - body + - createdAt + - fromNumber + - id + - phoneNumber + - read + - updatedAt + - userId + type: object + CreateTrackingPixelOptions: + description: Options for creating a tracking pixel for email open tracking + example: + name: name + recipient: recipient + properties: + name: + nullable: true + type: string + recipient: + nullable: true + type: string + type: object + TrackingPixelDto: + description: Tracking pixel + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + seenAt: 2000-01-23T04:56:07.000+00:00 + sentEmailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipient: recipient + html: html + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + seen: true + url: url + properties: + id: + format: uuid + type: string + seen: + type: boolean + recipient: + nullable: true + type: string + html: + type: string + url: + type: string + inboxId: + format: uuid + nullable: true + type: string + sentEmailId: + format: uuid + nullable: true + type: string + seenAt: + format: date-time + nullable: true + type: string + createdAt: + format: date-time + type: string + required: + - createdAt + - html + - id + - seen + - url + type: object + SimpleSendEmailOptions: + description: Simplified send email options + example: + senderId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + subject: subject + to: to + body: body + properties: + senderId: + description: ID of inbox to send from. If null an inbox will be created + for sending + format: uuid + nullable: true + type: string + to: + description: Email address to send to + type: string + body: + description: Body of the email message. Supports HTML + nullable: true + type: string + subject: + description: Subject line of the email + nullable: true + type: string + required: + - to + type: object + CreateInboxRulesetOptions: + description: "Options for creating inbox rulesets. Inbox rulesets can be used\ + \ to block, allow, filter, or forward emails when sending or receiving using\ + \ the inbox." + example: + scope: RECEIVING_EMAILS + action: BLOCK + target: target + externalDocs: + url: https://www.mailslurp.com/guides/inbox-rulesets/ + properties: + scope: + description: What type of emails actions to apply ruleset to. Either `SENDING_EMAILS` + or `RECEIVING_EMAILS` will apply action and target to any sending or receiving + of emails respectively. + enum: + - RECEIVING_EMAILS + - SENDING_EMAILS + type: string + action: + description: "Action to be taken when the ruleset matches an email for the\ + \ given scope. For example: `BLOCK` action with target `*` and scope `SENDING_EMAILS`\ + \ blocks sending to all recipients. Note `ALLOW` takes precedent over\ + \ `BLOCK`. `FILTER_REMOVE` is like block but will remove offending email\ + \ addresses during a send or receive event instead of blocking the action." + enum: + - BLOCK + - ALLOW + - FILTER_REMOVE + type: string + target: + description: Target to match emails with. Can be a wild-card type pattern + or a valid email address. For instance `*@gmail.com` matches all gmail + addresses while `test@gmail.com` matches one address exactly. The target + is applied to every recipient field email address when `SENDING_EMAILS` + is the scope and is applied to sender of email when `RECEIVING_EMAILS`. + type: string + required: + - action + - scope + - target + type: object + InboxRulesetDto: + description: Rules for inbox + example: + handler: EXCEPTION + createdAt: 2000-01-23T04:56:07.000+00:00 + scope: RECEIVING_EMAILS + action: BLOCK + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + target: target + properties: + id: + format: uuid + type: string + inboxId: + format: uuid + nullable: true + type: string + scope: + enum: + - RECEIVING_EMAILS + - SENDING_EMAILS + type: string + action: + enum: + - BLOCK + - ALLOW + - FILTER_REMOVE + type: string + target: + type: string + handler: + enum: + - EXCEPTION + type: string + createdAt: + format: date-time + type: string + required: + - action + - createdAt + - handler + - id + - scope + - target + type: object + CreateInboxReplierOptions: + description: Options for creating an inbox replier. Repliers can be attached + to inboxes and send automated responses when an inbound email matches given + criteria. + example: + charset: charset + subject: subject + match: match + ignoreReplyTo: true + body: body + templateId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + templateVariables: + key: "{}" + field: RECIPIENTS + isHTML: true + name: name + replyTo: replyTo + from: from + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + externalDocs: + url: https://docs.mailslurp.com/repliers/ + properties: + inboxId: + description: Inbox ID to attach replier to + format: uuid + type: string + name: + description: Name for replier + nullable: true + type: string + field: + description: Field to match against to trigger inbox replier for inbound + email + enum: + - RECIPIENTS + - SENDER + - SUBJECT + - ATTACHMENTS + type: string + match: + description: String or wildcard style match for field specified when evaluating + reply rules. Use `*` to match anything. + type: string + replyTo: + description: Reply-to email address when sending replying + nullable: true + type: string + subject: + description: Subject override when replying to email + nullable: true + type: string + from: + description: Send email from address + nullable: true + type: string + charset: + description: Email reply charset + nullable: true + type: string + ignoreReplyTo: + description: Ignore sender replyTo when responding. Send directly to the + sender if enabled. + nullable: true + type: boolean + isHTML: + description: Send HTML email + nullable: true + type: boolean + body: + description: Email body for reply + nullable: true + type: string + templateId: + description: ID of template to use when sending a reply + format: uuid + nullable: true + type: string + templateVariables: + additionalProperties: + description: Template variable values + nullable: true + type: object + description: Template variable values + nullable: true + type: object + required: + - field + - inboxId + - match + type: object + TestPhoneNumberOptions: + example: + message: message + properties: + message: + type: string + required: + - message + type: object + CreateEmergencyAddressOptions: + example: + city: city + address1: address1 + displayName: displayName + postalCode: postalCode + isoCountryCode: US + region: region + customerName: customerName + properties: + customerName: + type: string + address1: + type: string + city: + type: string + region: + type: string + postalCode: + type: string + isoCountryCode: + enum: + - US + - GB + - AU + type: string + displayName: + type: string + required: + - address1 + - city + - customerName + - isoCountryCode + - postalCode + - region + type: object + EmergencyAddress: + example: + city: city + displayName: displayName + address1: address1 + postalCode: postalCode + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + customerName: customerName + sid: sid + phoneCountry: US + createdAt: 2000-01-23T04:56:07.000+00:00 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + region: region + accountSid: accountSid + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + sid: + type: string + userId: + format: uuid + type: string + displayName: + type: string + customerName: + type: string + address1: + type: string + city: + type: string + region: + type: string + postalCode: + type: string + phoneCountry: + enum: + - US + - GB + - AU + type: string + accountSid: + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + required: + - accountSid + - address1 + - city + - createdAt + - customerName + - displayName + - phoneCountry + - postalCode + - region + - sid + - updatedAt + - userId + type: object + VerifyEmailAddressOptions: + description: Options for verifying that an email address exists at a remote + mail server. + example: + emailAddress: emailAddress + senderEmailAddress: senderEmailAddress + port: 0 + mailServerDomain: mailServerDomain + properties: + mailServerDomain: + nullable: true + type: string + emailAddress: + type: string + senderEmailAddress: + nullable: true + type: string + port: + format: int32 + nullable: true + type: integer + required: + - emailAddress + type: object + EmailVerificationResult: + description: Email verification result. Valid means email address exists according + to response from mail server running at the domain and port given. + example: + emailAddress: emailAddress + port: 0 + domainName: domainName + isValid: true + error: error + properties: + domainName: + type: string + port: + format: int32 + type: integer + emailAddress: + type: string + isValid: + type: boolean + error: + nullable: true + type: string + required: + - domainName + - emailAddress + - isValid + - port + type: object + IPAddressResult: + description: IP Address look up result for a given domain / hostname + example: + hostname: hostname + address: address + properties: + address: + type: string + hostname: + type: string + required: + - address + - hostname + type: object + DescribeDomainOptions: + description: Domain record description + example: + domain: domain + properties: + domain: + type: string + required: + - domain + type: object + DescribeMailServerDomainResult: + description: Name Server lookup result + example: + mxRecords: + - recordType: recordType + raw: raw + priority: priority + value: value + - recordType: recordType + raw: raw + priority: priority + value: value + domain: domain + message: message + properties: + mxRecords: + items: + $ref: '#/components/schemas/NameServerRecord' + type: array + domain: + type: string + message: + nullable: true + type: string + required: + - domain + - mxRecords + type: object + NameServerRecord: + description: Name Server Record + example: + recordType: recordType + raw: raw + priority: priority + value: value + properties: + raw: + type: string + recordType: + type: string + priority: + type: string + value: + type: string + required: + - priority + - raw + - recordType + - value + type: object + DNSLookupOptions: + description: 'Options for DNS query. ' + example: + omitFinalDNSDot: true + hostname: hostname + recordTypes: + - A + - A + properties: + hostname: + description: "List of record types you wish to query such as MX, DNS, TXT,\ + \ NS, A etc." + type: string + recordTypes: + description: "List of record types you wish to query such as MX, DNS, TXT,\ + \ NS, A etc." + items: + description: Domain Name Server Record Types + enum: + - A + - NS + - MD + - MF + - CNAME + - SOA + - MB + - MG + - MR + - "NULL" + - WKS + - PTR + - HINFO + - MINFO + - MX + - TXT + - RP + - AFSDB + - X25 + - ISDN + - RT + - NSAP + - NSAP_PTR + - SIG + - KEY + - PX + - GPOS + - AAAA + - LOC + - NXT + - EID + - NIMLOC + - SRV + - ATMA + - NAPTR + - KX + - CERT + - A6 + - DNAME + - SINK + - OPT + - APL + - DS + - SSHFP + - IPSECKEY + - RRSIG + - NSEC + - DNSKEY + - DHCID + - NSEC3 + - NSEC3PARAM + - TLSA + - SMIMEA + - HIP + - NINFO + - RKEY + - TALINK + - CDS + - CDNSKEY + - OPENPGPKEY + - CSYNC + - ZONEMD + - SVCB + - HTTPS + - SPF + - UINFO + - UID + - GID + - UNSPEC + - NID + - L32 + - L64 + - LP + - EUI48 + - EUI64 + - TKEY + - TSIG + - IXFR + - AXFR + - MAILB + - MAILA + - ANY + - URI + - CAA + - AVC + - DOA + - AMTRELAY + - TA + - DLV + type: string + type: array + omitFinalDNSDot: + description: Optionally control whether to omit the final dot in full DNS + name values. + type: boolean + required: + - hostname + - omitFinalDNSDot + - recordTypes + type: object + DNSLookupResult: + description: "DNS lookup result. Includes record type, time to live, raw response,\ + \ and name value for the name server response." + example: + recordType: A + name: name + ttl: 0 + recordEntries: + - recordEntries + - recordEntries + properties: + recordType: + description: Domain Name Server Record Types + enum: + - A + - NS + - MD + - MF + - CNAME + - SOA + - MB + - MG + - MR + - "NULL" + - WKS + - PTR + - HINFO + - MINFO + - MX + - TXT + - RP + - AFSDB + - X25 + - ISDN + - RT + - NSAP + - NSAP_PTR + - SIG + - KEY + - PX + - GPOS + - AAAA + - LOC + - NXT + - EID + - NIMLOC + - SRV + - ATMA + - NAPTR + - KX + - CERT + - A6 + - DNAME + - SINK + - OPT + - APL + - DS + - SSHFP + - IPSECKEY + - RRSIG + - NSEC + - DNSKEY + - DHCID + - NSEC3 + - NSEC3PARAM + - TLSA + - SMIMEA + - HIP + - NINFO + - RKEY + - TALINK + - CDS + - CDNSKEY + - OPENPGPKEY + - CSYNC + - ZONEMD + - SVCB + - HTTPS + - SPF + - UINFO + - UID + - GID + - UNSPEC + - NID + - L32 + - L64 + - LP + - EUI48 + - EUI64 + - TKEY + - TSIG + - IXFR + - AXFR + - MAILB + - MAILA + - ANY + - URI + - CAA + - AVC + - DOA + - AMTRELAY + - TA + - DLV + type: string + ttl: + format: int64 + type: integer + recordEntries: + items: + type: string + type: array + name: + type: string + required: + - name + - recordEntries + - recordType + - ttl + type: object + DNSLookupResults: + description: Results of query on domain name servers + example: + results: + - recordType: A + name: name + ttl: 0 + recordEntries: + - recordEntries + - recordEntries + - recordType: A + name: name + ttl: 0 + recordEntries: + - recordEntries + - recordEntries + properties: + results: + items: + $ref: '#/components/schemas/DNSLookupResult' + type: array + required: + - results + type: object + SendEmailOptions: + description: Options for the email to be sent + example: + cc: + - cc + - cc + template: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sendStrategy: SINGLE_MESSAGE + charset: charset + bcc: + - bcc + - bcc + attachments: + - attachments + - attachments + filterBouncedRecipients: true + subject: subject + addTrackingPixel: true + body: body + templateVariables: + key: "{}" + useInboxName: true + toContacts: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + isHTML: true + replyTo: replyTo + from: from + html: true + to: + - to + - to + validateEmailAddresses: VALIDATE_FILTER_REMOVE_INVALID + toGroup: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + toContacts: + description: Optional list of contact IDs to send email to. Manage your + contacts via the API or dashboard. When contacts are used the email is + sent to each contact separately so they will not see other recipients. + items: + description: Optional list of contact IDs to send email to. Manage your + contacts via the API or dashboard. When contacts are used the email + is sent to each contact separately so they will not see other recipients. + format: uuid + nullable: true + type: string + nullable: true + type: array + toGroup: + description: Optional contact group ID to send email to. You can create + contacts and contact groups in the API or dashboard and use them for email + campaigns. When contact groups are used the email is sent to each contact + separately so they will not see other recipients + format: uuid + nullable: true + type: string + to: + description: List of destination email addresses. Each email address must + be RFC 5322 format. Even single recipients must be in array form. Maximum + recipients per email depends on your plan. If you need to send many emails + try using contacts or contact groups or use a non standard sendStrategy + to ensure that spam filters are not triggered (many recipients in one + email can affect your spam rating). Be cautious when sending emails that + your recipients exist. High bounce rates (meaning a high percentage of + emails cannot be delivered because an address does not exist) can result + in account freezing. + items: + description: List of destination email addresses. Each email address must + be RFC 5322 format. Even single recipients must be in array form. Maximum + recipients per email depends on your plan. If you need to send many + emails try using contacts or contact groups or use a non standard sendStrategy + to ensure that spam filters are not triggered (many recipients in one + email can affect your spam rating). Be cautious when sending emails + that your recipients exist. High bounce rates (meaning a high percentage + of emails cannot be delivered because an address does not exist) can + result in account freezing. + nullable: true + type: string + nullable: true + type: array + from: + description: "Optional from address. Email address is RFC 5322 format and\ + \ may include a display name and email in angle brackets (`my@address.com`\ + \ or `My inbox `). If no sender is set the source inbox\ + \ address will be used for this field. If you set `useInboxName` to `true`\ + \ the from field will include the inbox name as a display name: `inbox_name\ + \ `. For this to work use the name field when creating\ + \ an inbox. Beware of potential spam penalties when setting the from field\ + \ to an address not used by the inbox. Your emails may get blocked by\ + \ services if you impersonate another address. To use a custom email addresses\ + \ use a custom domain. You can create domains with the DomainController.\ + \ The domain must be verified in the dashboard before it can be used." + nullable: true + type: string + cc: + description: Optional list of cc destination email addresses + items: + description: Optional list of cc destination email addresses + nullable: true + type: string + nullable: true + type: array + bcc: + description: Optional list of bcc destination email addresses + items: + description: Optional list of bcc destination email addresses + nullable: true + type: string + nullable: true + type: array + subject: + description: Optional email subject line + nullable: true + type: string + replyTo: + description: Optional replyTo header + nullable: true + type: string + body: + description: Optional contents of email. If body contains HTML then set + `isHTML` to true to ensure that email clients render it correctly. You + can use moustache template syntax in the email body in conjunction with + `toGroup` contact variables or `templateVariables` data. If you need more + templating control consider creating a template and using the `template` + property instead of the body. + nullable: true + type: string + html: + description: "Optional HTML flag to indicate that contents is HTML. Set's\ + \ a `content-type: text/html` for email. (Deprecated: use `isHTML` instead.)" + nullable: true + type: boolean + isHTML: + description: Optional HTML flag. If true the `content-type` of the email + will be `text/html`. Set to true when sending HTML to ensure proper rending + on email clients + nullable: true + type: boolean + charset: + description: Optional charset + nullable: true + type: string + attachments: + description: "Optional list of attachment IDs to send with this email. You\ + \ must first upload each attachment separately via method call or dashboard\ + \ in order to obtain attachment IDs. This way you can reuse attachments\ + \ with different emails once uploaded. There are several ways to upload\ + \ that support `multi-part form`, `base64 file encoding`, and octet stream\ + \ binary uploads. See the `UploadController` for available methods. " + items: + description: "Optional list of attachment IDs to send with this email.\ + \ You must first upload each attachment separately via method call or\ + \ dashboard in order to obtain attachment IDs. This way you can reuse\ + \ attachments with different emails once uploaded. There are several\ + \ ways to upload that support `multi-part form`, `base64 file encoding`,\ + \ and octet stream binary uploads. See the `UploadController` for available\ + \ methods. " + nullable: true + type: string + nullable: true + type: array + templateVariables: + additionalProperties: + description: Optional map of template variables. Will replace moustache + syntax variables in subject and body or template with the associated + values if found. + nullable: true + type: object + description: Optional map of template variables. Will replace moustache + syntax variables in subject and body or template with the associated values + if found. + nullable: true + type: object + template: + description: Optional template ID to use for body. Will override body if + provided. When using a template make sure you pass the corresponding map + of `templateVariables`. You can find which variables are needed by fetching + the template itself or viewing it in the dashboard. + format: uuid + nullable: true + type: string + sendStrategy: + description: How an email should be sent based on its recipients + enum: + - SINGLE_MESSAGE + nullable: true + type: string + useInboxName: + description: Use name of inbox as sender email address name. Will construct + RFC 5322 email address with `Inbox name ` if the inbox + has a name. + nullable: true + type: boolean + addTrackingPixel: + description: Add tracking pixel to email + nullable: true + type: boolean + filterBouncedRecipients: + description: "Filter recipients to remove any bounced recipients from to,\ + \ bcc, and cc before sending" + nullable: true + type: boolean + validateEmailAddresses: + description: Validate recipient email addresses before sending + enum: + - VALIDATE_FILTER_REMOVE_INVALID + - VALIDATE_ERROR_IF_INVALID + - NO_VALIDATION + nullable: true + type: string + type: object + ScheduledJobDto: + example: + jobId: jobId + createdAt: 2000-01-23T04:56:07.000+00:00 + groupId: groupId + triggerId: triggerId + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sendAtTimestamp: 2000-01-23T04:56:07.000+00:00 + status: SUBMITTED + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + inboxId: + format: uuid + type: string + jobId: + type: string + groupId: + type: string + triggerId: + type: string + status: + enum: + - SUBMITTED + - COMPLETED + - FAILED + - CANCELLED + type: string + sendAtTimestamp: + format: date-time + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + required: + - createdAt + - groupId + - id + - inboxId + - jobId + - sendAtTimestamp + - status + - triggerId + - updatedAt + - userId + type: object + SendSMTPEnvelopeOptions: + description: Options for the email envelope + example: + rcptTo: + - rcptTo + - rcptTo + data: data + mailFrom: mailFrom + properties: + rcptTo: + items: + type: string + type: array + mailFrom: + type: string + data: + type: string + required: + - data + - mailFrom + - rcptTo + type: object + CreateInboxDto: + description: "Options for creating an inbox. An inbox has a real email address\ + \ that can send and receive emails. Inboxes can be permanent or expire at\ + \ a given time. Inboxes are either `SMTP` or `HTTP` mailboxes. `SMTP` inboxes\ + \ are processed by a mail server running at `mailslurp.mx` while `HTTP` inboxes\ + \ are processed by AWS SES backed mailservers. An inbox email address is randomly\ + \ assigned by default ending in either `mailslurp.com` or (if `useDomainPool`\ + \ is enabled) ending in a similar domain such as `mailslurp.xyz` (selected\ + \ at random). To specify an address use a custom domain: either pass the `emailAddress`\ + \ options with `@`. To create a randomized address\ + \ for your domain set the `domainName` to the domain you have verified or\ + \ pass the `domainId`. Virtual inboxes prevent outbound sending and instead\ + \ trap mail." + example: + inboxType: HTTP_INBOX + allowTeamAccess: true + description: description + favourite: true + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + expiresAt: 2000-01-23T04:56:07.000+00:00 + tags: + - tags + - tags + expiresIn: 0 + emailAddress: emailAddress + useDomainPool: true + virtualInbox: true + domainName: domainName + name: name + useShortAddress: true + externalDocs: + url: https://www.mailslurp.com/guides/creating-inboxes/ + properties: + emailAddress: + description: A custom email address to use with the inbox. Defaults to null. + When null MailSlurp will assign a random email address to the inbox such + as `123@mailslurp.com`. If you use the `useDomainPool` option when the + email address is null it will generate an email address with a more varied + domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When + a custom email address is provided the address is split into a domain + and the domain is queried against your user. If you have created the domain + in the MailSlurp dashboard and verified it you can use any email address + that ends with the domain. Note domain types must match the inbox type + - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` + inboxes if you need to send emails as they can only receive. Send an email + to this address and the inbox will receive and store it for you. To retrieve + the email use the Inbox and Email Controller endpoints with the inbox + ID. + nullable: true + type: string + domainName: + description: FQDN domain name for the domain you have verified. Will be + appended with a randomly assigned recipient name. Use the `emailAddress` + option instead to specify the full custom inbox. + nullable: true + type: string + domainId: + description: ID of custom domain to use for email address. + format: uuid + nullable: true + type: string + name: + description: Optional name of the inbox. Displayed in the dashboard for + easier search and used as the sender name when sending emails. + nullable: true + type: string + description: + description: Optional description of the inbox for labelling purposes. Is + shown in the dashboard and can be used with + nullable: true + type: string + useDomainPool: + description: "Use the MailSlurp domain name pool with this inbox when creating\ + \ the email address. Defaults to null. If enabled the inbox will be an\ + \ email address with a domain randomly chosen from a list of the MailSlurp\ + \ domains. This is useful when the default `@mailslurp.com` email addresses\ + \ used with inboxes are blocked or considered spam by a provider or receiving\ + \ service. When domain pool is enabled an email address will be generated\ + \ ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly\ + \ selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance\ + \ to the generated email addresses. When null or false MailSlurp uses\ + \ the default behavior of `@mailslurp.com` or custom email address provided\ + \ by the emailAddress field. Note this feature is only available for `HTTP`\ + \ inbox types." + nullable: true + type: boolean + tags: + description: Tags that inbox has been tagged with. Tags can be added to + inboxes to group different inboxes within an account. You can also search + for inboxes by tag in the dashboard UI. + items: + description: Tags that inbox has been tagged with. Tags can be added to + inboxes to group different inboxes within an account. You can also search + for inboxes by tag in the dashboard UI. + nullable: true + type: string + nullable: true + type: array + expiresAt: + description: Optional inbox expiration date. If null then this inbox is + permanent and the emails in it won't be deleted. If an expiration date + is provided or is required by your plan the inbox will be closed when + the expiration time is reached. Expired inboxes still contain their emails + but can no longer send or receive emails. An ExpiredInboxRecord is created + when an inbox and the email address and inbox ID are recorded. The expiresAt + property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. + format: date-time + nullable: true + type: string + favourite: + description: Is the inbox a favorite. Marking an inbox as a favorite is + typically done in the dashboard for quick access or filtering + nullable: true + type: boolean + expiresIn: + description: Number of milliseconds that inbox should exist for + format: int64 + nullable: true + type: integer + allowTeamAccess: + description: DEPRECATED (team access is always true). Grant team access + to this inbox and the emails that belong to it for team members of your + organization. + nullable: true + type: boolean + inboxType: + description: Type of inbox. HTTP inboxes are faster and better for most + cases. SMTP inboxes are more suited for public facing inbound messages + (but cannot send). + enum: + - HTTP_INBOX + - SMTP_INBOX + nullable: true + type: string + virtualInbox: + description: Virtual inbox prevents any outbound emails from being sent. + It creates sent email records but will never send real emails to recipients. + Great for testing and faking email sending. + nullable: true + type: boolean + useShortAddress: + description: Use a shorter email address under 31 characters + nullable: true + type: boolean + type: object + CreateGroupOptions: + description: Create contact group options + example: + name: name + description: description + properties: + name: + type: string + description: + nullable: true + type: string + required: + - name + type: object + ExportOptions: + description: Options for exporting user data + example: + filter: filter + createdOldestTime: 2000-01-23T04:56:07.000+00:00 + excludePreviouslyExported: true + createdEarliestTime: 2000-01-23T04:56:07.000+00:00 + listSeparatorToken: listSeparatorToken + outputFormat: CSV_DEFAULT + properties: + outputFormat: + enum: + - CSV_DEFAULT + - CSV_EXCEL + type: string + excludePreviouslyExported: + nullable: true + type: boolean + createdEarliestTime: + format: date-time + nullable: true + type: string + createdOldestTime: + format: date-time + nullable: true + type: string + filter: + nullable: true + type: string + listSeparatorToken: + nullable: true + type: string + required: + - outputFormat + type: object + ExportLink: + description: Export download link + example: + downloadLink: downloadLink + properties: + downloadLink: + type: string + required: + - downloadLink + type: object + HTMLValidationResult: + description: HTML Validation Results + example: + isValid: true + warnings: + - lineNumber: 0 + message: message + - lineNumber: 0 + message: message + errors: + - lineNumber: 0 + message: message + - lineNumber: 0 + message: message + properties: + isValid: + description: Is HTML validation result valid + type: boolean + errors: + description: Optional errors resulting from HTML validation + items: + $ref: '#/components/schemas/ValidationMessage' + type: array + warnings: + description: Optional warnings resulting from HTML validation + items: + $ref: '#/components/schemas/ValidationMessage' + type: array + required: + - errors + - isValid + - warnings + type: object + ValidationDto: + description: Response object for email validation operation + example: + emailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + html: + isValid: true + warnings: + - lineNumber: 0 + message: message + - lineNumber: 0 + message: message + errors: + - lineNumber: 0 + message: message + - lineNumber: 0 + message: message + properties: + emailId: + description: ID of the email validated + format: uuid + type: string + html: + $ref: '#/components/schemas/HTMLValidationResult' + required: + - emailId + - html + type: object + ValidationMessage: + description: Optional warnings resulting from HTML validation + example: + lineNumber: 0 + message: message + properties: + lineNumber: + format: int32 + type: integer + message: + type: string + required: + - lineNumber + type: object + ImapFlagOperationOptions: + description: IMAP operation flags + example: + flags: + - flags + - flags + flagOperation: SET_FLAGS + properties: + flagOperation: + enum: + - SET_FLAGS + - ADD_FLAGS + - REMOVE_FLAGS + type: string + flags: + items: + type: string + type: array + required: + - flagOperation + - flags + type: object + ForwardEmailOptions: + description: Options for forwarding an email + example: + cc: + - cc + - cc + useInboxName: true + bcc: + - bcc + - bcc + filterBouncedRecipients: true + subject: subject + from: from + to: + - to + - to + properties: + to: + description: To recipients for forwarded email + items: + description: To recipients for forwarded email + type: string + type: array + subject: + description: Subject for forwarded email + nullable: true + type: string + cc: + description: Optional cc recipients + items: + description: Optional cc recipients + nullable: true + type: string + nullable: true + type: array + bcc: + description: Optional bcc recipients + items: + description: Optional bcc recipients + nullable: true + type: string + nullable: true + type: array + from: + description: Optional from override + nullable: true + type: string + useInboxName: + description: Optionally use inbox name as display name for sender email + address + nullable: true + type: boolean + filterBouncedRecipients: + description: "Filter recipients to remove any bounced recipients from to,\ + \ bcc, and cc before sending" + nullable: true + type: boolean + required: + - to + type: object + ContentMatchOptions: + description: Options for matching content using regex patterns based on Java + Pattern syntax + example: + pattern: pattern + properties: + pattern: + description: "Java style regex pattern. Do not include the typical `/` at\ + \ start or end of regex in some languages. Given an example `your code\ + \ is: 12345` the pattern to extract match looks like `code is: (\\d{6})`.\ + \ This will return an array of matches with the first matching the entire\ + \ pattern and the subsequent matching the groups: `['code is: 123456',\ + \ '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html\ + \ for more information of available patterns." + type: string + required: + - pattern + type: object + EmailContentMatchResult: + description: Matches for the given pattern + example: + pattern: pattern + matches: + - matches + - matches + properties: + pattern: + type: string + matches: + items: + type: string + type: array + required: + - matches + - pattern + type: object + ValidateEmailAddressListOptions: + description: Options for validating a list of email addresses + example: + emailAddressList: + - emailAddressList + - emailAddressList + - emailAddressList + - emailAddressList + - emailAddressList + properties: + emailAddressList: + items: + type: string + maxItems: 50 + minItems: 1 + type: array + required: + - emailAddressList + type: object + ValidateEmailAddressListResult: + description: Result of validating a list of email addresses + example: + invalidEmailAddresses: + - invalidEmailAddresses + - invalidEmailAddresses + validEmailAddresses: + - validEmailAddresses + - validEmailAddresses + resultMapEmailAddressIsValid: + key: true + properties: + validEmailAddresses: + items: + type: string + type: array + invalidEmailAddresses: + items: + type: string + type: array + resultMapEmailAddressIsValid: + additionalProperties: + type: boolean + type: object + required: + - invalidEmailAddresses + - resultMapEmailAddressIsValid + - validEmailAddresses + type: object + CreateDomainOptions: + description: Options for creating a domain to use with MailSlurp. You must have + ownership access to this domain in order to verify it. Domains will not function + correctly until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains + for help. Domains can be either `HTTP` or `SMTP` type. The type of domain + determines which inboxes can be used with it. `SMTP` inboxes use a mail server + running `mx.mailslurp.com` while `HTTP` inboxes are handled by AWS SES. + example: + createdCatchAllInbox: true + domainType: HTTP_INBOX + domain: domain + description: description + properties: + domain: + description: The top level domain you wish to use with MailSlurp. Do not + specify subdomain just the top level. So `test.com` covers all subdomains + such as `mail.test.com`. Don't include a protocol such as `http://`. Once + added you must complete the verification steps by adding the returned + records to your domain. + type: string + description: + description: Optional description of the domain. + nullable: true + type: string + createdCatchAllInbox: + description: Whether to create a catch all inbox for the domain. Any email + sent to an address using your domain that cannot be matched to an existing + inbox you created with the domain will be routed to the created catch + all inbox. You can access emails using the regular methods on this inbox + ID. + nullable: true + type: boolean + domainType: + description: Type of domain. Dictates type of inbox that can be created + with domain. HTTP means inboxes are processed using SES while SMTP inboxes + use a custom SMTP mail server. SMTP does not support sending so use HTTP + for sending emails. + enum: + - HTTP_INBOX + - SMTP_DOMAIN + nullable: true + type: string + required: + - domain + type: object + CreateContactOptions: + description: Options for creating an email contact in address book + example: + firstName: firstName + lastName: lastName + metaData: "{}" + optOut: true + emailAddresses: + - emailAddresses + groupId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + company: company + tags: + - tags + - tags + properties: + firstName: + nullable: true + type: string + lastName: + nullable: true + type: string + company: + nullable: true + type: string + emailAddresses: + description: Set of email addresses belonging to the contact + items: + description: Set of email addresses belonging to the contact + nullable: true + type: string + maxItems: 1 + minItems: 0 + nullable: true + type: array + tags: + description: Tags that can be used to search and group contacts + items: + description: Tags that can be used to search and group contacts + nullable: true + type: string + nullable: true + type: array + metaData: + nullable: true + type: object + optOut: + description: Has the user explicitly or implicitly opted out of being contacted? + If so MailSlurp will ignore them in all actions. + nullable: true + type: boolean + groupId: + description: Group IDs that contact belongs to + format: uuid + nullable: true + type: string + type: object + ConnectorSyncRequestResult: + example: + exception: + localizedMessage: localizedMessage + cause: + localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + suppressed: + - localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + message: message + - localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + message: message + message: message + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + suppressed: + - localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + message: message + - localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + message: message + message: message + eventId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + syncResult: + emailSyncCount: 0 + logLines: + - logLines + - logLines + properties: + syncResult: + $ref: '#/components/schemas/ConnectorSyncResult' + exception: + $ref: '#/components/schemas/ConnectorSyncRequestResult_exception' + eventId: + format: uuid + type: string + type: object + ConnectorSyncResult: + example: + emailSyncCount: 0 + logLines: + - logLines + - logLines + properties: + emailSyncCount: + format: int64 + type: integer + logLines: + items: + type: string + type: array + required: + - emailSyncCount + type: object + BulkSendEmailOptions: + description: Options for bulk sending an email from multiple addresses. See + regular `sendEmail` methods for more information. + example: + inboxIds: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sendEmailOptions: + cc: + - cc + - cc + template: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sendStrategy: SINGLE_MESSAGE + charset: charset + bcc: + - bcc + - bcc + attachments: + - attachments + - attachments + filterBouncedRecipients: true + subject: subject + addTrackingPixel: true + body: body + templateVariables: + key: "{}" + useInboxName: true + toContacts: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + isHTML: true + replyTo: replyTo + from: from + html: true + to: + - to + - to + validateEmailAddresses: VALIDATE_FILTER_REMOVE_INVALID + toGroup: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + inboxIds: + description: Inboxes to send the email from + items: + description: Inboxes to send the email from + format: uuid + type: string + type: array + sendEmailOptions: + $ref: '#/components/schemas/SendEmailOptions' + required: + - inboxIds + - sendEmailOptions + type: object + FilterBouncedRecipientsOptions: + description: Options for filtering bounced email recipients + example: + emailRecipients: + - emailRecipients + - emailRecipients + properties: + emailRecipients: + items: + type: string + type: array + required: + - emailRecipients + type: object + FilterBouncedRecipientsResult: + description: Remaining recipients that were filtered to remove bounced recipients + example: + filteredRecipients: + - filteredRecipients + - filteredRecipients + properties: + filteredRecipients: + items: + type: string + type: array + required: + - filteredRecipients + type: object + UploadAttachmentOptions: + description: Options for uploading files for attachments. When sending emails + with the API that require attachments first upload each attachment. Then use + the returned attachment ID in your `SendEmailOptions` when sending an email. + This way you can use attachments multiple times once they have been uploaded. + example: + filename: filename + base64Contents: base64Contents + contentType: contentType + properties: + contentType: + description: Optional contentType for file. For instance `application/pdf` + nullable: true + title: Content type + type: string + filename: + description: Optional filename to save upload with. Will be the name that + is shown in email clients + nullable: true + title: File name + type: string + base64Contents: + description: Base64 encoded string of file contents. Typically this means + reading the bytes or string content of a file and then converting that + to a base64 encoded string. For examples of how to do this see https://www.mailslurp.com/guides/base64-file-uploads/ + title: Base 64 file contents + type: string + required: + - base64Contents + type: object + CreateAliasOptions: + description: Create email alias options. Email aliases can be used to mask real + email addresses behind an ID. You can also attach an inbox to an alias so + that any email received by the inbox email address if forwarded to the alias + email address. + example: + emailAddress: emailAddress + name: name + useThreads: true + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + emailAddress: + description: Email address to be hidden behind alias. Emails sent to the + alias email address will be forwarded to this address. If you want to + enable replies set useThreads true and the reply-to for the email will + allow outbound communication via a thread. Some email addresses may require + verification if they are not added as a contact first. + type: string + inboxId: + description: "Optional inbox ID to attach to alias. Null by default means\ + \ an a new inbox will be created for the alias. Use a custom inbox to\ + \ control what email address the alias uses. To use custom email addresses\ + \ create a domain and an inbox, the use the inbox ID with this call. Emails\ + \ received by this inbox will be forwarded to the alias email address" + format: uuid + nullable: true + type: string + name: + description: Optional name for alias + nullable: true + type: string + useThreads: + description: Enable threads options. If true emails will be sent with a + unique reply-to thread address. This means you can reply to the forwarded + email and it will be sent to the recipients via your alias address. That + way a thread conversation is preserved. + type: boolean + required: + - emailAddress + - useThreads + type: object + TestNewInboxRulesetOptions: + description: Test inbox ruleset options + example: + inboxRulesetTestOptions: + testTarget: testTarget + createInboxRulesetOptions: + scope: RECEIVING_EMAILS + action: BLOCK + target: target + properties: + inboxRulesetTestOptions: + $ref: '#/components/schemas/InboxRulesetTestOptions' + createInboxRulesetOptions: + $ref: '#/components/schemas/CreateInboxRulesetOptions' + required: + - createInboxRulesetOptions + - inboxRulesetTestOptions + type: object + UpdateInboxOptions: + description: Options for updating inbox properties + example: + name: name + description: description + favourite: true + expiresAt: 2000-01-23T04:56:07.000+00:00 + tags: + - tags + - tags + properties: + name: + description: Name of the inbox and used as the sender name when sending + emails .Displayed in the dashboard for easier search + nullable: true + type: string + description: + description: Description of an inbox for labelling and searching purposes + nullable: true + type: string + tags: + description: Tags that inbox has been tagged with. Tags can be added to + inboxes to group different inboxes within an account. You can also search + for inboxes by tag in the dashboard UI. + items: + description: Tags that inbox has been tagged with. Tags can be added to + inboxes to group different inboxes within an account. You can also search + for inboxes by tag in the dashboard UI. + nullable: true + type: string + nullable: true + type: array + expiresAt: + description: "Inbox expiration time. When, if ever, the inbox should expire\ + \ and be deleted. If null then this inbox is permanent and the emails\ + \ in it won't be deleted. This is the default behavior unless expiration\ + \ date is set. If an expiration date is set and the time is reached MailSlurp\ + \ will expire the inbox and move it to an expired inbox entity. You can\ + \ still access the emails belonging to it but it can no longer send or\ + \ receive email." + format: date-time + nullable: true + type: string + favourite: + description: Is the inbox a favorite inbox. Make an inbox a favorite is + typically done in the dashboard for quick access or filtering + nullable: true + type: boolean + type: object + TestNewInboxForwarderOptions: + description: Options for testing new inbox forwarder rules + example: + createInboxForwarderOptions: + field: RECIPIENTS + forwardToRecipients: + - forwardToRecipients + - forwardToRecipients + match: match + inboxForwarderTestOptions: + testValue: testValue + properties: + inboxForwarderTestOptions: + $ref: '#/components/schemas/InboxForwarderTestOptions' + createInboxForwarderOptions: + $ref: '#/components/schemas/CreateInboxForwarderOptions' + required: + - createInboxForwarderOptions + - inboxForwarderTestOptions + type: object + PageWebhookResult: + description: Paginated webhook results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 7 + total: 1 + last: true + size: 2 + numberOfElements: 9 + totalPages: 5 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + messageId: messageId + webhookEvent: EMAIL_RECEIVED + responseTimeMillis: 6 + httpMethod: GET + responseStatus: 0 + responseBodyExtract: responseBodyExtract + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + webhookUrl: webhookUrl + seen: true + createdAt: 2000-01-23T04:56:07.000+00:00 + redriveId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + resultType: BAD_RESPONSE + updatedAt: 2000-01-23T04:56:07.000+00:00 + - webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + messageId: messageId + webhookEvent: EMAIL_RECEIVED + responseTimeMillis: 6 + httpMethod: GET + responseStatus: 0 + responseBodyExtract: responseBodyExtract + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + webhookUrl: webhookUrl + seen: true + createdAt: 2000-01-23T04:56:07.000+00:00 + redriveId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + resultType: BAD_RESPONSE + updatedAt: 2000-01-23T04:56:07.000+00:00 + first: true + totalElements: 5 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/WebhookResultDto' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + PageableObject: + example: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + properties: + offset: + format: int64 + type: integer + sort: + $ref: '#/components/schemas/Sort' + pageNumber: + format: int32 + type: integer + pageSize: + format: int32 + type: integer + paged: + type: boolean + unpaged: + type: boolean + type: object + Sort: + example: + unsorted: true + sorted: true + empty: true + properties: + empty: + type: boolean + sorted: + type: boolean + unsorted: + type: boolean + type: object + WebhookResultDto: + description: Result of a webhook notification + example: + webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + messageId: messageId + webhookEvent: EMAIL_RECEIVED + responseTimeMillis: 6 + httpMethod: GET + responseStatus: 0 + responseBodyExtract: responseBodyExtract + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + webhookUrl: webhookUrl + seen: true + createdAt: 2000-01-23T04:56:07.000+00:00 + redriveId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + resultType: BAD_RESPONSE + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + nullable: true + type: string + userId: + format: uuid + type: string + inboxId: + format: uuid + nullable: true + type: string + webhookId: + format: uuid + type: string + webhookUrl: + type: string + messageId: + type: string + redriveId: + format: uuid + nullable: true + type: string + httpMethod: + enum: + - GET + - HEAD + - POST + - PUT + - PATCH + - DELETE + - OPTIONS + - TRACE + type: string + webhookEvent: + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + responseStatus: + format: int32 + nullable: true + type: integer + responseTimeMillis: + format: int64 + type: integer + responseBodyExtract: + nullable: true + type: string + resultType: + enum: + - BAD_RESPONSE + - EXCEPTION + - SUCCESS + nullable: true + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + seen: + type: boolean + required: + - createdAt + - httpMethod + - messageId + - responseTimeMillis + - seen + - updatedAt + - userId + - webhookEvent + - webhookId + - webhookUrl + type: object + WebhookNewSmsPayload: + description: NEW_SMS webhook payload. Sent to your webhook url endpoint via + HTTP POST when an sms is received by the phone number that your webhook is + attached to. Use the SMS ID to fetch the full SMS details. + example: + fromNumber: fromNumber + webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + smsId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + phoneNumber: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + read: true + messageId: messageId + eventName: EMAIL_RECEIVED + webhookName: webhookName + body: body + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + toNumber: toNumber + properties: + messageId: + description: Idempotent message ID. Store this ID locally or in a database + to prevent message duplication. + type: string + webhookId: + description: ID of webhook entity being triggered + format: uuid + type: string + eventName: + description: Name of the event type webhook is being triggered for. + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + webhookName: + description: Name of the webhook being triggered + nullable: true + type: string + smsId: + description: ID of SMS message + format: uuid + type: string + userId: + description: User ID of event + format: uuid + type: string + phoneNumber: + description: ID of phone number receiving SMS + format: uuid + type: string + toNumber: + description: Recipient phone number + type: string + fromNumber: + description: Sender phone number + type: string + body: + description: SMS message body + type: string + read: + description: SMS has been read + type: boolean + required: + - body + - eventName + - fromNumber + - messageId + - phoneNumber + - read + - smsId + - toNumber + - userId + - webhookId + type: object + AttachmentMetaData: + description: Meta data associated with an attachment. Attachments are stored + as byte blobs so the meta data is stored separately. + example: + name: name + contentLength: 0 + id: id + contentType: contentType + properties: + name: + description: Name of attachment if given + title: Name + type: string + contentType: + description: Content type of attachment such as `image/png` + title: Content type + type: string + contentLength: + description: Size of attachment in bytes + format: int64 + title: Content length + type: integer + id: + description: ID of attachment. Can be used to with attachment controller + endpoints to download attachment or with sending methods to attach to + an email. + title: ID + type: string + required: + - contentLength + - contentType + - id + - name + title: Attachment meta data + type: object + WebhookNewEmailPayload: + description: NEW_EMAIL webhook payload. Sent to your webhook url endpoint via + HTTP POST when an email is received by the inbox that your webhook is attached + to. Use the email ID to fetch the full email body or attachments. + example: + cc: + - cc + - cc + webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bcc: + - bcc + - bcc + subject: subject + messageId: messageId + emailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + createdAt: 2000-01-23T04:56:07.000+00:00 + eventName: EMAIL_RECEIVED + webhookName: webhookName + attachmentMetaDatas: + - name: name + contentLength: 0 + id: id + contentType: contentType + - name: name + contentLength: 0 + id: id + contentType: contentType + from: from + to: + - to + - to + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + messageId: + description: Idempotent message ID. Store this ID locally or in a database + to prevent message duplication. + type: string + webhookId: + description: ID of webhook entity being triggered + format: uuid + type: string + eventName: + description: Name of the event type webhook is being triggered for. + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + webhookName: + description: Name of the webhook being triggered + nullable: true + type: string + inboxId: + description: Id of the inbox + format: uuid + type: string + domainId: + description: Id of the domain that received an email + format: uuid + nullable: true + type: string + emailId: + description: ID of the email that was received. Use this ID for fetching + the email with the `EmailController`. + format: uuid + type: string + createdAt: + description: Date time of event creation + format: date-time + type: string + to: + description: List of `To` recipient email addresses that the email was addressed + to. See recipients object for names. + items: + description: List of `To` recipient email addresses that the email was + addressed to. See recipients object for names. + type: string + type: array + from: + description: Who the email was sent from. An email address - see fromName + for the sender name. + type: string + cc: + description: List of `CC` recipients email addresses that the email was + addressed to. See recipients object for names. + items: + description: List of `CC` recipients email addresses that the email was + addressed to. See recipients object for names. + type: string + type: array + bcc: + description: List of `BCC` recipients email addresses that the email was + addressed to. See recipients object for names. + items: + description: List of `BCC` recipients email addresses that the email was + addressed to. See recipients object for names. + type: string + type: array + subject: + description: The subject line of the email message as specified by SMTP + subject header + nullable: true + type: string + attachmentMetaDatas: + description: List of attachment meta data objects if attachments present + items: + $ref: '#/components/schemas/AttachmentMetaData' + type: array + required: + - attachmentMetaDatas + - bcc + - cc + - createdAt + - emailId + - eventName + - from + - inboxId + - messageId + - to + - webhookId + type: object + WebhookNewContactPayload: + description: NEW_CONTACT webhook payload. Sent to your webhook url endpoint + via HTTP POST when an email is received by the inbox that your webhook is + attached to that contains a recipient that has not been saved as a contact. + example: + lastName: lastName + webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + contactId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + groupId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + messageId: messageId + primaryEmailAddress: primaryEmailAddress + tags: + - tags + - tags + firstName: firstName + metaData: "{}" + optOut: true + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddresses: + - emailAddresses + - emailAddresses + webhookName: webhookName + eventName: EMAIL_RECEIVED + company: company + properties: + messageId: + description: Idempotent message ID. Store this ID locally or in a database + to prevent message duplication. + type: string + webhookId: + description: ID of webhook entity being triggered + format: uuid + type: string + webhookName: + description: Name of the webhook being triggered + nullable: true + type: string + eventName: + description: Name of the event type webhook is being triggered for. + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + contactId: + description: Contact ID + format: uuid + type: string + groupId: + description: Contact group ID + format: uuid + nullable: true + type: string + firstName: + description: Contact first name + nullable: true + type: string + lastName: + description: Contact last name + nullable: true + type: string + company: + description: Contact company name + nullable: true + type: string + primaryEmailAddress: + description: Primary email address for contact + nullable: true + type: string + emailAddresses: + description: Email addresses for contact + items: + description: Email addresses for contact + type: string + type: array + tags: + description: Tags for contact + items: + description: Tags for contact + type: string + type: array + metaData: + nullable: true + type: object + optOut: + description: Has contact opted out of emails + type: boolean + createdAt: + description: Date time of event creation + format: date-time + type: string + required: + - contactId + - createdAt + - emailAddresses + - eventName + - messageId + - optOut + - tags + - webhookId + type: object + WebhookNewAttachmentPayload: + description: NEW_ATTACHMENT webhook payload. Sent to your webhook url endpoint + via HTTP POST when an email is received by the inbox that your webhook is + attached to that contains an attachment. You can use the attachmentId to download + the attachment. + example: + webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + messageId: messageId + webhookName: webhookName + eventName: EMAIL_RECEIVED + contentLength: 0 + attachmentId: attachmentId + contentType: contentType + properties: + messageId: + description: Idempotent message ID. Store this ID locally or in a database + to prevent message duplication. + type: string + webhookId: + description: ID of webhook entity being triggered + format: uuid + type: string + webhookName: + description: Name of the webhook being triggered + nullable: true + type: string + eventName: + description: Name of the event type webhook is being triggered for. + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + attachmentId: + description: ID of attachment. Use the `AttachmentController` to + type: string + name: + description: Filename of the attachment if present + type: string + contentType: + description: Content type of attachment such as 'image/png' or 'application/pdf + type: string + contentLength: + description: Size of attachment in bytes + format: int64 + type: integer + required: + - attachmentId + - contentLength + - contentType + - eventName + - messageId + - name + - webhookId + type: object + WebhookEmailReadPayload: + description: EMAIL_READ webhook payload. Sent to your webhook url endpoint via + HTTP POST when an email is read. This happens when an email is requested in + full from the API or a user views the email in the dashboard. + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + messageId: messageId + eventName: EMAIL_RECEIVED + webhookName: webhookName + emailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + emailIsRead: true + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + messageId: + description: Idempotent message ID. Store this ID locally or in a database + to prevent message duplication. + type: string + webhookId: + description: ID of webhook entity being triggered + format: uuid + type: string + eventName: + description: Name of the event type webhook is being triggered for. + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + webhookName: + description: Name of the webhook being triggered + nullable: true + type: string + emailId: + description: ID of the email that was received. Use this ID for fetching + the email with the `EmailController`. + format: uuid + type: string + inboxId: + description: Id of the inbox + format: uuid + type: string + emailIsRead: + description: Is the email read + type: boolean + createdAt: + description: Date time of event creation + format: date-time + type: string + required: + - createdAt + - emailId + - emailIsRead + - eventName + - inboxId + - messageId + - webhookId + type: object + WebhookEmailOpenedPayload: + description: EMAIL_OPENED webhook payload. Sent to your webhook url endpoint + via HTTP POST when an email containing a tracking pixel is opened and the + pixel image is loaded by a reader. + example: + pixelId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + createdAt: 2000-01-23T04:56:07.000+00:00 + webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sentEmailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipient: recipient + messageId: messageId + eventName: EMAIL_RECEIVED + webhookName: webhookName + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + messageId: + description: Idempotent message ID. Store this ID locally or in a database + to prevent message duplication. + type: string + webhookId: + description: ID of webhook entity being triggered + format: uuid + type: string + eventName: + description: Name of the event type webhook is being triggered for. + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + webhookName: + description: Name of the webhook being triggered + nullable: true + type: string + inboxId: + description: Id of the inbox + format: uuid + type: string + pixelId: + description: ID of the tracking pixel + format: uuid + type: string + sentEmailId: + description: ID of sent email + format: uuid + type: string + recipient: + description: Email address for the recipient of the tracking pixel + type: string + createdAt: + description: Date time of event creation + format: date-time + type: string + required: + - createdAt + - eventName + - inboxId + - messageId + - pixelId + - recipient + - sentEmailId + - webhookId + type: object + WebhookBounceRecipientPayload: + description: BOUNCE_RECIPIENT webhook payload. Sent to your webhook url endpoint + via HTTP POST when an email caused a bounce to occur for a recipient. Save + the recipient to a ban list of your server and avoid email them again. + example: + webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipient: recipient + messageId: messageId + eventName: EMAIL_RECEIVED + webhookName: webhookName + properties: + messageId: + description: Idempotent message ID. Store this ID locally or in a database + to prevent message duplication. + type: string + webhookId: + description: ID of webhook entity being triggered + format: uuid + type: string + eventName: + description: Name of the event type webhook is being triggered for. + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + webhookName: + description: Name of the webhook being triggered + nullable: true + type: string + recipient: + description: Email address that caused a bounce. Make note of the address + and try not to message it again to preserve your reputation. + type: string + required: + - eventName + - messageId + - recipient + - webhookId + type: object + WebhookBouncePayload: + description: BOUNCE webhook payload. Sent to your webhook url endpoint via HTTP + POST when an email bounced or was rejected by a recipient. Save the recipients + to a ban list on your server and avoid emailing them again. It is recommended + you also listen to the BOUNCE_RECIPIENT payload. + example: + bounceRecipients: + - bounceRecipients + - bounceRecipients + webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sender: sender + sentToRecipients: + - sentToRecipients + - sentToRecipients + messageId: messageId + eventName: EMAIL_RECEIVED + webhookName: webhookName + bounceId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + messageId: + description: Idempotent message ID. Store this ID locally or in a database + to prevent message duplication. + type: string + webhookId: + description: ID of webhook entity being triggered + format: uuid + type: string + eventName: + description: Name of the event type webhook is being triggered for. + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + webhookName: + description: Name of the webhook being triggered + nullable: true + type: string + bounceId: + description: ID of the bounce email record. Use the ID with the bounce controller + to view more information + format: uuid + type: string + sentToRecipients: + description: Email sent to recipients + items: + description: Email sent to recipients + nullable: true + type: string + nullable: true + type: array + sender: + description: Sender causing bounce + type: string + bounceRecipients: + description: Email addresses that resulted in a bounce or email being rejected. + Please save these recipients and avoid emailing them in the future to + maintain your reputation. + items: + description: Email addresses that resulted in a bounce or email being + rejected. Please save these recipients and avoid emailing them in the + future to maintain your reputation. + nullable: true + type: string + nullable: true + type: array + required: + - bounceId + - eventName + - messageId + - sender + - webhookId + type: object + WebhookDeliveryStatusPayload: + description: DELIVERY_STATUS webhook payload. Sent to your webhook url endpoint + via HTTP POST when an email delivery status is created. This could be a successful + delivery or a delivery failure. + example: + smtpResponse: smtpResponse + webhookId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + subject: subject + messageId: messageId + received: 2000-01-23T04:56:07.000+00:00 + reportingMta: reportingMta + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + remoteMtaIp: remoteMtaIp + processingTimeMillis: 6 + sentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipients: + - recipients + - recipients + eventName: EMAIL_RECEIVED + webhookName: webhookName + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + smtpStatusCode: 0 + properties: + messageId: + description: Idempotent message ID. Store this ID locally or in a database + to prevent message duplication. + type: string + webhookId: + description: ID of webhook entity being triggered + format: uuid + type: string + eventName: + description: Name of the event type webhook is being triggered for. + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + webhookName: + description: Name of the webhook being triggered + nullable: true + type: string + id: + description: ID of delivery status + format: uuid + type: string + userId: + description: User ID of event + format: uuid + type: string + sentId: + description: ID of sent email + format: uuid + nullable: true + type: string + remoteMtaIp: + description: IP address of the remote Mail Transfer Agent + nullable: true + type: string + inboxId: + description: Id of the inbox + format: uuid + nullable: true + type: string + reportingMta: + description: Mail Transfer Agent reporting delivery status + nullable: true + type: string + recipients: + description: Recipients for delivery + items: + description: Recipients for delivery + nullable: true + type: string + nullable: true + type: array + smtpResponse: + description: SMTP server response message + nullable: true + type: string + smtpStatusCode: + description: SMTP server status + format: int32 + nullable: true + type: integer + processingTimeMillis: + description: Time in milliseconds for delivery processing + format: int64 + nullable: true + type: integer + received: + description: Time event was received + format: date-time + nullable: true + type: string + subject: + description: Email subject + nullable: true + type: string + required: + - eventName + - id + - messageId + - userId + - webhookId + type: object + UnseenErrorCountDto: + description: Number of unseen errors + example: + count: 0 + properties: + count: + format: int64 + type: integer + required: + - count + type: object + PageWebhookProjection: + description: Paginated webhook entity. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + eventName: EMAIL_RECEIVED + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + phoneNumberId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + url: url + updatedAt: 2000-01-23T04:56:07.000+00:00 + - createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + eventName: EMAIL_RECEIVED + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + phoneNumberId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + url: url + updatedAt: 2000-01-23T04:56:07.000+00:00 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/WebhookProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + WebhookProjection: + description: Representation of a webhook + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + eventName: EMAIL_RECEIVED + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + phoneNumberId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + url: url + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + name: + type: string + id: + format: uuid + type: string + url: + type: string + inboxId: + format: uuid + type: string + eventName: + enum: + - EMAIL_RECEIVED + - NEW_EMAIL + - NEW_CONTACT + - NEW_ATTACHMENT + - EMAIL_OPENED + - EMAIL_READ + - DELIVERY_STATUS + - BOUNCE + - BOUNCE_RECIPIENT + - NEW_SMS + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + phoneNumberId: + format: uuid + type: string + required: + - createdAt + - id + - updatedAt + - url + type: object + UserInfoDto: + example: + accountState: FROZEN + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + subscriptionType: PRO_MONTHLY + accountType: SOLO + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + emailAddress: + type: string + accountState: + enum: + - FROZEN + - ACTIVE + type: string + subscriptionType: + enum: + - PRO_MONTHLY + - STARTER + - TEAM + - ENTERPRISE + type: string + accountType: + enum: + - SOLO + - CHILD_SOLO + - CHILD_TEAM + - CHILD_ADMIN + type: string + createdAt: + format: date-time + type: string + required: + - accountState + - accountType + - createdAt + - emailAddress + - id + type: object + PageTrackingPixelProjection: + description: Paginated TrackingPixel results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + seenAt: 2000-01-23T04:56:07.000+00:00 + sentEmailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + recipient: recipient + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + seen: true + - createdAt: 2000-01-23T04:56:07.000+00:00 + seenAt: 2000-01-23T04:56:07.000+00:00 + sentEmailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + recipient: recipient + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + seen: true + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/TrackingPixelProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + TrackingPixelProjection: + description: Tracking pixel data + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + seenAt: 2000-01-23T04:56:07.000+00:00 + sentEmailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + recipient: recipient + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + seen: true + properties: + name: + type: string + id: + format: uuid + type: string + inboxId: + format: uuid + type: string + userId: + format: uuid + type: string + sentEmailId: + format: uuid + type: string + createdAt: + format: date-time + type: string + recipient: + type: string + seen: + type: boolean + seenAt: + format: date-time + type: string + required: + - createdAt + - id + - seen + - userId + type: object + TemplateProjection: + description: Email template data + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + variables: + - variables + - variables + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + name: + type: string + id: + format: uuid + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + variables: + items: + type: string + type: array + required: + - createdAt + - id + - name + - updatedAt + - variables + type: object + TemplatePreview: + example: + preview: preview + properties: + preview: + type: string + required: + - preview + type: object + PageTemplateProjection: + description: Paginated email template results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + variables: + - variables + - variables + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + - createdAt: 2000-01-23T04:56:07.000+00:00 + variables: + - variables + - variables + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/TemplateProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + PageSmsProjection: + description: Paginated SMS messages. Page index starts at zero. Projection results + may omit larger entity fields. For fetching a full entity use the projection + ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - fromNumber: fromNumber + createdAt: 2000-01-23T04:56:07.000+00:00 + phoneNumber: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + read: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + body: body + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - fromNumber: fromNumber + createdAt: 2000-01-23T04:56:07.000+00:00 + phoneNumber: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + read: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + body: body + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/SmsProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + SmsProjection: + description: SMS projection + example: + fromNumber: fromNumber + createdAt: 2000-01-23T04:56:07.000+00:00 + phoneNumber: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + read: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + body: body + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + body: + type: string + userId: + format: uuid + type: string + createdAt: + format: date-time + type: string + phoneNumber: + format: uuid + type: string + fromNumber: + type: string + read: + type: boolean + required: + - body + - createdAt + - fromNumber + - id + - phoneNumber + - read + - userId + type: object + UnreadCount: + description: Number of unread entities + example: + count: 0 + properties: + count: + format: int64 + type: integer + required: + - count + type: object + PageSentEmailProjection: + description: Paginated sent email results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full sent email entity + use the projection ID with individual method calls. + example: + number: 1 + total: 0 + size: 6 + numberOfElements: 5 + last: true + totalPages: 2 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - cc: + - cc + - cc + virtualSend: true + createdAt: 2000-01-23T04:56:07.000+00:00 + attachments: + - attachments + - attachments + bcc: + - bcc + - bcc + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bodyMD5Hash: bodyMD5Hash + - cc: + - cc + - cc + virtualSend: true + createdAt: 2000-01-23T04:56:07.000+00:00 + attachments: + - attachments + - attachments + bcc: + - bcc + - bcc + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bodyMD5Hash: bodyMD5Hash + first: true + totalElements: 5 + empty: true + properties: + content: + description: Collection of items + items: + $ref: '#/components/schemas/SentEmailProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + size: + description: Size of page requested + format: int32 + type: integer + number: + description: Page number starting at 0 + format: int32 + type: integer + numberOfElements: + description: Number of items returned + format: int32 + type: integer + totalElements: + description: Total number of items available for querying + format: int64 + type: integer + totalPages: + description: Total number of pages available + format: int32 + type: integer + last: + type: boolean + sort: + $ref: '#/components/schemas/Sort' + first: + type: boolean + empty: + type: boolean + required: + - content + - number + - numberOfElements + - size + - totalElements + - totalPages + type: object + SentEmailProjection: + description: Collection of items + example: + cc: + - cc + - cc + virtualSend: true + createdAt: 2000-01-23T04:56:07.000+00:00 + attachments: + - attachments + - attachments + bcc: + - bcc + - bcc + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bodyMD5Hash: bodyMD5Hash + properties: + id: + format: uuid + type: string + from: + type: string + subject: + type: string + inboxId: + format: uuid + type: string + userId: + format: uuid + type: string + attachments: + items: + type: string + type: array + createdAt: + format: date-time + type: string + to: + items: + type: string + type: array + bcc: + items: + type: string + type: array + cc: + items: + type: string + type: array + bodyMD5Hash: + type: string + virtualSend: + type: boolean + required: + - attachments + - bcc + - cc + - createdAt + - id + - inboxId + - to + - userId + - virtualSend + type: object + DeliveryStatusDto: + example: + smtpResponse: smtpResponse + subject: subject + received: 2000-01-23T04:56:07.000+00:00 + reportingMta: reportingMta + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + remoteMtaIp: remoteMtaIp + createdAt: 2000-01-23T04:56:07.000+00:00 + processingTimeMillis: 6 + sentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipients: + - recipients + - recipients + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + smtpStatusCode: 0 + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + sentId: + format: uuid + type: string + remoteMtaIp: + type: string + inboxId: + format: uuid + type: string + reportingMta: + type: string + recipients: + items: + type: string + type: array + smtpResponse: + type: string + smtpStatusCode: + format: int32 + type: integer + processingTimeMillis: + format: int64 + type: integer + received: + format: date-time + type: string + subject: + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + required: + - createdAt + - id + - updatedAt + - userId + type: object + PageDeliveryStatus: + description: Paginated delivery status results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 7 + total: 1 + last: true + size: 2 + numberOfElements: 9 + totalPages: 5 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - smtpResponse: smtpResponse + subject: subject + received: 2000-01-23T04:56:07.000+00:00 + reportingMta: reportingMta + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + remoteMtaIp: remoteMtaIp + createdAt: 2000-01-23T04:56:07.000+00:00 + processingTimeMillis: 6 + sentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipients: + - recipients + - recipients + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + smtpStatusCode: 0 + updatedAt: 2000-01-23T04:56:07.000+00:00 + - smtpResponse: smtpResponse + subject: subject + received: 2000-01-23T04:56:07.000+00:00 + reportingMta: reportingMta + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + remoteMtaIp: remoteMtaIp + createdAt: 2000-01-23T04:56:07.000+00:00 + processingTimeMillis: 6 + sentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipients: + - recipients + - recipients + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + smtpStatusCode: 0 + updatedAt: 2000-01-23T04:56:07.000+00:00 + first: true + totalElements: 5 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/DeliveryStatusDto' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + EmailPreviewUrls: + description: URLs for email body + example: + plainHtmlBodyUrl: plainHtmlBodyUrl + rawSmtpMessageUrl: rawSmtpMessageUrl + properties: + rawSmtpMessageUrl: + type: string + plainHtmlBodyUrl: + type: string + required: + - plainHtmlBodyUrl + - rawSmtpMessageUrl + type: object + RawEmailJson: + description: Content in raw format + example: + content: content + properties: + content: + type: string + required: + - content + type: object + PageSentEmailWithQueueProjection: + description: Paginated sent email results for emails sent with queue. Page index + starts at zero. Projection results may omit larger entity fields. For fetching + a full sent email entity use the projection ID with individual method calls. + example: + number: 1 + total: 0 + size: 6 + numberOfElements: 5 + last: true + totalPages: 2 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + subject: subject + delivered: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + headerId: headerId + exceptionName: exceptionName + updatedAt: 2000-01-23T04:56:07.000+00:00 + - createdAt: 2000-01-23T04:56:07.000+00:00 + subject: subject + delivered: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + headerId: headerId + exceptionName: exceptionName + updatedAt: 2000-01-23T04:56:07.000+00:00 + first: true + totalElements: 5 + empty: true + properties: + content: + description: Collection of items + items: + $ref: '#/components/schemas/SendWithQueueResult' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + size: + description: Size of page requested + format: int32 + type: integer + number: + description: Page number starting at 0 + format: int32 + type: integer + numberOfElements: + description: Number of items returned + format: int32 + type: integer + totalElements: + description: Total number of items available for querying + format: int64 + type: integer + totalPages: + description: Total number of pages available + format: int32 + type: integer + last: + type: boolean + sort: + $ref: '#/components/schemas/Sort' + first: + type: boolean + empty: + type: boolean + required: + - content + - number + - numberOfElements + - size + - totalElements + - totalPages + type: object + SendWithQueueResult: + description: Collection of items + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + subject: subject + delivered: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + headerId: headerId + exceptionName: exceptionName + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + subject: + type: string + inboxId: + format: uuid + type: string + headerId: + type: string + delivered: + type: boolean + exceptionName: + type: string + message: + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + required: + - createdAt + - delivered + - headerId + - id + - updatedAt + - userId + type: object + PageInboxRulesetDto: + description: Paginated inbox ruleset results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 9 + total: 5 + last: true + size: 7 + numberOfElements: 3 + totalPages: 2 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - handler: EXCEPTION + createdAt: 2000-01-23T04:56:07.000+00:00 + scope: RECEIVING_EMAILS + action: BLOCK + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + target: target + - handler: EXCEPTION + createdAt: 2000-01-23T04:56:07.000+00:00 + scope: RECEIVING_EMAILS + action: BLOCK + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + target: target + first: true + totalElements: 5 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/InboxRulesetDto' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + PageInboxReplierDto: + description: Paginated inbox replier results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - charset: charset + subject: subject + match: match + ignoreReplyTo: true + templateId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + templateVariables: + key: "{}" + createdAt: 2000-01-23T04:56:07.000+00:00 + field: RECIPIENTS + isHTML: true + name: name + replyTo: replyTo + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - charset: charset + subject: subject + match: match + ignoreReplyTo: true + templateId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + templateVariables: + key: "{}" + createdAt: 2000-01-23T04:56:07.000+00:00 + field: RECIPIENTS + isHTML: true + name: name + replyTo: replyTo + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/InboxReplierDto' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + InboxReplierEventProjection: + description: Inbox replier event + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + sentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipients: + - recipients + - recipients + emailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + replierId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + status: SUCCESS + properties: + message: + nullable: true + type: string + id: + format: uuid + nullable: true + type: string + status: + enum: + - SUCCESS + - FAILURE + nullable: true + type: string + recipients: + items: + nullable: true + type: string + nullable: true + type: array + emailId: + format: uuid + nullable: true + type: string + inboxId: + format: uuid + nullable: true + type: string + userId: + format: uuid + nullable: true + type: string + createdAt: + format: date-time + type: string + sentId: + format: uuid + nullable: true + type: string + replierId: + format: uuid + nullable: true + type: string + required: + - createdAt + type: object + PageInboxReplierEvents: + description: Paginated inbox replier events. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + sentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipients: + - recipients + - recipients + emailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + replierId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + status: SUCCESS + - createdAt: 2000-01-23T04:56:07.000+00:00 + sentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipients: + - recipients + - recipients + emailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + replierId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + status: SUCCESS + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/InboxReplierEventProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + PhonePlanDto: + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + phoneCountry: US + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + phoneCountry: + enum: + - US + - GB + - AU + type: string + createdAt: + format: date-time + type: string + required: + - createdAt + - id + - phoneCountry + - userId + type: object + PagePhoneNumberProjection: + description: Paginated phone numbers. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + phoneNumber: phoneNumber + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + phoneCountry: US + - createdAt: 2000-01-23T04:56:07.000+00:00 + phoneNumber: phoneNumber + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + phoneCountry: US + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/PhoneNumberProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + PhoneNumberProjection: + description: Phone number projection + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + phoneNumber: phoneNumber + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + phoneCountry: US + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + createdAt: + format: date-time + type: string + phoneNumber: + type: string + phoneCountry: + enum: + - US + - GB + - AU + type: string + required: + - createdAt + - id + - phoneCountry + - phoneNumber + - userId + type: object + PhoneNumberDto: + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + phoneNumber: phoneNumber + complianceAddress: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + emergencyAddress: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + phoneCountry: US + phonePlan: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + complianceAddress: + format: uuid + type: string + emergencyAddress: + format: uuid + type: string + phoneNumber: + type: string + phoneCountry: + enum: + - US + - GB + - AU + type: string + phonePlan: + format: uuid + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + required: + - createdAt + - id + - phoneCountry + - phoneNumber + - phonePlan + - updatedAt + - userId + type: object + EmergencyAddressDto: + example: + address1: address1 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + phoneCountry: US + properties: + id: + format: uuid + type: string + address1: + type: string + phoneCountry: + enum: + - US + - GB + - AU + type: string + required: + - address1 + - id + - phoneCountry + type: object + MissedEmailProjection: + description: Missed email data + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + from: + nullable: true + type: string + subject: + nullable: true + type: string + userId: + format: uuid + nullable: true + type: string + createdAt: + format: date-time + type: string + required: + - createdAt + - id + type: object + PageMissedEmailProjection: + description: Paginated MissedEmail results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - createdAt: 2000-01-23T04:56:07.000+00:00 + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/MissedEmailProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + MissedEmailDto: + description: Missed email + example: + cc: + - cc + - cc + rawKey: rawKey + rawBucket: rawBucket + bcc: + - bcc + - bcc + inboxIds: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + subject: subject + canRestore: true + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + rawUrl: rawUrl + createdAt: 2000-01-23T04:56:07.000+00:00 + attachmentCount: 0 + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bodyExcerpt: bodyExcerpt + to: + - to + - to + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + userId: + format: uuid + nullable: true + type: string + subject: + nullable: true + type: string + bodyExcerpt: + nullable: true + type: string + attachmentCount: + format: int32 + type: integer + from: + nullable: true + type: string + rawUrl: + nullable: true + type: string + rawKey: + nullable: true + type: string + rawBucket: + nullable: true + type: string + canRestore: + nullable: true + type: boolean + to: + items: + type: string + type: array + cc: + items: + type: string + type: array + bcc: + items: + type: string + type: array + inboxIds: + items: + format: uuid + type: string + type: array + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + required: + - attachmentCount + - bcc + - cc + - createdAt + - id + - inboxIds + - to + - updatedAt + type: object + PageUnknownMissedEmailProjection: + description: Paginated unknown MissedEmail results. Unknown missed emails are + emails that were sent to MailSlurp /Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + - createdAt: 2000-01-23T04:56:07.000+00:00 + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/UnknownMissedEmailProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + UnknownMissedEmailProjection: + description: Unknown missed email projection + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + properties: + id: + format: uuid + type: string + from: + type: string + subject: + type: string + createdAt: + format: date-time + type: string + to: + items: + type: string + type: array + required: + - createdAt + - id + type: object + PageScheduledJobs: + description: Paginated scheduled jobs results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - jobId: jobId + createdAt: 2000-01-23T04:56:07.000+00:00 + groupId: groupId + triggerId: triggerId + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sendAtTimestamp: 2000-01-23T04:56:07.000+00:00 + status: SUBMITTED + updatedAt: 2000-01-23T04:56:07.000+00:00 + - jobId: jobId + createdAt: 2000-01-23T04:56:07.000+00:00 + groupId: groupId + triggerId: triggerId + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sendAtTimestamp: 2000-01-23T04:56:07.000+00:00 + status: SUBMITTED + updatedAt: 2000-01-23T04:56:07.000+00:00 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/ScheduledJob' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + ScheduledJob: + example: + jobId: jobId + createdAt: 2000-01-23T04:56:07.000+00:00 + groupId: groupId + triggerId: triggerId + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sendAtTimestamp: 2000-01-23T04:56:07.000+00:00 + status: SUBMITTED + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + inboxId: + format: uuid + type: string + jobId: + type: string + groupId: + type: string + triggerId: + type: string + status: + enum: + - SUBMITTED + - COMPLETED + - FAILED + - CANCELLED + type: string + sendAtTimestamp: + format: date-time + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + required: + - createdAt + - groupId + - id + - inboxId + - jobId + - sendAtTimestamp + - status + - triggerId + - updatedAt + - userId + type: object + PageEmailPreview: + description: Paginated email preview results. EmailProjections and EmailPreviews + are essentially the same but have legacy naming issues. Page index starts + at zero. Projection results may omit larger entity fields. For fetching a + full entity use the projection ID with individual method calls. For emails + there are several methods for fetching message bodies and attachments. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - cc: + - cc + - cc + createdAt: 2000-01-23T04:56:07.000+00:00 + bcc: + - bcc + - bcc + read: true + attachments: + - attachments + - attachments + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - cc: + - cc + - cc + createdAt: 2000-01-23T04:56:07.000+00:00 + bcc: + - bcc + - bcc + read: true + attachments: + - attachments + - attachments + subject: subject + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/EmailPreview' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + CountDto: + description: Number of elements + example: + totalElements: 0 + properties: + totalElements: + format: int64 + type: integer + required: + - totalElements + type: object + InboxPreview: + description: Inbox data preview element. + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + inboxType: HTTP_INBOX + virtualInbox: true + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + favourite: true + teamAccess: true + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + expiresAt: expiresAt + tags: + - tags + - tags + properties: + id: + description: ID of the inbox. The ID is a UUID-V4 format string. Use the + inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress + property for the email address or the inbox. To get emails in an inbox + use the WaitFor and Inbox Controller methods `waitForLatestEmail` and + `getEmails` methods respectively. Inboxes can be used with aliases to + forward emails automatically. + format: uuid + type: string + domainId: + description: ID of custom domain used by the inbox if any + format: uuid + nullable: true + type: string + emailAddress: + description: The inbox's email address. Inbox projections and previews may + not include the email address. To view the email address fetch the inbox + entity directly. Send an email to this address and the inbox will receive + and store it for you. Note the email address in MailSlurp match characters + exactly and are case sensitive so `+123` additions are considered different + addresses. To retrieve the email use the Inbox and Email Controller endpoints + with the inbox ID. + nullable: true + type: string + createdAt: + description: When the inbox was created. Time stamps are in ISO DateTime + Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`. + format: date-time + type: string + favourite: + description: Is the inbox a favorite inbox. Make an inbox a favorite is + typically done in the dashboard for quick access or filtering + type: boolean + name: + description: Name of the inbox and used as the sender name when sending + emails .Displayed in the dashboard for easier search + nullable: true + type: string + tags: + description: Tags that inbox has been tagged with. Tags can be added to + inboxes to group different inboxes within an account. You can also search + for inboxes by tag in the dashboard UI. + items: + description: Tags that inbox has been tagged with. Tags can be added to + inboxes to group different inboxes within an account. You can also search + for inboxes by tag in the dashboard UI. + nullable: true + type: string + nullable: true + type: array + teamAccess: + description: Does inbox permit team access for organization team members. + If so team users can use inbox and emails associated with it. See the + team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/ + type: boolean + inboxType: + description: Type of inbox. HTTP inboxes are faster and better for most + cases. SMTP inboxes are more suited for public facing inbound messages + (but cannot send). + enum: + - HTTP_INBOX + - SMTP_INBOX + nullable: true + type: string + virtualInbox: + description: Virtual inbox can receive email but will not send emails to + real recipients. Will save sent email record but never send an actual + email. Perfect for testing mail server actions. + type: boolean + expiresAt: + description: "Inbox expiration time. When, if ever, the inbox should expire\ + \ and be deleted. If null then this inbox is permanent and the emails\ + \ in it won't be deleted. This is the default behavior unless expiration\ + \ date is set. If an expiration date is set and the time is reached MailSlurp\ + \ will expire the inbox and move it to an expired inbox entity. You can\ + \ still access the emails belonging to it but it can no longer send or\ + \ receive email." + nullable: true + type: string + required: + - createdAt + - favourite + - id + - teamAccess + - virtualInbox + type: object + PageInboxProjection: + description: Paginated inbox results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + inboxType: HTTP_INBOX + virtualInbox: true + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + favourite: true + teamAccess: true + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + expiresAt: expiresAt + tags: + - tags + - tags + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + inboxType: HTTP_INBOX + virtualInbox: true + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + favourite: true + teamAccess: true + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + expiresAt: expiresAt + tags: + - tags + - tags + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/InboxPreview' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + OrganizationInboxProjection: + description: Organization team inbox + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + inboxType: HTTP_INBOX + virtualInbox: true + name: name + readOnly: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + favourite: true + teamAccess: true + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tags: + - tags + - tags + properties: + id: + description: ID of the inbox. The ID is a UUID-V4 format string. Use the + inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress + property for the email address or the inbox. To get emails in an inbox + use the WaitFor and Inbox Controller methods `waitForLatestEmail` and + `getEmails` methods respectively. Inboxes can be used with aliases to + forward emails automatically. + format: uuid + type: string + domainId: + description: ID of custom domain used by the inbox if any + format: uuid + nullable: true + type: string + createdAt: + description: When the inbox was created. Time stamps are in ISO DateTime + Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`. + format: date-time + type: string + name: + description: Name of the inbox and used as the sender name when sending + emails .Displayed in the dashboard for easier search + nullable: true + type: string + emailAddress: + description: The inbox's email address. Inbox projections and previews may + not include the email address. To view the email address fetch the inbox + entity directly. Send an email to this address and the inbox will receive + and store it for you. Note the email address in MailSlurp match characters + exactly and are case sensitive so `+123` additions are considered different + addresses. To retrieve the email use the Inbox and Email Controller endpoints + with the inbox ID. + nullable: true + type: string + favourite: + description: Is the inbox a favorite inbox. Make an inbox a favorite is + typically done in the dashboard for quick access or filtering + type: boolean + tags: + description: Tags that inbox has been tagged with. Tags can be added to + inboxes to group different inboxes within an account. You can also search + for inboxes by tag in the dashboard UI. + items: + description: Tags that inbox has been tagged with. Tags can be added to + inboxes to group different inboxes within an account. You can also search + for inboxes by tag in the dashboard UI. + nullable: true + type: string + nullable: true + type: array + teamAccess: + description: Does inbox permit team access for organization team members. + If so team users can use inbox and emails associated with it. See the + team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/ + type: boolean + inboxType: + description: Type of inbox. HTTP inboxes are faster and better for most + cases. SMTP inboxes are more suited for public facing inbound messages + (but cannot send). + enum: + - HTTP_INBOX + - SMTP_INBOX + nullable: true + type: string + readOnly: + description: Is the inbox readOnly for the caller. Read only means can not + be deleted or modified. This flag is present when using team accounts + and shared inboxes. + type: boolean + virtualInbox: + description: Virtual inbox can receive email but will not send emails to + real recipients. Will save sent email record but never send an actual + email. Perfect for testing mail server actions. + type: boolean + required: + - createdAt + - favourite + - id + - readOnly + - teamAccess + - virtualInbox + type: object + PageOrganizationInboxProjection: + description: Paginated organization inbox results. Page index starts at zero. + Projection results may omit larger entity fields. For fetching a full entity + use the projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + inboxType: HTTP_INBOX + virtualInbox: true + name: name + readOnly: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + favourite: true + teamAccess: true + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tags: + - tags + - tags + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + inboxType: HTTP_INBOX + virtualInbox: true + name: name + readOnly: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + favourite: true + teamAccess: true + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tags: + - tags + - tags + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/OrganizationInboxProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + ImapSmtpAccessDetails: + description: Access details for inbox using SMTP or IMAP + example: + secureSmtpUsername: secureSmtpUsername + smtpUsername: smtpUsername + smtpPassword: smtpPassword + imapServerHost: imapServerHost + secureSmtpServerPort: 0 + smtpServerPort: 6 + imapPassword: imapPassword + secureSmtpServerHost: secureSmtpServerHost + imapUsername: imapUsername + imapServerPort: 1 + smtpServerHost: smtpServerHost + secureSmtpPassword: secureSmtpPassword + properties: + secureSmtpServerHost: + description: Secure TLS SMTP server host domain + type: string + secureSmtpServerPort: + description: Secure TLS SMTP server host port + format: int32 + type: integer + secureSmtpUsername: + description: Secure TLS SMTP username for login + type: string + secureSmtpPassword: + description: Secure TLS SMTP password for login + type: string + smtpServerHost: + description: SMTP server host domain + type: string + smtpServerPort: + description: SMTP server host port + format: int32 + type: integer + smtpUsername: + description: SMTP username for login + type: string + smtpPassword: + description: SMTP password for login + type: string + imapServerHost: + description: IMAP server host domain + type: string + imapServerPort: + description: IMAP server host port + format: int32 + type: integer + imapUsername: + description: IMAP username for login + type: string + imapPassword: + description: IMAP password for login + type: string + required: + - imapPassword + - imapServerHost + - imapServerPort + - imapUsername + - secureSmtpPassword + - secureSmtpServerHost + - secureSmtpServerPort + - secureSmtpUsername + - smtpPassword + - smtpServerHost + - smtpServerPort + - smtpUsername + type: object + InboxIdItem: + description: Inbox ID and email address pair + example: + emailAddress: emailAddress + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + emailAddress: + type: string + required: + - emailAddress + - id + type: object + InboxIdsResult: + description: List of inbox IDs and email addresses + example: + inboxIds: + - emailAddress: emailAddress + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - emailAddress: emailAddress + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + inboxIds: + items: + $ref: '#/components/schemas/InboxIdItem' + type: array + required: + - inboxIds + type: object + InboxExistsDto: + description: Result of email exists query + example: + exists: true + properties: + exists: + type: boolean + required: + - exists + type: object + InboxByNameResult: + description: Result of search for inbox by name + example: + exists: true + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + inboxId: + format: uuid + nullable: true + type: string + exists: + type: boolean + required: + - exists + type: object + InboxByEmailAddressResult: + description: Result of search for inbox by email address + example: + exists: true + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + inboxId: + format: uuid + nullable: true + type: string + exists: + type: boolean + required: + - exists + type: object + GroupProjection: + description: Data for contact group + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + description: description + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + name: + type: string + id: + format: uuid + type: string + description: + nullable: true + type: string + createdAt: + format: date-time + type: string + required: + - createdAt + - id + - name + type: object + ContactProjection: + description: Email contact for address book + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + firstName: firstName + lastName: lastName + optOut: true + emailAddress: emailAddress + emailAddresses: + - emailAddresses + - emailAddresses + groupId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + company: company + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + groupId: + format: uuid + nullable: true + type: string + emailAddress: + nullable: true + type: string + createdAt: + format: date-time + type: string + firstName: + nullable: true + type: string + lastName: + nullable: true + type: string + company: + nullable: true + type: string + emailAddresses: + items: + nullable: true + type: string + nullable: true + type: array + optOut: + type: boolean + required: + - createdAt + - id + - optOut + type: object + PageContactProjection: + description: Paginated contact results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + firstName: firstName + lastName: lastName + optOut: true + emailAddress: emailAddress + emailAddresses: + - emailAddresses + - emailAddresses + groupId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + company: company + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - createdAt: 2000-01-23T04:56:07.000+00:00 + firstName: firstName + lastName: lastName + optOut: true + emailAddress: emailAddress + emailAddresses: + - emailAddresses + - emailAddresses + groupId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + company: company + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/ContactProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + PageGroupProjection: + description: Paginated missed email results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + description: description + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + description: description + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/GroupProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + PageInboxForwarderDto: + description: Paginated inbox forwarder results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + field: RECIPIENTS + forwardToRecipients: + - forwardToRecipients + - forwardToRecipients + name: name + match: match + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - createdAt: 2000-01-23T04:56:07.000+00:00 + field: RECIPIENTS + forwardToRecipients: + - forwardToRecipients + - forwardToRecipients + name: name + match: match + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/InboxForwarderDto' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + InboxForwarderEventProjection: + description: Inbox forwarder event + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + emailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + status: SUCCESS + forwarderId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + message: + nullable: true + type: string + id: + format: uuid + nullable: true + type: string + status: + enum: + - SUCCESS + - FAILURE + nullable: true + type: string + emailId: + format: uuid + nullable: true + type: string + inboxId: + format: uuid + nullable: true + type: string + userId: + format: uuid + nullable: true + type: string + createdAt: + format: date-time + type: string + forwarderId: + format: uuid + nullable: true + type: string + required: + - createdAt + type: object + PageInboxForwarderEvents: + description: Paginated inbox forwarder events. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + status: SUCCESS + forwarderId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + status: SUCCESS + forwarderId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/InboxForwarderEventProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + ExpiredInboxRecordProjection: + description: Record of inbox expiration + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + emailAddress: + type: string + createdAt: + format: date-time + type: string + required: + - createdAt + - emailAddress + - id + - userId + type: object + PageExpiredInboxRecordProjection: + description: Paginated expired inbox results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/ExpiredInboxRecordProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + ExpiredInboxDto: + description: Expired inbox + example: + emailAddress: emailAddress + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + inboxId: + format: uuid + type: string + emailAddress: + type: string + required: + - emailAddress + - id + - inboxId + type: object + ExpirationDefaults: + description: Expiration defaults for your account + example: + nextInboxAllowsPermanent: true + defaultExpirationMillis: 0 + maxExpirationMillis: 6 + defaultExpiresAt: 2000-01-23T04:56:07.000+00:00 + canPermanentInbox: true + properties: + defaultExpirationMillis: + format: int64 + nullable: true + type: integer + maxExpirationMillis: + format: int64 + nullable: true + type: integer + defaultExpiresAt: + format: date-time + nullable: true + type: string + canPermanentInbox: + type: boolean + nextInboxAllowsPermanent: + type: boolean + required: + - canPermanentInbox + - nextInboxAllowsPermanent + type: object + EmailProjection: + description: A compact representation of a full email. Used in list endpoints + to keep response sizes low. Body and attachments are not included. To get + all fields of the email use the `getEmail` method with the email projection's + ID. See `EmailDto` for documentation on projection properties. + example: + cc: + - cc + - cc + attachments: + - attachments + - attachments + bcc: + - bcc + - bcc + read: true + subject: subject + teamAccess: true + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bodyMD5Hash: bodyMD5Hash + createdAt: 2000-01-23T04:56:07.000+00:00 + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + bodyExcerpt: bodyExcerpt + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + from: + nullable: true + type: string + subject: + nullable: true + type: string + inboxId: + format: uuid + type: string + attachments: + items: + nullable: true + type: string + nullable: true + type: array + createdAt: + format: date-time + type: string + to: + items: + type: string + type: array + bcc: + items: + nullable: true + type: string + nullable: true + type: array + cc: + items: + nullable: true + type: string + nullable: true + type: array + read: + type: boolean + domainId: + format: uuid + nullable: true + type: string + bodyExcerpt: + nullable: true + type: string + teamAccess: + type: boolean + bodyMD5Hash: + nullable: true + type: string + required: + - createdAt + - id + - inboxId + - read + - teamAccess + - to + type: object + PageEmailProjection: + description: Paginated email projection results. EmailProjections and EmailPreviews + are essentially the same but have legacy naming issues. Page index starts + at zero. Projection results may omit larger entity fields. For fetching a + full email entity use the projection ID with individual method calls. For + emails there are several methods for fetching message bodies and attachments. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - cc: + - cc + - cc + attachments: + - attachments + - attachments + bcc: + - bcc + - bcc + read: true + subject: subject + teamAccess: true + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bodyMD5Hash: bodyMD5Hash + createdAt: 2000-01-23T04:56:07.000+00:00 + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + bodyExcerpt: bodyExcerpt + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - cc: + - cc + - cc + attachments: + - attachments + - attachments + bcc: + - bcc + - bcc + read: true + subject: subject + teamAccess: true + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bodyMD5Hash: bodyMD5Hash + createdAt: 2000-01-23T04:56:07.000+00:00 + from: from + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + bodyExcerpt: bodyExcerpt + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/EmailProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + EmailTextLinesResult: + description: Parsed text of an email + example: + lines: + - lines + - lines + body: body + properties: + lines: + items: + type: string + type: array + body: + type: string + required: + - body + - lines + type: object + EmailLinksResult: + description: Links found in HTML + example: + links: + - links + - links + body: body + properties: + links: + items: + type: string + type: array + body: + type: string + required: + - body + - links + type: object + EmailHtmlDto: + example: + subject: subject + body: body + properties: + subject: + type: string + body: + type: string + type: object + DownloadAttachmentDto: + description: Content of attachment + example: + base64FileContents: base64FileContents + contentType: contentType + sizeBytes: 0 + properties: + base64FileContents: + description: Base64 encoded string of attachment bytes. Decode the base64 + encoded string to get the raw contents. If the file has a content type + such as `text/html` you can read the contents directly by converting it + to string using `utf-8` encoding. + type: string + contentType: + description: "Content type of attachment. Examples are `image/png`, `application/msword`,\ + \ `text/csv` etc." + type: string + sizeBytes: + description: Size in bytes of attachment content + format: int64 + type: integer + required: + - base64FileContents + - contentType + - sizeBytes + type: object + GravatarUrl: + description: User image + example: + url: url + hash: hash + properties: + url: + type: string + hash: + type: string + required: + - hash + - url + type: object + EmailValidationRequestDto: + description: Email validation request + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + isValid: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + emailAddress: + type: string + isValid: + type: boolean + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + required: + - createdAt + - emailAddress + - id + - isValid + - updatedAt + - userId + type: object + PageEmailValidationRequest: + description: Paginated email validation request records. Page index starts at + zero. Projection results may omit larger entity fields. For fetching a full + entity use the projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + isValid: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + isValid: true + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/EmailValidationRequestDto' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + DomainPreview: + description: Preview object for domain entity + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + hasMissingRecords: true + domainType: HTTP_INBOX + isVerified: true + domain: domain + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + catchAllInboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + domain: + type: string + catchAllInboxId: + format: uuid + nullable: true + type: string + createdAt: + format: date-time + type: string + domainType: + description: Type of domain. Dictates type of inbox that can be created + with domain. HTTP means inboxes are processed using SES while SMTP inboxes + use a custom SMTP mail server. SMTP does not support sending so use HTTP + for sending emails. + enum: + - HTTP_INBOX + - SMTP_DOMAIN + type: string + isVerified: + type: boolean + hasMissingRecords: + type: boolean + required: + - createdAt + - domain + - domainType + - hasMissingRecords + - id + - isVerified + type: object + DomainIssuesDto: + example: + hasIssues: true + properties: + hasIssues: + type: boolean + required: + - hasIssues + type: object + ConnectorProjection: + description: Connector + example: + syncEnabled: true + createdAt: 2000-01-23T04:56:07.000+00:00 + connectorType: IMAP + syncInterval: 0 + syncScheduleType: INTERVAL + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + inboxId: + format: uuid + type: string + userId: + format: uuid + type: string + createdAt: + format: date-time + type: string + connectorType: + enum: + - IMAP + type: string + syncScheduleType: + enum: + - INTERVAL + type: string + syncInterval: + format: int32 + type: integer + syncEnabled: + type: boolean + required: + - connectorType + - createdAt + - inboxId + - syncEnabled + - syncScheduleType + - userId + type: object + PageConnector: + description: Paginated inbox connectors. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 2 + total: 6 + last: true + size: 5 + numberOfElements: 7 + totalPages: 5 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - syncEnabled: true + createdAt: 2000-01-23T04:56:07.000+00:00 + connectorType: IMAP + syncInterval: 0 + syncScheduleType: INTERVAL + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - syncEnabled: true + createdAt: 2000-01-23T04:56:07.000+00:00 + connectorType: IMAP + syncInterval: 0 + syncScheduleType: INTERVAL + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 1 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/ConnectorProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + ConnectorSyncEventProjection: + description: ConnectorSyncEventProjection + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + connectorId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + syncCount: 0 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + syncStatus: SUCCESS + properties: + message: + type: string + id: + format: uuid + type: string + createdAt: + format: date-time + type: string + connectorId: + format: uuid + type: string + syncCount: + format: int64 + type: integer + syncStatus: + enum: + - SUCCESS + - INTERNAL_ERROR + - SUBSCRIPTION_ERROR + - CONNECTION_ERROR + - NOT_FOUND + type: string + required: + - connectorId + - createdAt + - syncCount + - syncStatus + type: object + PageConnectorSyncEvents: + description: Paginated inbox connector sync events. Page index starts at zero. + Projection results may omit larger entity fields. For fetching a full entity + use the projection ID with individual method calls. + example: + number: 2 + total: 6 + last: true + size: 5 + numberOfElements: 7 + totalPages: 5 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + connectorId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + syncCount: 0 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + syncStatus: SUCCESS + - createdAt: 2000-01-23T04:56:07.000+00:00 + connectorId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + syncCount: 0 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + syncStatus: SUCCESS + first: true + totalElements: 1 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/ConnectorSyncEventProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + ConnectorSyncEventDto: + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + connectorId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + syncCount: 0 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + message: message + syncStatus: SUCCESS + properties: + id: + format: uuid + type: string + connectorId: + format: uuid + type: string + syncStatus: + enum: + - SUCCESS + - INTERNAL_ERROR + - SUBSCRIPTION_ERROR + - CONNECTION_ERROR + - NOT_FOUND + type: string + syncCount: + format: int64 + type: integer + message: + type: string + createdAt: + format: date-time + type: string + required: + - connectorId + - createdAt + - id + - syncCount + - syncStatus + type: object + BounceRecipientProjection: + description: Bounced recipient + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + sentEmailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipient: recipient + action: action + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + status: status + properties: + id: + format: uuid + type: string + status: + nullable: true + type: string + sentEmailId: + format: uuid + nullable: true + type: string + createdAt: + format: date-time + type: string + recipient: + type: string + action: + nullable: true + type: string + required: + - createdAt + - recipient + type: object + PageBouncedRecipients: + description: Paginated bounced recipients. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + sentEmailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipient: recipient + action: action + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + status: status + - createdAt: 2000-01-23T04:56:07.000+00:00 + sentEmailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipient: recipient + action: action + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + status: status + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/BounceRecipientProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + BouncedRecipientDto: + description: Bounced recipient + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + sentEmailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + recipient: recipient + action: action + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + diagnosticCode: diagnosticCode + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + status: status + properties: + id: + format: uuid + type: string + userId: + format: uuid + nullable: true + type: string + sentEmailId: + format: uuid + nullable: true + type: string + recipient: + type: string + diagnosticCode: + nullable: true + type: string + action: + nullable: true + type: string + status: + nullable: true + type: string + createdAt: + format: date-time + type: string + required: + - createdAt + - id + - recipient + type: object + ListUnsubscribeRecipientProjection: + description: List unsubscribe recipient + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + emailAddress: + type: string + createdAt: + format: date-time + type: string + domainId: + format: uuid + nullable: true + type: string + required: + - createdAt + - emailAddress + - id + type: object + PageListUnsubscribeRecipients: + description: Paginated list unsubscribe recipients. Page index starts at zero. + Projection results may omit larger entity fields. For fetching a full entity + use the projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + domainId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/ListUnsubscribeRecipientProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + BounceProjection: + description: Bounced email event + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + sender: sender + bounceType: bounceType + subject: subject + bounceMta: bounceMta + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + subject: + nullable: true + type: string + sender: + type: string + createdAt: + format: date-time + type: string + bounceType: + nullable: true + type: string + bounceMta: + nullable: true + type: string + required: + - createdAt + - sender + type: object + PageBouncedEmail: + description: Paginated bounced email. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + sender: sender + bounceType: bounceType + subject: subject + bounceMta: bounceMta + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - createdAt: 2000-01-23T04:56:07.000+00:00 + sender: sender + bounceType: bounceType + subject: subject + bounceMta: bounceMta + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/BounceProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + BouncedEmailDto: + description: Bounced email + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + bounceRecipients: + - bounceRecipients + - bounceRecipients + sentEmailId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + sender: sender + bounceType: bounceType + subject: subject + bounceMta: bounceMta + sentToRecipients: + - sentToRecipients + - sentToRecipients + bounceSubType: bounceSubType + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + notificationType: notificationType + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + notificationType: + type: string + sentToRecipients: + items: + nullable: true + type: string + nullable: true + type: array + sender: + type: string + bounceMta: + nullable: true + type: string + bounceType: + nullable: true + type: string + bounceRecipients: + items: + nullable: true + type: string + nullable: true + type: array + bounceSubType: + nullable: true + type: string + sentEmailId: + format: uuid + nullable: true + type: string + subject: + nullable: true + type: string + createdAt: + format: date-time + type: string + required: + - createdAt + - id + - notificationType + - sender + - userId + type: object + Complaint: + example: + complaintRecipient: complaintRecipient + createdAt: 2000-01-23T04:56:07.000+00:00 + mailMessageId: mailMessageId + mailSource: mailSource + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + eventType: eventType + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + userId: + format: uuid + type: string + eventType: + type: string + mailSource: + type: string + mailMessageId: + type: string + complaintRecipient: + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + required: + - complaintRecipient + - createdAt + - id + - updatedAt + type: object + PageComplaint: + description: Paginated complaint email. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - complaintRecipient: complaintRecipient + createdAt: 2000-01-23T04:56:07.000+00:00 + mailMessageId: mailMessageId + mailSource: mailSource + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + eventType: eventType + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + - complaintRecipient: complaintRecipient + createdAt: 2000-01-23T04:56:07.000+00:00 + mailMessageId: mailMessageId + mailSource: mailSource + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + eventType: eventType + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/Complaint' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + AttachmentProjection: + description: Email attachment data + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + contentLength: 0 + attachmentId: attachmentId + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + contentType: image/png + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + name: + nullable: true + type: string + contentLength: + description: Content length of attachment in bytes + format: int64 + nullable: true + type: integer + userId: + format: uuid + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + attachmentId: + description: Attachment ID + type: string + contentType: + description: Content type of attachment. + example: image/png + nullable: true + type: string + required: + - attachmentId + - createdAt + - updatedAt + - userId + type: object + PageAttachmentEntity: + description: Paginated attachment entity results. Page index starts at zero. + Projection results may omit larger entity fields. For fetching a full entity + use the projection ID with individual method calls. + example: + number: 2 + total: 6 + last: true + size: 5 + numberOfElements: 7 + totalPages: 5 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + contentLength: 0 + attachmentId: attachmentId + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + contentType: image/png + updatedAt: 2000-01-23T04:56:07.000+00:00 + - createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + contentLength: 0 + attachmentId: attachmentId + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + contentType: image/png + updatedAt: 2000-01-23T04:56:07.000+00:00 + first: true + totalElements: 1 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/AttachmentProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + AttachmentEntity: + example: + bucket: bucket + createdAt: 2000-01-23T04:56:07.000+00:00 + name: name + contentLength: 0 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + attachmentId: attachmentId + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + contentType: contentType + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: uuid + type: string + attachmentId: + type: string + bucket: + type: string + userId: + format: uuid + type: string + contentType: + type: string + contentLength: + format: int64 + type: integer + name: + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + required: + - attachmentId + - createdAt + - updatedAt + - userId + type: object + AliasProjection: + description: Representation of a alias + example: + createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + useThreads: true + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + name: + type: string + id: + format: uuid + type: string + inboxId: + format: uuid + type: string + userId: + format: uuid + type: string + emailAddress: + type: string + createdAt: + format: date-time + type: string + updatedAt: + format: date-time + type: string + useThreads: + type: boolean + required: + - createdAt + - emailAddress + - id + - inboxId + - updatedAt + - userId + type: object + PageAlias: + description: Paginated email alias results. Page index starts at zero. Projection + results may omit larger entity fields. For fetching a full entity use the + projection ID with individual method calls. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + useThreads: true + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + - createdAt: 2000-01-23T04:56:07.000+00:00 + emailAddress: emailAddress + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + useThreads: true + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/AliasProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + PageThreadProjection: + description: Paginated email projection results. EmailProjections and EmailPreviews + are essentially the same but have legacy naming issues. Page index starts + at zero. Projection results may omit larger entity fields. For fetching a + full email entity use the projection ID with individual method calls. For + emails there are several methods for fetching message bodies and attachments. + example: + number: 5 + total: 0 + last: true + size: 5 + numberOfElements: 2 + totalPages: 1 + pageable: + paged: true + pageNumber: 6 + offset: 0 + pageSize: 1 + unpaged: true + sort: + unsorted: true + sorted: true + empty: true + sort: + unsorted: true + sorted: true + empty: true + content: + - cc: + - cc + - cc + createdAt: 2000-01-23T04:56:07.000+00:00 + bcc: + - bcc + - bcc + subject: subject + aliasId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + - cc: + - cc + - cc + createdAt: 2000-01-23T04:56:07.000+00:00 + bcc: + - bcc + - bcc + subject: subject + aliasId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + first: true + totalElements: 6 + empty: true + properties: + content: + items: + $ref: '#/components/schemas/ThreadProjection' + type: array + pageable: + $ref: '#/components/schemas/PageableObject' + total: + format: int64 + type: integer + writeOnly: true + totalElements: + format: int64 + type: integer + totalPages: + format: int32 + type: integer + last: + type: boolean + size: + format: int32 + type: integer + number: + format: int32 + type: integer + sort: + $ref: '#/components/schemas/Sort' + numberOfElements: + format: int32 + type: integer + first: + type: boolean + empty: + type: boolean + type: object + ThreadProjection: + description: A thread is a message thread created for a message received by + an alias + example: + cc: + - cc + - cc + createdAt: 2000-01-23T04:56:07.000+00:00 + bcc: + - bcc + - bcc + subject: subject + aliasId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + to: + - to + - to + inboxId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + userId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + updatedAt: 2000-01-23T04:56:07.000+00:00 + properties: + name: + description: Name of thread + type: string + id: + description: ID of email thread + format: uuid + type: string + subject: + description: Thread subject + type: string + inboxId: + description: Inbox ID + format: uuid + type: string + userId: + description: User ID + format: uuid + type: string + createdAt: + description: Created at DateTime + format: date-time + type: string + updatedAt: + description: Updated at DateTime + format: date-time + type: string + to: + description: To recipients + items: + description: To recipients + type: string + type: array + bcc: + description: BCC recipients + items: + description: BCC recipients + type: string + type: array + cc: + description: CC recipients + items: + description: CC recipients + type: string + type: array + aliasId: + description: Alias ID + format: uuid + type: string + required: + - aliasId + - createdAt + - id + - inboxId + - to + - updatedAt + - userId + type: object + EmptyResponseDto: + example: + message: message + properties: + message: + type: string + type: object + FlushExpiredInboxesResult: + description: Result from calling expire on any inboxes that have applicable + expiration dates given current time. + example: + inboxIds: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + expireBefore: 2000-01-23T04:56:07.000+00:00 + properties: + inboxIds: + description: Inbox IDs affected by expiration + items: + description: Inbox IDs affected by expiration + format: uuid + type: string + type: array + expireBefore: + description: DateTime to filter inboxes so that those expiring before this + time are expired + format: date-time + type: string + required: + - expireBefore + - inboxIds + type: object + uploadMultipartForm_request: + properties: + contentTypeHeader: + description: Optional content type header of attachment + type: string + file: + format: binary + type: string + required: + - file + type: object + uploadAttachmentBytes_request: + description: Byte array request body + properties: + short: + format: int32 + type: integer + char: + type: string + int: + format: int32 + type: integer + long: + format: int64 + type: integer + float: + format: float + type: number + double: + format: double + type: number + direct: + type: boolean + readOnly: + type: boolean + type: object + ConnectorSyncRequestResult_exception_cause_stackTrace_inner: + example: + fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + properties: + classLoaderName: + type: string + moduleName: + type: string + moduleVersion: + type: string + methodName: + type: string + fileName: + type: string + lineNumber: + format: int32 + type: integer + nativeMethod: + type: boolean + className: + type: string + type: object + ConnectorSyncRequestResult_exception_cause_suppressed_inner: + example: + localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + message: message + properties: + stackTrace: + items: + $ref: '#/components/schemas/ConnectorSyncRequestResult_exception_cause_stackTrace_inner' + type: array + message: + type: string + localizedMessage: + type: string + type: object + ConnectorSyncRequestResult_exception_cause: + example: + localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + suppressed: + - localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + message: message + - localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + message: message + message: message + properties: + stackTrace: + items: + $ref: '#/components/schemas/ConnectorSyncRequestResult_exception_cause_stackTrace_inner' + type: array + message: + type: string + suppressed: + items: + $ref: '#/components/schemas/ConnectorSyncRequestResult_exception_cause_suppressed_inner' + type: array + localizedMessage: + type: string + type: object + ConnectorSyncRequestResult_exception: + example: + localizedMessage: localizedMessage + cause: + localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + suppressed: + - localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + message: message + - localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + message: message + message: message + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + suppressed: + - localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + message: message + - localizedMessage: localizedMessage + stackTrace: + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + - fileName: fileName + moduleVersion: moduleVersion + moduleName: moduleName + nativeMethod: true + methodName: methodName + className: className + lineNumber: 6 + classLoaderName: classLoaderName + message: message + message: message + properties: + cause: + $ref: '#/components/schemas/ConnectorSyncRequestResult_exception_cause' + stackTrace: + items: + $ref: '#/components/schemas/ConnectorSyncRequestResult_exception_cause_stackTrace_inner' + type: array + message: + type: string + suppressed: + items: + $ref: '#/components/schemas/ConnectorSyncRequestResult_exception_cause_suppressed_inner' + type: array + localizedMessage: + type: string + type: object + securitySchemes: + API_KEY: + description: Set x-api-key API KEY header in your client to your MailSlurp API + Key value. + in: header + name: x-api-key + type: apiKey + diff --git a/build.gradle b/build.gradle new file mode 100644 index 000000000..dffea3b37 --- /dev/null +++ b/build.gradle @@ -0,0 +1,168 @@ +apply plugin: 'idea' +apply plugin: 'eclipse' +apply plugin: 'java' +apply plugin: 'com.diffplug.spotless' + +group = 'com.mailslurp' +version = '15.17.17' + +buildscript { + repositories { + mavenCentral() + } + dependencies { + classpath 'com.android.tools.build:gradle:2.3.+' + classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' + classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.11.0' + } +} + +repositories { + mavenCentral() +} +sourceSets { + main.java.srcDirs = ['src/main/java'] +} + +if(hasProperty('target') && target == 'android') { + + apply plugin: 'com.android.library' + apply plugin: 'com.github.dcendents.android-maven' + + android { + compileSdkVersion 25 + buildToolsVersion '25.0.2' + defaultConfig { + minSdkVersion 14 + targetSdkVersion 25 + } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + + // Rename the aar correctly + libraryVariants.all { variant -> + variant.outputs.each { output -> + def outputFile = output.outputFile + if (outputFile != null && outputFile.name.endsWith('.aar')) { + def fileName = "${project.name}-${variant.baseName}-${version}.aar" + output.outputFile = new File(outputFile.parent, fileName) + } + } + } + + dependencies { + provided "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" + } + } + + afterEvaluate { + android.libraryVariants.all { variant -> + def task = project.tasks.create "jar${variant.name.capitalize()}", Jar + task.description = "Create jar artifact for ${variant.name}" + task.dependsOn variant.javaCompile + task.from variant.javaCompile.destinationDir + task.destinationDir = project.file("${project.buildDir}/outputs/jar") + task.archiveName = "${project.name}-${variant.baseName}-${version}.jar" + artifacts.add('archives', task) + } + } + + task sourcesJar(type: Jar) { + from android.sourceSets.main.java.srcDirs + classifier = 'sources' + } + + artifacts { + archives sourcesJar + } + +} else { + + apply plugin: 'java' + apply plugin: 'maven-publish' + + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + + publishing { + publications { + maven(MavenPublication) { + artifactId = 'mailslurp-client-java' + from components.java + } + } + } + + task execute(type:JavaExec) { + main = System.getProperty('mainClass') + classpath = sourceSets.main.runtimeClasspath + } +} + +ext { + jakarta_annotation_version = "1.3.5" +} + +dependencies { + implementation 'io.swagger:swagger-annotations:1.6.8' + implementation "com.google.code.findbugs:jsr305:3.0.2" + implementation 'com.squareup.okhttp3:okhttp:4.10.0' + implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0' + implementation 'com.google.code.gson:gson:2.9.1' + implementation 'io.gsonfire:gson-fire:1.8.5' + implementation 'javax.ws.rs:jsr311-api:1.1.1' + implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1' + implementation 'org.openapitools:jackson-databind-nullable:0.2.4' + implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' + implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1' + testImplementation 'org.mockito:mockito-core:3.12.4' + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1' +} + +javadoc { + options.tags = [ "http.response.details:a:Http Response Details" ] +} + +// Use spotless plugin to automatically format code, remove unused import, etc +// To apply changes directly to the file, run `gradlew spotlessApply` +// Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle +spotless { + // comment out below to run spotless as part of the `check` task + enforceCheck false + + format 'misc', { + // define the files (e.g. '*.gradle', '*.md') to apply `misc` to + target '.gitignore' + + // define the steps to apply to those files + trimTrailingWhitespace() + indentWithSpaces() // Takes an integer argument if you don't like 4 + endWithNewline() + } + java { + // don't need to set target, it is inferred from java + + // apply a specific flavor of google-java-format + googleJavaFormat('1.8').aosp().reflowLongStrings() + + removeUnusedImports() + importOrder() + } +} + +test { + // Enable JUnit 5 (Gradle 4.6+). + useJUnitPlatform() + + // Always run tests, even when nothing changed. + dependsOn 'cleanTest' + + // Show test results. + testLogging { + events "passed", "skipped", "failed" + } + +} diff --git a/build.sbt b/build.sbt new file mode 100644 index 000000000..82198e1e1 --- /dev/null +++ b/build.sbt @@ -0,0 +1,28 @@ +lazy val root = (project in file(".")). + settings( + organization := "com.mailslurp", + name := "mailslurp-client-java", + version := "15.17.17", + scalaVersion := "2.11.4", + scalacOptions ++= Seq("-feature"), + javacOptions in compile ++= Seq("-Xlint:deprecation"), + publishArtifact in (Compile, packageDoc) := false, + resolvers += Resolver.mavenLocal, + libraryDependencies ++= Seq( + "io.swagger" % "swagger-annotations" % "1.6.5", + "com.squareup.okhttp3" % "okhttp" % "4.10.0", + "com.squareup.okhttp3" % "logging-interceptor" % "4.10.0", + "com.google.code.gson" % "gson" % "2.9.1", + "org.apache.commons" % "commons-lang3" % "3.12.0", + "javax.ws.rs" % "jsr311-api" % "1.1.1", + "javax.ws.rs" % "javax.ws.rs-api" % "2.1.1", + "org.openapitools" % "jackson-databind-nullable" % "0.2.4", + "io.gsonfire" % "gson-fire" % "1.8.5" % "compile", + "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", + "com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile", + "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", + "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test", + "com.novocode" % "junit-interface" % "0.10" % "test", + "org.mockito" % "mockito-core" % "3.12.4" % "test" + ) + ) diff --git a/docs/AbstractWebhookPayload.md b/docs/AbstractWebhookPayload.md new file mode 100644 index 000000000..693bd0c1e --- /dev/null +++ b/docs/AbstractWebhookPayload.md @@ -0,0 +1,34 @@ + + +# AbstractWebhookPayload + +Abstract webhook payload. Use the correct payload type for your webhook event type in order to access all the specific properties for that event. See the `NEW_EMAIL`,`NEW_CONTACT`, `NEW_ATTACHMENT` and `EMAIL_OPENED` payloads for the properties available for those events. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**eventName** | [**EventNameEnum**](#EventNameEnum) | | | +|**messageId** | **String** | | | +|**webhookId** | **UUID** | | | +|**webhookName** | **String** | | [optional] | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/AliasControllerApi.md b/docs/AliasControllerApi.md new file mode 100644 index 000000000..a1ba67e80 --- /dev/null +++ b/docs/AliasControllerApi.md @@ -0,0 +1,669 @@ +# AliasControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createAlias**](AliasControllerApi#createAlias) | **POST** /aliases | Create an email alias. Must be verified by clicking link inside verification email that will be sent to the address. Once verified the alias will be active. | +| [**deleteAlias**](AliasControllerApi#deleteAlias) | **DELETE** /aliases/{aliasId} | Delete an email alias | +| [**getAlias**](AliasControllerApi#getAlias) | **GET** /aliases/{aliasId} | Get an email alias | +| [**getAliasEmails**](AliasControllerApi#getAliasEmails) | **GET** /aliases/{aliasId}/emails | Get emails for an alias | +| [**getAliasThreads**](AliasControllerApi#getAliasThreads) | **GET** /aliases/{aliasId}/threads | Get threads created for an alias | +| [**getAliases**](AliasControllerApi#getAliases) | **GET** /aliases | Get all email aliases you have created | +| [**replyToAliasEmail**](AliasControllerApi#replyToAliasEmail) | **PUT** /aliases/{aliasId}/emails/{emailId} | Reply to an email | +| [**sendAliasEmail**](AliasControllerApi#sendAliasEmail) | **POST** /aliases/{aliasId}/emails | Send an email from an alias inbox | +| [**updateAlias**](AliasControllerApi#updateAlias) | **PUT** /aliases/{aliasId} | Update an email alias | + + + +# **createAlias** +> AliasDto createAlias(createAliasOptions) + +Create an email alias. Must be verified by clicking link inside verification email that will be sent to the address. Once verified the alias will be active. + +Email aliases use a MailSlurp randomly generated email address (or a custom domain inbox that you provide) to mask or proxy a real email address. Emails sent to the alias address will be forwarded to the hidden email address it was created for. If you want to send a reply use the threadId attached + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AliasControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AliasControllerApi apiInstance = new AliasControllerApi(defaultClient); + CreateAliasOptions createAliasOptions = new CreateAliasOptions(); // CreateAliasOptions | + try { + AliasDto result = apiInstance.createAlias(createAliasOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AliasControllerApi#createAlias"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createAliasOptions** | [**CreateAliasOptions**](CreateAliasOptions)| | | + +### Return type + +[**AliasDto**](AliasDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **deleteAlias** +> deleteAlias(aliasId) + +Delete an email alias + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AliasControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AliasControllerApi apiInstance = new AliasControllerApi(defaultClient); + UUID aliasId = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteAlias(aliasId); + } catch (ApiException e) { + System.err.println("Exception when calling AliasControllerApi#deleteAlias"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **aliasId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getAlias** +> AliasDto getAlias(aliasId) + +Get an email alias + +Get an email alias by ID + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AliasControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AliasControllerApi apiInstance = new AliasControllerApi(defaultClient); + UUID aliasId = UUID.randomUUID(); // UUID | + try { + AliasDto result = apiInstance.getAlias(aliasId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AliasControllerApi#getAlias"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **aliasId** | **UUID**| | | + +### Return type + +[**AliasDto**](AliasDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getAliasEmails** +> PageEmailProjection getAliasEmails(aliasId, page, size, sort, since, before) + +Get emails for an alias + +Get paginated emails for an alias by ID + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AliasControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AliasControllerApi apiInstance = new AliasControllerApi(defaultClient); + UUID aliasId = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index alias email list pagination + Integer size = 20; // Integer | Optional page size alias email list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter by sent after given date time + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter by sent before given date time + try { + PageEmailProjection result = apiInstance.getAliasEmails(aliasId, page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AliasControllerApi#getAliasEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **aliasId** | **UUID**| | | +| **page** | **Integer**| Optional page index alias email list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size alias email list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Optional filter by sent after given date time | [optional] | +| **before** | **OffsetDateTime**| Optional filter by sent before given date time | [optional] | + +### Return type + +[**PageEmailProjection**](PageEmailProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getAliasThreads** +> PageThreadProjection getAliasThreads(aliasId, page, size, sort, since, before) + +Get threads created for an alias + +Returns threads created for an email alias in paginated form + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AliasControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AliasControllerApi apiInstance = new AliasControllerApi(defaultClient); + UUID aliasId = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index in thread list pagination + Integer size = 20; // Integer | Optional page size in thread list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter by sent after given date time + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter by sent before given date time + try { + PageThreadProjection result = apiInstance.getAliasThreads(aliasId, page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AliasControllerApi#getAliasThreads"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **aliasId** | **UUID**| | | +| **page** | **Integer**| Optional page index in thread list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in thread list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Optional filter by sent after given date time | [optional] | +| **before** | **OffsetDateTime**| Optional filter by sent before given date time | [optional] | + +### Return type + +[**PageThreadProjection**](PageThreadProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getAliases** +> PageAlias getAliases(page, size, sort, since, before) + +Get all email aliases you have created + +Get all email aliases in paginated form + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AliasControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AliasControllerApi apiInstance = new AliasControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in alias list pagination + Integer size = 20; // Integer | Optional page size in alias list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageAlias result = apiInstance.getAliases(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AliasControllerApi#getAliases"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in alias list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in alias list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageAlias**](PageAlias) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **replyToAliasEmail** +> SentEmailDto replyToAliasEmail(aliasId, emailId, replyToAliasEmailOptions) + +Reply to an email + +Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AliasControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AliasControllerApi apiInstance = new AliasControllerApi(defaultClient); + UUID aliasId = UUID.randomUUID(); // UUID | ID of the alias that email belongs to + UUID emailId = UUID.randomUUID(); // UUID | ID of the email that should be replied to + ReplyToAliasEmailOptions replyToAliasEmailOptions = new ReplyToAliasEmailOptions(); // ReplyToAliasEmailOptions | + try { + SentEmailDto result = apiInstance.replyToAliasEmail(aliasId, emailId, replyToAliasEmailOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AliasControllerApi#replyToAliasEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **aliasId** | **UUID**| ID of the alias that email belongs to | | +| **emailId** | **UUID**| ID of the email that should be replied to | | +| **replyToAliasEmailOptions** | [**ReplyToAliasEmailOptions**](ReplyToAliasEmailOptions)| | | + +### Return type + +[**SentEmailDto**](SentEmailDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **sendAliasEmail** +> SentEmailDto sendAliasEmail(aliasId, sendEmailOptions) + +Send an email from an alias inbox + +Send an email from an alias. Replies to the email will be forwarded to the alias masked email address + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AliasControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AliasControllerApi apiInstance = new AliasControllerApi(defaultClient); + UUID aliasId = UUID.randomUUID(); // UUID | + SendEmailOptions sendEmailOptions = new SendEmailOptions(); // SendEmailOptions | + try { + SentEmailDto result = apiInstance.sendAliasEmail(aliasId, sendEmailOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AliasControllerApi#sendAliasEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **aliasId** | **UUID**| | | +| **sendEmailOptions** | [**SendEmailOptions**](SendEmailOptions)| | | + +### Return type + +[**SentEmailDto**](SentEmailDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **updateAlias** +> AliasDto updateAlias(aliasId, updateAliasOptions) + +Update an email alias + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AliasControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AliasControllerApi apiInstance = new AliasControllerApi(defaultClient); + UUID aliasId = UUID.randomUUID(); // UUID | + UpdateAliasOptions updateAliasOptions = new UpdateAliasOptions(); // UpdateAliasOptions | + try { + AliasDto result = apiInstance.updateAlias(aliasId, updateAliasOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AliasControllerApi#updateAlias"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **aliasId** | **UUID**| | | +| **updateAliasOptions** | [**UpdateAliasOptions**](UpdateAliasOptions)| | | + +### Return type + +[**AliasDto**](AliasDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **202** | Accepted | - | + diff --git a/docs/AliasDto.md b/docs/AliasDto.md new file mode 100644 index 000000000..a4c73f58f --- /dev/null +++ b/docs/AliasDto.md @@ -0,0 +1,23 @@ + + +# AliasDto + +Email alias representation + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**emailAddress** | **String** | The alias's email address for receiving email | | +|**maskedEmailAddress** | **String** | The underlying email address that is hidden and will received forwarded email | [optional] | +|**userId** | **UUID** | | | +|**inboxId** | **UUID** | Inbox that is associated with the alias | | +|**name** | **String** | | [optional] | +|**useThreads** | **Boolean** | If alias will generate response threads or not when email are received by it | [optional] | +|**isVerified** | **Boolean** | Has the alias been verified. You must verify an alias if the masked email address has not yet been verified by your account | | +|**createdAt** | **OffsetDateTime** | | [optional] | +|**updatedAt** | **OffsetDateTime** | | [optional] | + + + diff --git a/docs/AliasProjection.md b/docs/AliasProjection.md new file mode 100644 index 000000000..41a119a21 --- /dev/null +++ b/docs/AliasProjection.md @@ -0,0 +1,21 @@ + + +# AliasProjection + +Representation of a alias + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | | [optional] | +|**id** | **UUID** | | | +|**inboxId** | **UUID** | | | +|**userId** | **UUID** | | | +|**emailAddress** | **String** | | | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | +|**useThreads** | **Boolean** | | [optional] | + + + diff --git a/docs/AttachmentControllerApi.md b/docs/AttachmentControllerApi.md new file mode 100644 index 000000000..d8322e198 --- /dev/null +++ b/docs/AttachmentControllerApi.md @@ -0,0 +1,710 @@ +# AttachmentControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**deleteAllAttachments**](AttachmentControllerApi#deleteAllAttachments) | **DELETE** /attachments | Delete all attachments | +| [**deleteAttachment**](AttachmentControllerApi#deleteAttachment) | **DELETE** /attachments/{attachmentId} | Delete an attachment | +| [**downloadAttachmentAsBase64Encoded**](AttachmentControllerApi#downloadAttachmentAsBase64Encoded) | **GET** /attachments/{attachmentId}/base64 | Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents. | +| [**downloadAttachmentAsBytes**](AttachmentControllerApi#downloadAttachmentAsBytes) | **GET** /attachments/{attachmentId}/bytes | Download attachments. Get email attachment bytes. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints. | +| [**getAttachment**](AttachmentControllerApi#getAttachment) | **GET** /attachments/{attachmentId} | Get an attachment entity | +| [**getAttachmentInfo**](AttachmentControllerApi#getAttachmentInfo) | **GET** /attachments/{attachmentId}/metadata | Get email attachment metadata information | +| [**getAttachments**](AttachmentControllerApi#getAttachments) | **GET** /attachments | Get email attachments | +| [**uploadAttachment**](AttachmentControllerApi#uploadAttachment) | **POST** /attachments | Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment. | +| [**uploadAttachmentBytes**](AttachmentControllerApi#uploadAttachmentBytes) | **POST** /attachments/bytes | Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment. | +| [**uploadMultipartForm**](AttachmentControllerApi#uploadMultipartForm) | **POST** /attachments/multipart | Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment. | + + + +# **deleteAllAttachments** +> deleteAllAttachments() + +Delete all attachments + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AttachmentControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AttachmentControllerApi apiInstance = new AttachmentControllerApi(defaultClient); + try { + apiInstance.deleteAllAttachments(); + } catch (ApiException e) { + System.err.println("Exception when calling AttachmentControllerApi#deleteAllAttachments"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **deleteAttachment** +> deleteAttachment(attachmentId) + +Delete an attachment + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AttachmentControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AttachmentControllerApi apiInstance = new AttachmentControllerApi(defaultClient); + String attachmentId = "attachmentId_example"; // String | ID of attachment + try { + apiInstance.deleteAttachment(attachmentId); + } catch (ApiException e) { + System.err.println("Exception when calling AttachmentControllerApi#deleteAttachment"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **attachmentId** | **String**| ID of attachment | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **downloadAttachmentAsBase64Encoded** +> DownloadAttachmentDto downloadAttachmentAsBase64Encoded(attachmentId) + +Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents. + +Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AttachmentControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AttachmentControllerApi apiInstance = new AttachmentControllerApi(defaultClient); + String attachmentId = "attachmentId_example"; // String | ID of attachment + try { + DownloadAttachmentDto result = apiInstance.downloadAttachmentAsBase64Encoded(attachmentId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AttachmentControllerApi#downloadAttachmentAsBase64Encoded"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **attachmentId** | **String**| ID of attachment | | + +### Return type + +[**DownloadAttachmentDto**](DownloadAttachmentDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **downloadAttachmentAsBytes** +> byte[] downloadAttachmentAsBytes(attachmentId) + +Download attachments. Get email attachment bytes. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints. + +Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AttachmentControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AttachmentControllerApi apiInstance = new AttachmentControllerApi(defaultClient); + String attachmentId = "attachmentId_example"; // String | ID of attachment + try { + byte[] result = apiInstance.downloadAttachmentAsBytes(attachmentId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AttachmentControllerApi#downloadAttachmentAsBytes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **attachmentId** | **String**| ID of attachment | | + +### Return type + +**byte[]** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/octet-stream + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **0** | default response | - | + + +# **getAttachment** +> AttachmentEntity getAttachment(attachmentId) + +Get an attachment entity + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AttachmentControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AttachmentControllerApi apiInstance = new AttachmentControllerApi(defaultClient); + String attachmentId = "attachmentId_example"; // String | ID of attachment + try { + AttachmentEntity result = apiInstance.getAttachment(attachmentId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AttachmentControllerApi#getAttachment"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **attachmentId** | **String**| ID of attachment | | + +### Return type + +[**AttachmentEntity**](AttachmentEntity) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getAttachmentInfo** +> AttachmentMetaData getAttachmentInfo(attachmentId) + +Get email attachment metadata information + +Returns the metadata for an attachment. It is saved separately to the content of the attachment. Contains properties `name` and `content-type` and `content-length` in bytes for a given attachment. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AttachmentControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AttachmentControllerApi apiInstance = new AttachmentControllerApi(defaultClient); + String attachmentId = "attachmentId_example"; // String | ID of attachment + try { + AttachmentMetaData result = apiInstance.getAttachmentInfo(attachmentId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AttachmentControllerApi#getAttachmentInfo"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **attachmentId** | **String**| ID of attachment | | + +### Return type + +[**AttachmentMetaData**](AttachmentMetaData) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getAttachments** +> PageAttachmentEntity getAttachments(page, size, sort, fileNameFilter, since, before) + +Get email attachments + +Get all attachments in paginated response. Each entity contains meta data for the attachment such as `name` and `content-type`. Use the `attachmentId` and the download endpoints to get the file contents. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AttachmentControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AttachmentControllerApi apiInstance = new AttachmentControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index for list pagination + Integer size = 20; // Integer | Optional page size for list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String fileNameFilter = "fileNameFilter_example"; // String | Optional file name and content type search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageAttachmentEntity result = apiInstance.getAttachments(page, size, sort, fileNameFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AttachmentControllerApi#getAttachments"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index for list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size for list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **fileNameFilter** | **String**| Optional file name and content type search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageAttachmentEntity**](PageAttachmentEntity) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **uploadAttachment** +> List<String> uploadAttachment(uploadAttachmentOptions) + +Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AttachmentControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AttachmentControllerApi apiInstance = new AttachmentControllerApi(defaultClient); + UploadAttachmentOptions uploadAttachmentOptions = new UploadAttachmentOptions(); // UploadAttachmentOptions | + try { + List result = apiInstance.uploadAttachment(uploadAttachmentOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AttachmentControllerApi#uploadAttachment"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **uploadAttachmentOptions** | [**UploadAttachmentOptions**](UploadAttachmentOptions)| | | + +### Return type + +**List<String>** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **uploadAttachmentBytes** +> List<String> uploadAttachmentBytes(uploadAttachmentBytesRequest, contentType, filename) + +Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AttachmentControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AttachmentControllerApi apiInstance = new AttachmentControllerApi(defaultClient); + UploadAttachmentBytesRequest uploadAttachmentBytesRequest = new UploadAttachmentBytesRequest(); // UploadAttachmentBytesRequest | + String contentType = "contentType_example"; // String | Optional contentType for file. For instance `application/pdf` + String filename = "filename_example"; // String | Optional filename to save upload with + try { + List result = apiInstance.uploadAttachmentBytes(uploadAttachmentBytesRequest, contentType, filename); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AttachmentControllerApi#uploadAttachmentBytes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **uploadAttachmentBytesRequest** | [**UploadAttachmentBytesRequest**](UploadAttachmentBytesRequest)| | | +| **contentType** | **String**| Optional contentType for file. For instance `application/pdf` | [optional] | +| **filename** | **String**| Optional filename to save upload with | [optional] | + +### Return type + +**List<String>** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/octet-stream + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **uploadMultipartForm** +> List<String> uploadMultipartForm(contentType, filename, xFilename, uploadMultipartFormRequest) + +Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.AttachmentControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + AttachmentControllerApi apiInstance = new AttachmentControllerApi(defaultClient); + String contentType = "contentType_example"; // String | Optional content type of attachment + String filename = "filename_example"; // String | Optional name of file + String xFilename = "xFilename_example"; // String | Optional content type header of attachment + UploadMultipartFormRequest uploadMultipartFormRequest = new UploadMultipartFormRequest(); // UploadMultipartFormRequest | + try { + List result = apiInstance.uploadMultipartForm(contentType, filename, xFilename, uploadMultipartFormRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AttachmentControllerApi#uploadMultipartForm"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **contentType** | **String**| Optional content type of attachment | [optional] | +| **filename** | **String**| Optional name of file | [optional] | +| **xFilename** | **String**| Optional content type header of attachment | [optional] | +| **uploadMultipartFormRequest** | [**UploadMultipartFormRequest**](UploadMultipartFormRequest)| | [optional] | + +### Return type + +**List<String>** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + diff --git a/docs/AttachmentEntity.md b/docs/AttachmentEntity.md new file mode 100644 index 000000000..0dabe3541 --- /dev/null +++ b/docs/AttachmentEntity.md @@ -0,0 +1,21 @@ + + +# AttachmentEntity + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | [optional] | +|**attachmentId** | **String** | | | +|**bucket** | **String** | | [optional] | +|**userId** | **UUID** | | | +|**contentType** | **String** | | [optional] | +|**contentLength** | **Long** | | [optional] | +|**name** | **String** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | + + + diff --git a/docs/AttachmentMetaData.md b/docs/AttachmentMetaData.md new file mode 100644 index 000000000..fa719c02c --- /dev/null +++ b/docs/AttachmentMetaData.md @@ -0,0 +1,17 @@ + + +# AttachmentMetaData + +Meta data associated with an attachment. Attachments are stored as byte blobs so the meta data is stored separately. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Name of attachment if given | | +|**contentType** | **String** | Content type of attachment such as `image/png` | | +|**contentLength** | **Long** | Size of attachment in bytes | | +|**id** | **String** | ID of attachment. Can be used to with attachment controller endpoints to download attachment or with sending methods to attach to an email. | | + + + diff --git a/docs/AttachmentProjection.md b/docs/AttachmentProjection.md new file mode 100644 index 000000000..f50c3802c --- /dev/null +++ b/docs/AttachmentProjection.md @@ -0,0 +1,20 @@ + + +# AttachmentProjection + +Email attachment data + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | | [optional] | +|**contentLength** | **Long** | Content length of attachment in bytes | [optional] | +|**userId** | **UUID** | | | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | +|**attachmentId** | **String** | Attachment ID | | +|**contentType** | **String** | Content type of attachment. | [optional] | + + + diff --git a/docs/BasicAuthOptions.md b/docs/BasicAuthOptions.md new file mode 100644 index 000000000..7e474fc17 --- /dev/null +++ b/docs/BasicAuthOptions.md @@ -0,0 +1,15 @@ + + +# BasicAuthOptions + +Basic Authentication options for webhooks. Will be used is present when calling webhook endpoints. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**username** | **String** | | | +|**password** | **String** | | | + + + diff --git a/docs/BounceControllerApi.md b/docs/BounceControllerApi.md new file mode 100644 index 000000000..8e8af4b35 --- /dev/null +++ b/docs/BounceControllerApi.md @@ -0,0 +1,528 @@ +# BounceControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**filterBouncedRecipient**](BounceControllerApi#filterBouncedRecipient) | **POST** /bounce/filter-recipients | Filter a list of email recipients and remove those who have bounced | +| [**getBouncedEmail**](BounceControllerApi#getBouncedEmail) | **GET** /bounce/emails/{id} | Get a bounced email. | +| [**getBouncedEmails**](BounceControllerApi#getBouncedEmails) | **GET** /bounce/emails | Get paginated list of bounced emails. | +| [**getBouncedRecipient**](BounceControllerApi#getBouncedRecipient) | **GET** /bounce/recipients/{id} | Get a bounced email. | +| [**getBouncedRecipients**](BounceControllerApi#getBouncedRecipients) | **GET** /bounce/recipients | Get paginated list of bounced recipients. | +| [**getComplaints**](BounceControllerApi#getComplaints) | **GET** /bounce/complaints | Get paginated list of complaints. | +| [**getListUnsubscribeRecipients**](BounceControllerApi#getListUnsubscribeRecipients) | **GET** /bounce/list-unsubscribe-recipients | Get paginated list of unsubscribed recipients. | + + + +# **filterBouncedRecipient** +> FilterBouncedRecipientsResult filterBouncedRecipient(filterBouncedRecipientsOptions) + +Filter a list of email recipients and remove those who have bounced + +Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.BounceControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + BounceControllerApi apiInstance = new BounceControllerApi(defaultClient); + FilterBouncedRecipientsOptions filterBouncedRecipientsOptions = new FilterBouncedRecipientsOptions(); // FilterBouncedRecipientsOptions | + try { + FilterBouncedRecipientsResult result = apiInstance.filterBouncedRecipient(filterBouncedRecipientsOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling BounceControllerApi#filterBouncedRecipient"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **filterBouncedRecipientsOptions** | [**FilterBouncedRecipientsOptions**](FilterBouncedRecipientsOptions)| | | + +### Return type + +[**FilterBouncedRecipientsResult**](FilterBouncedRecipientsResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getBouncedEmail** +> BouncedEmailDto getBouncedEmail(id) + +Get a bounced email. + +Bounced emails are email you have sent that were rejected by a recipient + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.BounceControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + BounceControllerApi apiInstance = new BounceControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of the bounced email to fetch + try { + BouncedEmailDto result = apiInstance.getBouncedEmail(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling BounceControllerApi#getBouncedEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of the bounced email to fetch | | + +### Return type + +[**BouncedEmailDto**](BouncedEmailDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getBouncedEmails** +> PageBouncedEmail getBouncedEmails(page, size, sort, since, before) + +Get paginated list of bounced emails. + +Bounced emails are email you have sent that were rejected by a recipient + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.BounceControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + BounceControllerApi apiInstance = new BounceControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index + Integer size = 20; // Integer | Optional page size + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageBouncedEmail result = apiInstance.getBouncedEmails(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling BounceControllerApi#getBouncedEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index | [optional] [default to 0] | +| **size** | **Integer**| Optional page size | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageBouncedEmail**](PageBouncedEmail) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getBouncedRecipient** +> BouncedRecipientDto getBouncedRecipient(id) + +Get a bounced email. + +Bounced emails are email you have sent that were rejected by a recipient + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.BounceControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + BounceControllerApi apiInstance = new BounceControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of the bounced recipient + try { + BouncedRecipientDto result = apiInstance.getBouncedRecipient(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling BounceControllerApi#getBouncedRecipient"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of the bounced recipient | | + +### Return type + +[**BouncedRecipientDto**](BouncedRecipientDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getBouncedRecipients** +> PageBouncedRecipients getBouncedRecipients(page, size, sort, since, before) + +Get paginated list of bounced recipients. + +Bounced recipients are email addresses that you have sent emails to that did not accept the sent email. Once a recipient is bounced you cannot send emails to that address. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.BounceControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + BounceControllerApi apiInstance = new BounceControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index + Integer size = 20; // Integer | Optional page size + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageBouncedRecipients result = apiInstance.getBouncedRecipients(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling BounceControllerApi#getBouncedRecipients"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index | [optional] [default to 0] | +| **size** | **Integer**| Optional page size | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageBouncedRecipients**](PageBouncedRecipients) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getComplaints** +> PageComplaint getComplaints(page, size, sort, since, before) + +Get paginated list of complaints. + +SMTP complaints made against your account + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.BounceControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + BounceControllerApi apiInstance = new BounceControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index + Integer size = 20; // Integer | Optional page size + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageComplaint result = apiInstance.getComplaints(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling BounceControllerApi#getComplaints"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index | [optional] [default to 0] | +| **size** | **Integer**| Optional page size | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageComplaint**](PageComplaint) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getListUnsubscribeRecipients** +> PageListUnsubscribeRecipients getListUnsubscribeRecipients(page, size, sort, domainId) + +Get paginated list of unsubscribed recipients. + +Unsubscribed recipient have unsubscribed from a mailing list for a user or domain and cannot be contacted again. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.BounceControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + BounceControllerApi apiInstance = new BounceControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index + Integer size = 20; // Integer | Optional page size + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + UUID domainId = UUID.randomUUID(); // UUID | Filter by domainId + try { + PageListUnsubscribeRecipients result = apiInstance.getListUnsubscribeRecipients(page, size, sort, domainId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling BounceControllerApi#getListUnsubscribeRecipients"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index | [optional] [default to 0] | +| **size** | **Integer**| Optional page size | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **domainId** | **UUID**| Filter by domainId | [optional] | + +### Return type + +[**PageListUnsubscribeRecipients**](PageListUnsubscribeRecipients) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/BounceProjection.md b/docs/BounceProjection.md new file mode 100644 index 000000000..5b017cb97 --- /dev/null +++ b/docs/BounceProjection.md @@ -0,0 +1,19 @@ + + +# BounceProjection + +Bounced email event + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | [optional] | +|**subject** | **String** | | [optional] | +|**sender** | **String** | | | +|**createdAt** | **OffsetDateTime** | | | +|**bounceType** | **String** | | [optional] | +|**bounceMta** | **String** | | [optional] | + + + diff --git a/docs/BounceRecipientProjection.md b/docs/BounceRecipientProjection.md new file mode 100644 index 000000000..a66ae778a --- /dev/null +++ b/docs/BounceRecipientProjection.md @@ -0,0 +1,19 @@ + + +# BounceRecipientProjection + +Bounced recipient + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | [optional] | +|**status** | **String** | | [optional] | +|**sentEmailId** | **UUID** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**recipient** | **String** | | | +|**action** | **String** | | [optional] | + + + diff --git a/docs/BouncedEmailDto.md b/docs/BouncedEmailDto.md new file mode 100644 index 000000000..03703207f --- /dev/null +++ b/docs/BouncedEmailDto.md @@ -0,0 +1,25 @@ + + +# BouncedEmailDto + +Bounced email + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**notificationType** | **String** | | | +|**sentToRecipients** | **List<String>** | | [optional] | +|**sender** | **String** | | | +|**bounceMta** | **String** | | [optional] | +|**bounceType** | **String** | | [optional] | +|**bounceRecipients** | **List<String>** | | [optional] | +|**bounceSubType** | **String** | | [optional] | +|**sentEmailId** | **UUID** | | [optional] | +|**subject** | **String** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | + + + diff --git a/docs/BouncedRecipientDto.md b/docs/BouncedRecipientDto.md new file mode 100644 index 000000000..ba1e18444 --- /dev/null +++ b/docs/BouncedRecipientDto.md @@ -0,0 +1,21 @@ + + +# BouncedRecipientDto + +Bounced recipient + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | [optional] | +|**sentEmailId** | **UUID** | | [optional] | +|**recipient** | **String** | | | +|**diagnosticCode** | **String** | | [optional] | +|**action** | **String** | | [optional] | +|**status** | **String** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | + + + diff --git a/docs/BulkActionsControllerApi.md b/docs/BulkActionsControllerApi.md new file mode 100644 index 000000000..770c7f45b --- /dev/null +++ b/docs/BulkActionsControllerApi.md @@ -0,0 +1,210 @@ +# BulkActionsControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**bulkCreateInboxes**](BulkActionsControllerApi#bulkCreateInboxes) | **POST** /bulk/inboxes | Bulk create Inboxes (email addresses) | +| [**bulkDeleteInboxes**](BulkActionsControllerApi#bulkDeleteInboxes) | **DELETE** /bulk/inboxes | Bulk Delete Inboxes | +| [**bulkSendEmails**](BulkActionsControllerApi#bulkSendEmails) | **POST** /bulk/send | Bulk Send Emails | + + + +# **bulkCreateInboxes** +> List<InboxDto> bulkCreateInboxes(count) + +Bulk create Inboxes (email addresses) + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.BulkActionsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + BulkActionsControllerApi apiInstance = new BulkActionsControllerApi(defaultClient); + Integer count = 56; // Integer | Number of inboxes to be created in bulk + try { + List result = apiInstance.bulkCreateInboxes(count); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling BulkActionsControllerApi#bulkCreateInboxes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **count** | **Integer**| Number of inboxes to be created in bulk | | + +### Return type + +[**List<InboxDto>**](InboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **bulkDeleteInboxes** +> bulkDeleteInboxes(UUID) + +Bulk Delete Inboxes + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.BulkActionsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + BulkActionsControllerApi apiInstance = new BulkActionsControllerApi(defaultClient); + List UUID = Arrays.asList(); // List | + try { + apiInstance.bulkDeleteInboxes(UUID); + } catch (ApiException e) { + System.err.println("Exception when calling BulkActionsControllerApi#bulkDeleteInboxes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **UUID** | [**List<UUID>**](UUID)| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **bulkSendEmails** +> bulkSendEmails(bulkSendEmailOptions) + +Bulk Send Emails + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.BulkActionsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + BulkActionsControllerApi apiInstance = new BulkActionsControllerApi(defaultClient); + BulkSendEmailOptions bulkSendEmailOptions = new BulkSendEmailOptions(); // BulkSendEmailOptions | + try { + apiInstance.bulkSendEmails(bulkSendEmailOptions); + } catch (ApiException e) { + System.err.println("Exception when calling BulkActionsControllerApi#bulkSendEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **bulkSendEmailOptions** | [**BulkSendEmailOptions**](BulkSendEmailOptions)| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + diff --git a/docs/BulkSendEmailOptions.md b/docs/BulkSendEmailOptions.md new file mode 100644 index 000000000..5ce37eaea --- /dev/null +++ b/docs/BulkSendEmailOptions.md @@ -0,0 +1,15 @@ + + +# BulkSendEmailOptions + +Options for bulk sending an email from multiple addresses. See regular `sendEmail` methods for more information. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**inboxIds** | **List<UUID>** | Inboxes to send the email from | | +|**sendEmailOptions** | [**SendEmailOptions**](SendEmailOptions) | | | + + + diff --git a/docs/CommonActionsControllerApi.md b/docs/CommonActionsControllerApi.md new file mode 100644 index 000000000..8bcd219f9 --- /dev/null +++ b/docs/CommonActionsControllerApi.md @@ -0,0 +1,407 @@ +# CommonActionsControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createNewEmailAddress**](CommonActionsControllerApi#createNewEmailAddress) | **POST** /newEmailAddress | Create new random inbox | +| [**createRandomInbox**](CommonActionsControllerApi#createRandomInbox) | **POST** /createInbox | Create new random inbox | +| [**deleteEmailAddress**](CommonActionsControllerApi#deleteEmailAddress) | **DELETE** /deleteEmailAddress | Delete inbox email address by inbox id | +| [**emptyInbox**](CommonActionsControllerApi#emptyInbox) | **DELETE** /emptyInbox | Delete all emails in an inbox | +| [**sendEmailSimple**](CommonActionsControllerApi#sendEmailSimple) | **POST** /sendEmail | Send an email | + + + +# **createNewEmailAddress** +> InboxDto createNewEmailAddress(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId) + +Create new random inbox + +Returns an Inbox with an `id` and an `emailAddress` + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.CommonActionsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + CommonActionsControllerApi apiInstance = new CommonActionsControllerApi(defaultClient); + Boolean allowTeamAccess = true; // Boolean | + Boolean useDomainPool = true; // Boolean | + OffsetDateTime expiresAt = OffsetDateTime.now(); // OffsetDateTime | + Long expiresIn = 56L; // Long | + String emailAddress = "emailAddress_example"; // String | + String inboxType = "HTTP_INBOX"; // String | + String description = "description_example"; // String | + String name = "name_example"; // String | + List tags = Arrays.asList(); // List | + Boolean favourite = true; // Boolean | + Boolean virtualInbox = true; // Boolean | + Boolean useShortAddress = true; // Boolean | + String domainName = "domainName_example"; // String | + UUID domainId = UUID.randomUUID(); // UUID | + try { + InboxDto result = apiInstance.createNewEmailAddress(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CommonActionsControllerApi#createNewEmailAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **allowTeamAccess** | **Boolean**| | [optional] | +| **useDomainPool** | **Boolean**| | [optional] | +| **expiresAt** | **OffsetDateTime**| | [optional] | +| **expiresIn** | **Long**| | [optional] | +| **emailAddress** | **String**| | [optional] | +| **inboxType** | **String**| | [optional] [enum: HTTP_INBOX, SMTP_INBOX] | +| **description** | **String**| | [optional] | +| **name** | **String**| | [optional] | +| **tags** | [**List<String>**](String)| | [optional] | +| **favourite** | **Boolean**| | [optional] | +| **virtualInbox** | **Boolean**| | [optional] | +| **useShortAddress** | **Boolean**| | [optional] | +| **domainName** | **String**| | [optional] | +| **domainId** | **UUID**| | [optional] | + +### Return type + +[**InboxDto**](InboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **createRandomInbox** +> InboxDto createRandomInbox(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId) + +Create new random inbox + +Returns an Inbox with an `id` and an `emailAddress` + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.CommonActionsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + CommonActionsControllerApi apiInstance = new CommonActionsControllerApi(defaultClient); + Boolean allowTeamAccess = true; // Boolean | + Boolean useDomainPool = true; // Boolean | + OffsetDateTime expiresAt = OffsetDateTime.now(); // OffsetDateTime | + Long expiresIn = 56L; // Long | + String emailAddress = "emailAddress_example"; // String | + String inboxType = "HTTP_INBOX"; // String | + String description = "description_example"; // String | + String name = "name_example"; // String | + List tags = Arrays.asList(); // List | + Boolean favourite = true; // Boolean | + Boolean virtualInbox = true; // Boolean | + Boolean useShortAddress = true; // Boolean | + String domainName = "domainName_example"; // String | + UUID domainId = UUID.randomUUID(); // UUID | + try { + InboxDto result = apiInstance.createRandomInbox(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CommonActionsControllerApi#createRandomInbox"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **allowTeamAccess** | **Boolean**| | [optional] | +| **useDomainPool** | **Boolean**| | [optional] | +| **expiresAt** | **OffsetDateTime**| | [optional] | +| **expiresIn** | **Long**| | [optional] | +| **emailAddress** | **String**| | [optional] | +| **inboxType** | **String**| | [optional] [enum: HTTP_INBOX, SMTP_INBOX] | +| **description** | **String**| | [optional] | +| **name** | **String**| | [optional] | +| **tags** | [**List<String>**](String)| | [optional] | +| **favourite** | **Boolean**| | [optional] | +| **virtualInbox** | **Boolean**| | [optional] | +| **useShortAddress** | **Boolean**| | [optional] | +| **domainName** | **String**| | [optional] | +| **domainId** | **UUID**| | [optional] | + +### Return type + +[**InboxDto**](InboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **deleteEmailAddress** +> deleteEmailAddress(inboxId) + +Delete inbox email address by inbox id + +Deletes inbox email address + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.CommonActionsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + CommonActionsControllerApi apiInstance = new CommonActionsControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteEmailAddress(inboxId); + } catch (ApiException e) { + System.err.println("Exception when calling CommonActionsControllerApi#deleteEmailAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **emptyInbox** +> emptyInbox(inboxId) + +Delete all emails in an inbox + +Deletes all emails + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.CommonActionsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + CommonActionsControllerApi apiInstance = new CommonActionsControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + try { + apiInstance.emptyInbox(inboxId); + } catch (ApiException e) { + System.err.println("Exception when calling CommonActionsControllerApi#emptyInbox"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **sendEmailSimple** +> sendEmailSimple(simpleSendEmailOptions) + +Send an email + +If no senderId or inboxId provided a random email address will be used to send from. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.CommonActionsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + CommonActionsControllerApi apiInstance = new CommonActionsControllerApi(defaultClient); + SimpleSendEmailOptions simpleSendEmailOptions = new SimpleSendEmailOptions(); // SimpleSendEmailOptions | + try { + apiInstance.sendEmailSimple(simpleSendEmailOptions); + } catch (ApiException e) { + System.err.println("Exception when calling CommonActionsControllerApi#sendEmailSimple"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **simpleSendEmailOptions** | [**SimpleSendEmailOptions**](SimpleSendEmailOptions)| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + diff --git a/docs/Complaint.md b/docs/Complaint.md new file mode 100644 index 000000000..4f6760ae7 --- /dev/null +++ b/docs/Complaint.md @@ -0,0 +1,20 @@ + + +# Complaint + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | [optional] | +|**eventType** | **String** | | [optional] | +|**mailSource** | **String** | | [optional] | +|**mailMessageId** | **String** | | [optional] | +|**complaintRecipient** | **String** | | | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | + + + diff --git a/docs/ConditionOption.md b/docs/ConditionOption.md new file mode 100644 index 000000000..152656877 --- /dev/null +++ b/docs/ConditionOption.md @@ -0,0 +1,32 @@ + + +# ConditionOption + +Options for matching emails in an inbox based on a condition such as `HAS_ATTACHMENTS=TRUE` + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**condition** | [**ConditionEnum**](#ConditionEnum) | Condition of an email object that can be used to filter results | | +|**value** | [**ValueEnum**](#ValueEnum) | Expected condition value | | + + + +## Enum: ConditionEnum + +| Name | Value | +|---- | -----| +| HAS_ATTACHMENTS | "HAS_ATTACHMENTS" | + + + +## Enum: ValueEnum + +| Name | Value | +|---- | -----| +| TRUE | "TRUE" | +| FALSE | "FALSE" | + + + diff --git a/docs/ConnectorControllerApi.md b/docs/ConnectorControllerApi.md new file mode 100644 index 000000000..49de01999 --- /dev/null +++ b/docs/ConnectorControllerApi.md @@ -0,0 +1,651 @@ +# ConnectorControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createConnector**](ConnectorControllerApi#createConnector) | **POST** /connectors | Create an inbox connector | +| [**deleteConnector**](ConnectorControllerApi#deleteConnector) | **DELETE** /connectors/{id} | Delete an inbox connector | +| [**getAllConnectorSyncEvents**](ConnectorControllerApi#getAllConnectorSyncEvents) | **GET** /connectors/events | Get all inbox connector sync events | +| [**getConnector**](ConnectorControllerApi#getConnector) | **GET** /connectors/{id} | Get an inbox connector | +| [**getConnectorSyncEvent**](ConnectorControllerApi#getConnectorSyncEvent) | **GET** /connectors/events/{id} | Get an inbox connector sync event | +| [**getConnectorSyncEvents**](ConnectorControllerApi#getConnectorSyncEvents) | **GET** /connectors/{id}/events | Get an inbox connector sync events | +| [**getConnectors**](ConnectorControllerApi#getConnectors) | **GET** /connectors | Get inbox connectors | +| [**syncConnector**](ConnectorControllerApi#syncConnector) | **POST** /connectors/{id}/sync | Sync an inbox connector | +| [**updateConnector**](ConnectorControllerApi#updateConnector) | **PUT** /connectors/{id} | Update an inbox connector | + + + +# **createConnector** +> ConnectorDto createConnector(createConnectorOptions) + +Create an inbox connector + +Sync emails between external mailboxes and MailSlurp inboxes + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ConnectorControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ConnectorControllerApi apiInstance = new ConnectorControllerApi(defaultClient); + CreateConnectorOptions createConnectorOptions = new CreateConnectorOptions(); // CreateConnectorOptions | + try { + ConnectorDto result = apiInstance.createConnector(createConnectorOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ConnectorControllerApi#createConnector"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createConnectorOptions** | [**CreateConnectorOptions**](CreateConnectorOptions)| | | + +### Return type + +[**ConnectorDto**](ConnectorDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **deleteConnector** +> deleteConnector(id) + +Delete an inbox connector + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ConnectorControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ConnectorControllerApi apiInstance = new ConnectorControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteConnector(id); + } catch (ApiException e) { + System.err.println("Exception when calling ConnectorControllerApi#deleteConnector"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getAllConnectorSyncEvents** +> PageConnectorSyncEvents getAllConnectorSyncEvents(page, size, sort, since, before) + +Get all inbox connector sync events + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ConnectorControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ConnectorControllerApi apiInstance = new ConnectorControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in connector list pagination + Integer size = 20; // Integer | Optional page size in connector list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageConnectorSyncEvents result = apiInstance.getAllConnectorSyncEvents(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ConnectorControllerApi#getAllConnectorSyncEvents"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in connector list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in connector list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageConnectorSyncEvents**](PageConnectorSyncEvents) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getConnector** +> ConnectorDto getConnector(id) + +Get an inbox connector + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ConnectorControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ConnectorControllerApi apiInstance = new ConnectorControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + ConnectorDto result = apiInstance.getConnector(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ConnectorControllerApi#getConnector"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +[**ConnectorDto**](ConnectorDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getConnectorSyncEvent** +> ConnectorSyncEventDto getConnectorSyncEvent(id) + +Get an inbox connector sync event + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ConnectorControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ConnectorControllerApi apiInstance = new ConnectorControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + ConnectorSyncEventDto result = apiInstance.getConnectorSyncEvent(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ConnectorControllerApi#getConnectorSyncEvent"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +[**ConnectorSyncEventDto**](ConnectorSyncEventDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getConnectorSyncEvents** +> PageConnectorSyncEvents getConnectorSyncEvents(id, page, size, sort, since, before) + +Get an inbox connector sync events + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ConnectorControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ConnectorControllerApi apiInstance = new ConnectorControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index in connector list pagination + Integer size = 20; // Integer | Optional page size in connector list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageConnectorSyncEvents result = apiInstance.getConnectorSyncEvents(id, page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ConnectorControllerApi#getConnectorSyncEvents"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | +| **page** | **Integer**| Optional page index in connector list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in connector list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageConnectorSyncEvents**](PageConnectorSyncEvents) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getConnectors** +> PageConnector getConnectors(page, size, sort, since, before) + +Get inbox connectors + +List inbox connectors that sync external emails to MailSlurp inboxes + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ConnectorControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ConnectorControllerApi apiInstance = new ConnectorControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in connector list pagination + Integer size = 20; // Integer | Optional page size in connector list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageConnector result = apiInstance.getConnectors(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ConnectorControllerApi#getConnectors"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in connector list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in connector list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageConnector**](PageConnector) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **syncConnector** +> ConnectorSyncRequestResult syncConnector(id) + +Sync an inbox connector + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ConnectorControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ConnectorControllerApi apiInstance = new ConnectorControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + ConnectorSyncRequestResult result = apiInstance.syncConnector(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ConnectorControllerApi#syncConnector"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +[**ConnectorSyncRequestResult**](ConnectorSyncRequestResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **updateConnector** +> ConnectorDto updateConnector(id, createConnectorOptions) + +Update an inbox connector + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ConnectorControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ConnectorControllerApi apiInstance = new ConnectorControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + CreateConnectorOptions createConnectorOptions = new CreateConnectorOptions(); // CreateConnectorOptions | + try { + ConnectorDto result = apiInstance.updateConnector(id, createConnectorOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ConnectorControllerApi#updateConnector"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | +| **createConnectorOptions** | [**CreateConnectorOptions**](CreateConnectorOptions)| | | + +### Return type + +[**ConnectorDto**](ConnectorDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/ConnectorDto.md b/docs/ConnectorDto.md new file mode 100644 index 000000000..b4cc7da0e --- /dev/null +++ b/docs/ConnectorDto.md @@ -0,0 +1,49 @@ + + +# ConnectorDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**connectorType** | [**ConnectorTypeEnum**](#ConnectorTypeEnum) | | | +|**connectorAuthType** | [**ConnectorAuthTypeEnum**](#ConnectorAuthTypeEnum) | | | +|**syncEnabled** | **Boolean** | | | +|**syncScheduleType** | [**SyncScheduleTypeEnum**](#SyncScheduleTypeEnum) | | | +|**syncInterval** | **Integer** | | [optional] | +|**imapHost** | **String** | | [optional] | +|**imapPort** | **Integer** | | [optional] | +|**imapUsername** | **String** | | [optional] | +|**imapPassword** | **String** | | [optional] | +|**imapSsl** | **Boolean** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | + + + +## Enum: ConnectorTypeEnum + +| Name | Value | +|---- | -----| +| IMAP | "IMAP" | + + + +## Enum: ConnectorAuthTypeEnum + +| Name | Value | +|---- | -----| +| PLAIN_TEXT | "PLAIN_TEXT" | + + + +## Enum: SyncScheduleTypeEnum + +| Name | Value | +|---- | -----| +| INTERVAL | "INTERVAL" | + + + diff --git a/docs/ConnectorProjection.md b/docs/ConnectorProjection.md new file mode 100644 index 000000000..9066ff624 --- /dev/null +++ b/docs/ConnectorProjection.md @@ -0,0 +1,37 @@ + + +# ConnectorProjection + +Connector + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | [optional] | +|**inboxId** | **UUID** | | | +|**userId** | **UUID** | | | +|**createdAt** | **OffsetDateTime** | | | +|**connectorType** | [**ConnectorTypeEnum**](#ConnectorTypeEnum) | | | +|**syncScheduleType** | [**SyncScheduleTypeEnum**](#SyncScheduleTypeEnum) | | | +|**syncInterval** | **Integer** | | [optional] | +|**syncEnabled** | **Boolean** | | | + + + +## Enum: ConnectorTypeEnum + +| Name | Value | +|---- | -----| +| IMAP | "IMAP" | + + + +## Enum: SyncScheduleTypeEnum + +| Name | Value | +|---- | -----| +| INTERVAL | "INTERVAL" | + + + diff --git a/docs/ConnectorSyncEventDto.md b/docs/ConnectorSyncEventDto.md new file mode 100644 index 000000000..0075380df --- /dev/null +++ b/docs/ConnectorSyncEventDto.md @@ -0,0 +1,30 @@ + + +# ConnectorSyncEventDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**connectorId** | **UUID** | | | +|**syncStatus** | [**SyncStatusEnum**](#SyncStatusEnum) | | | +|**syncCount** | **Long** | | | +|**message** | **String** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | + + + +## Enum: SyncStatusEnum + +| Name | Value | +|---- | -----| +| SUCCESS | "SUCCESS" | +| INTERNAL_ERROR | "INTERNAL_ERROR" | +| SUBSCRIPTION_ERROR | "SUBSCRIPTION_ERROR" | +| CONNECTION_ERROR | "CONNECTION_ERROR" | +| NOT_FOUND | "NOT_FOUND" | + + + diff --git a/docs/ConnectorSyncEventProjection.md b/docs/ConnectorSyncEventProjection.md new file mode 100644 index 000000000..adda9ce11 --- /dev/null +++ b/docs/ConnectorSyncEventProjection.md @@ -0,0 +1,31 @@ + + +# ConnectorSyncEventProjection + +ConnectorSyncEventProjection + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**message** | **String** | | [optional] | +|**id** | **UUID** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**connectorId** | **UUID** | | | +|**syncCount** | **Long** | | | +|**syncStatus** | [**SyncStatusEnum**](#SyncStatusEnum) | | | + + + +## Enum: SyncStatusEnum + +| Name | Value | +|---- | -----| +| SUCCESS | "SUCCESS" | +| INTERNAL_ERROR | "INTERNAL_ERROR" | +| SUBSCRIPTION_ERROR | "SUBSCRIPTION_ERROR" | +| CONNECTION_ERROR | "CONNECTION_ERROR" | +| NOT_FOUND | "NOT_FOUND" | + + + diff --git a/docs/ConnectorSyncRequestResult.md b/docs/ConnectorSyncRequestResult.md new file mode 100644 index 000000000..71c9033a4 --- /dev/null +++ b/docs/ConnectorSyncRequestResult.md @@ -0,0 +1,15 @@ + + +# ConnectorSyncRequestResult + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**syncResult** | [**ConnectorSyncResult**](ConnectorSyncResult) | | [optional] | +|**exception** | [**ConnectorSyncRequestResultException**](ConnectorSyncRequestResultException) | | [optional] | +|**eventId** | **UUID** | | [optional] | + + + diff --git a/docs/ConnectorSyncRequestResultException.md b/docs/ConnectorSyncRequestResultException.md new file mode 100644 index 000000000..9cb5f920a --- /dev/null +++ b/docs/ConnectorSyncRequestResultException.md @@ -0,0 +1,17 @@ + + +# ConnectorSyncRequestResultException + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**cause** | [**ConnectorSyncRequestResultExceptionCause**](ConnectorSyncRequestResultExceptionCause) | | [optional] | +|**stackTrace** | [**List<ConnectorSyncRequestResultExceptionCauseStackTraceInner>**](ConnectorSyncRequestResultExceptionCauseStackTraceInner) | | [optional] | +|**message** | **String** | | [optional] | +|**suppressed** | [**List<ConnectorSyncRequestResultExceptionCauseSuppressedInner>**](ConnectorSyncRequestResultExceptionCauseSuppressedInner) | | [optional] | +|**localizedMessage** | **String** | | [optional] | + + + diff --git a/docs/ConnectorSyncRequestResultExceptionCause.md b/docs/ConnectorSyncRequestResultExceptionCause.md new file mode 100644 index 000000000..f1c41228d --- /dev/null +++ b/docs/ConnectorSyncRequestResultExceptionCause.md @@ -0,0 +1,16 @@ + + +# ConnectorSyncRequestResultExceptionCause + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**stackTrace** | [**List<ConnectorSyncRequestResultExceptionCauseStackTraceInner>**](ConnectorSyncRequestResultExceptionCauseStackTraceInner) | | [optional] | +|**message** | **String** | | [optional] | +|**suppressed** | [**List<ConnectorSyncRequestResultExceptionCauseSuppressedInner>**](ConnectorSyncRequestResultExceptionCauseSuppressedInner) | | [optional] | +|**localizedMessage** | **String** | | [optional] | + + + diff --git a/docs/ConnectorSyncRequestResultExceptionCauseStackTraceInner.md b/docs/ConnectorSyncRequestResultExceptionCauseStackTraceInner.md new file mode 100644 index 000000000..d37e586a5 --- /dev/null +++ b/docs/ConnectorSyncRequestResultExceptionCauseStackTraceInner.md @@ -0,0 +1,20 @@ + + +# ConnectorSyncRequestResultExceptionCauseStackTraceInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**classLoaderName** | **String** | | [optional] | +|**moduleName** | **String** | | [optional] | +|**moduleVersion** | **String** | | [optional] | +|**methodName** | **String** | | [optional] | +|**fileName** | **String** | | [optional] | +|**lineNumber** | **Integer** | | [optional] | +|**nativeMethod** | **Boolean** | | [optional] | +|**className** | **String** | | [optional] | + + + diff --git a/docs/ConnectorSyncRequestResultExceptionCauseSuppressedInner.md b/docs/ConnectorSyncRequestResultExceptionCauseSuppressedInner.md new file mode 100644 index 000000000..21f6d49e3 --- /dev/null +++ b/docs/ConnectorSyncRequestResultExceptionCauseSuppressedInner.md @@ -0,0 +1,15 @@ + + +# ConnectorSyncRequestResultExceptionCauseSuppressedInner + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**stackTrace** | [**List<ConnectorSyncRequestResultExceptionCauseStackTraceInner>**](ConnectorSyncRequestResultExceptionCauseStackTraceInner) | | [optional] | +|**message** | **String** | | [optional] | +|**localizedMessage** | **String** | | [optional] | + + + diff --git a/docs/ConnectorSyncResult.md b/docs/ConnectorSyncResult.md new file mode 100644 index 000000000..ed0ea2adc --- /dev/null +++ b/docs/ConnectorSyncResult.md @@ -0,0 +1,14 @@ + + +# ConnectorSyncResult + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**emailSyncCount** | **Long** | | | +|**logLines** | **List<String>** | | [optional] | + + + diff --git a/docs/ContactControllerApi.md b/docs/ContactControllerApi.md new file mode 100644 index 000000000..be29bd915 --- /dev/null +++ b/docs/ContactControllerApi.md @@ -0,0 +1,419 @@ +# ContactControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createContact**](ContactControllerApi#createContact) | **POST** /contacts | Create a contact | +| [**deleteContact**](ContactControllerApi#deleteContact) | **DELETE** /contacts/{contactId} | Delete contact | +| [**getAllContacts**](ContactControllerApi#getAllContacts) | **GET** /contacts/paginated | Get all contacts | +| [**getContact**](ContactControllerApi#getContact) | **GET** /contacts/{contactId} | Get contact | +| [**getContactVCard**](ContactControllerApi#getContactVCard) | **GET** /contacts/{contactId}/download | Get contact vCard vcf file | +| [**getContacts**](ContactControllerApi#getContacts) | **GET** /contacts | Get all contacts | + + + +# **createContact** +> ContactDto createContact(createContactOptions) + +Create a contact + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ContactControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ContactControllerApi apiInstance = new ContactControllerApi(defaultClient); + CreateContactOptions createContactOptions = new CreateContactOptions(); // CreateContactOptions | + try { + ContactDto result = apiInstance.createContact(createContactOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ContactControllerApi#createContact"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createContactOptions** | [**CreateContactOptions**](CreateContactOptions)| | | + +### Return type + +[**ContactDto**](ContactDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **deleteContact** +> deleteContact(contactId) + +Delete contact + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ContactControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ContactControllerApi apiInstance = new ContactControllerApi(defaultClient); + UUID contactId = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteContact(contactId); + } catch (ApiException e) { + System.err.println("Exception when calling ContactControllerApi#deleteContact"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **contactId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getAllContacts** +> PageContactProjection getAllContacts(page, size, sort, since, before) + +Get all contacts + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ContactControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ContactControllerApi apiInstance = new ContactControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageContactProjection result = apiInstance.getAllContacts(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ContactControllerApi#getAllContacts"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageContactProjection**](PageContactProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getContact** +> ContactDto getContact(contactId) + +Get contact + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ContactControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ContactControllerApi apiInstance = new ContactControllerApi(defaultClient); + UUID contactId = UUID.randomUUID(); // UUID | + try { + ContactDto result = apiInstance.getContact(contactId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ContactControllerApi#getContact"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **contactId** | **UUID**| | | + +### Return type + +[**ContactDto**](ContactDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getContactVCard** +> List<byte[]> getContactVCard(contactId) + +Get contact vCard vcf file + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ContactControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ContactControllerApi apiInstance = new ContactControllerApi(defaultClient); + UUID contactId = UUID.randomUUID(); // UUID | + try { + List result = apiInstance.getContactVCard(contactId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ContactControllerApi#getContactVCard"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **contactId** | **UUID**| | | + +### Return type + +**List<byte[]>** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getContacts** +> List<ContactProjection> getContacts() + +Get all contacts + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ContactControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ContactControllerApi apiInstance = new ContactControllerApi(defaultClient); + try { + List result = apiInstance.getContacts(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ContactControllerApi#getContacts"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**List<ContactProjection>**](ContactProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/ContactDto.md b/docs/ContactDto.md new file mode 100644 index 000000000..dbfc6eb6a --- /dev/null +++ b/docs/ContactDto.md @@ -0,0 +1,24 @@ + + +# ContactDto + +Contact object. For saving a user in contact book. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**groupId** | **UUID** | | [optional] | +|**firstName** | **String** | | [optional] | +|**lastName** | **String** | | [optional] | +|**company** | **String** | | [optional] | +|**emailAddresses** | **List<String>** | | | +|**primaryEmailAddress** | **String** | | [optional] | +|**tags** | **List<String>** | | | +|**metaData** | **Object** | | [optional] | +|**optOut** | **Boolean** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | + + + diff --git a/docs/ContactProjection.md b/docs/ContactProjection.md new file mode 100644 index 000000000..dfb4046de --- /dev/null +++ b/docs/ContactProjection.md @@ -0,0 +1,22 @@ + + +# ContactProjection + +Email contact for address book + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**groupId** | **UUID** | | [optional] | +|**emailAddress** | **String** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**firstName** | **String** | | [optional] | +|**lastName** | **String** | | [optional] | +|**company** | **String** | | [optional] | +|**emailAddresses** | **List<String>** | | [optional] | +|**optOut** | **Boolean** | | | + + + diff --git a/docs/ContentMatchOptions.md b/docs/ContentMatchOptions.md new file mode 100644 index 000000000..d8e149638 --- /dev/null +++ b/docs/ContentMatchOptions.md @@ -0,0 +1,14 @@ + + +# ContentMatchOptions + +Options for matching content using regex patterns based on Java Pattern syntax + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**pattern** | **String** | Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns. | | + + + diff --git a/docs/CountDto.md b/docs/CountDto.md new file mode 100644 index 000000000..c666ba897 --- /dev/null +++ b/docs/CountDto.md @@ -0,0 +1,14 @@ + + +# CountDto + +Number of elements + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**totalElements** | **Long** | | | + + + diff --git a/docs/CreateAliasOptions.md b/docs/CreateAliasOptions.md new file mode 100644 index 000000000..40699440a --- /dev/null +++ b/docs/CreateAliasOptions.md @@ -0,0 +1,17 @@ + + +# CreateAliasOptions + +Create email alias options. Email aliases can be used to mask real email addresses behind an ID. You can also attach an inbox to an alias so that any email received by the inbox email address if forwarded to the alias email address. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**emailAddress** | **String** | Email address to be hidden behind alias. Emails sent to the alias email address will be forwarded to this address. If you want to enable replies set useThreads true and the reply-to for the email will allow outbound communication via a thread. Some email addresses may require verification if they are not added as a contact first. | | +|**inboxId** | **UUID** | Optional inbox ID to attach to alias. Null by default means an a new inbox will be created for the alias. Use a custom inbox to control what email address the alias uses. To use custom email addresses create a domain and an inbox, the use the inbox ID with this call. Emails received by this inbox will be forwarded to the alias email address | [optional] | +|**name** | **String** | Optional name for alias | [optional] | +|**useThreads** | **Boolean** | Enable threads options. If true emails will be sent with a unique reply-to thread address. This means you can reply to the forwarded email and it will be sent to the recipients via your alias address. That way a thread conversation is preserved. | | + + + diff --git a/docs/CreateConnectorImapOptions.md b/docs/CreateConnectorImapOptions.md new file mode 100644 index 000000000..1758fc5f7 --- /dev/null +++ b/docs/CreateConnectorImapOptions.md @@ -0,0 +1,17 @@ + + +# CreateConnectorImapOptions + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**host** | **String** | | | +|**port** | **Integer** | | | +|**username** | **String** | | | +|**password** | **String** | | | +|**useSSL** | **Boolean** | | | + + + diff --git a/docs/CreateConnectorOptions.md b/docs/CreateConnectorOptions.md new file mode 100644 index 000000000..768f4ac4e --- /dev/null +++ b/docs/CreateConnectorOptions.md @@ -0,0 +1,43 @@ + + +# CreateConnectorOptions + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**connectorType** | [**ConnectorTypeEnum**](#ConnectorTypeEnum) | | | +|**connectorAuthType** | [**ConnectorAuthTypeEnum**](#ConnectorAuthTypeEnum) | | | +|**imapSettings** | [**CreateConnectorImapOptions**](CreateConnectorImapOptions) | | [optional] | +|**inboxId** | **UUID** | | [optional] | +|**syncEnabled** | **Boolean** | | | +|**syncScheduleType** | [**SyncScheduleTypeEnum**](#SyncScheduleTypeEnum) | | | +|**syncInterval** | **Integer** | | [optional] | + + + +## Enum: ConnectorTypeEnum + +| Name | Value | +|---- | -----| +| IMAP | "IMAP" | + + + +## Enum: ConnectorAuthTypeEnum + +| Name | Value | +|---- | -----| +| PLAIN_TEXT | "PLAIN_TEXT" | + + + +## Enum: SyncScheduleTypeEnum + +| Name | Value | +|---- | -----| +| INTERVAL | "INTERVAL" | + + + diff --git a/docs/CreateContactOptions.md b/docs/CreateContactOptions.md new file mode 100644 index 000000000..3da86701d --- /dev/null +++ b/docs/CreateContactOptions.md @@ -0,0 +1,21 @@ + + +# CreateContactOptions + +Options for creating an email contact in address book + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**firstName** | **String** | | [optional] | +|**lastName** | **String** | | [optional] | +|**company** | **String** | | [optional] | +|**emailAddresses** | **List<String>** | Set of email addresses belonging to the contact | [optional] | +|**tags** | **List<String>** | Tags that can be used to search and group contacts | [optional] | +|**metaData** | **Object** | | [optional] | +|**optOut** | **Boolean** | Has the user explicitly or implicitly opted out of being contacted? If so MailSlurp will ignore them in all actions. | [optional] | +|**groupId** | **UUID** | Group IDs that contact belongs to | [optional] | + + + diff --git a/docs/CreateDomainOptions.md b/docs/CreateDomainOptions.md new file mode 100644 index 000000000..03588aa8f --- /dev/null +++ b/docs/CreateDomainOptions.md @@ -0,0 +1,26 @@ + + +# CreateDomainOptions + +Options for creating a domain to use with MailSlurp. You must have ownership access to this domain in order to verify it. Domains will not function correctly until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains for help. Domains can be either `HTTP` or `SMTP` type. The type of domain determines which inboxes can be used with it. `SMTP` inboxes use a mail server running `mx.mailslurp.com` while `HTTP` inboxes are handled by AWS SES. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**domain** | **String** | The top level domain you wish to use with MailSlurp. Do not specify subdomain just the top level. So `test.com` covers all subdomains such as `mail.test.com`. Don't include a protocol such as `http://`. Once added you must complete the verification steps by adding the returned records to your domain. | | +|**description** | **String** | Optional description of the domain. | [optional] | +|**createdCatchAllInbox** | **Boolean** | Whether to create a catch all inbox for the domain. Any email sent to an address using your domain that cannot be matched to an existing inbox you created with the domain will be routed to the created catch all inbox. You can access emails using the regular methods on this inbox ID. | [optional] | +|**domainType** | [**DomainTypeEnum**](#DomainTypeEnum) | Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. | [optional] | + + + +## Enum: DomainTypeEnum + +| Name | Value | +|---- | -----| +| HTTP_INBOX | "HTTP_INBOX" | +| SMTP_DOMAIN | "SMTP_DOMAIN" | + + + diff --git a/docs/CreateEmergencyAddressOptions.md b/docs/CreateEmergencyAddressOptions.md new file mode 100644 index 000000000..8db2c6b93 --- /dev/null +++ b/docs/CreateEmergencyAddressOptions.md @@ -0,0 +1,29 @@ + + +# CreateEmergencyAddressOptions + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**customerName** | **String** | | | +|**address1** | **String** | | | +|**city** | **String** | | | +|**region** | **String** | | | +|**postalCode** | **String** | | | +|**isoCountryCode** | [**IsoCountryCodeEnum**](#IsoCountryCodeEnum) | | | +|**displayName** | **String** | | [optional] | + + + +## Enum: IsoCountryCodeEnum + +| Name | Value | +|---- | -----| +| US | "US" | +| GB | "GB" | +| AU | "AU" | + + + diff --git a/docs/CreateGroupOptions.md b/docs/CreateGroupOptions.md new file mode 100644 index 000000000..6119f20c7 --- /dev/null +++ b/docs/CreateGroupOptions.md @@ -0,0 +1,15 @@ + + +# CreateGroupOptions + +Create contact group options + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | | | +|**description** | **String** | | [optional] | + + + diff --git a/docs/CreateInboxDto.md b/docs/CreateInboxDto.md new file mode 100644 index 000000000..cfd472b59 --- /dev/null +++ b/docs/CreateInboxDto.md @@ -0,0 +1,36 @@ + + +# CreateInboxDto + +Options for creating an inbox. An inbox has a real email address that can send and receive emails. Inboxes can be permanent or expire at a given time. Inboxes are either `SMTP` or `HTTP` mailboxes. `SMTP` inboxes are processed by a mail server running at `mailslurp.mx` while `HTTP` inboxes are processed by AWS SES backed mailservers. An inbox email address is randomly assigned by default ending in either `mailslurp.com` or (if `useDomainPool` is enabled) ending in a similar domain such as `mailslurp.xyz` (selected at random). To specify an address use a custom domain: either pass the `emailAddress` options with `@`. To create a randomized address for your domain set the `domainName` to the domain you have verified or pass the `domainId`. Virtual inboxes prevent outbound sending and instead trap mail. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**emailAddress** | **String** | A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. | [optional] | +|**domainName** | **String** | FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. | [optional] | +|**domainId** | **UUID** | ID of custom domain to use for email address. | [optional] | +|**name** | **String** | Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. | [optional] | +|**description** | **String** | Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with | [optional] | +|**useDomainPool** | **Boolean** | Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. | [optional] | +|**tags** | **List<String>** | Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. | [optional] | +|**expiresAt** | **OffsetDateTime** | Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. | [optional] | +|**favourite** | **Boolean** | Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering | [optional] | +|**expiresIn** | **Long** | Number of milliseconds that inbox should exist for | [optional] | +|**allowTeamAccess** | **Boolean** | DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. | [optional] | +|**inboxType** | [**InboxTypeEnum**](#InboxTypeEnum) | Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). | [optional] | +|**virtualInbox** | **Boolean** | Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. | [optional] | +|**useShortAddress** | **Boolean** | Use a shorter email address under 31 characters | [optional] | + + + +## Enum: InboxTypeEnum + +| Name | Value | +|---- | -----| +| HTTP_INBOX | "HTTP_INBOX" | +| SMTP_INBOX | "SMTP_INBOX" | + + + diff --git a/docs/CreateInboxForwarderOptions.md b/docs/CreateInboxForwarderOptions.md new file mode 100644 index 000000000..41eab8bdd --- /dev/null +++ b/docs/CreateInboxForwarderOptions.md @@ -0,0 +1,27 @@ + + +# CreateInboxForwarderOptions + +Options for creating an inbox forwarder + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**field** | [**FieldEnum**](#FieldEnum) | Field to match against to trigger inbox forwarding for inbound email | | +|**match** | **String** | String or wildcard style match for field specified when evaluating forwarding rules | | +|**forwardToRecipients** | **List<String>** | Email addresses to forward an email to if it matches the field and match criteria of the forwarder | | + + + +## Enum: FieldEnum + +| Name | Value | +|---- | -----| +| RECIPIENTS | "RECIPIENTS" | +| SENDER | "SENDER" | +| SUBJECT | "SUBJECT" | +| ATTACHMENTS | "ATTACHMENTS" | + + + diff --git a/docs/CreateInboxReplierOptions.md b/docs/CreateInboxReplierOptions.md new file mode 100644 index 000000000..f0b58702e --- /dev/null +++ b/docs/CreateInboxReplierOptions.md @@ -0,0 +1,37 @@ + + +# CreateInboxReplierOptions + +Options for creating an inbox replier. Repliers can be attached to inboxes and send automated responses when an inbound email matches given criteria. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**inboxId** | **UUID** | Inbox ID to attach replier to | | +|**name** | **String** | Name for replier | [optional] | +|**field** | [**FieldEnum**](#FieldEnum) | Field to match against to trigger inbox replier for inbound email | | +|**match** | **String** | String or wildcard style match for field specified when evaluating reply rules. Use `*` to match anything. | | +|**replyTo** | **String** | Reply-to email address when sending replying | [optional] | +|**subject** | **String** | Subject override when replying to email | [optional] | +|**from** | **String** | Send email from address | [optional] | +|**charset** | **String** | Email reply charset | [optional] | +|**ignoreReplyTo** | **Boolean** | Ignore sender replyTo when responding. Send directly to the sender if enabled. | [optional] | +|**isHTML** | **Boolean** | Send HTML email | [optional] | +|**body** | **String** | Email body for reply | [optional] | +|**templateId** | **UUID** | ID of template to use when sending a reply | [optional] | +|**templateVariables** | **Map<String, Object>** | Template variable values | [optional] | + + + +## Enum: FieldEnum + +| Name | Value | +|---- | -----| +| RECIPIENTS | "RECIPIENTS" | +| SENDER | "SENDER" | +| SUBJECT | "SUBJECT" | +| ATTACHMENTS | "ATTACHMENTS" | + + + diff --git a/docs/CreateInboxRulesetOptions.md b/docs/CreateInboxRulesetOptions.md new file mode 100644 index 000000000..492e05f1a --- /dev/null +++ b/docs/CreateInboxRulesetOptions.md @@ -0,0 +1,35 @@ + + +# CreateInboxRulesetOptions + +Options for creating inbox rulesets. Inbox rulesets can be used to block, allow, filter, or forward emails when sending or receiving using the inbox. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**scope** | [**ScopeEnum**](#ScopeEnum) | What type of emails actions to apply ruleset to. Either `SENDING_EMAILS` or `RECEIVING_EMAILS` will apply action and target to any sending or receiving of emails respectively. | | +|**action** | [**ActionEnum**](#ActionEnum) | Action to be taken when the ruleset matches an email for the given scope. For example: `BLOCK` action with target `*` and scope `SENDING_EMAILS` blocks sending to all recipients. Note `ALLOW` takes precedent over `BLOCK`. `FILTER_REMOVE` is like block but will remove offending email addresses during a send or receive event instead of blocking the action. | | +|**target** | **String** | Target to match emails with. Can be a wild-card type pattern or a valid email address. For instance `*@gmail.com` matches all gmail addresses while `test@gmail.com` matches one address exactly. The target is applied to every recipient field email address when `SENDING_EMAILS` is the scope and is applied to sender of email when `RECEIVING_EMAILS`. | | + + + +## Enum: ScopeEnum + +| Name | Value | +|---- | -----| +| RECEIVING_EMAILS | "RECEIVING_EMAILS" | +| SENDING_EMAILS | "SENDING_EMAILS" | + + + +## Enum: ActionEnum + +| Name | Value | +|---- | -----| +| BLOCK | "BLOCK" | +| ALLOW | "ALLOW" | +| FILTER_REMOVE | "FILTER_REMOVE" | + + + diff --git a/docs/CreateTemplateOptions.md b/docs/CreateTemplateOptions.md new file mode 100644 index 000000000..ed887e353 --- /dev/null +++ b/docs/CreateTemplateOptions.md @@ -0,0 +1,15 @@ + + +# CreateTemplateOptions + +Create template options + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Name of template | | +|**content** | **String** | Template content. Can include moustache style variables such as {{var_name}} | | + + + diff --git a/docs/CreateTrackingPixelOptions.md b/docs/CreateTrackingPixelOptions.md new file mode 100644 index 000000000..4da31df6a --- /dev/null +++ b/docs/CreateTrackingPixelOptions.md @@ -0,0 +1,15 @@ + + +# CreateTrackingPixelOptions + +Options for creating a tracking pixel for email open tracking + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | | [optional] | +|**recipient** | **String** | | [optional] | + + + diff --git a/docs/CreateWebhookOptions.md b/docs/CreateWebhookOptions.md new file mode 100644 index 000000000..9823a93b7 --- /dev/null +++ b/docs/CreateWebhookOptions.md @@ -0,0 +1,38 @@ + + +# CreateWebhookOptions + +Options for creating a webhook. Webhooks can be attached to inboxes and MailSlurp will POST a webhook payload to the URL specified whenever the webhook's event is triggered. Webhooks are great for processing many inbound emails and responding to other events at scale. Customize the payload sent to your endpoint by setting the `requestBodyTemplate` property to a string with moustache style variables. Property names from the standard payload model for the given event are available as variables. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**url** | **String** | Public URL on your server that MailSlurp can post WebhookNotification payload to when an email is received or an event is trigger. The payload of the submitted JSON is dependent on the webhook event type. See docs.mailslurp.com/webhooks for event payload documentation. | | +|**basicAuth** | [**BasicAuthOptions**](BasicAuthOptions) | | [optional] | +|**name** | **String** | Optional name for the webhook | [optional] | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | Optional webhook event name. Default is `EMAIL_RECEIVED` and is triggered when an email is received by the inbox associated with the webhook. Payload differ according to the webhook event name. | [optional] | +|**includeHeaders** | [**WebhookHeaders**](WebhookHeaders) | | [optional] | +|**requestBodyTemplate** | **String** | Template for the JSON body of the webhook request that will be sent to your server. Use Moustache style `{{variableName}}` templating to use parts of the standard webhook payload for the given event. | [optional] | +|**useStaticIpRange** | **Boolean** | Use static IP range when calling webhook endpoint | [optional] | +|**ignoreInsecureSslCertificates** | **Boolean** | Ignore insecure SSL certificates when sending request. Useful for self-signed certs. | [optional] | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/DNSLookupOptions.md b/docs/DNSLookupOptions.md new file mode 100644 index 000000000..55d6fb8f2 --- /dev/null +++ b/docs/DNSLookupOptions.md @@ -0,0 +1,112 @@ + + +# DNSLookupOptions + +Options for DNS query. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**hostname** | **String** | List of record types you wish to query such as MX, DNS, TXT, NS, A etc. | | +|**recordTypes** | [**List<RecordTypesEnum>**](#List<RecordTypesEnum>) | List of record types you wish to query such as MX, DNS, TXT, NS, A etc. | | +|**omitFinalDNSDot** | **Boolean** | Optionally control whether to omit the final dot in full DNS name values. | | + + + +## Enum: List<RecordTypesEnum> + +| Name | Value | +|---- | -----| +| A | "A" | +| NS | "NS" | +| MD | "MD" | +| MF | "MF" | +| CNAME | "CNAME" | +| SOA | "SOA" | +| MB | "MB" | +| MG | "MG" | +| MR | "MR" | +| NULL | "NULL" | +| WKS | "WKS" | +| PTR | "PTR" | +| HINFO | "HINFO" | +| MINFO | "MINFO" | +| MX | "MX" | +| TXT | "TXT" | +| RP | "RP" | +| AFSDB | "AFSDB" | +| X25 | "X25" | +| ISDN | "ISDN" | +| RT | "RT" | +| NSAP | "NSAP" | +| NSAP_PTR | "NSAP_PTR" | +| SIG | "SIG" | +| KEY | "KEY" | +| PX | "PX" | +| GPOS | "GPOS" | +| AAAA | "AAAA" | +| LOC | "LOC" | +| NXT | "NXT" | +| EID | "EID" | +| NIMLOC | "NIMLOC" | +| SRV | "SRV" | +| ATMA | "ATMA" | +| NAPTR | "NAPTR" | +| KX | "KX" | +| CERT | "CERT" | +| A6 | "A6" | +| DNAME | "DNAME" | +| SINK | "SINK" | +| OPT | "OPT" | +| APL | "APL" | +| DS | "DS" | +| SSHFP | "SSHFP" | +| IPSECKEY | "IPSECKEY" | +| RRSIG | "RRSIG" | +| NSEC | "NSEC" | +| DNSKEY | "DNSKEY" | +| DHCID | "DHCID" | +| NSEC3 | "NSEC3" | +| NSEC3PARAM | "NSEC3PARAM" | +| TLSA | "TLSA" | +| SMIMEA | "SMIMEA" | +| HIP | "HIP" | +| NINFO | "NINFO" | +| RKEY | "RKEY" | +| TALINK | "TALINK" | +| CDS | "CDS" | +| CDNSKEY | "CDNSKEY" | +| OPENPGPKEY | "OPENPGPKEY" | +| CSYNC | "CSYNC" | +| ZONEMD | "ZONEMD" | +| SVCB | "SVCB" | +| HTTPS | "HTTPS" | +| SPF | "SPF" | +| UINFO | "UINFO" | +| UID | "UID" | +| GID | "GID" | +| UNSPEC | "UNSPEC" | +| NID | "NID" | +| L32 | "L32" | +| L64 | "L64" | +| LP | "LP" | +| EUI48 | "EUI48" | +| EUI64 | "EUI64" | +| TKEY | "TKEY" | +| TSIG | "TSIG" | +| IXFR | "IXFR" | +| AXFR | "AXFR" | +| MAILB | "MAILB" | +| MAILA | "MAILA" | +| ANY | "ANY" | +| URI | "URI" | +| CAA | "CAA" | +| AVC | "AVC" | +| DOA | "DOA" | +| AMTRELAY | "AMTRELAY" | +| TA | "TA" | +| DLV | "DLV" | + + + diff --git a/docs/DNSLookupResult.md b/docs/DNSLookupResult.md new file mode 100644 index 000000000..fcfb963d1 --- /dev/null +++ b/docs/DNSLookupResult.md @@ -0,0 +1,113 @@ + + +# DNSLookupResult + +DNS lookup result. Includes record type, time to live, raw response, and name value for the name server response. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**recordType** | [**RecordTypeEnum**](#RecordTypeEnum) | Domain Name Server Record Types | | +|**ttl** | **Long** | | | +|**recordEntries** | **List<String>** | | | +|**name** | **String** | | | + + + +## Enum: RecordTypeEnum + +| Name | Value | +|---- | -----| +| A | "A" | +| NS | "NS" | +| MD | "MD" | +| MF | "MF" | +| CNAME | "CNAME" | +| SOA | "SOA" | +| MB | "MB" | +| MG | "MG" | +| MR | "MR" | +| NULL | "NULL" | +| WKS | "WKS" | +| PTR | "PTR" | +| HINFO | "HINFO" | +| MINFO | "MINFO" | +| MX | "MX" | +| TXT | "TXT" | +| RP | "RP" | +| AFSDB | "AFSDB" | +| X25 | "X25" | +| ISDN | "ISDN" | +| RT | "RT" | +| NSAP | "NSAP" | +| NSAP_PTR | "NSAP_PTR" | +| SIG | "SIG" | +| KEY | "KEY" | +| PX | "PX" | +| GPOS | "GPOS" | +| AAAA | "AAAA" | +| LOC | "LOC" | +| NXT | "NXT" | +| EID | "EID" | +| NIMLOC | "NIMLOC" | +| SRV | "SRV" | +| ATMA | "ATMA" | +| NAPTR | "NAPTR" | +| KX | "KX" | +| CERT | "CERT" | +| A6 | "A6" | +| DNAME | "DNAME" | +| SINK | "SINK" | +| OPT | "OPT" | +| APL | "APL" | +| DS | "DS" | +| SSHFP | "SSHFP" | +| IPSECKEY | "IPSECKEY" | +| RRSIG | "RRSIG" | +| NSEC | "NSEC" | +| DNSKEY | "DNSKEY" | +| DHCID | "DHCID" | +| NSEC3 | "NSEC3" | +| NSEC3PARAM | "NSEC3PARAM" | +| TLSA | "TLSA" | +| SMIMEA | "SMIMEA" | +| HIP | "HIP" | +| NINFO | "NINFO" | +| RKEY | "RKEY" | +| TALINK | "TALINK" | +| CDS | "CDS" | +| CDNSKEY | "CDNSKEY" | +| OPENPGPKEY | "OPENPGPKEY" | +| CSYNC | "CSYNC" | +| ZONEMD | "ZONEMD" | +| SVCB | "SVCB" | +| HTTPS | "HTTPS" | +| SPF | "SPF" | +| UINFO | "UINFO" | +| UID | "UID" | +| GID | "GID" | +| UNSPEC | "UNSPEC" | +| NID | "NID" | +| L32 | "L32" | +| L64 | "L64" | +| LP | "LP" | +| EUI48 | "EUI48" | +| EUI64 | "EUI64" | +| TKEY | "TKEY" | +| TSIG | "TSIG" | +| IXFR | "IXFR" | +| AXFR | "AXFR" | +| MAILB | "MAILB" | +| MAILA | "MAILA" | +| ANY | "ANY" | +| URI | "URI" | +| CAA | "CAA" | +| AVC | "AVC" | +| DOA | "DOA" | +| AMTRELAY | "AMTRELAY" | +| TA | "TA" | +| DLV | "DLV" | + + + diff --git a/docs/DNSLookupResults.md b/docs/DNSLookupResults.md new file mode 100644 index 000000000..36f850aad --- /dev/null +++ b/docs/DNSLookupResults.md @@ -0,0 +1,14 @@ + + +# DNSLookupResults + +Results of query on domain name servers + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**results** | [**List<DNSLookupResult>**](DNSLookupResult) | | | + + + diff --git a/docs/DeliveryStatusDto.md b/docs/DeliveryStatusDto.md new file mode 100644 index 000000000..516c3d0a2 --- /dev/null +++ b/docs/DeliveryStatusDto.md @@ -0,0 +1,26 @@ + + +# DeliveryStatusDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**sentId** | **UUID** | | [optional] | +|**remoteMtaIp** | **String** | | [optional] | +|**inboxId** | **UUID** | | [optional] | +|**reportingMta** | **String** | | [optional] | +|**recipients** | **List<String>** | | [optional] | +|**smtpResponse** | **String** | | [optional] | +|**smtpStatusCode** | **Integer** | | [optional] | +|**processingTimeMillis** | **Long** | | [optional] | +|**received** | **OffsetDateTime** | | [optional] | +|**subject** | **String** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | + + + diff --git a/docs/DescribeDomainOptions.md b/docs/DescribeDomainOptions.md new file mode 100644 index 000000000..0b3f48f8f --- /dev/null +++ b/docs/DescribeDomainOptions.md @@ -0,0 +1,14 @@ + + +# DescribeDomainOptions + +Domain record description + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**domain** | **String** | | | + + + diff --git a/docs/DescribeMailServerDomainResult.md b/docs/DescribeMailServerDomainResult.md new file mode 100644 index 000000000..0cac348b6 --- /dev/null +++ b/docs/DescribeMailServerDomainResult.md @@ -0,0 +1,16 @@ + + +# DescribeMailServerDomainResult + +Name Server lookup result + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**mxRecords** | [**List<NameServerRecord>**](NameServerRecord) | | | +|**domain** | **String** | | | +|**message** | **String** | | [optional] | + + + diff --git a/docs/DomainControllerApi.md b/docs/DomainControllerApi.md new file mode 100644 index 000000000..e621bf520 --- /dev/null +++ b/docs/DomainControllerApi.md @@ -0,0 +1,564 @@ +# DomainControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**addDomainWildcardCatchAll**](DomainControllerApi#addDomainWildcardCatchAll) | **POST** /domains/{id}/wildcard | Add catch all wild card inbox to domain | +| [**createDomain**](DomainControllerApi#createDomain) | **POST** /domains | Create Domain | +| [**deleteDomain**](DomainControllerApi#deleteDomain) | **DELETE** /domains/{id} | Delete a domain | +| [**getDomain**](DomainControllerApi#getDomain) | **GET** /domains/{id} | Get a domain | +| [**getDomainIssues**](DomainControllerApi#getDomainIssues) | **GET** /domains/issues | Get domain issues | +| [**getDomainWildcardCatchAllInbox**](DomainControllerApi#getDomainWildcardCatchAllInbox) | **GET** /domains/{id}/wildcard | Get catch all wild card inbox for domain | +| [**getDomains**](DomainControllerApi#getDomains) | **GET** /domains | Get domains | +| [**updateDomain**](DomainControllerApi#updateDomain) | **PUT** /domains/{id} | Update a domain | + + + +# **addDomainWildcardCatchAll** +> DomainDto addDomainWildcardCatchAll(id) + +Add catch all wild card inbox to domain + +Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.DomainControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + DomainControllerApi apiInstance = new DomainControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + DomainDto result = apiInstance.addDomainWildcardCatchAll(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DomainControllerApi#addDomainWildcardCatchAll"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +[**DomainDto**](DomainDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **createDomain** +> DomainDto createDomain(createDomainOptions) + +Create Domain + +Link a domain that you own with MailSlurp so you can create email addresses using it. Endpoint returns DNS records used for validation. You must add these verification records to your host provider's DNS setup to verify the domain. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.DomainControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + DomainControllerApi apiInstance = new DomainControllerApi(defaultClient); + CreateDomainOptions createDomainOptions = new CreateDomainOptions(); // CreateDomainOptions | + try { + DomainDto result = apiInstance.createDomain(createDomainOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DomainControllerApi#createDomain"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createDomainOptions** | [**CreateDomainOptions**](CreateDomainOptions)| | | + +### Return type + +[**DomainDto**](DomainDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **deleteDomain** +> List<String> deleteDomain(id) + +Delete a domain + +Delete a domain. This will disable any existing inboxes that use this domain. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.DomainControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + DomainControllerApi apiInstance = new DomainControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + List result = apiInstance.deleteDomain(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DomainControllerApi#deleteDomain"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +**List<String>** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getDomain** +> DomainDto getDomain(id, checkForErrors) + +Get a domain + +Returns domain verification status and tokens for a given domain + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.DomainControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + DomainControllerApi apiInstance = new DomainControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + Boolean checkForErrors = true; // Boolean | + try { + DomainDto result = apiInstance.getDomain(id, checkForErrors); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DomainControllerApi#getDomain"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | +| **checkForErrors** | **Boolean**| | [optional] | + +### Return type + +[**DomainDto**](DomainDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getDomainIssues** +> DomainIssuesDto getDomainIssues() + +Get domain issues + +List domain issues for domains you have created + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.DomainControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + DomainControllerApi apiInstance = new DomainControllerApi(defaultClient); + try { + DomainIssuesDto result = apiInstance.getDomainIssues(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DomainControllerApi#getDomainIssues"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**DomainIssuesDto**](DomainIssuesDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getDomainWildcardCatchAllInbox** +> InboxDto getDomainWildcardCatchAllInbox(id) + +Get catch all wild card inbox for domain + +Get the catch all inbox for a domain for missed emails + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.DomainControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + DomainControllerApi apiInstance = new DomainControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + InboxDto result = apiInstance.getDomainWildcardCatchAllInbox(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DomainControllerApi#getDomainWildcardCatchAllInbox"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +[**InboxDto**](InboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getDomains** +> List<DomainPreview> getDomains() + +Get domains + +List all custom domains you have created + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.DomainControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + DomainControllerApi apiInstance = new DomainControllerApi(defaultClient); + try { + List result = apiInstance.getDomains(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DomainControllerApi#getDomains"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**List<DomainPreview>**](DomainPreview) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **updateDomain** +> DomainDto updateDomain(id, updateDomainOptions) + +Update a domain + +Update values on a domain. Note you cannot change the domain name as it is immutable. Recreate the domain if you need to alter this. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.DomainControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + DomainControllerApi apiInstance = new DomainControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + UpdateDomainOptions updateDomainOptions = new UpdateDomainOptions(); // UpdateDomainOptions | + try { + DomainDto result = apiInstance.updateDomain(id, updateDomainOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DomainControllerApi#updateDomain"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | +| **updateDomainOptions** | [**UpdateDomainOptions**](UpdateDomainOptions)| | | + +### Return type + +[**DomainDto**](DomainDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/DomainDto.md b/docs/DomainDto.md new file mode 100644 index 000000000..237608c76 --- /dev/null +++ b/docs/DomainDto.md @@ -0,0 +1,35 @@ + + +# DomainDto + +Domain plus verification records and status + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**domain** | **String** | Custom domain name | | +|**verificationToken** | **String** | Verification tokens | | +|**dkimTokens** | **List<String>** | Unique token DKIM tokens | | +|**missingRecordsMessage** | **String** | If the domain is missing records then show which pairs are missing. | [optional] | +|**hasMissingRecords** | **Boolean** | Whether the domain has missing required records. If true then see the domain in the dashboard app. | | +|**isVerified** | **Boolean** | Whether domain has been verified or not. If the domain is not verified after 72 hours there is most likely an issue with the domains DNS records. | | +|**domainNameRecords** | [**List<DomainNameRecord>**](DomainNameRecord) | List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider. | | +|**catchAllInboxId** | **UUID** | The optional catch all inbox that will receive emails sent to the domain that cannot be matched. | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | +|**domainType** | [**DomainTypeEnum**](#DomainTypeEnum) | Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. | | + + + +## Enum: DomainTypeEnum + +| Name | Value | +|---- | -----| +| HTTP_INBOX | "HTTP_INBOX" | +| SMTP_DOMAIN | "SMTP_DOMAIN" | + + + diff --git a/docs/DomainIssuesDto.md b/docs/DomainIssuesDto.md new file mode 100644 index 000000000..1aa5d0c9f --- /dev/null +++ b/docs/DomainIssuesDto.md @@ -0,0 +1,13 @@ + + +# DomainIssuesDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**hasIssues** | **Boolean** | | | + + + diff --git a/docs/DomainNameRecord.md b/docs/DomainNameRecord.md new file mode 100644 index 000000000..048862fe4 --- /dev/null +++ b/docs/DomainNameRecord.md @@ -0,0 +1,127 @@ + + +# DomainNameRecord + +DNS Record required for verification of a domain. Record vary depending on domain type. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**label** | [**LabelEnum**](#LabelEnum) | Domain Name Server Record Label | | +|**required** | **Boolean** | | | +|**recordType** | [**RecordTypeEnum**](#RecordTypeEnum) | Domain Name Server Record Types | | +|**name** | **String** | | | +|**recordEntries** | **List<String>** | | | +|**ttl** | **Long** | | | + + + +## Enum: LabelEnum + +| Name | Value | +|---- | -----| +| VERIFICATION | "VERIFICATION" | +| MX | "MX" | +| SPF | "SPF" | +| DKIM | "DKIM" | +| DMARC | "DMARC" | + + + +## Enum: RecordTypeEnum + +| Name | Value | +|---- | -----| +| A | "A" | +| NS | "NS" | +| MD | "MD" | +| MF | "MF" | +| CNAME | "CNAME" | +| SOA | "SOA" | +| MB | "MB" | +| MG | "MG" | +| MR | "MR" | +| NULL | "NULL" | +| WKS | "WKS" | +| PTR | "PTR" | +| HINFO | "HINFO" | +| MINFO | "MINFO" | +| MX | "MX" | +| TXT | "TXT" | +| RP | "RP" | +| AFSDB | "AFSDB" | +| X25 | "X25" | +| ISDN | "ISDN" | +| RT | "RT" | +| NSAP | "NSAP" | +| NSAP_PTR | "NSAP_PTR" | +| SIG | "SIG" | +| KEY | "KEY" | +| PX | "PX" | +| GPOS | "GPOS" | +| AAAA | "AAAA" | +| LOC | "LOC" | +| NXT | "NXT" | +| EID | "EID" | +| NIMLOC | "NIMLOC" | +| SRV | "SRV" | +| ATMA | "ATMA" | +| NAPTR | "NAPTR" | +| KX | "KX" | +| CERT | "CERT" | +| A6 | "A6" | +| DNAME | "DNAME" | +| SINK | "SINK" | +| OPT | "OPT" | +| APL | "APL" | +| DS | "DS" | +| SSHFP | "SSHFP" | +| IPSECKEY | "IPSECKEY" | +| RRSIG | "RRSIG" | +| NSEC | "NSEC" | +| DNSKEY | "DNSKEY" | +| DHCID | "DHCID" | +| NSEC3 | "NSEC3" | +| NSEC3PARAM | "NSEC3PARAM" | +| TLSA | "TLSA" | +| SMIMEA | "SMIMEA" | +| HIP | "HIP" | +| NINFO | "NINFO" | +| RKEY | "RKEY" | +| TALINK | "TALINK" | +| CDS | "CDS" | +| CDNSKEY | "CDNSKEY" | +| OPENPGPKEY | "OPENPGPKEY" | +| CSYNC | "CSYNC" | +| ZONEMD | "ZONEMD" | +| SVCB | "SVCB" | +| HTTPS | "HTTPS" | +| SPF | "SPF" | +| UINFO | "UINFO" | +| UID | "UID" | +| GID | "GID" | +| UNSPEC | "UNSPEC" | +| NID | "NID" | +| L32 | "L32" | +| L64 | "L64" | +| LP | "LP" | +| EUI48 | "EUI48" | +| EUI64 | "EUI64" | +| TKEY | "TKEY" | +| TSIG | "TSIG" | +| IXFR | "IXFR" | +| AXFR | "AXFR" | +| MAILB | "MAILB" | +| MAILA | "MAILA" | +| ANY | "ANY" | +| URI | "URI" | +| CAA | "CAA" | +| AVC | "AVC" | +| DOA | "DOA" | +| AMTRELAY | "AMTRELAY" | +| TA | "TA" | +| DLV | "DLV" | + + + diff --git a/docs/DomainPreview.md b/docs/DomainPreview.md new file mode 100644 index 000000000..b60996f05 --- /dev/null +++ b/docs/DomainPreview.md @@ -0,0 +1,29 @@ + + +# DomainPreview + +Preview object for domain entity + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**domain** | **String** | | | +|**catchAllInboxId** | **UUID** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**domainType** | [**DomainTypeEnum**](#DomainTypeEnum) | Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. | | +|**isVerified** | **Boolean** | | | +|**hasMissingRecords** | **Boolean** | | | + + + +## Enum: DomainTypeEnum + +| Name | Value | +|---- | -----| +| HTTP_INBOX | "HTTP_INBOX" | +| SMTP_DOMAIN | "SMTP_DOMAIN" | + + + diff --git a/docs/DownloadAttachmentDto.md b/docs/DownloadAttachmentDto.md new file mode 100644 index 000000000..da99c97a1 --- /dev/null +++ b/docs/DownloadAttachmentDto.md @@ -0,0 +1,16 @@ + + +# DownloadAttachmentDto + +Content of attachment + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**base64FileContents** | **String** | Base64 encoded string of attachment bytes. Decode the base64 encoded string to get the raw contents. If the file has a content type such as `text/html` you can read the contents directly by converting it to string using `utf-8` encoding. | | +|**contentType** | **String** | Content type of attachment. Examples are `image/png`, `application/msword`, `text/csv` etc. | | +|**sizeBytes** | **Long** | Size in bytes of attachment content | | + + + diff --git a/docs/Email.md b/docs/Email.md new file mode 100644 index 000000000..1ca29e728 --- /dev/null +++ b/docs/Email.md @@ -0,0 +1,39 @@ + + +# Email + +Email entity (also known as EmailDto). When an SMTP email message is received by MailSlurp it is parsed. The body and attachments are written to disk and the fields such as to, from, subject etc are stored in a database. The `body` contains the email content. If you want the original SMTP message see the `getRawEmail` endpoints. The attachments can be fetched using the AttachmentController + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | ID of the email entity | | +|**userId** | **UUID** | ID of user that email belongs to | | +|**inboxId** | **UUID** | ID of the inbox that received the email | | +|**domainId** | **UUID** | ID of the domain that received the email | [optional] | +|**to** | **List<String>** | List of `To` recipient email addresses that the email was addressed to. See recipients object for names. | | +|**from** | **String** | Who the email was sent from. An email address - see fromName for the sender name. | [optional] | +|**sender** | [**Sender**](Sender) | | [optional] | +|**recipients** | [**EmailRecipients**](EmailRecipients) | | [optional] | +|**replyTo** | **String** | The `replyTo` field on the received email message | [optional] | +|**cc** | **List<String>** | List of `CC` recipients email addresses that the email was addressed to. See recipients object for names. | [optional] | +|**bcc** | **List<String>** | List of `BCC` recipients email addresses that the email was addressed to. See recipients object for names. | [optional] | +|**headers** | **Map<String, String>** | Collection of SMTP headers attached to email | [optional] | +|**headersMap** | **Map<String, List<String>>** | Multi-value map of SMTP headers attached to email | [optional] | +|**attachments** | **List<String>** | List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension. | [optional] | +|**subject** | **String** | The subject line of the email message as specified by SMTP subject header | [optional] | +|**body** | **String** | The body of the email message as text parsed from the SMTP message body (does not include attachments). Fetch the raw content to access the SMTP message and use the attachments property to access attachments. The body is stored separately to the email entity so the body is not returned in paginated results only in full single email or wait requests. | [optional] | +|**bodyExcerpt** | **String** | An excerpt of the body of the email message for quick preview . | [optional] | +|**bodyMD5Hash** | **String** | A hash signature of the email message using MD5. Useful for comparing emails without fetching full body. | [optional] | +|**isHTML** | **Boolean** | Is the email body content type HTML? | [optional] | +|**charset** | **String** | Detected character set of the email body such as UTF-8 | [optional] | +|**analysis** | [**EmailAnalysis**](EmailAnalysis) | | [optional] | +|**createdAt** | **OffsetDateTime** | When was the email received by MailSlurp | | +|**updatedAt** | **OffsetDateTime** | When was the email last updated | | +|**read** | **Boolean** | Read flag. Has the email ever been viewed in the dashboard or fetched via the API with a hydrated body? If so the email is marked as read. Paginated results do not affect read status. Read status is different to email opened event as it depends on your own account accessing the email. Email opened is determined by tracking pixels sent to other uses if enable during sending. You can listened for both email read and email opened events using webhooks. | | +|**teamAccess** | **Boolean** | Can the email be accessed by organization team members | | +|**html** | **Boolean** | | [optional] | + + + diff --git a/docs/EmailAnalysis.md b/docs/EmailAnalysis.md new file mode 100644 index 000000000..8f5729769 --- /dev/null +++ b/docs/EmailAnalysis.md @@ -0,0 +1,18 @@ + + +# EmailAnalysis + +Analysis result for email. Each verdict property is a string PASS|FAIL|GRAY or dynamic error message + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**spamVerdict** | **String** | Verdict of spam ranking analysis | [optional] | +|**virusVerdict** | **String** | Verdict of virus scan analysis | [optional] | +|**spfVerdict** | **String** | Verdict of Send Policy Framework record spoofing analysis | [optional] | +|**dkimVerdict** | **String** | Verdict of DomainKeys Identified Mail analysis | [optional] | +|**dmarcVerdict** | **String** | Verdict of Domain-based Message Authentication Reporting and Conformance analysis | [optional] | + + + diff --git a/docs/EmailContentMatchResult.md b/docs/EmailContentMatchResult.md new file mode 100644 index 000000000..b9cf9e90c --- /dev/null +++ b/docs/EmailContentMatchResult.md @@ -0,0 +1,15 @@ + + +# EmailContentMatchResult + +Matches for the given pattern + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**pattern** | **String** | | | +|**matches** | **List<String>** | | | + + + diff --git a/docs/EmailControllerApi.md b/docs/EmailControllerApi.md new file mode 100644 index 000000000..828ccfe85 --- /dev/null +++ b/docs/EmailControllerApi.md @@ -0,0 +1,2227 @@ +# EmailControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**applyImapFlagOperation**](EmailControllerApi#applyImapFlagOperation) | **POST** /emails/{emailId}/imap-flag-operation | Set IMAP flags associated with a message. Only supports '\\Seen' flag. | +| [**deleteAllEmails**](EmailControllerApi#deleteAllEmails) | **DELETE** /emails | Delete all emails in all inboxes. | +| [**deleteEmail**](EmailControllerApi#deleteEmail) | **DELETE** /emails/{emailId} | Delete an email | +| [**downloadAttachment**](EmailControllerApi#downloadAttachment) | **GET** /emails/{emailId}/attachments/{attachmentId} | Get email attachment bytes. Returned as `octet-stream` with content type header. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints and convert the base 64 encoded content to a file or string. | +| [**downloadAttachmentBase64**](EmailControllerApi#downloadAttachmentBase64) | **GET** /emails/{emailId}/attachments/{attachmentId}/base64 | Get email attachment as base64 encoded string as an alternative to binary responses. Decode the `base64FileContents` as a `utf-8` encoded string or array of bytes depending on the `contentType`. | +| [**downloadBody**](EmailControllerApi#downloadBody) | **GET** /emails/{emailId}/body | Get email body as string. Returned as `plain/text` with content type header. | +| [**downloadBodyBytes**](EmailControllerApi#downloadBodyBytes) | **GET** /emails/{emailId}/body-bytes | Get email body in bytes. Returned as `octet-stream` with content type header. | +| [**forwardEmail**](EmailControllerApi#forwardEmail) | **POST** /emails/{emailId}/forward | Forward email to recipients | +| [**getAttachmentMetaData**](EmailControllerApi#getAttachmentMetaData) | **GET** /emails/{emailId}/attachments/{attachmentId}/metadata | Get email attachment metadata. This is the `contentType` and `contentLength` of an attachment. To get the individual attachments use the `downloadAttachment` methods. | +| [**getEmail**](EmailControllerApi#getEmail) | **GET** /emails/{emailId} | Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController. | +| [**getEmailAttachments**](EmailControllerApi#getEmailAttachments) | **GET** /emails/{emailId}/attachments | Get all email attachment metadata. Metadata includes name and size of attachments. | +| [**getEmailContentMatch**](EmailControllerApi#getEmailContentMatch) | **POST** /emails/{emailId}/contentMatch | Get email content regex pattern match results. Runs regex against email body and returns match groups. | +| [**getEmailCount**](EmailControllerApi#getEmailCount) | **GET** /emails/emails/count | Get email count | +| [**getEmailHTML**](EmailControllerApi#getEmailHTML) | **GET** /emails/{emailId}/html | Get email content as HTML. For displaying emails in browser context. | +| [**getEmailHTMLJson**](EmailControllerApi#getEmailHTMLJson) | **GET** /emails/{emailId}/html/json | Get email content as HTML in JSON wrapper. For fetching entity decoded HTML content | +| [**getEmailHTMLQuery**](EmailControllerApi#getEmailHTMLQuery) | **GET** /emails/{emailId}/htmlQuery | Parse and return text from an email, stripping HTML and decoding encoded characters | +| [**getEmailLinks**](EmailControllerApi#getEmailLinks) | **GET** /emails/{emailId}/links | Parse and return list of links found in an email (only works for HTML content) | +| [**getEmailPreviewURLs**](EmailControllerApi#getEmailPreviewURLs) | **GET** /emails/{emailId}/urls | Get email URLs for viewing in browser or downloading | +| [**getEmailTextLines**](EmailControllerApi#getEmailTextLines) | **GET** /emails/{emailId}/textLines | Parse and return text from an email, stripping HTML and decoding encoded characters | +| [**getEmailsPaginated**](EmailControllerApi#getEmailsPaginated) | **GET** /emails | Get all emails in all inboxes in paginated form. Email API list all. | +| [**getGravatarUrlForEmailAddress**](EmailControllerApi#getGravatarUrlForEmailAddress) | **GET** /emails/gravatarFor | | +| [**getLatestEmail**](EmailControllerApi#getLatestEmail) | **GET** /emails/latest | Get latest email in all inboxes. Most recently received. | +| [**getLatestEmailInInbox1**](EmailControllerApi#getLatestEmailInInbox1) | **GET** /emails/latestIn | Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. | +| [**getOrganizationEmailsPaginated**](EmailControllerApi#getOrganizationEmailsPaginated) | **GET** /emails/organization | Get all organization emails. List team or shared test email accounts | +| [**getRawEmailContents**](EmailControllerApi#getRawEmailContents) | **GET** /emails/{emailId}/raw | Get raw email string. Returns unparsed raw SMTP message with headers and body. | +| [**getRawEmailJson**](EmailControllerApi#getRawEmailJson) | **GET** /emails/{emailId}/raw/json | Get raw email in JSON. Unparsed SMTP message in JSON wrapper format. | +| [**getUnreadEmailCount**](EmailControllerApi#getUnreadEmailCount) | **GET** /emails/unreadCount | Get unread email count | +| [**markAsRead**](EmailControllerApi#markAsRead) | **PATCH** /emails/{emailId}/read | Mark an email as read on unread | +| [**replyToEmail**](EmailControllerApi#replyToEmail) | **PUT** /emails/{emailId} | Reply to an email | +| [**sendEmailSourceOptional**](EmailControllerApi#sendEmailSourceOptional) | **POST** /emails | Send email | +| [**validateEmail**](EmailControllerApi#validateEmail) | **POST** /emails/{emailId}/validate | Validate email HTML contents | + + + +# **applyImapFlagOperation** +> EmailPreview applyImapFlagOperation(emailId, imapFlagOperationOptions) + +Set IMAP flags associated with a message. Only supports '\\Seen' flag. + +Apply RFC3501 section-2.3.2 IMAP flag operations on an email + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | + ImapFlagOperationOptions imapFlagOperationOptions = new ImapFlagOperationOptions(); // ImapFlagOperationOptions | + try { + EmailPreview result = apiInstance.applyImapFlagOperation(emailId, imapFlagOperationOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#applyImapFlagOperation"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| | | +| **imapFlagOperationOptions** | [**ImapFlagOperationOptions**](ImapFlagOperationOptions)| | | + +### Return type + +[**EmailPreview**](EmailPreview) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **deleteAllEmails** +> deleteAllEmails() + +Delete all emails in all inboxes. + +Deletes all emails in your account. Be careful as emails cannot be recovered + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + try { + apiInstance.deleteAllEmails(); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#deleteAllEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **deleteEmail** +> deleteEmail(emailId) + +Delete an email + +Deletes an email and removes it from the inbox. Deleted emails cannot be recovered. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email to delete + try { + apiInstance.deleteEmail(emailId); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#deleteEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email to delete | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **downloadAttachment** +> byte[] downloadAttachment(emailId, attachmentId, apiKey) + +Get email attachment bytes. Returned as `octet-stream` with content type header. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints and convert the base 64 encoded content to a file or string. + +Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + String attachmentId = "attachmentId_example"; // String | ID of attachment + String apiKey = "apiKey_example"; // String | Can pass apiKey in url for this request if you wish to download the file in a browser. Content type will be set to original content type of the attachment file. This is so that browsers can download the file correctly. + try { + byte[] result = apiInstance.downloadAttachment(emailId, attachmentId, apiKey); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#downloadAttachment"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | +| **attachmentId** | **String**| ID of attachment | | +| **apiKey** | **String**| Can pass apiKey in url for this request if you wish to download the file in a browser. Content type will be set to original content type of the attachment file. This is so that browsers can download the file correctly. | [optional] | + +### Return type + +**byte[]** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/octet-stream + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **0** | default response | - | + + +# **downloadAttachmentBase64** +> DownloadAttachmentDto downloadAttachmentBase64(emailId, attachmentId) + +Get email attachment as base64 encoded string as an alternative to binary responses. Decode the `base64FileContents` as a `utf-8` encoded string or array of bytes depending on the `contentType`. + +Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + String attachmentId = "attachmentId_example"; // String | ID of attachment + try { + DownloadAttachmentDto result = apiInstance.downloadAttachmentBase64(emailId, attachmentId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#downloadAttachmentBase64"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | +| **attachmentId** | **String**| ID of attachment | | + +### Return type + +[**DownloadAttachmentDto**](DownloadAttachmentDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **downloadBody** +> String downloadBody(emailId) + +Get email body as string. Returned as `plain/text` with content type header. + +Returns the specified email body for a given email as a string + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + try { + String result = apiInstance.downloadBody(emailId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#downloadBody"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | + +### Return type + +**String** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/plain, text/html + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **downloadBodyBytes** +> byte[] downloadBodyBytes(emailId) + +Get email body in bytes. Returned as `octet-stream` with content type header. + +Returns the specified email body for a given email as a stream / array of bytes. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + try { + byte[] result = apiInstance.downloadBodyBytes(emailId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#downloadBodyBytes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | + +### Return type + +**byte[]** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/octet-stream + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **0** | default response | - | + + +# **forwardEmail** +> SentEmailDto forwardEmail(emailId, forwardEmailOptions) + +Forward email to recipients + +Forward an existing email to new recipients. The sender of the email will be the inbox that received the email you are forwarding. You can override the sender with the `from` option. Note you must have access to the from address in MailSlurp to use the override. For more control consider fetching the email and sending it a new using the send email endpoints. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + ForwardEmailOptions forwardEmailOptions = new ForwardEmailOptions(); // ForwardEmailOptions | + try { + SentEmailDto result = apiInstance.forwardEmail(emailId, forwardEmailOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#forwardEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | +| **forwardEmailOptions** | [**ForwardEmailOptions**](ForwardEmailOptions)| | | + +### Return type + +[**SentEmailDto**](SentEmailDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **getAttachmentMetaData** +> AttachmentMetaData getAttachmentMetaData(emailId, attachmentId) + +Get email attachment metadata. This is the `contentType` and `contentLength` of an attachment. To get the individual attachments use the `downloadAttachment` methods. + +Returns the metadata such as name and content-type for a given attachment and email. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + String attachmentId = "attachmentId_example"; // String | ID of attachment + try { + AttachmentMetaData result = apiInstance.getAttachmentMetaData(emailId, attachmentId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getAttachmentMetaData"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | +| **attachmentId** | **String**| ID of attachment | | + +### Return type + +[**AttachmentMetaData**](AttachmentMetaData) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmail** +> Email getEmail(emailId, decode) + +Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController. + +Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | + Boolean decode = false; // Boolean | Decode email body quoted-printable encoding to plain text. SMTP servers often encode text using quoted-printable format (for instance `=D7`). This can be a pain for testing + try { + Email result = apiInstance.getEmail(emailId, decode); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| | | +| **decode** | **Boolean**| Decode email body quoted-printable encoding to plain text. SMTP servers often encode text using quoted-printable format (for instance `=D7`). This can be a pain for testing | [optional] [default to false] | + +### Return type + +[**Email**](Email) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmailAttachments** +> List<AttachmentMetaData> getEmailAttachments(emailId) + +Get all email attachment metadata. Metadata includes name and size of attachments. + +Returns an array of attachment metadata such as name and content-type for a given email if present. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + try { + List result = apiInstance.getEmailAttachments(emailId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getEmailAttachments"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | + +### Return type + +[**List<AttachmentMetaData>**](AttachmentMetaData) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmailContentMatch** +> EmailContentMatchResult getEmailContentMatch(emailId, contentMatchOptions) + +Get email content regex pattern match results. Runs regex against email body and returns match groups. + +Return the matches for a given Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email to match against + ContentMatchOptions contentMatchOptions = new ContentMatchOptions(); // ContentMatchOptions | + try { + EmailContentMatchResult result = apiInstance.getEmailContentMatch(emailId, contentMatchOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getEmailContentMatch"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email to match against | | +| **contentMatchOptions** | [**ContentMatchOptions**](ContentMatchOptions)| | | + +### Return type + +[**EmailContentMatchResult**](EmailContentMatchResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmailCount** +> CountDto getEmailCount() + +Get email count + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + try { + CountDto result = apiInstance.getEmailCount(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getEmailCount"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**CountDto**](CountDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmailHTML** +> String getEmailHTML(emailId, decode) + +Get email content as HTML. For displaying emails in browser context. + +Retrieve email content as HTML response for viewing in browsers. Decodes quoted-printable entities and converts charset to UTF-8. Pass your API KEY as a request parameter when viewing in a browser: `?apiKey=xxx`. Returns content-type `text/html;charset=utf-8` so you must call expecting that content response not JSON. For JSON response see the `getEmailHTMLJson` method. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | + Boolean decode = false; // Boolean | + try { + String result = apiInstance.getEmailHTML(emailId, decode); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getEmailHTML"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| | | +| **decode** | **Boolean**| | [optional] [default to false] | + +### Return type + +**String** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/html;charset=utf-8, text/html + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmailHTMLJson** +> EmailHtmlDto getEmailHTMLJson(emailId, decode) + +Get email content as HTML in JSON wrapper. For fetching entity decoded HTML content + +Retrieve email content as HTML response. Decodes quoted-printable entities and converts charset to UTF-8. Returns content-type `application/json;charset=utf-8` so you must call expecting that content response not JSON. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | + Boolean decode = false; // Boolean | + try { + EmailHtmlDto result = apiInstance.getEmailHTMLJson(emailId, decode); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getEmailHTMLJson"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| | | +| **decode** | **Boolean**| | [optional] [default to false] | + +### Return type + +[**EmailHtmlDto**](EmailHtmlDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmailHTMLQuery** +> EmailTextLinesResult getEmailHTMLQuery(emailId, htmlSelector) + +Parse and return text from an email, stripping HTML and decoding encoded characters + +Parse an email body and return the content as an array of text. HTML parsing uses JSoup which supports JQuery/CSS style selectors + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email to perform HTML query on + String htmlSelector = "htmlSelector_example"; // String | HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information. + try { + EmailTextLinesResult result = apiInstance.getEmailHTMLQuery(emailId, htmlSelector); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getEmailHTMLQuery"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email to perform HTML query on | | +| **htmlSelector** | **String**| HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information. | | + +### Return type + +[**EmailTextLinesResult**](EmailTextLinesResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmailLinks** +> EmailLinksResult getEmailLinks(emailId) + +Parse and return list of links found in an email (only works for HTML content) + +HTML parsing uses JSoup and UNIX line separators. Searches content for href attributes + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email to fetch text for + try { + EmailLinksResult result = apiInstance.getEmailLinks(emailId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getEmailLinks"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email to fetch text for | | + +### Return type + +[**EmailLinksResult**](EmailLinksResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmailPreviewURLs** +> EmailPreviewUrls getEmailPreviewURLs(emailId) + +Get email URLs for viewing in browser or downloading + +Get a list of URLs for email content as text/html or raw SMTP message for viewing the message in a browser. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | + try { + EmailPreviewUrls result = apiInstance.getEmailPreviewURLs(emailId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getEmailPreviewURLs"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| | | + +### Return type + +[**EmailPreviewUrls**](EmailPreviewUrls) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmailTextLines** +> EmailTextLinesResult getEmailTextLines(emailId, decodeHtmlEntities, lineSeparator) + +Parse and return text from an email, stripping HTML and decoding encoded characters + +Parse an email body and return the content as an array of strings. HTML parsing uses JSoup and UNIX line separators. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email to fetch text for + Boolean decodeHtmlEntities = true; // Boolean | Decode HTML entities + String lineSeparator = "lineSeparator_example"; // String | Line separator character + try { + EmailTextLinesResult result = apiInstance.getEmailTextLines(emailId, decodeHtmlEntities, lineSeparator); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getEmailTextLines"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email to fetch text for | | +| **decodeHtmlEntities** | **Boolean**| Decode HTML entities | [optional] | +| **lineSeparator** | **String**| Line separator character | [optional] | + +### Return type + +[**EmailTextLinesResult**](EmailTextLinesResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmailsPaginated** +> PageEmailProjection getEmailsPaginated(inboxId, page, size, sort, unreadOnly, searchFilter, since, before) + +Get all emails in all inboxes in paginated form. Email API list all. + +By default returns all emails across all inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + List inboxId = Arrays.asList(); // List | Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. + Integer page = 0; // Integer | Optional page index in email list pagination + Integer size = 20; // Integer | Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + Boolean unreadOnly = false; // Boolean | Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly + String searchFilter = "searchFilter_example"; // String | Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter emails received after given date time + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter emails received before given date time + try { + PageEmailProjection result = apiInstance.getEmailsPaginated(inboxId, page, size, sort, unreadOnly, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getEmailsPaginated"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | [**List<UUID>**](UUID)| Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. | [optional] | +| **page** | **Integer**| Optional page index in email list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **unreadOnly** | **Boolean**| Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly | [optional] [default to false] | +| **searchFilter** | **String**| Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body | [optional] | +| **since** | **OffsetDateTime**| Optional filter emails received after given date time | [optional] | +| **before** | **OffsetDateTime**| Optional filter emails received before given date time | [optional] | + +### Return type + +[**PageEmailProjection**](PageEmailProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getGravatarUrlForEmailAddress** +> GravatarUrl getGravatarUrlForEmailAddress(emailAddress, size) + + + +Get gravatar url for email address + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + String emailAddress = "emailAddress_example"; // String | + String size = "size_example"; // String | + try { + GravatarUrl result = apiInstance.getGravatarUrlForEmailAddress(emailAddress, size); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getGravatarUrlForEmailAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailAddress** | **String**| | | +| **size** | **String**| | [optional] | + +### Return type + +[**GravatarUrl**](GravatarUrl) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getLatestEmail** +> Email getLatestEmail(inboxIds) + +Get latest email in all inboxes. Most recently received. + +Get the newest email in all inboxes or in a passed set of inbox IDs + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + List inboxIds = Arrays.asList(); // List | Optional set of inboxes to filter by. Only get the latest email from these inbox IDs. If not provided will search across all inboxes + try { + Email result = apiInstance.getLatestEmail(inboxIds); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getLatestEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxIds** | [**List<UUID>**](UUID)| Optional set of inboxes to filter by. Only get the latest email from these inbox IDs. If not provided will search across all inboxes | [optional] | + +### Return type + +[**Email**](Email) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getLatestEmailInInbox1** +> Email getLatestEmailInInbox1(inboxId) + +Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + +Get the newest email in all inboxes or in a passed set of inbox IDs + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | ID of the inbox you want to get the latest email from + try { + Email result = apiInstance.getLatestEmailInInbox1(inboxId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getLatestEmailInInbox1"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| ID of the inbox you want to get the latest email from | | + +### Return type + +[**Email**](Email) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getOrganizationEmailsPaginated** +> PageEmailProjection getOrganizationEmailsPaginated(inboxId, page, size, sort, unreadOnly, searchFilter, since, before) + +Get all organization emails. List team or shared test email accounts + +By default returns all emails across all team inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + List inboxId = Arrays.asList(); // List | Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. + Integer page = 0; // Integer | Optional page index in email list pagination + Integer size = 20; // Integer | Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + Boolean unreadOnly = false; // Boolean | Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly + String searchFilter = "searchFilter_example"; // String | Optional search filter search filter for emails. + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter emails received after given date time + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter emails received before given date time + try { + PageEmailProjection result = apiInstance.getOrganizationEmailsPaginated(inboxId, page, size, sort, unreadOnly, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getOrganizationEmailsPaginated"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | [**List<UUID>**](UUID)| Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. | [optional] | +| **page** | **Integer**| Optional page index in email list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **unreadOnly** | **Boolean**| Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly | [optional] [default to false] | +| **searchFilter** | **String**| Optional search filter search filter for emails. | [optional] | +| **since** | **OffsetDateTime**| Optional filter emails received after given date time | [optional] | +| **before** | **OffsetDateTime**| Optional filter emails received before given date time | [optional] | + +### Return type + +[**PageEmailProjection**](PageEmailProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getRawEmailContents** +> String getRawEmailContents(emailId) + +Get raw email string. Returns unparsed raw SMTP message with headers and body. + +Returns a raw, unparsed, and unprocessed email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawEmailJson endpoint + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + try { + String result = apiInstance.getRawEmailContents(emailId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getRawEmailContents"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | + +### Return type + +**String** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/plain + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getRawEmailJson** +> RawEmailJson getRawEmailJson(emailId) + +Get raw email in JSON. Unparsed SMTP message in JSON wrapper format. + +Returns a raw, unparsed, and unprocessed email wrapped in a JSON response object for easier handling when compared with the getRawEmail text/plain response + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + try { + RawEmailJson result = apiInstance.getRawEmailJson(emailId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getRawEmailJson"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | + +### Return type + +[**RawEmailJson**](RawEmailJson) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getUnreadEmailCount** +> UnreadCount getUnreadEmailCount() + +Get unread email count + +Get number of emails unread. Unread means has not been viewed in dashboard or returned in an email API response + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + try { + UnreadCount result = apiInstance.getUnreadEmailCount(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#getUnreadEmailCount"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**UnreadCount**](UnreadCount) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **markAsRead** +> EmailPreview markAsRead(emailId, read) + +Mark an email as read on unread + +Marks an email as read or unread. Pass boolean read flag to set value. This is useful if you want to read an email but keep it as unread + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | + Boolean read = true; // Boolean | What value to assign to email read property. Default true. + try { + EmailPreview result = apiInstance.markAsRead(emailId, read); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#markAsRead"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| | | +| **read** | **Boolean**| What value to assign to email read property. Default true. | [optional] [default to true] | + +### Return type + +[**EmailPreview**](EmailPreview) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **replyToEmail** +> SentEmailDto replyToEmail(emailId, replyToEmailOptions) + +Reply to an email + +Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of the email that should be replied to + ReplyToEmailOptions replyToEmailOptions = new ReplyToEmailOptions(); // ReplyToEmailOptions | + try { + SentEmailDto result = apiInstance.replyToEmail(emailId, replyToEmailOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#replyToEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of the email that should be replied to | | +| **replyToEmailOptions** | [**ReplyToEmailOptions**](ReplyToEmailOptions)| | | + +### Return type + +[**SentEmailDto**](SentEmailDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **sendEmailSourceOptional** +> sendEmailSourceOptional(sendEmailOptions, inboxId, useDomainPool, virtualSend) + +Send email + +Alias for `InboxController.sendEmail` method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + SendEmailOptions sendEmailOptions = new SendEmailOptions(); // SendEmailOptions | + UUID inboxId = UUID.randomUUID(); // UUID | ID of the inbox you want to send the email from + Boolean useDomainPool = true; // Boolean | Use domain pool. Optionally create inbox to send from using the mailslurp domain pool. + Boolean virtualSend = true; // Boolean | Optionally create inbox to send from that is a virtual inbox and won't send to external addresses + try { + apiInstance.sendEmailSourceOptional(sendEmailOptions, inboxId, useDomainPool, virtualSend); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#sendEmailSourceOptional"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **sendEmailOptions** | [**SendEmailOptions**](SendEmailOptions)| | | +| **inboxId** | **UUID**| ID of the inbox you want to send the email from | [optional] | +| **useDomainPool** | **Boolean**| Use domain pool. Optionally create inbox to send from using the mailslurp domain pool. | [optional] | +| **virtualSend** | **Boolean**| Optionally create inbox to send from that is a virtual inbox and won't send to external addresses | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **validateEmail** +> ValidationDto validateEmail(emailId) + +Validate email HTML contents + +Validate the HTML content of email if HTML is found. Considered valid if no HTML is present. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailControllerApi apiInstance = new EmailControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + try { + ValidationDto result = apiInstance.validateEmail(emailId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailControllerApi#validateEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | + +### Return type + +[**ValidationDto**](ValidationDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + diff --git a/docs/EmailHtmlDto.md b/docs/EmailHtmlDto.md new file mode 100644 index 000000000..49636d982 --- /dev/null +++ b/docs/EmailHtmlDto.md @@ -0,0 +1,14 @@ + + +# EmailHtmlDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**subject** | **String** | | [optional] | +|**body** | **String** | | [optional] | + + + diff --git a/docs/EmailLinksResult.md b/docs/EmailLinksResult.md new file mode 100644 index 000000000..312df8075 --- /dev/null +++ b/docs/EmailLinksResult.md @@ -0,0 +1,15 @@ + + +# EmailLinksResult + +Links found in HTML + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**links** | **List<String>** | | | +|**body** | **String** | | | + + + diff --git a/docs/EmailPreview.md b/docs/EmailPreview.md new file mode 100644 index 000000000..06b3cfa83 --- /dev/null +++ b/docs/EmailPreview.md @@ -0,0 +1,23 @@ + + +# EmailPreview + +Preview of an email message. For full message (including body and attachments) call the `getEmail` or other email endpoints with the provided email ID. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | ID of the email entity | | +|**domainId** | **UUID** | ID of the domain that received the email | [optional] | +|**subject** | **String** | The subject line of the email message as specified by SMTP subject header | [optional] | +|**to** | **List<String>** | List of `To` recipient email addresses that the email was addressed to. See recipients object for names. | | +|**from** | **String** | Who the email was sent from. An email address - see fromName for the sender name. | [optional] | +|**bcc** | **List<String>** | List of `BCC` recipients email addresses that the email was addressed to. See recipients object for names. | [optional] | +|**cc** | **List<String>** | List of `CC` recipients email addresses that the email was addressed to. See recipients object for names. | [optional] | +|**createdAt** | **OffsetDateTime** | When was the email received by MailSlurp | | +|**read** | **Boolean** | Read flag. Has the email ever been viewed in the dashboard or fetched via the API with a hydrated body? If so the email is marked as read. Paginated results do not affect read status. Read status is different to email opened event as it depends on your own account accessing the email. Email opened is determined by tracking pixels sent to other uses if enable during sending. You can listened for both email read and email opened events using webhooks. | | +|**attachments** | **List<String>** | List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension. | [optional] | + + + diff --git a/docs/EmailPreviewUrls.md b/docs/EmailPreviewUrls.md new file mode 100644 index 000000000..950ad51d7 --- /dev/null +++ b/docs/EmailPreviewUrls.md @@ -0,0 +1,15 @@ + + +# EmailPreviewUrls + +URLs for email body + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**rawSmtpMessageUrl** | **String** | | | +|**plainHtmlBodyUrl** | **String** | | | + + + diff --git a/docs/EmailProjection.md b/docs/EmailProjection.md new file mode 100644 index 000000000..54afada86 --- /dev/null +++ b/docs/EmailProjection.md @@ -0,0 +1,27 @@ + + +# EmailProjection + +A compact representation of a full email. Used in list endpoints to keep response sizes low. Body and attachments are not included. To get all fields of the email use the `getEmail` method with the email projection's ID. See `EmailDto` for documentation on projection properties. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**from** | **String** | | [optional] | +|**subject** | **String** | | [optional] | +|**inboxId** | **UUID** | | | +|**attachments** | **List<String>** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**to** | **List<String>** | | | +|**bcc** | **List<String>** | | [optional] | +|**cc** | **List<String>** | | [optional] | +|**read** | **Boolean** | | | +|**domainId** | **UUID** | | [optional] | +|**bodyExcerpt** | **String** | | [optional] | +|**teamAccess** | **Boolean** | | | +|**bodyMD5Hash** | **String** | | [optional] | + + + diff --git a/docs/EmailRecipients.md b/docs/EmailRecipients.md new file mode 100644 index 000000000..248b4ab03 --- /dev/null +++ b/docs/EmailRecipients.md @@ -0,0 +1,16 @@ + + +# EmailRecipients + +The `To`,`CC`,`BCC` recipients stored in object form with email address and name accessible. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**to** | [**List<Recipient>**](Recipient) | | [optional] | +|**cc** | [**List<Recipient>**](Recipient) | | [optional] | +|**bcc** | [**List<Recipient>**](Recipient) | | [optional] | + + + diff --git a/docs/EmailTextLinesResult.md b/docs/EmailTextLinesResult.md new file mode 100644 index 000000000..539499021 --- /dev/null +++ b/docs/EmailTextLinesResult.md @@ -0,0 +1,15 @@ + + +# EmailTextLinesResult + +Parsed text of an email + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**lines** | **List<String>** | | | +|**body** | **String** | | | + + + diff --git a/docs/EmailValidationRequestDto.md b/docs/EmailValidationRequestDto.md new file mode 100644 index 000000000..d803e1951 --- /dev/null +++ b/docs/EmailValidationRequestDto.md @@ -0,0 +1,19 @@ + + +# EmailValidationRequestDto + +Email validation request + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**emailAddress** | **String** | | | +|**isValid** | **Boolean** | | | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | + + + diff --git a/docs/EmailVerificationControllerApi.md b/docs/EmailVerificationControllerApi.md new file mode 100644 index 000000000..327326a7e --- /dev/null +++ b/docs/EmailVerificationControllerApi.md @@ -0,0 +1,156 @@ +# EmailVerificationControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**getValidationRequests**](EmailVerificationControllerApi#getValidationRequests) | **GET** /email-verification/validation-requests | Validate a list of email addresses. Per unit billing. See your plan for pricing. | +| [**validateEmailAddressList**](EmailVerificationControllerApi#validateEmailAddressList) | **POST** /email-verification/email-address-list | Validate a list of email addresses. Per unit billing. See your plan for pricing. | + + + +# **getValidationRequests** +> PageEmailValidationRequest getValidationRequests(page, size, sort, searchFilter, since, before, isValid) + +Validate a list of email addresses. Per unit billing. See your plan for pricing. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailVerificationControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailVerificationControllerApi apiInstance = new EmailVerificationControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size for paginated result list. + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + Boolean isValid = true; // Boolean | Filter where email is valid is true or false + try { + PageEmailValidationRequest result = apiInstance.getValidationRequests(page, size, sort, searchFilter, since, before, isValid); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailVerificationControllerApi#getValidationRequests"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size for paginated result list. | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to DESC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | +| **isValid** | **Boolean**| Filter where email is valid is true or false | [optional] | + +### Return type + +[**PageEmailValidationRequest**](PageEmailValidationRequest) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **validateEmailAddressList** +> ValidateEmailAddressListResult validateEmailAddressList(validateEmailAddressListOptions) + +Validate a list of email addresses. Per unit billing. See your plan for pricing. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.EmailVerificationControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + EmailVerificationControllerApi apiInstance = new EmailVerificationControllerApi(defaultClient); + ValidateEmailAddressListOptions validateEmailAddressListOptions = new ValidateEmailAddressListOptions(); // ValidateEmailAddressListOptions | + try { + ValidateEmailAddressListResult result = apiInstance.validateEmailAddressList(validateEmailAddressListOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EmailVerificationControllerApi#validateEmailAddressList"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **validateEmailAddressListOptions** | [**ValidateEmailAddressListOptions**](ValidateEmailAddressListOptions)| | | + +### Return type + +[**ValidateEmailAddressListResult**](ValidateEmailAddressListResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/EmailVerificationResult.md b/docs/EmailVerificationResult.md new file mode 100644 index 000000000..f6e511836 --- /dev/null +++ b/docs/EmailVerificationResult.md @@ -0,0 +1,18 @@ + + +# EmailVerificationResult + +Email verification result. Valid means email address exists according to response from mail server running at the domain and port given. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**domainName** | **String** | | | +|**port** | **Integer** | | | +|**emailAddress** | **String** | | | +|**isValid** | **Boolean** | | | +|**error** | **String** | | [optional] | + + + diff --git a/docs/EmergencyAddress.md b/docs/EmergencyAddress.md new file mode 100644 index 000000000..c043315c6 --- /dev/null +++ b/docs/EmergencyAddress.md @@ -0,0 +1,35 @@ + + +# EmergencyAddress + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | [optional] | +|**sid** | **String** | | | +|**userId** | **UUID** | | | +|**displayName** | **String** | | | +|**customerName** | **String** | | | +|**address1** | **String** | | | +|**city** | **String** | | | +|**region** | **String** | | | +|**postalCode** | **String** | | | +|**phoneCountry** | [**PhoneCountryEnum**](#PhoneCountryEnum) | | | +|**accountSid** | **String** | | | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | + + + +## Enum: PhoneCountryEnum + +| Name | Value | +|---- | -----| +| US | "US" | +| GB | "GB" | +| AU | "AU" | + + + diff --git a/docs/EmergencyAddressDto.md b/docs/EmergencyAddressDto.md new file mode 100644 index 000000000..055abd9a6 --- /dev/null +++ b/docs/EmergencyAddressDto.md @@ -0,0 +1,25 @@ + + +# EmergencyAddressDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**address1** | **String** | | | +|**phoneCountry** | [**PhoneCountryEnum**](#PhoneCountryEnum) | | | + + + +## Enum: PhoneCountryEnum + +| Name | Value | +|---- | -----| +| US | "US" | +| GB | "GB" | +| AU | "AU" | + + + diff --git a/docs/EmptyResponseDto.md b/docs/EmptyResponseDto.md new file mode 100644 index 000000000..e71c5ac10 --- /dev/null +++ b/docs/EmptyResponseDto.md @@ -0,0 +1,13 @@ + + +# EmptyResponseDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**message** | **String** | | [optional] | + + + diff --git a/docs/ExpirationDefaults.md b/docs/ExpirationDefaults.md new file mode 100644 index 000000000..7beeb18d5 --- /dev/null +++ b/docs/ExpirationDefaults.md @@ -0,0 +1,18 @@ + + +# ExpirationDefaults + +Expiration defaults for your account + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**defaultExpirationMillis** | **Long** | | [optional] | +|**maxExpirationMillis** | **Long** | | [optional] | +|**defaultExpiresAt** | **OffsetDateTime** | | [optional] | +|**canPermanentInbox** | **Boolean** | | | +|**nextInboxAllowsPermanent** | **Boolean** | | | + + + diff --git a/docs/ExpiredControllerApi.md b/docs/ExpiredControllerApi.md new file mode 100644 index 000000000..6f1d4e0f2 --- /dev/null +++ b/docs/ExpiredControllerApi.md @@ -0,0 +1,292 @@ +# ExpiredControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**getExpirationDefaults**](ExpiredControllerApi#getExpirationDefaults) | **GET** /expired/defaults | Get default expiration settings | +| [**getExpiredInboxByInboxId**](ExpiredControllerApi#getExpiredInboxByInboxId) | **GET** /expired/inbox/{inboxId} | Get expired inbox record for a previously existing inbox | +| [**getExpiredInboxRecord**](ExpiredControllerApi#getExpiredInboxRecord) | **GET** /expired/{expiredId} | Get an expired inbox record | +| [**getExpiredInboxes**](ExpiredControllerApi#getExpiredInboxes) | **GET** /expired | List records of expired inboxes | + + + +# **getExpirationDefaults** +> ExpirationDefaults getExpirationDefaults() + +Get default expiration settings + +Return default times used for inbox expiration + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ExpiredControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ExpiredControllerApi apiInstance = new ExpiredControllerApi(defaultClient); + try { + ExpirationDefaults result = apiInstance.getExpirationDefaults(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ExpiredControllerApi#getExpirationDefaults"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**ExpirationDefaults**](ExpirationDefaults) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getExpiredInboxByInboxId** +> ExpiredInboxDto getExpiredInboxByInboxId(inboxId) + +Get expired inbox record for a previously existing inbox + +Use the inboxId to return an ExpiredInboxRecord if an inbox has expired. Inboxes expire and are disabled if an expiration date is set or plan requires. Returns 404 if no expired inbox is found for the inboxId + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ExpiredControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ExpiredControllerApi apiInstance = new ExpiredControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | ID of inbox you want to retrieve (not the inbox ID) + try { + ExpiredInboxDto result = apiInstance.getExpiredInboxByInboxId(inboxId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ExpiredControllerApi#getExpiredInboxByInboxId"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| ID of inbox you want to retrieve (not the inbox ID) | | + +### Return type + +[**ExpiredInboxDto**](ExpiredInboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getExpiredInboxRecord** +> ExpiredInboxDto getExpiredInboxRecord(expiredId) + +Get an expired inbox record + +Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity. You can still read emails in the inbox but it can no longer send or receive emails. Fetch the expired inboxes to view the old inboxes properties + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ExpiredControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ExpiredControllerApi apiInstance = new ExpiredControllerApi(defaultClient); + UUID expiredId = UUID.randomUUID(); // UUID | ID of the ExpiredInboxRecord you want to retrieve. This is different from the ID of the inbox you are interested in. See other methods for getting ExpiredInboxRecord for an inbox inboxId + try { + ExpiredInboxDto result = apiInstance.getExpiredInboxRecord(expiredId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ExpiredControllerApi#getExpiredInboxRecord"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **expiredId** | **UUID**| ID of the ExpiredInboxRecord you want to retrieve. This is different from the ID of the inbox you are interested in. See other methods for getting ExpiredInboxRecord for an inbox inboxId | | + +### Return type + +[**ExpiredInboxDto**](ExpiredInboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getExpiredInboxes** +> PageExpiredInboxRecordProjection getExpiredInboxes(page, size, sort, since, before) + +List records of expired inboxes + +Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ExpiredControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ExpiredControllerApi apiInstance = new ExpiredControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in inbox sent email list pagination + Integer size = 20; // Integer | Optional page size in inbox sent email list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageExpiredInboxRecordProjection result = apiInstance.getExpiredInboxes(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ExpiredControllerApi#getExpiredInboxes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in inbox sent email list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox sent email list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageExpiredInboxRecordProjection**](PageExpiredInboxRecordProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/ExpiredInboxDto.md b/docs/ExpiredInboxDto.md new file mode 100644 index 000000000..2439a2082 --- /dev/null +++ b/docs/ExpiredInboxDto.md @@ -0,0 +1,16 @@ + + +# ExpiredInboxDto + +Expired inbox + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**inboxId** | **UUID** | | | +|**emailAddress** | **String** | | | + + + diff --git a/docs/ExpiredInboxRecordProjection.md b/docs/ExpiredInboxRecordProjection.md new file mode 100644 index 000000000..b68aa3930 --- /dev/null +++ b/docs/ExpiredInboxRecordProjection.md @@ -0,0 +1,17 @@ + + +# ExpiredInboxRecordProjection + +Record of inbox expiration + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**emailAddress** | **String** | | | +|**createdAt** | **OffsetDateTime** | | | + + + diff --git a/docs/ExportControllerApi.md b/docs/ExportControllerApi.md new file mode 100644 index 000000000..0e1b4b623 --- /dev/null +++ b/docs/ExportControllerApi.md @@ -0,0 +1,162 @@ +# ExportControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**exportEntities**](ExportControllerApi#exportEntities) | **GET** /export | Export inboxes link callable via browser | +| [**getExportLink**](ExportControllerApi#getExportLink) | **POST** /export | Get export link | + + + +# **exportEntities** +> List<byte[]> exportEntities(exportType, apiKey, outputFormat, filter, listSeparatorToken, excludePreviouslyExported, createdEarliestTime, createdOldestTime) + +Export inboxes link callable via browser + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ExportControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ExportControllerApi apiInstance = new ExportControllerApi(defaultClient); + String exportType = "INBOXES"; // String | + String apiKey = "apiKey_example"; // String | + String outputFormat = "CSV_DEFAULT"; // String | + String filter = "filter_example"; // String | + String listSeparatorToken = "listSeparatorToken_example"; // String | + Boolean excludePreviouslyExported = true; // Boolean | + OffsetDateTime createdEarliestTime = OffsetDateTime.now(); // OffsetDateTime | + OffsetDateTime createdOldestTime = OffsetDateTime.now(); // OffsetDateTime | + try { + List result = apiInstance.exportEntities(exportType, apiKey, outputFormat, filter, listSeparatorToken, excludePreviouslyExported, createdEarliestTime, createdOldestTime); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ExportControllerApi#exportEntities"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **exportType** | **String**| | [enum: INBOXES, CONTACTS, ATTACHMENTS, EMAILS] | +| **apiKey** | **String**| | | +| **outputFormat** | **String**| | [enum: CSV_DEFAULT, CSV_EXCEL] | +| **filter** | **String**| | [optional] | +| **listSeparatorToken** | **String**| | [optional] | +| **excludePreviouslyExported** | **Boolean**| | [optional] | +| **createdEarliestTime** | **OffsetDateTime**| | [optional] | +| **createdOldestTime** | **OffsetDateTime**| | [optional] | + +### Return type + +**List<byte[]>** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getExportLink** +> ExportLink getExportLink(exportType, exportOptions, apiKey) + +Get export link + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.ExportControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + ExportControllerApi apiInstance = new ExportControllerApi(defaultClient); + String exportType = "INBOXES"; // String | + ExportOptions exportOptions = new ExportOptions(); // ExportOptions | + String apiKey = "apiKey_example"; // String | + try { + ExportLink result = apiInstance.getExportLink(exportType, exportOptions, apiKey); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ExportControllerApi#getExportLink"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **exportType** | **String**| | [enum: INBOXES, CONTACTS, ATTACHMENTS, EMAILS] | +| **exportOptions** | [**ExportOptions**](ExportOptions)| | | +| **apiKey** | **String**| | [optional] | + +### Return type + +[**ExportLink**](ExportLink) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/ExportLink.md b/docs/ExportLink.md new file mode 100644 index 000000000..fd9487993 --- /dev/null +++ b/docs/ExportLink.md @@ -0,0 +1,14 @@ + + +# ExportLink + +Export download link + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**downloadLink** | **String** | | | + + + diff --git a/docs/ExportOptions.md b/docs/ExportOptions.md new file mode 100644 index 000000000..85e4b9fd8 --- /dev/null +++ b/docs/ExportOptions.md @@ -0,0 +1,28 @@ + + +# ExportOptions + +Options for exporting user data + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**outputFormat** | [**OutputFormatEnum**](#OutputFormatEnum) | | | +|**excludePreviouslyExported** | **Boolean** | | [optional] | +|**createdEarliestTime** | **OffsetDateTime** | | [optional] | +|**createdOldestTime** | **OffsetDateTime** | | [optional] | +|**filter** | **String** | | [optional] | +|**listSeparatorToken** | **String** | | [optional] | + + + +## Enum: OutputFormatEnum + +| Name | Value | +|---- | -----| +| DEFAULT | "CSV_DEFAULT" | +| EXCEL | "CSV_EXCEL" | + + + diff --git a/docs/FilterBouncedRecipientsOptions.md b/docs/FilterBouncedRecipientsOptions.md new file mode 100644 index 000000000..adc3a137b --- /dev/null +++ b/docs/FilterBouncedRecipientsOptions.md @@ -0,0 +1,14 @@ + + +# FilterBouncedRecipientsOptions + +Options for filtering bounced email recipients + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**emailRecipients** | **List<String>** | | | + + + diff --git a/docs/FilterBouncedRecipientsResult.md b/docs/FilterBouncedRecipientsResult.md new file mode 100644 index 000000000..ac34ac3aa --- /dev/null +++ b/docs/FilterBouncedRecipientsResult.md @@ -0,0 +1,14 @@ + + +# FilterBouncedRecipientsResult + +Remaining recipients that were filtered to remove bounced recipients + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**filteredRecipients** | **List<String>** | | | + + + diff --git a/docs/FlushExpiredInboxesResult.md b/docs/FlushExpiredInboxesResult.md new file mode 100644 index 000000000..3c71f5bd6 --- /dev/null +++ b/docs/FlushExpiredInboxesResult.md @@ -0,0 +1,15 @@ + + +# FlushExpiredInboxesResult + +Result from calling expire on any inboxes that have applicable expiration dates given current time. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**inboxIds** | **List<UUID>** | Inbox IDs affected by expiration | | +|**expireBefore** | **OffsetDateTime** | DateTime to filter inboxes so that those expiring before this time are expired | | + + + diff --git a/docs/FormControllerApi.md b/docs/FormControllerApi.md new file mode 100644 index 000000000..5139fa2c7 --- /dev/null +++ b/docs/FormControllerApi.md @@ -0,0 +1,90 @@ +# FormControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**submitForm**](FormControllerApi#submitForm) | **POST** /forms | Submit a form to be parsed and sent as an email to an address determined by the form fields | + + + +# **submitForm** +> String submitForm(to, subject, redirectTo, emailAddress, successMessage, spamCheck, otherParameters) + +Submit a form to be parsed and sent as an email to an address determined by the form fields + +This endpoint allows you to submit HTML forms and receive the field values and files via email. #### Parameters The endpoint looks for special meta parameters in the form fields OR in the URL request parameters. The meta parameters can be used to specify the behaviour of the email. You must provide at-least a `_to` email address to tell the endpoint where the form should be emailed. These can be submitted as hidden HTML input fields with the corresponding `name` attributes or as URL query parameters such as `?_to=test@example.com` The endpoint takes all other form fields that are named and includes them in the message body of the email. Files are sent as attachments. #### Submitting This endpoint accepts form submission via POST method. It accepts `application/x-www-form-urlencoded`, and `multipart/form-data` content-types. #### HTML Example ```html <form action=\"https://java.api.mailslurp.com/forms\" method=\"post\" > <input name=\"_to\" type=\"hidden\" value=\"test@example.com\"/> <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` #### URL Example ```html <form action=\"https://java.api.mailslurp.com/forms?_to=test@example.com\" method=\"post\" > <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` The email address is specified by a `_to` field OR is extracted from an email alias specified by a `_toAlias` field (see the alias controller for more information). Endpoint accepts . You can specify a content type in HTML forms using the `enctype` attribute, for instance: `<form enctype=\"multipart/form-data\">`. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.FormControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + FormControllerApi apiInstance = new FormControllerApi(defaultClient); + String to = "test@example.com"; // String | The email address that submitted form should be sent to. + String subject = "My form submission"; // String | Optional subject of the email that will be sent. + String redirectTo = "https://mysite.com/form-success"; // String | Optional URL to redirect form submitter to after submission. If not present user will see a success message. + String emailAddress = "test@example.com"; // String | Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later. + String successMessage = "Thanks for submitting"; // String | Optional success message to display if no _redirectTo present. + String spamCheck = "spamCheck_example"; // String | Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored. + String otherParameters = "otherParameters_example"; // String | All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent. + try { + String result = apiInstance.submitForm(to, subject, redirectTo, emailAddress, successMessage, spamCheck, otherParameters); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling FormControllerApi#submitForm"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **to** | **String**| The email address that submitted form should be sent to. | [optional] | +| **subject** | **String**| Optional subject of the email that will be sent. | [optional] | +| **redirectTo** | **String**| Optional URL to redirect form submitter to after submission. If not present user will see a success message. | [optional] | +| **emailAddress** | **String**| Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later. | [optional] | +| **successMessage** | **String**| Optional success message to display if no _redirectTo present. | [optional] | +| **spamCheck** | **String**| Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored. | [optional] | +| **otherParameters** | **String**| All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent. | [optional] | + +### Return type + +**String** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/ForwardEmailOptions.md b/docs/ForwardEmailOptions.md new file mode 100644 index 000000000..3cfa46936 --- /dev/null +++ b/docs/ForwardEmailOptions.md @@ -0,0 +1,20 @@ + + +# ForwardEmailOptions + +Options for forwarding an email + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**to** | **List<String>** | To recipients for forwarded email | | +|**subject** | **String** | Subject for forwarded email | [optional] | +|**cc** | **List<String>** | Optional cc recipients | [optional] | +|**bcc** | **List<String>** | Optional bcc recipients | [optional] | +|**from** | **String** | Optional from override | [optional] | +|**useInboxName** | **Boolean** | Optionally use inbox name as display name for sender email address | [optional] | +|**filterBouncedRecipients** | **Boolean** | Filter recipients to remove any bounced recipients from to, bcc, and cc before sending | [optional] | + + + diff --git a/docs/GravatarUrl.md b/docs/GravatarUrl.md new file mode 100644 index 000000000..ffc1af445 --- /dev/null +++ b/docs/GravatarUrl.md @@ -0,0 +1,15 @@ + + +# GravatarUrl + +User image + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**url** | **String** | | | +|**hash** | **String** | | | + + + diff --git a/docs/GroupContactsDto.md b/docs/GroupContactsDto.md new file mode 100644 index 000000000..bdf93c37f --- /dev/null +++ b/docs/GroupContactsDto.md @@ -0,0 +1,15 @@ + + +# GroupContactsDto + +Describes contacts attached to a contact group + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**group** | [**GroupDto**](GroupDto) | | | +|**contacts** | [**List<ContactDto>**](ContactDto) | | | + + + diff --git a/docs/GroupControllerApi.md b/docs/GroupControllerApi.md new file mode 100644 index 000000000..ef279c4e1 --- /dev/null +++ b/docs/GroupControllerApi.md @@ -0,0 +1,639 @@ +# GroupControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**addContactsToGroup**](GroupControllerApi#addContactsToGroup) | **PUT** /groups/{groupId}/contacts | Add contacts to a group | +| [**createGroup**](GroupControllerApi#createGroup) | **POST** /groups | Create a group | +| [**deleteGroup**](GroupControllerApi#deleteGroup) | **DELETE** /groups/{groupId} | Delete group | +| [**getAllGroups**](GroupControllerApi#getAllGroups) | **GET** /groups/paginated | Get all Contact Groups in paginated format | +| [**getGroup**](GroupControllerApi#getGroup) | **GET** /groups/{groupId} | Get group | +| [**getGroupWithContacts**](GroupControllerApi#getGroupWithContacts) | **GET** /groups/{groupId}/contacts | Get group and contacts belonging to it | +| [**getGroupWithContactsPaginated**](GroupControllerApi#getGroupWithContactsPaginated) | **GET** /groups/{groupId}/contacts-paginated | | +| [**getGroups**](GroupControllerApi#getGroups) | **GET** /groups | Get all groups | +| [**removeContactsFromGroup**](GroupControllerApi#removeContactsFromGroup) | **DELETE** /groups/{groupId}/contacts | Remove contacts from a group | + + + +# **addContactsToGroup** +> GroupContactsDto addContactsToGroup(groupId, updateGroupContacts) + +Add contacts to a group + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.GroupControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + GroupControllerApi apiInstance = new GroupControllerApi(defaultClient); + UUID groupId = UUID.randomUUID(); // UUID | + UpdateGroupContacts updateGroupContacts = new UpdateGroupContacts(); // UpdateGroupContacts | + try { + GroupContactsDto result = apiInstance.addContactsToGroup(groupId, updateGroupContacts); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling GroupControllerApi#addContactsToGroup"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **groupId** | **UUID**| | | +| **updateGroupContacts** | [**UpdateGroupContacts**](UpdateGroupContacts)| | | + +### Return type + +[**GroupContactsDto**](GroupContactsDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **createGroup** +> GroupDto createGroup(createGroupOptions) + +Create a group + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.GroupControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + GroupControllerApi apiInstance = new GroupControllerApi(defaultClient); + CreateGroupOptions createGroupOptions = new CreateGroupOptions(); // CreateGroupOptions | + try { + GroupDto result = apiInstance.createGroup(createGroupOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling GroupControllerApi#createGroup"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createGroupOptions** | [**CreateGroupOptions**](CreateGroupOptions)| | | + +### Return type + +[**GroupDto**](GroupDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **deleteGroup** +> deleteGroup(groupId) + +Delete group + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.GroupControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + GroupControllerApi apiInstance = new GroupControllerApi(defaultClient); + UUID groupId = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteGroup(groupId); + } catch (ApiException e) { + System.err.println("Exception when calling GroupControllerApi#deleteGroup"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **groupId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getAllGroups** +> PageGroupProjection getAllGroups(page, size, sort, since, before) + +Get all Contact Groups in paginated format + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.GroupControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + GroupControllerApi apiInstance = new GroupControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageGroupProjection result = apiInstance.getAllGroups(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling GroupControllerApi#getAllGroups"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageGroupProjection**](PageGroupProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getGroup** +> GroupDto getGroup(groupId) + +Get group + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.GroupControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + GroupControllerApi apiInstance = new GroupControllerApi(defaultClient); + UUID groupId = UUID.randomUUID(); // UUID | + try { + GroupDto result = apiInstance.getGroup(groupId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling GroupControllerApi#getGroup"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **groupId** | **UUID**| | | + +### Return type + +[**GroupDto**](GroupDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getGroupWithContacts** +> GroupContactsDto getGroupWithContacts(groupId) + +Get group and contacts belonging to it + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.GroupControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + GroupControllerApi apiInstance = new GroupControllerApi(defaultClient); + UUID groupId = UUID.randomUUID(); // UUID | + try { + GroupContactsDto result = apiInstance.getGroupWithContacts(groupId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling GroupControllerApi#getGroupWithContacts"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **groupId** | **UUID**| | | + +### Return type + +[**GroupContactsDto**](GroupContactsDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getGroupWithContactsPaginated** +> PageContactProjection getGroupWithContactsPaginated(groupId, page, size, sort, since, before) + + + +Get group and paginated contacts belonging to it + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.GroupControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + GroupControllerApi apiInstance = new GroupControllerApi(defaultClient); + UUID groupId = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index in group contact pagination + Integer size = 20; // Integer | Optional page size in group contact pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageContactProjection result = apiInstance.getGroupWithContactsPaginated(groupId, page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling GroupControllerApi#getGroupWithContactsPaginated"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **groupId** | **UUID**| | | +| **page** | **Integer**| Optional page index in group contact pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in group contact pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageContactProjection**](PageContactProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getGroups** +> List<GroupProjection> getGroups() + +Get all groups + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.GroupControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + GroupControllerApi apiInstance = new GroupControllerApi(defaultClient); + try { + List result = apiInstance.getGroups(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling GroupControllerApi#getGroups"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**List<GroupProjection>**](GroupProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **removeContactsFromGroup** +> GroupContactsDto removeContactsFromGroup(groupId, updateGroupContacts) + +Remove contacts from a group + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.GroupControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + GroupControllerApi apiInstance = new GroupControllerApi(defaultClient); + UUID groupId = UUID.randomUUID(); // UUID | + UpdateGroupContacts updateGroupContacts = new UpdateGroupContacts(); // UpdateGroupContacts | + try { + GroupContactsDto result = apiInstance.removeContactsFromGroup(groupId, updateGroupContacts); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling GroupControllerApi#removeContactsFromGroup"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **groupId** | **UUID**| | | +| **updateGroupContacts** | [**UpdateGroupContacts**](UpdateGroupContacts)| | | + +### Return type + +[**GroupContactsDto**](GroupContactsDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/GroupDto.md b/docs/GroupDto.md new file mode 100644 index 000000000..d9e4fba81 --- /dev/null +++ b/docs/GroupDto.md @@ -0,0 +1,17 @@ + + +# GroupDto + +Contact group data + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**name** | **String** | | | +|**description** | **String** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | + + + diff --git a/docs/GroupProjection.md b/docs/GroupProjection.md new file mode 100644 index 000000000..ad19e3e3e --- /dev/null +++ b/docs/GroupProjection.md @@ -0,0 +1,17 @@ + + +# GroupProjection + +Data for contact group + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | | | +|**id** | **UUID** | | | +|**description** | **String** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | + + + diff --git a/docs/HTMLValidationResult.md b/docs/HTMLValidationResult.md new file mode 100644 index 000000000..ac3ea8deb --- /dev/null +++ b/docs/HTMLValidationResult.md @@ -0,0 +1,16 @@ + + +# HTMLValidationResult + +HTML Validation Results + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**isValid** | **Boolean** | Is HTML validation result valid | | +|**errors** | [**List<ValidationMessage>**](ValidationMessage) | Optional errors resulting from HTML validation | | +|**warnings** | [**List<ValidationMessage>**](ValidationMessage) | Optional warnings resulting from HTML validation | | + + + diff --git a/docs/IPAddressResult.md b/docs/IPAddressResult.md new file mode 100644 index 000000000..878f41c0f --- /dev/null +++ b/docs/IPAddressResult.md @@ -0,0 +1,15 @@ + + +# IPAddressResult + +IP Address look up result for a given domain / hostname + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**address** | **String** | | | +|**hostname** | **String** | | | + + + diff --git a/docs/ImapFlagOperationOptions.md b/docs/ImapFlagOperationOptions.md new file mode 100644 index 000000000..7bb67a6db --- /dev/null +++ b/docs/ImapFlagOperationOptions.md @@ -0,0 +1,25 @@ + + +# ImapFlagOperationOptions + +IMAP operation flags + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**flagOperation** | [**FlagOperationEnum**](#FlagOperationEnum) | | | +|**flags** | **List<String>** | | | + + + +## Enum: FlagOperationEnum + +| Name | Value | +|---- | -----| +| SET_FLAGS | "SET_FLAGS" | +| ADD_FLAGS | "ADD_FLAGS" | +| REMOVE_FLAGS | "REMOVE_FLAGS" | + + + diff --git a/docs/ImapSmtpAccessDetails.md b/docs/ImapSmtpAccessDetails.md new file mode 100644 index 000000000..d072b1cc4 --- /dev/null +++ b/docs/ImapSmtpAccessDetails.md @@ -0,0 +1,25 @@ + + +# ImapSmtpAccessDetails + +Access details for inbox using SMTP or IMAP + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**secureSmtpServerHost** | **String** | Secure TLS SMTP server host domain | | +|**secureSmtpServerPort** | **Integer** | Secure TLS SMTP server host port | | +|**secureSmtpUsername** | **String** | Secure TLS SMTP username for login | | +|**secureSmtpPassword** | **String** | Secure TLS SMTP password for login | | +|**smtpServerHost** | **String** | SMTP server host domain | | +|**smtpServerPort** | **Integer** | SMTP server host port | | +|**smtpUsername** | **String** | SMTP username for login | | +|**smtpPassword** | **String** | SMTP password for login | | +|**imapServerHost** | **String** | IMAP server host domain | | +|**imapServerPort** | **Integer** | IMAP server host port | | +|**imapUsername** | **String** | IMAP username for login | | +|**imapPassword** | **String** | IMAP password for login | | + + + diff --git a/docs/InboxByEmailAddressResult.md b/docs/InboxByEmailAddressResult.md new file mode 100644 index 000000000..040d45d92 --- /dev/null +++ b/docs/InboxByEmailAddressResult.md @@ -0,0 +1,15 @@ + + +# InboxByEmailAddressResult + +Result of search for inbox by email address + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**inboxId** | **UUID** | | [optional] | +|**exists** | **Boolean** | | | + + + diff --git a/docs/InboxByNameResult.md b/docs/InboxByNameResult.md new file mode 100644 index 000000000..187552cc0 --- /dev/null +++ b/docs/InboxByNameResult.md @@ -0,0 +1,15 @@ + + +# InboxByNameResult + +Result of search for inbox by name + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**inboxId** | **UUID** | | [optional] | +|**exists** | **Boolean** | | | + + + diff --git a/docs/InboxControllerApi.md b/docs/InboxControllerApi.md new file mode 100644 index 000000000..c9f0179f8 --- /dev/null +++ b/docs/InboxControllerApi.md @@ -0,0 +1,2890 @@ +# InboxControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**cancelScheduledJob**](InboxControllerApi#cancelScheduledJob) | **DELETE** /inboxes/scheduled-jobs/{jobId} | Cancel a scheduled email job | +| [**createInbox**](InboxControllerApi#createInbox) | **POST** /inboxes | Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes. | +| [**createInboxRuleset**](InboxControllerApi#createInboxRuleset) | **POST** /inboxes/{inboxId}/rulesets | Create an inbox ruleset | +| [**createInboxWithDefaults**](InboxControllerApi#createInboxWithDefaults) | **POST** /inboxes/withDefaults | Create an inbox with default options. Uses MailSlurp domain pool address and is private. | +| [**createInboxWithOptions**](InboxControllerApi#createInboxWithOptions) | **POST** /inboxes/withOptions | Create an inbox with options. Extended options for inbox creation. | +| [**deleteAllInboxEmails**](InboxControllerApi#deleteAllInboxEmails) | **DELETE** /inboxes/{inboxId}/deleteAllInboxEmails | Delete all emails in a given inboxes. | +| [**deleteAllInboxes**](InboxControllerApi#deleteAllInboxes) | **DELETE** /inboxes | Delete all inboxes | +| [**deleteInbox**](InboxControllerApi#deleteInbox) | **DELETE** /inboxes/{inboxId} | Delete inbox | +| [**doesInboxExist**](InboxControllerApi#doesInboxExist) | **GET** /inboxes/exists | Does inbox exist | +| [**flushExpired**](InboxControllerApi#flushExpired) | **DELETE** /inboxes/expired | Remove expired inboxes | +| [**getAllInboxes**](InboxControllerApi#getAllInboxes) | **GET** /inboxes/paginated | List All Inboxes Paginated | +| [**getAllScheduledJobs**](InboxControllerApi#getAllScheduledJobs) | **GET** /inboxes/scheduled-jobs | Get all scheduled email sending jobs for account | +| [**getDeliveryStatusesByInboxId**](InboxControllerApi#getDeliveryStatusesByInboxId) | **GET** /inboxes/{inboxId}/delivery-status | | +| [**getEmails**](InboxControllerApi#getEmails) | **GET** /inboxes/{inboxId}/emails | Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead. | +| [**getImapSmtpAccess**](InboxControllerApi#getImapSmtpAccess) | **GET** /inboxes/imap-smtp-access | | +| [**getInbox**](InboxControllerApi#getInbox) | **GET** /inboxes/{inboxId} | Get Inbox. Returns properties of an inbox. | +| [**getInboxByEmailAddress**](InboxControllerApi#getInboxByEmailAddress) | **GET** /inboxes/byEmailAddress | Search for an inbox with the provided email address | +| [**getInboxByName**](InboxControllerApi#getInboxByName) | **GET** /inboxes/byName | Search for an inbox with the given name | +| [**getInboxCount**](InboxControllerApi#getInboxCount) | **GET** /inboxes/count | Get total inbox count | +| [**getInboxEmailCount**](InboxControllerApi#getInboxEmailCount) | **GET** /inboxes/{inboxId}/emails/count | Get email count in inbox | +| [**getInboxEmailsPaginated**](InboxControllerApi#getInboxEmailsPaginated) | **GET** /inboxes/{inboxId}/emails/paginated | Get inbox emails paginated | +| [**getInboxIds**](InboxControllerApi#getInboxIds) | **GET** /inboxes/ids | Get all inbox IDs | +| [**getInboxSentEmails**](InboxControllerApi#getInboxSentEmails) | **GET** /inboxes/{inboxId}/sent | Get Inbox Sent Emails | +| [**getInboxTags**](InboxControllerApi#getInboxTags) | **GET** /inboxes/tags | Get inbox tags | +| [**getInboxes**](InboxControllerApi#getInboxes) | **GET** /inboxes | List Inboxes and email addresses | +| [**getLatestEmailInInbox**](InboxControllerApi#getLatestEmailInInbox) | **GET** /inboxes/getLatestEmail | Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. | +| [**getOrganizationInboxes**](InboxControllerApi#getOrganizationInboxes) | **GET** /inboxes/organization | List Organization Inboxes Paginated | +| [**getScheduledJob**](InboxControllerApi#getScheduledJob) | **GET** /inboxes/scheduled-jobs/{jobId} | Get a scheduled email job | +| [**getScheduledJobsByInboxId**](InboxControllerApi#getScheduledJobsByInboxId) | **GET** /inboxes/{inboxId}/scheduled-jobs | Get all scheduled email sending jobs for the inbox | +| [**listInboxRulesets**](InboxControllerApi#listInboxRulesets) | **GET** /inboxes/{inboxId}/rulesets | List inbox rulesets | +| [**listInboxTrackingPixels**](InboxControllerApi#listInboxTrackingPixels) | **GET** /inboxes/{inboxId}/tracking-pixels | List inbox tracking pixels | +| [**sendEmail**](InboxControllerApi#sendEmail) | **POST** /inboxes/{inboxId} | Send Email | +| [**sendEmailAndConfirm**](InboxControllerApi#sendEmailAndConfirm) | **POST** /inboxes/{inboxId}/confirm | Send email and return sent confirmation | +| [**sendEmailWithQueue**](InboxControllerApi#sendEmailWithQueue) | **POST** /inboxes/{inboxId}/with-queue | Send email with queue | +| [**sendSmtpEnvelope**](InboxControllerApi#sendSmtpEnvelope) | **POST** /inboxes/{inboxId}/smtp-envelope | Send email using an SMTP mail envelope and message body and return sent confirmation | +| [**sendTestEmail**](InboxControllerApi#sendTestEmail) | **POST** /inboxes/{inboxId}/send-test-email | Send a test email to inbox | +| [**sendWithSchedule**](InboxControllerApi#sendWithSchedule) | **POST** /inboxes/{inboxId}/with-schedule | Send email with with delay or schedule | +| [**setInboxFavourited**](InboxControllerApi#setInboxFavourited) | **PUT** /inboxes/{inboxId}/favourite | Set inbox favourited state | +| [**updateInbox**](InboxControllerApi#updateInbox) | **PATCH** /inboxes/{inboxId} | Update Inbox. Change name and description. Email address is not editable. | + + + +# **cancelScheduledJob** +> ScheduledJobDto cancelScheduledJob(jobId) + +Cancel a scheduled email job + +Get a scheduled email job and cancel it. Will fail if status of job is already cancelled, failed, or complete. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID jobId = UUID.randomUUID(); // UUID | + try { + ScheduledJobDto result = apiInstance.cancelScheduledJob(jobId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#cancelScheduledJob"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **jobId** | **UUID**| | | + +### Return type + +[**ScheduledJobDto**](ScheduledJobDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **createInbox** +> InboxDto createInbox(emailAddress, tags, name, description, useDomainPool, favourite, expiresAt, expiresIn, allowTeamAccess, inboxType, virtualInbox, useShortAddress, domainId, domainName) + +Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes. + +Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + String emailAddress = "emailAddress_example"; // String | A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. + List tags = Arrays.asList(); // List | Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. + String name = "name_example"; // String | Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. + String description = "description_example"; // String | Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with + Boolean useDomainPool = true; // Boolean | Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. + Boolean favourite = true; // Boolean | Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering + OffsetDateTime expiresAt = OffsetDateTime.now(); // OffsetDateTime | Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. + Long expiresIn = 56L; // Long | Number of milliseconds that inbox should exist for + Boolean allowTeamAccess = true; // Boolean | DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. + String inboxType = "HTTP_INBOX"; // String | HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at `mx.mailslurp.com`. + Boolean virtualInbox = true; // Boolean | Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. + Boolean useShortAddress = true; // Boolean | Use a shorter email address under 31 characters + UUID domainId = UUID.randomUUID(); // UUID | ID of custom domain to use for email address. + String domainName = "domainName_example"; // String | FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. + try { + InboxDto result = apiInstance.createInbox(emailAddress, tags, name, description, useDomainPool, favourite, expiresAt, expiresIn, allowTeamAccess, inboxType, virtualInbox, useShortAddress, domainId, domainName); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#createInbox"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailAddress** | **String**| A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. | [optional] | +| **tags** | [**List<String>**](String)| Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. | [optional] | +| **name** | **String**| Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. | [optional] | +| **description** | **String**| Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with | [optional] | +| **useDomainPool** | **Boolean**| Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. | [optional] | +| **favourite** | **Boolean**| Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering | [optional] | +| **expiresAt** | **OffsetDateTime**| Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. | [optional] | +| **expiresIn** | **Long**| Number of milliseconds that inbox should exist for | [optional] | +| **allowTeamAccess** | **Boolean**| DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. | [optional] | +| **inboxType** | **String**| HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at `mx.mailslurp.com`. | [optional] [enum: HTTP_INBOX, SMTP_INBOX] | +| **virtualInbox** | **Boolean**| Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. | [optional] | +| **useShortAddress** | **Boolean**| Use a shorter email address under 31 characters | [optional] | +| **domainId** | **UUID**| ID of custom domain to use for email address. | [optional] | +| **domainName** | **String**| FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. | [optional] | + +### Return type + +[**InboxDto**](InboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **createInboxRuleset** +> InboxRulesetDto createInboxRuleset(inboxId, createInboxRulesetOptions) + +Create an inbox ruleset + +Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | inboxId + CreateInboxRulesetOptions createInboxRulesetOptions = new CreateInboxRulesetOptions(); // CreateInboxRulesetOptions | + try { + InboxRulesetDto result = apiInstance.createInboxRuleset(inboxId, createInboxRulesetOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#createInboxRuleset"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| inboxId | | +| **createInboxRulesetOptions** | [**CreateInboxRulesetOptions**](CreateInboxRulesetOptions)| | | + +### Return type + +[**InboxRulesetDto**](InboxRulesetDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **createInboxWithDefaults** +> InboxDto createInboxWithDefaults() + +Create an inbox with default options. Uses MailSlurp domain pool address and is private. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + try { + InboxDto result = apiInstance.createInboxWithDefaults(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#createInboxWithDefaults"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**InboxDto**](InboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **createInboxWithOptions** +> InboxDto createInboxWithOptions(createInboxDto) + +Create an inbox with options. Extended options for inbox creation. + +Additional endpoint that allows inbox creation with request body options. Can be more flexible that other methods for some clients. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + CreateInboxDto createInboxDto = new CreateInboxDto(); // CreateInboxDto | + try { + InboxDto result = apiInstance.createInboxWithOptions(createInboxDto); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#createInboxWithOptions"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createInboxDto** | [**CreateInboxDto**](CreateInboxDto)| | | + +### Return type + +[**InboxDto**](InboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **deleteAllInboxEmails** +> deleteAllInboxEmails(inboxId) + +Delete all emails in a given inboxes. + +Deletes all emails in an inbox. Be careful as emails cannot be recovered + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteAllInboxEmails(inboxId); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#deleteAllInboxEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **deleteAllInboxes** +> deleteAllInboxes() + +Delete all inboxes + +Permanently delete all inboxes and associated email addresses. This will also delete all emails within the inboxes. Be careful as inboxes cannot be recovered once deleted. Note: deleting inboxes will not impact your usage limits. Monthly inbox creation limits are based on how many inboxes were created in the last 30 days, not how many inboxes you currently have. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + try { + apiInstance.deleteAllInboxes(); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#deleteAllInboxes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **deleteInbox** +> deleteInbox(inboxId) + +Delete inbox + +Permanently delete an inbox and associated email address as well as all emails within the given inbox. This action cannot be undone. Note: deleting an inbox will not affect your account usage. Monthly inbox usage is based on how many inboxes you create within 30 days, not how many exist at time of request. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteInbox(inboxId); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#deleteInbox"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **doesInboxExist** +> InboxExistsDto doesInboxExist(emailAddress, allowCatchAll) + +Does inbox exist + +Check if inboxes exist by email address. Useful if you are sending emails to mailslurp addresses + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + String emailAddress = "emailAddress_example"; // String | Email address + Boolean allowCatchAll = true; // Boolean | + try { + InboxExistsDto result = apiInstance.doesInboxExist(emailAddress, allowCatchAll); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#doesInboxExist"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailAddress** | **String**| Email address | | +| **allowCatchAll** | **Boolean**| | [optional] | + +### Return type + +[**InboxExistsDto**](InboxExistsDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **flushExpired** +> FlushExpiredInboxesResult flushExpired(before) + +Remove expired inboxes + +Remove any expired inboxes for your account (instead of waiting for scheduled removal on server) + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional expired at before flag to flush expired inboxes that have expired before the given time + try { + FlushExpiredInboxesResult result = apiInstance.flushExpired(before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#flushExpired"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **before** | **OffsetDateTime**| Optional expired at before flag to flush expired inboxes that have expired before the given time | [optional] | + +### Return type + +[**FlushExpiredInboxesResult**](FlushExpiredInboxesResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getAllInboxes** +> PageInboxProjection getAllInboxes(page, size, sort, favourite, search, tag, teamAccess, since, before, inboxType, domainId) + +List All Inboxes Paginated + +List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + Boolean favourite = false; // Boolean | Optionally filter results for favourites only + String search = "search_example"; // String | Optionally filter by search words partial matching ID, tags, name, and email address + String tag = "tag_example"; // String | Optionally filter by tags. Will return inboxes that include given tags + Boolean teamAccess = true; // Boolean | DEPRECATED. Optionally filter by team access. + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter by created after given date time + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter by created before given date time + String inboxType = "HTTP_INBOX"; // String | Optional filter by inbox type + UUID domainId = UUID.randomUUID(); // UUID | Optional domain ID filter + try { + PageInboxProjection result = apiInstance.getAllInboxes(page, size, sort, favourite, search, tag, teamAccess, since, before, inboxType, domainId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getAllInboxes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **favourite** | **Boolean**| Optionally filter results for favourites only | [optional] [default to false] | +| **search** | **String**| Optionally filter by search words partial matching ID, tags, name, and email address | [optional] | +| **tag** | **String**| Optionally filter by tags. Will return inboxes that include given tags | [optional] | +| **teamAccess** | **Boolean**| DEPRECATED. Optionally filter by team access. | [optional] | +| **since** | **OffsetDateTime**| Optional filter by created after given date time | [optional] | +| **before** | **OffsetDateTime**| Optional filter by created before given date time | [optional] | +| **inboxType** | **String**| Optional filter by inbox type | [optional] [enum: HTTP_INBOX, SMTP_INBOX] | +| **domainId** | **UUID**| Optional domain ID filter | [optional] | + +### Return type + +[**PageInboxProjection**](PageInboxProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getAllScheduledJobs** +> PageScheduledJobs getAllScheduledJobs(page, size, sort, since, before) + +Get all scheduled email sending jobs for account + +Schedule sending of emails using scheduled jobs. These can be inbox or account level. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in scheduled job list pagination + Integer size = 20; // Integer | Optional page size in scheduled job list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageScheduledJobs result = apiInstance.getAllScheduledJobs(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getAllScheduledJobs"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in scheduled job list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in scheduled job list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageScheduledJobs**](PageScheduledJobs) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getDeliveryStatusesByInboxId** +> PageDeliveryStatus getDeliveryStatusesByInboxId(inboxId, page, size, sort, since, before) + + + +Get all email delivery statuses for an inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index in delivery status list pagination + Integer size = 20; // Integer | Optional page size in delivery status list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageDeliveryStatus result = apiInstance.getDeliveryStatusesByInboxId(inboxId, page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getDeliveryStatusesByInboxId"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | +| **page** | **Integer**| Optional page index in delivery status list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in delivery status list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageDeliveryStatus**](PageDeliveryStatus) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmails** +> List<EmailPreview> getEmails(inboxId, size, limit, sort, retryTimeout, delayTimeout, minCount, unreadOnly, before, since) + +Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead. + +List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Id of inbox that emails belongs to + Integer size = 56; // Integer | Alias for limit. Assessed first before assessing any passed limit. + Integer limit = 56; // Integer | Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller + String sort = "ASC"; // String | Sort the results by received date and direction ASC or DESC + Long retryTimeout = 56L; // Long | Maximum milliseconds to spend retrying inbox database until minCount emails are returned + Long delayTimeout = 56L; // Long | + Long minCount = 56L; // Long | Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached. + Boolean unreadOnly = true; // Boolean | + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Exclude emails received after this ISO 8601 date time + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Exclude emails received before this ISO 8601 date time + try { + List result = apiInstance.getEmails(inboxId, size, limit, sort, retryTimeout, delayTimeout, minCount, unreadOnly, before, since); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Id of inbox that emails belongs to | | +| **size** | **Integer**| Alias for limit. Assessed first before assessing any passed limit. | [optional] | +| **limit** | **Integer**| Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller | [optional] | +| **sort** | **String**| Sort the results by received date and direction ASC or DESC | [optional] [enum: ASC, DESC] | +| **retryTimeout** | **Long**| Maximum milliseconds to spend retrying inbox database until minCount emails are returned | [optional] | +| **delayTimeout** | **Long**| | [optional] | +| **minCount** | **Long**| Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached. | [optional] | +| **unreadOnly** | **Boolean**| | [optional] | +| **before** | **OffsetDateTime**| Exclude emails received after this ISO 8601 date time | [optional] | +| **since** | **OffsetDateTime**| Exclude emails received before this ISO 8601 date time | [optional] | + +### Return type + +[**List<EmailPreview>**](EmailPreview) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getImapSmtpAccess** +> ImapSmtpAccessDetails getImapSmtpAccess(inboxId) + + + +Get IMAP and SMTP access usernames and passwords + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Inbox ID + try { + ImapSmtpAccessDetails result = apiInstance.getImapSmtpAccess(inboxId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getImapSmtpAccess"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Inbox ID | [optional] | + +### Return type + +[**ImapSmtpAccessDetails**](ImapSmtpAccessDetails) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInbox** +> InboxDto getInbox(inboxId) + +Get Inbox. Returns properties of an inbox. + +Returns an inbox's properties, including its email address and ID. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + try { + InboxDto result = apiInstance.getInbox(inboxId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getInbox"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | + +### Return type + +[**InboxDto**](InboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxByEmailAddress** +> InboxByEmailAddressResult getInboxByEmailAddress(emailAddress) + +Search for an inbox with the provided email address + +Get a inbox result by email address + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + String emailAddress = "emailAddress_example"; // String | + try { + InboxByEmailAddressResult result = apiInstance.getInboxByEmailAddress(emailAddress); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getInboxByEmailAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailAddress** | **String**| | | + +### Return type + +[**InboxByEmailAddressResult**](InboxByEmailAddressResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxByName** +> InboxByNameResult getInboxByName(name) + +Search for an inbox with the given name + +Get a inbox result by name + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + String name = "name_example"; // String | + try { + InboxByNameResult result = apiInstance.getInboxByName(name); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getInboxByName"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| | | + +### Return type + +[**InboxByNameResult**](InboxByNameResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxCount** +> CountDto getInboxCount() + +Get total inbox count + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + try { + CountDto result = apiInstance.getInboxCount(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getInboxCount"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**CountDto**](CountDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxEmailCount** +> CountDto getInboxEmailCount(inboxId) + +Get email count in inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Id of inbox that emails belongs to + try { + CountDto result = apiInstance.getInboxEmailCount(inboxId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getInboxEmailCount"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Id of inbox that emails belongs to | | + +### Return type + +[**CountDto**](CountDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxEmailsPaginated** +> PageEmailPreview getInboxEmailsPaginated(inboxId, page, size, sort, since, before) + +Get inbox emails paginated + +Get a paginated list of emails in an inbox. Does not hold connections open. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Id of inbox that emails belongs to + Integer page = 0; // Integer | Optional page index in inbox emails list pagination + Integer size = 20; // Integer | Optional page size in inbox emails list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter by received after given date time + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter by received before given date time + try { + PageEmailPreview result = apiInstance.getInboxEmailsPaginated(inboxId, page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getInboxEmailsPaginated"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Id of inbox that emails belongs to | | +| **page** | **Integer**| Optional page index in inbox emails list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox emails list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Optional filter by received after given date time | [optional] | +| **before** | **OffsetDateTime**| Optional filter by received before given date time | [optional] | + +### Return type + +[**PageEmailPreview**](PageEmailPreview) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxIds** +> InboxIdsResult getInboxIds() + +Get all inbox IDs + +Get list of inbox IDs + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + try { + InboxIdsResult result = apiInstance.getInboxIds(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getInboxIds"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**InboxIdsResult**](InboxIdsResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxSentEmails** +> PageSentEmailProjection getInboxSentEmails(inboxId, page, size, sort, searchFilter, since, before) + +Get Inbox Sent Emails + +Returns an inbox's sent email receipts. Call individual sent email endpoints for more details. Note for privacy reasons the full body of sent emails is never stored. An MD5 hash hex is available for comparison instead. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index in inbox sent email list pagination + Integer size = 20; // Integer | Optional page size in inbox sent email list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional sent email search + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter by sent after given date time + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter by sent before given date time + try { + PageSentEmailProjection result = apiInstance.getInboxSentEmails(inboxId, page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getInboxSentEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | +| **page** | **Integer**| Optional page index in inbox sent email list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox sent email list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional sent email search | [optional] | +| **since** | **OffsetDateTime**| Optional filter by sent after given date time | [optional] | +| **before** | **OffsetDateTime**| Optional filter by sent before given date time | [optional] | + +### Return type + +[**PageSentEmailProjection**](PageSentEmailProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxTags** +> List<String> getInboxTags() + +Get inbox tags + +Get all inbox tags + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + try { + List result = apiInstance.getInboxTags(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getInboxTags"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**List<String>** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxes** +> List<InboxDto> getInboxes(size, sort, since, excludeCatchAllInboxes, before) + +List Inboxes and email addresses + +List the inboxes you have created. Note use of the more advanced `getAllInboxes` is recommended and allows paginated access using a limit and sort parameter. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + Integer size = 100; // Integer | Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries. + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter by created after given date time + Boolean excludeCatchAllInboxes = true; // Boolean | Optional exclude catch all inboxes + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter by created before given date time + try { + List result = apiInstance.getInboxes(size, sort, since, excludeCatchAllInboxes, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getInboxes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **size** | **Integer**| Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries. | [optional] [default to 100] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Optional filter by created after given date time | [optional] | +| **excludeCatchAllInboxes** | **Boolean**| Optional exclude catch all inboxes | [optional] | +| **before** | **OffsetDateTime**| Optional filter by created before given date time | [optional] | + +### Return type + +[**List<InboxDto>**](InboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getLatestEmailInInbox** +> Email getLatestEmailInInbox(inboxId, timeoutMillis) + +Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + +Get the newest email in an inbox or wait for one to arrive + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | ID of the inbox you want to get the latest email from + Long timeoutMillis = 56L; // Long | Timeout milliseconds to wait for latest email + try { + Email result = apiInstance.getLatestEmailInInbox(inboxId, timeoutMillis); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getLatestEmailInInbox"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| ID of the inbox you want to get the latest email from | | +| **timeoutMillis** | **Long**| Timeout milliseconds to wait for latest email | | + +### Return type + +[**Email**](Email) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getOrganizationInboxes** +> PageOrganizationInboxProjection getOrganizationInboxes(page, size, sort, searchFilter, since, before) + +List Organization Inboxes Paginated + +List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter by created after given date time + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter by created before given date time + try { + PageOrganizationInboxProjection result = apiInstance.getOrganizationInboxes(page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getOrganizationInboxes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Optional filter by created after given date time | [optional] | +| **before** | **OffsetDateTime**| Optional filter by created before given date time | [optional] | + +### Return type + +[**PageOrganizationInboxProjection**](PageOrganizationInboxProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getScheduledJob** +> ScheduledJobDto getScheduledJob(jobId) + +Get a scheduled email job + +Get a scheduled email job details. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID jobId = UUID.randomUUID(); // UUID | + try { + ScheduledJobDto result = apiInstance.getScheduledJob(jobId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getScheduledJob"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **jobId** | **UUID**| | | + +### Return type + +[**ScheduledJobDto**](ScheduledJobDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getScheduledJobsByInboxId** +> PageScheduledJobs getScheduledJobsByInboxId(inboxId, page, size, sort, since, before) + +Get all scheduled email sending jobs for the inbox + +Schedule sending of emails using scheduled jobs. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index in scheduled job list pagination + Integer size = 20; // Integer | Optional page size in scheduled job list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageScheduledJobs result = apiInstance.getScheduledJobsByInboxId(inboxId, page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#getScheduledJobsByInboxId"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | +| **page** | **Integer**| Optional page index in scheduled job list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in scheduled job list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageScheduledJobs**](PageScheduledJobs) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **listInboxRulesets** +> PageInboxRulesetDto listInboxRulesets(inboxId, page, size, sort, searchFilter, since, before) + +List inbox rulesets + +List all rulesets attached to an inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index in inbox ruleset list pagination + Integer size = 20; // Integer | Optional page size in inbox ruleset list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter by created after given date time + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter by created before given date time + try { + PageInboxRulesetDto result = apiInstance.listInboxRulesets(inboxId, page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#listInboxRulesets"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | +| **page** | **Integer**| Optional page index in inbox ruleset list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox ruleset list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Optional filter by created after given date time | [optional] | +| **before** | **OffsetDateTime**| Optional filter by created before given date time | [optional] | + +### Return type + +[**PageInboxRulesetDto**](PageInboxRulesetDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **listInboxTrackingPixels** +> PageTrackingPixelProjection listInboxTrackingPixels(inboxId, page, size, sort, searchFilter, since, before) + +List inbox tracking pixels + +List all tracking pixels sent from an inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index in inbox tracking pixel list pagination + Integer size = 20; // Integer | Optional page size in inbox tracking pixel list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter by created after given date time + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter by created before given date time + try { + PageTrackingPixelProjection result = apiInstance.listInboxTrackingPixels(inboxId, page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#listInboxTrackingPixels"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | +| **page** | **Integer**| Optional page index in inbox tracking pixel list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox tracking pixel list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Optional filter by created after given date time | [optional] | +| **before** | **OffsetDateTime**| Optional filter by created before given date time | [optional] | + +### Return type + +[**PageTrackingPixelProjection**](PageTrackingPixelProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **sendEmail** +> sendEmail(inboxId, sendEmailOptions) + +Send Email + +Send an email from an inbox's email address. The request body should contain the `SendEmailOptions` that include recipients, attachments, body etc. See `SendEmailOptions` for all available properties. Note the `inboxId` refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method `sendEmailAndConfirm`. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | ID of the inbox you want to send the email from + SendEmailOptions sendEmailOptions = new SendEmailOptions(); // SendEmailOptions | + try { + apiInstance.sendEmail(inboxId, sendEmailOptions); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#sendEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| ID of the inbox you want to send the email from | | +| **sendEmailOptions** | [**SendEmailOptions**](SendEmailOptions)| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **sendEmailAndConfirm** +> SentEmailDto sendEmailAndConfirm(inboxId, sendEmailOptions) + +Send email and return sent confirmation + +Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | ID of the inbox you want to send the email from + SendEmailOptions sendEmailOptions = new SendEmailOptions(); // SendEmailOptions | + try { + SentEmailDto result = apiInstance.sendEmailAndConfirm(inboxId, sendEmailOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#sendEmailAndConfirm"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| ID of the inbox you want to send the email from | | +| **sendEmailOptions** | [**SendEmailOptions**](SendEmailOptions)| | | + +### Return type + +[**SentEmailDto**](SentEmailDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **sendEmailWithQueue** +> sendEmailWithQueue(inboxId, validateBeforeEnqueue, sendEmailOptions) + +Send email with queue + +Send an email using a queue. Will place the email onto a queue that will then be processed and sent. Use this queue method to enable any failed email sending to be recovered. This will prevent lost emails when sending if your account encounters a block or payment issue. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | ID of the inbox you want to send the email from + Boolean validateBeforeEnqueue = true; // Boolean | Validate before adding to queue + SendEmailOptions sendEmailOptions = new SendEmailOptions(); // SendEmailOptions | + try { + apiInstance.sendEmailWithQueue(inboxId, validateBeforeEnqueue, sendEmailOptions); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#sendEmailWithQueue"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| ID of the inbox you want to send the email from | | +| **validateBeforeEnqueue** | **Boolean**| Validate before adding to queue | | +| **sendEmailOptions** | [**SendEmailOptions**](SendEmailOptions)| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **sendSmtpEnvelope** +> SentEmailDto sendSmtpEnvelope(inboxId, sendSMTPEnvelopeOptions) + +Send email using an SMTP mail envelope and message body and return sent confirmation + +Send email using an SMTP envelope containing RCPT TO, MAIL FROM, and a SMTP BODY. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | ID of the inbox you want to send the email from + SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions = new SendSMTPEnvelopeOptions(); // SendSMTPEnvelopeOptions | + try { + SentEmailDto result = apiInstance.sendSmtpEnvelope(inboxId, sendSMTPEnvelopeOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#sendSmtpEnvelope"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| ID of the inbox you want to send the email from | | +| **sendSMTPEnvelopeOptions** | [**SendSMTPEnvelopeOptions**](SendSMTPEnvelopeOptions)| | | + +### Return type + +[**SentEmailDto**](SentEmailDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **sendTestEmail** +> sendTestEmail(inboxId) + +Send a test email to inbox + +Send an inbox a test email to test email receiving is working + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + try { + apiInstance.sendTestEmail(inboxId); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#sendTestEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **sendWithSchedule** +> ScheduledJobDto sendWithSchedule(inboxId, sendEmailOptions, sendAtTimestamp, sendAtNowPlusSeconds, validateBeforeEnqueue) + +Send email with with delay or schedule + +Send an email using a delay. Will place the email onto a scheduler that will then be processed and sent. Use delays to schedule email sending. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | ID of the inbox you want to send the email from + SendEmailOptions sendEmailOptions = new SendEmailOptions(); // SendEmailOptions | + OffsetDateTime sendAtTimestamp = OffsetDateTime.now(); // OffsetDateTime | Sending timestamp + Long sendAtNowPlusSeconds = 56L; // Long | Send after n seconds + Boolean validateBeforeEnqueue = true; // Boolean | Validate before adding to queue + try { + ScheduledJobDto result = apiInstance.sendWithSchedule(inboxId, sendEmailOptions, sendAtTimestamp, sendAtNowPlusSeconds, validateBeforeEnqueue); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#sendWithSchedule"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| ID of the inbox you want to send the email from | | +| **sendEmailOptions** | [**SendEmailOptions**](SendEmailOptions)| | | +| **sendAtTimestamp** | **OffsetDateTime**| Sending timestamp | [optional] | +| **sendAtNowPlusSeconds** | **Long**| Send after n seconds | [optional] | +| **validateBeforeEnqueue** | **Boolean**| Validate before adding to queue | [optional] | + +### Return type + +[**ScheduledJobDto**](ScheduledJobDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **setInboxFavourited** +> InboxDto setInboxFavourited(inboxId, setInboxFavouritedOptions) + +Set inbox favourited state + +Set and return new favourite state for an inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | ID of inbox to set favourite state + SetInboxFavouritedOptions setInboxFavouritedOptions = new SetInboxFavouritedOptions(); // SetInboxFavouritedOptions | + try { + InboxDto result = apiInstance.setInboxFavourited(inboxId, setInboxFavouritedOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#setInboxFavourited"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| ID of inbox to set favourite state | | +| **setInboxFavouritedOptions** | [**SetInboxFavouritedOptions**](SetInboxFavouritedOptions)| | | + +### Return type + +[**InboxDto**](InboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **updateInbox** +> InboxDto updateInbox(inboxId, updateInboxOptions) + +Update Inbox. Change name and description. Email address is not editable. + +Update editable fields on an inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxControllerApi apiInstance = new InboxControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + UpdateInboxOptions updateInboxOptions = new UpdateInboxOptions(); // UpdateInboxOptions | + try { + InboxDto result = apiInstance.updateInbox(inboxId, updateInboxOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxControllerApi#updateInbox"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | +| **updateInboxOptions** | [**UpdateInboxOptions**](UpdateInboxOptions)| | | + +### Return type + +[**InboxDto**](InboxDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/InboxDto.md b/docs/InboxDto.md new file mode 100644 index 000000000..cc0a787df --- /dev/null +++ b/docs/InboxDto.md @@ -0,0 +1,35 @@ + + +# InboxDto + +Representation of a MailSlurp inbox. An inbox has an ID and a real email address. Emails can be sent to or from this email address. Inboxes are either `SMTP` or `HTTP` mailboxes. The default, `HTTP` inboxes, use AWS SES to process emails and are best suited as test email accounts and do not support IMAP or POP3. `SMTP` inboxes use a custom mail server at `mx.mailslurp.com` and support SMTP login, IMAP and POP3. Use the `EmailController` or the `InboxController` methods to send and receive emails and attachments. Inboxes may have a description, name, and tags for display purposes. You can also favourite an inbox for easier searching. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically. | | +|**userId** | **UUID** | ID of user that inbox belongs to | [optional] | +|**createdAt** | **OffsetDateTime** | When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`. | | +|**name** | **String** | Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search | [optional] | +|**domainId** | **UUID** | ID of custom domain used by the inbox if any | [optional] | +|**description** | **String** | Description of an inbox for labelling and searching purposes | [optional] | +|**emailAddress** | **String** | The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. | | +|**expiresAt** | **String** | Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email. | [optional] | +|**favourite** | **Boolean** | Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering | | +|**tags** | **List<String>** | Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. | [optional] | +|**inboxType** | [**InboxTypeEnum**](#InboxTypeEnum) | Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). | [optional] | +|**readOnly** | **Boolean** | Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes. | | +|**virtualInbox** | **Boolean** | Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions. | | + + + +## Enum: InboxTypeEnum + +| Name | Value | +|---- | -----| +| HTTP_INBOX | "HTTP_INBOX" | +| SMTP_INBOX | "SMTP_INBOX" | + + + diff --git a/docs/InboxExistsDto.md b/docs/InboxExistsDto.md new file mode 100644 index 000000000..b4612fb6c --- /dev/null +++ b/docs/InboxExistsDto.md @@ -0,0 +1,14 @@ + + +# InboxExistsDto + +Result of email exists query + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**exists** | **Boolean** | | | + + + diff --git a/docs/InboxForwarderControllerApi.md b/docs/InboxForwarderControllerApi.md new file mode 100644 index 000000000..b689a46ef --- /dev/null +++ b/docs/InboxForwarderControllerApi.md @@ -0,0 +1,732 @@ +# InboxForwarderControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createNewInboxForwarder**](InboxForwarderControllerApi#createNewInboxForwarder) | **POST** /forwarders | Create an inbox forwarder | +| [**deleteInboxForwarder**](InboxForwarderControllerApi#deleteInboxForwarder) | **DELETE** /forwarders/{id} | Delete an inbox forwarder | +| [**deleteInboxForwarders**](InboxForwarderControllerApi#deleteInboxForwarders) | **DELETE** /forwarders | Delete inbox forwarders | +| [**getInboxForwarder**](InboxForwarderControllerApi#getInboxForwarder) | **GET** /forwarders/{id} | Get an inbox forwarder | +| [**getInboxForwarderEvents**](InboxForwarderControllerApi#getInboxForwarderEvents) | **GET** /forwarders/{id}/events | Get an inbox forwarder event list | +| [**getInboxForwarders**](InboxForwarderControllerApi#getInboxForwarders) | **GET** /forwarders | List inbox forwarders | +| [**testInboxForwarder**](InboxForwarderControllerApi#testInboxForwarder) | **POST** /forwarders/{id}/test | Test an inbox forwarder | +| [**testInboxForwardersForInbox**](InboxForwarderControllerApi#testInboxForwardersForInbox) | **PUT** /forwarders | Test inbox forwarders for inbox | +| [**testNewInboxForwarder**](InboxForwarderControllerApi#testNewInboxForwarder) | **PATCH** /forwarders | Test new inbox forwarder | +| [**updateInboxForwarder**](InboxForwarderControllerApi#updateInboxForwarder) | **PUT** /forwarders/{id} | Update an inbox forwarder | + + + +# **createNewInboxForwarder** +> InboxForwarderDto createNewInboxForwarder(inboxId, createInboxForwarderOptions) + +Create an inbox forwarder + +Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxForwarderControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxForwarderControllerApi apiInstance = new InboxForwarderControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Inbox id to attach forwarder to + CreateInboxForwarderOptions createInboxForwarderOptions = new CreateInboxForwarderOptions(); // CreateInboxForwarderOptions | + try { + InboxForwarderDto result = apiInstance.createNewInboxForwarder(inboxId, createInboxForwarderOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxForwarderControllerApi#createNewInboxForwarder"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Inbox id to attach forwarder to | | +| **createInboxForwarderOptions** | [**CreateInboxForwarderOptions**](CreateInboxForwarderOptions)| | | + +### Return type + +[**InboxForwarderDto**](InboxForwarderDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **deleteInboxForwarder** +> deleteInboxForwarder(id) + +Delete an inbox forwarder + +Delete inbox forwarder + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxForwarderControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxForwarderControllerApi apiInstance = new InboxForwarderControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox forwarder + try { + apiInstance.deleteInboxForwarder(id); + } catch (ApiException e) { + System.err.println("Exception when calling InboxForwarderControllerApi#deleteInboxForwarder"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox forwarder | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **deleteInboxForwarders** +> deleteInboxForwarders(inboxId) + +Delete inbox forwarders + +Delete inbox forwarders. Accepts optional inboxId filter. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxForwarderControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxForwarderControllerApi apiInstance = new InboxForwarderControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Optional inbox id to attach forwarder to + try { + apiInstance.deleteInboxForwarders(inboxId); + } catch (ApiException e) { + System.err.println("Exception when calling InboxForwarderControllerApi#deleteInboxForwarders"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Optional inbox id to attach forwarder to | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getInboxForwarder** +> InboxForwarderDto getInboxForwarder(id) + +Get an inbox forwarder + +Get inbox ruleset + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxForwarderControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxForwarderControllerApi apiInstance = new InboxForwarderControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox forwarder + try { + InboxForwarderDto result = apiInstance.getInboxForwarder(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxForwarderControllerApi#getInboxForwarder"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox forwarder | | + +### Return type + +[**InboxForwarderDto**](InboxForwarderDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxForwarderEvents** +> PageInboxForwarderEvents getInboxForwarderEvents(id, page, size, sort) + +Get an inbox forwarder event list + +Get inbox ruleset events + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxForwarderControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxForwarderControllerApi apiInstance = new InboxForwarderControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox forwarder + Integer page = 0; // Integer | Optional page index in inbox forwarder event list pagination + Integer size = 20; // Integer | Optional page size in inbox forwarder event list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + try { + PageInboxForwarderEvents result = apiInstance.getInboxForwarderEvents(id, page, size, sort); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxForwarderControllerApi#getInboxForwarderEvents"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox forwarder | | +| **page** | **Integer**| Optional page index in inbox forwarder event list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox forwarder event list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | + +### Return type + +[**PageInboxForwarderEvents**](PageInboxForwarderEvents) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxForwarders** +> PageInboxForwarderDto getInboxForwarders(inboxId, page, size, sort, searchFilter, since, before) + +List inbox forwarders + +List all forwarders attached to an inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxForwarderControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxForwarderControllerApi apiInstance = new InboxForwarderControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Optional inbox id to get forwarders from + Integer page = 0; // Integer | Optional page index in inbox forwarder list pagination + Integer size = 20; // Integer | Optional page size in inbox forwarder list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageInboxForwarderDto result = apiInstance.getInboxForwarders(inboxId, page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxForwarderControllerApi#getInboxForwarders"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Optional inbox id to get forwarders from | [optional] | +| **page** | **Integer**| Optional page index in inbox forwarder list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox forwarder list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageInboxForwarderDto**](PageInboxForwarderDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **testInboxForwarder** +> InboxForwarderTestResult testInboxForwarder(id, inboxForwarderTestOptions) + +Test an inbox forwarder + +Test an inbox forwarder + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxForwarderControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxForwarderControllerApi apiInstance = new InboxForwarderControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox forwarder + InboxForwarderTestOptions inboxForwarderTestOptions = new InboxForwarderTestOptions(); // InboxForwarderTestOptions | + try { + InboxForwarderTestResult result = apiInstance.testInboxForwarder(id, inboxForwarderTestOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxForwarderControllerApi#testInboxForwarder"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox forwarder | | +| **inboxForwarderTestOptions** | [**InboxForwarderTestOptions**](InboxForwarderTestOptions)| | | + +### Return type + +[**InboxForwarderTestResult**](InboxForwarderTestResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **testInboxForwardersForInbox** +> InboxForwarderTestResult testInboxForwardersForInbox(inboxId, inboxForwarderTestOptions) + +Test inbox forwarders for inbox + +Test inbox forwarders for inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxForwarderControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxForwarderControllerApi apiInstance = new InboxForwarderControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | ID of inbox + InboxForwarderTestOptions inboxForwarderTestOptions = new InboxForwarderTestOptions(); // InboxForwarderTestOptions | + try { + InboxForwarderTestResult result = apiInstance.testInboxForwardersForInbox(inboxId, inboxForwarderTestOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxForwarderControllerApi#testInboxForwardersForInbox"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| ID of inbox | | +| **inboxForwarderTestOptions** | [**InboxForwarderTestOptions**](InboxForwarderTestOptions)| | | + +### Return type + +[**InboxForwarderTestResult**](InboxForwarderTestResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **testNewInboxForwarder** +> InboxForwarderTestResult testNewInboxForwarder(testNewInboxForwarderOptions) + +Test new inbox forwarder + +Test new inbox forwarder + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxForwarderControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxForwarderControllerApi apiInstance = new InboxForwarderControllerApi(defaultClient); + TestNewInboxForwarderOptions testNewInboxForwarderOptions = new TestNewInboxForwarderOptions(); // TestNewInboxForwarderOptions | + try { + InboxForwarderTestResult result = apiInstance.testNewInboxForwarder(testNewInboxForwarderOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxForwarderControllerApi#testNewInboxForwarder"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **testNewInboxForwarderOptions** | [**TestNewInboxForwarderOptions**](TestNewInboxForwarderOptions)| | | + +### Return type + +[**InboxForwarderTestResult**](InboxForwarderTestResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **updateInboxForwarder** +> InboxForwarderDto updateInboxForwarder(id, createInboxForwarderOptions) + +Update an inbox forwarder + +Update inbox ruleset + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxForwarderControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxForwarderControllerApi apiInstance = new InboxForwarderControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox forwarder + CreateInboxForwarderOptions createInboxForwarderOptions = new CreateInboxForwarderOptions(); // CreateInboxForwarderOptions | + try { + InboxForwarderDto result = apiInstance.updateInboxForwarder(id, createInboxForwarderOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxForwarderControllerApi#updateInboxForwarder"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox forwarder | | +| **createInboxForwarderOptions** | [**CreateInboxForwarderOptions**](CreateInboxForwarderOptions)| | | + +### Return type + +[**InboxForwarderDto**](InboxForwarderDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/InboxForwarderDto.md b/docs/InboxForwarderDto.md new file mode 100644 index 000000000..adcb091be --- /dev/null +++ b/docs/InboxForwarderDto.md @@ -0,0 +1,31 @@ + + +# InboxForwarderDto + +Inbox forwarder. Describes how an inbox will forward matching emails to designated recipients. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**inboxId** | **UUID** | | | +|**name** | **String** | Name of inbox forwarder | [optional] | +|**field** | [**FieldEnum**](#FieldEnum) | Which field to match against | | +|**match** | **String** | Wild-card type pattern to apply to field | | +|**forwardToRecipients** | **List<String>** | Who to send forwarded email to | | +|**createdAt** | **OffsetDateTime** | | | + + + +## Enum: FieldEnum + +| Name | Value | +|---- | -----| +| RECIPIENTS | "RECIPIENTS" | +| SENDER | "SENDER" | +| SUBJECT | "SUBJECT" | +| ATTACHMENTS | "ATTACHMENTS" | + + + diff --git a/docs/InboxForwarderEventProjection.md b/docs/InboxForwarderEventProjection.md new file mode 100644 index 000000000..6f24c2979 --- /dev/null +++ b/docs/InboxForwarderEventProjection.md @@ -0,0 +1,30 @@ + + +# InboxForwarderEventProjection + +Inbox forwarder event + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**message** | **String** | | [optional] | +|**id** | **UUID** | | [optional] | +|**status** | [**StatusEnum**](#StatusEnum) | | [optional] | +|**emailId** | **UUID** | | [optional] | +|**inboxId** | **UUID** | | [optional] | +|**userId** | **UUID** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**forwarderId** | **UUID** | | [optional] | + + + +## Enum: StatusEnum + +| Name | Value | +|---- | -----| +| SUCCESS | "SUCCESS" | +| FAILURE | "FAILURE" | + + + diff --git a/docs/InboxForwarderTestOptions.md b/docs/InboxForwarderTestOptions.md new file mode 100644 index 000000000..7726014fb --- /dev/null +++ b/docs/InboxForwarderTestOptions.md @@ -0,0 +1,14 @@ + + +# InboxForwarderTestOptions + +Options for testing an inbox forwarder against a value + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**testValue** | **String** | | | + + + diff --git a/docs/InboxForwarderTestResult.md b/docs/InboxForwarderTestResult.md new file mode 100644 index 000000000..131681f7e --- /dev/null +++ b/docs/InboxForwarderTestResult.md @@ -0,0 +1,15 @@ + + +# InboxForwarderTestResult + +Results of inbox forwarder test + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**matches** | **Map<String, Boolean>** | | | +|**doesMatch** | **Boolean** | | | + + + diff --git a/docs/InboxIdItem.md b/docs/InboxIdItem.md new file mode 100644 index 000000000..77dc6556e --- /dev/null +++ b/docs/InboxIdItem.md @@ -0,0 +1,15 @@ + + +# InboxIdItem + +Inbox ID and email address pair + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**emailAddress** | **String** | | | + + + diff --git a/docs/InboxIdsResult.md b/docs/InboxIdsResult.md new file mode 100644 index 000000000..a047e2d01 --- /dev/null +++ b/docs/InboxIdsResult.md @@ -0,0 +1,14 @@ + + +# InboxIdsResult + +List of inbox IDs and email addresses + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**inboxIds** | [**List<InboxIdItem>**](InboxIdItem) | | | + + + diff --git a/docs/InboxPreview.md b/docs/InboxPreview.md new file mode 100644 index 000000000..f4070552b --- /dev/null +++ b/docs/InboxPreview.md @@ -0,0 +1,33 @@ + + +# InboxPreview + +Inbox data preview element. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically. | | +|**domainId** | **UUID** | ID of custom domain used by the inbox if any | [optional] | +|**emailAddress** | **String** | The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. | [optional] | +|**createdAt** | **OffsetDateTime** | When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`. | | +|**favourite** | **Boolean** | Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering | | +|**name** | **String** | Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search | [optional] | +|**tags** | **List<String>** | Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. | [optional] | +|**teamAccess** | **Boolean** | Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/ | | +|**inboxType** | [**InboxTypeEnum**](#InboxTypeEnum) | Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). | [optional] | +|**virtualInbox** | **Boolean** | Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions. | | +|**expiresAt** | **String** | Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email. | [optional] | + + + +## Enum: InboxTypeEnum + +| Name | Value | +|---- | -----| +| HTTP_INBOX | "HTTP_INBOX" | +| SMTP_INBOX | "SMTP_INBOX" | + + + diff --git a/docs/InboxReplierControllerApi.md b/docs/InboxReplierControllerApi.md new file mode 100644 index 000000000..c78bb49d2 --- /dev/null +++ b/docs/InboxReplierControllerApi.md @@ -0,0 +1,514 @@ +# InboxReplierControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createNewInboxReplier**](InboxReplierControllerApi#createNewInboxReplier) | **POST** /repliers | Create an inbox replier | +| [**deleteInboxReplier**](InboxReplierControllerApi#deleteInboxReplier) | **DELETE** /repliers/{id} | Delete an inbox replier | +| [**deleteInboxRepliers**](InboxReplierControllerApi#deleteInboxRepliers) | **DELETE** /repliers | Delete inbox repliers | +| [**getInboxReplier**](InboxReplierControllerApi#getInboxReplier) | **GET** /repliers/{id} | Get an inbox replier | +| [**getInboxReplierEvents**](InboxReplierControllerApi#getInboxReplierEvents) | **GET** /repliers/{id}/events | Get an inbox replier event list | +| [**getInboxRepliers**](InboxReplierControllerApi#getInboxRepliers) | **GET** /repliers | List inbox repliers | +| [**updateInboxReplier**](InboxReplierControllerApi#updateInboxReplier) | **PUT** /repliers/{id} | Update an inbox replier | + + + +# **createNewInboxReplier** +> InboxReplierDto createNewInboxReplier(createInboxReplierOptions) + +Create an inbox replier + +Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxReplierControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxReplierControllerApi apiInstance = new InboxReplierControllerApi(defaultClient); + CreateInboxReplierOptions createInboxReplierOptions = new CreateInboxReplierOptions(); // CreateInboxReplierOptions | + try { + InboxReplierDto result = apiInstance.createNewInboxReplier(createInboxReplierOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxReplierControllerApi#createNewInboxReplier"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createInboxReplierOptions** | [**CreateInboxReplierOptions**](CreateInboxReplierOptions)| | | + +### Return type + +[**InboxReplierDto**](InboxReplierDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **deleteInboxReplier** +> deleteInboxReplier(id) + +Delete an inbox replier + +Delete inbox replier + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxReplierControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxReplierControllerApi apiInstance = new InboxReplierControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox replier + try { + apiInstance.deleteInboxReplier(id); + } catch (ApiException e) { + System.err.println("Exception when calling InboxReplierControllerApi#deleteInboxReplier"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox replier | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **deleteInboxRepliers** +> deleteInboxRepliers(inboxId) + +Delete inbox repliers + +Delete inbox repliers. Accepts optional inboxId filter. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxReplierControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxReplierControllerApi apiInstance = new InboxReplierControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Optional inbox id to attach replier to + try { + apiInstance.deleteInboxRepliers(inboxId); + } catch (ApiException e) { + System.err.println("Exception when calling InboxReplierControllerApi#deleteInboxRepliers"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Optional inbox id to attach replier to | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getInboxReplier** +> InboxReplierDto getInboxReplier(id) + +Get an inbox replier + +Get inbox ruleset + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxReplierControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxReplierControllerApi apiInstance = new InboxReplierControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox replier + try { + InboxReplierDto result = apiInstance.getInboxReplier(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxReplierControllerApi#getInboxReplier"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox replier | | + +### Return type + +[**InboxReplierDto**](InboxReplierDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxReplierEvents** +> PageInboxReplierEvents getInboxReplierEvents(id, page, size, sort) + +Get an inbox replier event list + +Get inbox ruleset events + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxReplierControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxReplierControllerApi apiInstance = new InboxReplierControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox replier + Integer page = 0; // Integer | Optional page index in inbox replier event list pagination + Integer size = 20; // Integer | Optional page size in inbox replier event list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + try { + PageInboxReplierEvents result = apiInstance.getInboxReplierEvents(id, page, size, sort); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxReplierControllerApi#getInboxReplierEvents"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox replier | | +| **page** | **Integer**| Optional page index in inbox replier event list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox replier event list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | + +### Return type + +[**PageInboxReplierEvents**](PageInboxReplierEvents) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxRepliers** +> PageInboxReplierDto getInboxRepliers(inboxId, page, size, sort, since, before) + +List inbox repliers + +List all repliers attached to an inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxReplierControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxReplierControllerApi apiInstance = new InboxReplierControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Optional inbox id to get repliers from + Integer page = 0; // Integer | Optional page index in inbox replier list pagination + Integer size = 20; // Integer | Optional page size in inbox replier list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageInboxReplierDto result = apiInstance.getInboxRepliers(inboxId, page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxReplierControllerApi#getInboxRepliers"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Optional inbox id to get repliers from | [optional] | +| **page** | **Integer**| Optional page index in inbox replier list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox replier list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageInboxReplierDto**](PageInboxReplierDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **updateInboxReplier** +> InboxReplierDto updateInboxReplier(id, updateInboxReplierOptions) + +Update an inbox replier + +Update inbox ruleset + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxReplierControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxReplierControllerApi apiInstance = new InboxReplierControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox replier + UpdateInboxReplierOptions updateInboxReplierOptions = new UpdateInboxReplierOptions(); // UpdateInboxReplierOptions | + try { + InboxReplierDto result = apiInstance.updateInboxReplier(id, updateInboxReplierOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxReplierControllerApi#updateInboxReplier"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox replier | | +| **updateInboxReplierOptions** | [**UpdateInboxReplierOptions**](UpdateInboxReplierOptions)| | | + +### Return type + +[**InboxReplierDto**](InboxReplierDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/InboxReplierDto.md b/docs/InboxReplierDto.md new file mode 100644 index 000000000..e94a21146 --- /dev/null +++ b/docs/InboxReplierDto.md @@ -0,0 +1,38 @@ + + +# InboxReplierDto + +Inbox replier. Will automatically reply to inbound emails that match given field for an inbox. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**inboxId** | **UUID** | | | +|**name** | **String** | | [optional] | +|**field** | [**FieldEnum**](#FieldEnum) | | | +|**match** | **String** | | | +|**replyTo** | **String** | | [optional] | +|**subject** | **String** | | [optional] | +|**from** | **String** | | [optional] | +|**charset** | **String** | | [optional] | +|**isHTML** | **Boolean** | | | +|**templateId** | **UUID** | | [optional] | +|**templateVariables** | **Map<String, Object>** | | [optional] | +|**ignoreReplyTo** | **Boolean** | | | +|**createdAt** | **OffsetDateTime** | | | + + + +## Enum: FieldEnum + +| Name | Value | +|---- | -----| +| RECIPIENTS | "RECIPIENTS" | +| SENDER | "SENDER" | +| SUBJECT | "SUBJECT" | +| ATTACHMENTS | "ATTACHMENTS" | + + + diff --git a/docs/InboxReplierEventProjection.md b/docs/InboxReplierEventProjection.md new file mode 100644 index 000000000..33139fb72 --- /dev/null +++ b/docs/InboxReplierEventProjection.md @@ -0,0 +1,32 @@ + + +# InboxReplierEventProjection + +Inbox replier event + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**message** | **String** | | [optional] | +|**id** | **UUID** | | [optional] | +|**status** | [**StatusEnum**](#StatusEnum) | | [optional] | +|**recipients** | **List<String>** | | [optional] | +|**emailId** | **UUID** | | [optional] | +|**inboxId** | **UUID** | | [optional] | +|**userId** | **UUID** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**sentId** | **UUID** | | [optional] | +|**replierId** | **UUID** | | [optional] | + + + +## Enum: StatusEnum + +| Name | Value | +|---- | -----| +| SUCCESS | "SUCCESS" | +| FAILURE | "FAILURE" | + + + diff --git a/docs/InboxRulesetControllerApi.md b/docs/InboxRulesetControllerApi.md new file mode 100644 index 000000000..947668e01 --- /dev/null +++ b/docs/InboxRulesetControllerApi.md @@ -0,0 +1,584 @@ +# InboxRulesetControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createNewInboxRuleset**](InboxRulesetControllerApi#createNewInboxRuleset) | **POST** /rulesets | Create an inbox ruleset | +| [**deleteInboxRuleset**](InboxRulesetControllerApi#deleteInboxRuleset) | **DELETE** /rulesets/{id} | Delete an inbox ruleset | +| [**deleteInboxRulesets**](InboxRulesetControllerApi#deleteInboxRulesets) | **DELETE** /rulesets | Delete inbox rulesets | +| [**getInboxRuleset**](InboxRulesetControllerApi#getInboxRuleset) | **GET** /rulesets/{id} | Get an inbox ruleset | +| [**getInboxRulesets**](InboxRulesetControllerApi#getInboxRulesets) | **GET** /rulesets | List inbox rulesets | +| [**testInboxRuleset**](InboxRulesetControllerApi#testInboxRuleset) | **POST** /rulesets/{id}/test | Test an inbox ruleset | +| [**testInboxRulesetsForInbox**](InboxRulesetControllerApi#testInboxRulesetsForInbox) | **PUT** /rulesets | Test inbox rulesets for inbox | +| [**testNewInboxRuleset**](InboxRulesetControllerApi#testNewInboxRuleset) | **PATCH** /rulesets | Test new inbox ruleset | + + + +# **createNewInboxRuleset** +> InboxRulesetDto createNewInboxRuleset(createInboxRulesetOptions, inboxId) + +Create an inbox ruleset + +Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxRulesetControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxRulesetControllerApi apiInstance = new InboxRulesetControllerApi(defaultClient); + CreateInboxRulesetOptions createInboxRulesetOptions = new CreateInboxRulesetOptions(); // CreateInboxRulesetOptions | + UUID inboxId = UUID.randomUUID(); // UUID | Inbox id to attach ruleset to + try { + InboxRulesetDto result = apiInstance.createNewInboxRuleset(createInboxRulesetOptions, inboxId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxRulesetControllerApi#createNewInboxRuleset"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createInboxRulesetOptions** | [**CreateInboxRulesetOptions**](CreateInboxRulesetOptions)| | | +| **inboxId** | **UUID**| Inbox id to attach ruleset to | [optional] | + +### Return type + +[**InboxRulesetDto**](InboxRulesetDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **deleteInboxRuleset** +> deleteInboxRuleset(id) + +Delete an inbox ruleset + +Delete inbox ruleset + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxRulesetControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxRulesetControllerApi apiInstance = new InboxRulesetControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox ruleset + try { + apiInstance.deleteInboxRuleset(id); + } catch (ApiException e) { + System.err.println("Exception when calling InboxRulesetControllerApi#deleteInboxRuleset"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox ruleset | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **deleteInboxRulesets** +> deleteInboxRulesets(inboxId) + +Delete inbox rulesets + +Delete inbox rulesets. Accepts optional inboxId filter. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxRulesetControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxRulesetControllerApi apiInstance = new InboxRulesetControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Optional inbox id to attach ruleset to + try { + apiInstance.deleteInboxRulesets(inboxId); + } catch (ApiException e) { + System.err.println("Exception when calling InboxRulesetControllerApi#deleteInboxRulesets"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Optional inbox id to attach ruleset to | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getInboxRuleset** +> InboxRulesetDto getInboxRuleset(id) + +Get an inbox ruleset + +Get inbox ruleset + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxRulesetControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxRulesetControllerApi apiInstance = new InboxRulesetControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox ruleset + try { + InboxRulesetDto result = apiInstance.getInboxRuleset(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxRulesetControllerApi#getInboxRuleset"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox ruleset | | + +### Return type + +[**InboxRulesetDto**](InboxRulesetDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxRulesets** +> PageInboxRulesetDto getInboxRulesets(inboxId, page, size, sort, searchFilter, since, before) + +List inbox rulesets + +List all rulesets attached to an inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxRulesetControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxRulesetControllerApi apiInstance = new InboxRulesetControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Optional inbox id to get rulesets from + Integer page = 0; // Integer | Optional page index in inbox ruleset list pagination + Integer size = 20; // Integer | Optional page size in inbox ruleset list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageInboxRulesetDto result = apiInstance.getInboxRulesets(inboxId, page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxRulesetControllerApi#getInboxRulesets"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Optional inbox id to get rulesets from | [optional] | +| **page** | **Integer**| Optional page index in inbox ruleset list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox ruleset list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageInboxRulesetDto**](PageInboxRulesetDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **testInboxRuleset** +> InboxRulesetTestResult testInboxRuleset(id, inboxRulesetTestOptions) + +Test an inbox ruleset + +Test an inbox ruleset + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxRulesetControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxRulesetControllerApi apiInstance = new InboxRulesetControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | ID of inbox ruleset + InboxRulesetTestOptions inboxRulesetTestOptions = new InboxRulesetTestOptions(); // InboxRulesetTestOptions | + try { + InboxRulesetTestResult result = apiInstance.testInboxRuleset(id, inboxRulesetTestOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxRulesetControllerApi#testInboxRuleset"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| ID of inbox ruleset | | +| **inboxRulesetTestOptions** | [**InboxRulesetTestOptions**](InboxRulesetTestOptions)| | | + +### Return type + +[**InboxRulesetTestResult**](InboxRulesetTestResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **testInboxRulesetsForInbox** +> InboxRulesetTestResult testInboxRulesetsForInbox(inboxId, inboxRulesetTestOptions) + +Test inbox rulesets for inbox + +Test inbox rulesets for inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxRulesetControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxRulesetControllerApi apiInstance = new InboxRulesetControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | ID of inbox + InboxRulesetTestOptions inboxRulesetTestOptions = new InboxRulesetTestOptions(); // InboxRulesetTestOptions | + try { + InboxRulesetTestResult result = apiInstance.testInboxRulesetsForInbox(inboxId, inboxRulesetTestOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxRulesetControllerApi#testInboxRulesetsForInbox"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| ID of inbox | | +| **inboxRulesetTestOptions** | [**InboxRulesetTestOptions**](InboxRulesetTestOptions)| | | + +### Return type + +[**InboxRulesetTestResult**](InboxRulesetTestResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **testNewInboxRuleset** +> InboxRulesetTestResult testNewInboxRuleset(testNewInboxRulesetOptions) + +Test new inbox ruleset + +Test new inbox ruleset + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.InboxRulesetControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + InboxRulesetControllerApi apiInstance = new InboxRulesetControllerApi(defaultClient); + TestNewInboxRulesetOptions testNewInboxRulesetOptions = new TestNewInboxRulesetOptions(); // TestNewInboxRulesetOptions | + try { + InboxRulesetTestResult result = apiInstance.testNewInboxRuleset(testNewInboxRulesetOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling InboxRulesetControllerApi#testNewInboxRuleset"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **testNewInboxRulesetOptions** | [**TestNewInboxRulesetOptions**](TestNewInboxRulesetOptions)| | | + +### Return type + +[**InboxRulesetTestResult**](InboxRulesetTestResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/InboxRulesetDto.md b/docs/InboxRulesetDto.md new file mode 100644 index 000000000..bc950b89d --- /dev/null +++ b/docs/InboxRulesetDto.md @@ -0,0 +1,47 @@ + + +# InboxRulesetDto + +Rules for inbox + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**inboxId** | **UUID** | | [optional] | +|**scope** | [**ScopeEnum**](#ScopeEnum) | | | +|**action** | [**ActionEnum**](#ActionEnum) | | | +|**target** | **String** | | | +|**handler** | [**HandlerEnum**](#HandlerEnum) | | | +|**createdAt** | **OffsetDateTime** | | | + + + +## Enum: ScopeEnum + +| Name | Value | +|---- | -----| +| RECEIVING_EMAILS | "RECEIVING_EMAILS" | +| SENDING_EMAILS | "SENDING_EMAILS" | + + + +## Enum: ActionEnum + +| Name | Value | +|---- | -----| +| BLOCK | "BLOCK" | +| ALLOW | "ALLOW" | +| FILTER_REMOVE | "FILTER_REMOVE" | + + + +## Enum: HandlerEnum + +| Name | Value | +|---- | -----| +| EXCEPTION | "EXCEPTION" | + + + diff --git a/docs/InboxRulesetTestOptions.md b/docs/InboxRulesetTestOptions.md new file mode 100644 index 000000000..37410b6bd --- /dev/null +++ b/docs/InboxRulesetTestOptions.md @@ -0,0 +1,14 @@ + + +# InboxRulesetTestOptions + +Test options for inbox ruleset + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**testTarget** | **String** | | | + + + diff --git a/docs/InboxRulesetTestResult.md b/docs/InboxRulesetTestResult.md new file mode 100644 index 000000000..94c76c51b --- /dev/null +++ b/docs/InboxRulesetTestResult.md @@ -0,0 +1,15 @@ + + +# InboxRulesetTestResult + +Result of test of inbox ruleset + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**rulesetMatches** | **Map<String, Boolean>** | Map of inbox ruleset ID to boolean of if target matches | | +|**matches** | **Boolean** | | | + + + diff --git a/docs/JSONSchemaDto.md b/docs/JSONSchemaDto.md new file mode 100644 index 000000000..65c88a8ce --- /dev/null +++ b/docs/JSONSchemaDto.md @@ -0,0 +1,14 @@ + + +# JSONSchemaDto + +JSONSchema for payload + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**value** | **String** | | | + + + diff --git a/docs/ListUnsubscribeRecipientProjection.md b/docs/ListUnsubscribeRecipientProjection.md new file mode 100644 index 000000000..af0706ee6 --- /dev/null +++ b/docs/ListUnsubscribeRecipientProjection.md @@ -0,0 +1,17 @@ + + +# ListUnsubscribeRecipientProjection + +List unsubscribe recipient + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**emailAddress** | **String** | | | +|**createdAt** | **OffsetDateTime** | | | +|**domainId** | **UUID** | | [optional] | + + + diff --git a/docs/MailServerControllerApi.md b/docs/MailServerControllerApi.md new file mode 100644 index 000000000..d9570d954 --- /dev/null +++ b/docs/MailServerControllerApi.md @@ -0,0 +1,280 @@ +# MailServerControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**describeMailServerDomain**](MailServerControllerApi#describeMailServerDomain) | **POST** /mail-server/describe/domain | Get DNS Mail Server records for a domain | +| [**getDnsLookup**](MailServerControllerApi#getDnsLookup) | **POST** /mail-server/describe/dns-lookup | Lookup DNS records for a domain | +| [**getIpAddress**](MailServerControllerApi#getIpAddress) | **POST** /mail-server/describe/ip-address | Get IP address for a domain | +| [**verifyEmailAddress**](MailServerControllerApi#verifyEmailAddress) | **POST** /mail-server/verify/email-address | Deprecated. Use the EmailVerificationController methods for more accurate and reliable functionality. Verify the existence of an email address at a given mail server. | + + + +# **describeMailServerDomain** +> DescribeMailServerDomainResult describeMailServerDomain(describeDomainOptions) + +Get DNS Mail Server records for a domain + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.MailServerControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + MailServerControllerApi apiInstance = new MailServerControllerApi(defaultClient); + DescribeDomainOptions describeDomainOptions = new DescribeDomainOptions(); // DescribeDomainOptions | + try { + DescribeMailServerDomainResult result = apiInstance.describeMailServerDomain(describeDomainOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MailServerControllerApi#describeMailServerDomain"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **describeDomainOptions** | [**DescribeDomainOptions**](DescribeDomainOptions)| | | + +### Return type + +[**DescribeMailServerDomainResult**](DescribeMailServerDomainResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getDnsLookup** +> DNSLookupResults getDnsLookup(dnSLookupOptions) + +Lookup DNS records for a domain + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.MailServerControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + MailServerControllerApi apiInstance = new MailServerControllerApi(defaultClient); + DNSLookupOptions dnSLookupOptions = new DNSLookupOptions(); // DNSLookupOptions | + try { + DNSLookupResults result = apiInstance.getDnsLookup(dnSLookupOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MailServerControllerApi#getDnsLookup"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **dnSLookupOptions** | [**DNSLookupOptions**](DNSLookupOptions)| | | + +### Return type + +[**DNSLookupResults**](DNSLookupResults) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getIpAddress** +> IPAddressResult getIpAddress(name) + +Get IP address for a domain + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.MailServerControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + MailServerControllerApi apiInstance = new MailServerControllerApi(defaultClient); + String name = "name_example"; // String | + try { + IPAddressResult result = apiInstance.getIpAddress(name); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MailServerControllerApi#getIpAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| | | + +### Return type + +[**IPAddressResult**](IPAddressResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **verifyEmailAddress** +> EmailVerificationResult verifyEmailAddress(verifyEmailAddressOptions) + +Deprecated. Use the EmailVerificationController methods for more accurate and reliable functionality. Verify the existence of an email address at a given mail server. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.MailServerControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + MailServerControllerApi apiInstance = new MailServerControllerApi(defaultClient); + VerifyEmailAddressOptions verifyEmailAddressOptions = new VerifyEmailAddressOptions(); // VerifyEmailAddressOptions | + try { + EmailVerificationResult result = apiInstance.verifyEmailAddress(verifyEmailAddressOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MailServerControllerApi#verifyEmailAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **verifyEmailAddressOptions** | [**VerifyEmailAddressOptions**](VerifyEmailAddressOptions)| | | + +### Return type + +[**EmailVerificationResult**](EmailVerificationResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/MatchOption.md b/docs/MatchOption.md new file mode 100644 index 000000000..1388b7ccb --- /dev/null +++ b/docs/MatchOption.md @@ -0,0 +1,37 @@ + + +# MatchOption + +Options for matching emails in an inbox. Each match option object contains a `field`, `should` and `value` property. Together they form logical conditions such as `SUBJECT` should `CONTAIN` value. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**field** | [**FieldEnum**](#FieldEnum) | Fields of an email object that can be used to filter results | | +|**should** | [**ShouldEnum**](#ShouldEnum) | How the value of the email field specified should be compared to the value given in the match options. | | +|**value** | **String** | The value you wish to compare with the value of the field specified using the `should` value passed. For example `BODY` should `CONTAIN` a value passed. | | + + + +## Enum: FieldEnum + +| Name | Value | +|---- | -----| +| SUBJECT | "SUBJECT" | +| TO | "TO" | +| BCC | "BCC" | +| CC | "CC" | +| FROM | "FROM" | + + + +## Enum: ShouldEnum + +| Name | Value | +|---- | -----| +| CONTAIN | "CONTAIN" | +| EQUAL | "EQUAL" | + + + diff --git a/docs/MatchOptions.md b/docs/MatchOptions.md new file mode 100644 index 000000000..f98c81562 --- /dev/null +++ b/docs/MatchOptions.md @@ -0,0 +1,15 @@ + + +# MatchOptions + +Optional filter for matching emails based on fields. For instance filter results to only include emails whose `SUBJECT` value does `CONTAIN` given match value. An example payload would be `{ matches: [{ field: 'SUBJECT', should: 'CONTAIN', value: 'Welcome' }] }`. You can also pass conditions such as `HAS_ATTACHMENT`. If you wish to extract regex matches inside the email content see the `getEmailContentMatch` method in the EmailController. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**matches** | [**List<MatchOption>**](MatchOption) | Zero or more match options such as `{ field: 'SUBJECT', should: 'CONTAIN', value: 'Welcome' }`. Options are additive so if one does not match the email is excluded from results | [optional] | +|**conditions** | [**List<ConditionOption>**](ConditionOption) | Zero or more conditions such as `{ condition: 'HAS_ATTACHMENTS', value: 'TRUE' }`. Note the values are the strings `TRUE|FALSE` not booleans. | [optional] | + + + diff --git a/docs/MissedEmailControllerApi.md b/docs/MissedEmailControllerApi.md new file mode 100644 index 000000000..f82fc9a55 --- /dev/null +++ b/docs/MissedEmailControllerApi.md @@ -0,0 +1,383 @@ +# MissedEmailControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**getAllMissedEmails**](MissedEmailControllerApi#getAllMissedEmails) | **GET** /missed-emails | Get all MissedEmails in paginated format | +| [**getAllUnknownMissedEmails**](MissedEmailControllerApi#getAllUnknownMissedEmails) | **GET** /missed-emails/unknown | Get all unknown missed emails in paginated format | +| [**getMissedEmail**](MissedEmailControllerApi#getMissedEmail) | **GET** /missed-emails/{missedEmailId} | Get MissedEmail | +| [**restoreMissedEmails**](MissedEmailControllerApi#restoreMissedEmails) | **POST** /missed-emails/restore | Restore missed emails | +| [**waitForNthMissedEmail**](MissedEmailControllerApi#waitForNthMissedEmail) | **GET** /missed-emails/waitForNthMissedEmail | Wait for Nth missed email | + + + +# **getAllMissedEmails** +> PageMissedEmailProjection getAllMissedEmails(page, size, sort, searchFilter, since, before, inboxId) + +Get all MissedEmails in paginated format + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.MissedEmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + MissedEmailControllerApi apiInstance = new MissedEmailControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + UUID inboxId = UUID.randomUUID(); // UUID | Optional inbox ID filter + try { + PageMissedEmailProjection result = apiInstance.getAllMissedEmails(page, size, sort, searchFilter, since, before, inboxId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MissedEmailControllerApi#getAllMissedEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | +| **inboxId** | **UUID**| Optional inbox ID filter | [optional] | + +### Return type + +[**PageMissedEmailProjection**](PageMissedEmailProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getAllUnknownMissedEmails** +> PageUnknownMissedEmailProjection getAllUnknownMissedEmails(page, size, sort, searchFilter, since, before, inboxId) + +Get all unknown missed emails in paginated format + +Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.MissedEmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + MissedEmailControllerApi apiInstance = new MissedEmailControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + UUID inboxId = UUID.randomUUID(); // UUID | Optional inbox ID filter + try { + PageUnknownMissedEmailProjection result = apiInstance.getAllUnknownMissedEmails(page, size, sort, searchFilter, since, before, inboxId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MissedEmailControllerApi#getAllUnknownMissedEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | +| **inboxId** | **UUID**| Optional inbox ID filter | [optional] | + +### Return type + +[**PageUnknownMissedEmailProjection**](PageUnknownMissedEmailProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getMissedEmail** +> MissedEmailDto getMissedEmail(missedEmailId) + +Get MissedEmail + +List emails that were missed due to plan limits. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.MissedEmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + MissedEmailControllerApi apiInstance = new MissedEmailControllerApi(defaultClient); + UUID missedEmailId = UUID.randomUUID(); // UUID | + try { + MissedEmailDto result = apiInstance.getMissedEmail(missedEmailId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MissedEmailControllerApi#getMissedEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **missedEmailId** | **UUID**| | | + +### Return type + +[**MissedEmailDto**](MissedEmailDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **restoreMissedEmails** +> restoreMissedEmails() + +Restore missed emails + +If emails were missed due to a plan limit they are saved as missed emails. If support team enables the canRestore flag these emails can be reload into your account using this method. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.MissedEmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + MissedEmailControllerApi apiInstance = new MissedEmailControllerApi(defaultClient); + try { + apiInstance.restoreMissedEmails(); + } catch (ApiException e) { + System.err.println("Exception when calling MissedEmailControllerApi#restoreMissedEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **waitForNthMissedEmail** +> MissedEmailDto waitForNthMissedEmail(index, inboxId, timeout, since, before) + +Wait for Nth missed email + +Wait for 0 based index missed email + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.MissedEmailControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + MissedEmailControllerApi apiInstance = new MissedEmailControllerApi(defaultClient); + Integer index = 56; // Integer | Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1 + UUID inboxId = UUID.randomUUID(); // UUID | Optional inbox ID filter + Long timeout = 56L; // Long | Optional timeout milliseconds + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + MissedEmailDto result = apiInstance.waitForNthMissedEmail(index, inboxId, timeout, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MissedEmailControllerApi#waitForNthMissedEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **index** | **Integer**| Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1 | | +| **inboxId** | **UUID**| Optional inbox ID filter | [optional] | +| **timeout** | **Long**| Optional timeout milliseconds | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**MissedEmailDto**](MissedEmailDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/MissedEmailDto.md b/docs/MissedEmailDto.md new file mode 100644 index 000000000..adc19fdc2 --- /dev/null +++ b/docs/MissedEmailDto.md @@ -0,0 +1,29 @@ + + +# MissedEmailDto + +Missed email + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | [optional] | +|**subject** | **String** | | [optional] | +|**bodyExcerpt** | **String** | | [optional] | +|**attachmentCount** | **Integer** | | | +|**from** | **String** | | [optional] | +|**rawUrl** | **String** | | [optional] | +|**rawKey** | **String** | | [optional] | +|**rawBucket** | **String** | | [optional] | +|**canRestore** | **Boolean** | | [optional] | +|**to** | **List<String>** | | | +|**cc** | **List<String>** | | | +|**bcc** | **List<String>** | | | +|**inboxIds** | **List<UUID>** | | | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | + + + diff --git a/docs/MissedEmailProjection.md b/docs/MissedEmailProjection.md new file mode 100644 index 000000000..19f8f6fb4 --- /dev/null +++ b/docs/MissedEmailProjection.md @@ -0,0 +1,18 @@ + + +# MissedEmailProjection + +Missed email data + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**from** | **String** | | [optional] | +|**subject** | **String** | | [optional] | +|**userId** | **UUID** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | + + + diff --git a/docs/NameServerRecord.md b/docs/NameServerRecord.md new file mode 100644 index 000000000..5d8f22094 --- /dev/null +++ b/docs/NameServerRecord.md @@ -0,0 +1,17 @@ + + +# NameServerRecord + +Name Server Record + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**raw** | **String** | | | +|**recordType** | **String** | | | +|**priority** | **String** | | | +|**value** | **String** | | | + + + diff --git a/docs/OrganizationInboxProjection.md b/docs/OrganizationInboxProjection.md new file mode 100644 index 000000000..9a13b4f72 --- /dev/null +++ b/docs/OrganizationInboxProjection.md @@ -0,0 +1,33 @@ + + +# OrganizationInboxProjection + +Organization team inbox + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically. | | +|**domainId** | **UUID** | ID of custom domain used by the inbox if any | [optional] | +|**createdAt** | **OffsetDateTime** | When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`. | | +|**name** | **String** | Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search | [optional] | +|**emailAddress** | **String** | The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. | [optional] | +|**favourite** | **Boolean** | Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering | | +|**tags** | **List<String>** | Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. | [optional] | +|**teamAccess** | **Boolean** | Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/ | | +|**inboxType** | [**InboxTypeEnum**](#InboxTypeEnum) | Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). | [optional] | +|**readOnly** | **Boolean** | Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes. | | +|**virtualInbox** | **Boolean** | Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions. | | + + + +## Enum: InboxTypeEnum + +| Name | Value | +|---- | -----| +| HTTP_INBOX | "HTTP_INBOX" | +| SMTP_INBOX | "SMTP_INBOX" | + + + diff --git a/docs/PageAlias.md b/docs/PageAlias.md new file mode 100644 index 000000000..fae08a4f2 --- /dev/null +++ b/docs/PageAlias.md @@ -0,0 +1,25 @@ + + +# PageAlias + +Paginated email alias results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<AliasProjection>**](AliasProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageAttachmentEntity.md b/docs/PageAttachmentEntity.md new file mode 100644 index 000000000..8888b3027 --- /dev/null +++ b/docs/PageAttachmentEntity.md @@ -0,0 +1,25 @@ + + +# PageAttachmentEntity + +Paginated attachment entity results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<AttachmentProjection>**](AttachmentProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageBouncedEmail.md b/docs/PageBouncedEmail.md new file mode 100644 index 000000000..57c49af57 --- /dev/null +++ b/docs/PageBouncedEmail.md @@ -0,0 +1,25 @@ + + +# PageBouncedEmail + +Paginated bounced email. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<BounceProjection>**](BounceProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageBouncedRecipients.md b/docs/PageBouncedRecipients.md new file mode 100644 index 000000000..cb02b713e --- /dev/null +++ b/docs/PageBouncedRecipients.md @@ -0,0 +1,25 @@ + + +# PageBouncedRecipients + +Paginated bounced recipients. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<BounceRecipientProjection>**](BounceRecipientProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageComplaint.md b/docs/PageComplaint.md new file mode 100644 index 000000000..fee8037c7 --- /dev/null +++ b/docs/PageComplaint.md @@ -0,0 +1,25 @@ + + +# PageComplaint + +Paginated complaint email. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<Complaint>**](Complaint) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageConnector.md b/docs/PageConnector.md new file mode 100644 index 000000000..5b00fad8e --- /dev/null +++ b/docs/PageConnector.md @@ -0,0 +1,25 @@ + + +# PageConnector + +Paginated inbox connectors. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<ConnectorProjection>**](ConnectorProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageConnectorSyncEvents.md b/docs/PageConnectorSyncEvents.md new file mode 100644 index 000000000..852976f08 --- /dev/null +++ b/docs/PageConnectorSyncEvents.md @@ -0,0 +1,25 @@ + + +# PageConnectorSyncEvents + +Paginated inbox connector sync events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<ConnectorSyncEventProjection>**](ConnectorSyncEventProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageContactProjection.md b/docs/PageContactProjection.md new file mode 100644 index 000000000..a457c2c2c --- /dev/null +++ b/docs/PageContactProjection.md @@ -0,0 +1,25 @@ + + +# PageContactProjection + +Paginated contact results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<ContactProjection>**](ContactProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageDeliveryStatus.md b/docs/PageDeliveryStatus.md new file mode 100644 index 000000000..390ced559 --- /dev/null +++ b/docs/PageDeliveryStatus.md @@ -0,0 +1,25 @@ + + +# PageDeliveryStatus + +Paginated delivery status results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<DeliveryStatusDto>**](DeliveryStatusDto) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageEmailPreview.md b/docs/PageEmailPreview.md new file mode 100644 index 000000000..9a03d6020 --- /dev/null +++ b/docs/PageEmailPreview.md @@ -0,0 +1,25 @@ + + +# PageEmailPreview + +Paginated email preview results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<EmailPreview>**](EmailPreview) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageEmailProjection.md b/docs/PageEmailProjection.md new file mode 100644 index 000000000..3ea045cd2 --- /dev/null +++ b/docs/PageEmailProjection.md @@ -0,0 +1,25 @@ + + +# PageEmailProjection + +Paginated email projection results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full email entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<EmailProjection>**](EmailProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageEmailValidationRequest.md b/docs/PageEmailValidationRequest.md new file mode 100644 index 000000000..2d3cd2e9f --- /dev/null +++ b/docs/PageEmailValidationRequest.md @@ -0,0 +1,25 @@ + + +# PageEmailValidationRequest + +Paginated email validation request records. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<EmailValidationRequestDto>**](EmailValidationRequestDto) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageExpiredInboxRecordProjection.md b/docs/PageExpiredInboxRecordProjection.md new file mode 100644 index 000000000..08786b0d2 --- /dev/null +++ b/docs/PageExpiredInboxRecordProjection.md @@ -0,0 +1,25 @@ + + +# PageExpiredInboxRecordProjection + +Paginated expired inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<ExpiredInboxRecordProjection>**](ExpiredInboxRecordProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageGroupProjection.md b/docs/PageGroupProjection.md new file mode 100644 index 000000000..eebfd9ffe --- /dev/null +++ b/docs/PageGroupProjection.md @@ -0,0 +1,25 @@ + + +# PageGroupProjection + +Paginated missed email results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<GroupProjection>**](GroupProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageInboxForwarderDto.md b/docs/PageInboxForwarderDto.md new file mode 100644 index 000000000..16a301d50 --- /dev/null +++ b/docs/PageInboxForwarderDto.md @@ -0,0 +1,25 @@ + + +# PageInboxForwarderDto + +Paginated inbox forwarder results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<InboxForwarderDto>**](InboxForwarderDto) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageInboxForwarderEvents.md b/docs/PageInboxForwarderEvents.md new file mode 100644 index 000000000..67ab412fb --- /dev/null +++ b/docs/PageInboxForwarderEvents.md @@ -0,0 +1,25 @@ + + +# PageInboxForwarderEvents + +Paginated inbox forwarder events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<InboxForwarderEventProjection>**](InboxForwarderEventProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageInboxProjection.md b/docs/PageInboxProjection.md new file mode 100644 index 000000000..f107e6e02 --- /dev/null +++ b/docs/PageInboxProjection.md @@ -0,0 +1,25 @@ + + +# PageInboxProjection + +Paginated inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<InboxPreview>**](InboxPreview) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageInboxReplierDto.md b/docs/PageInboxReplierDto.md new file mode 100644 index 000000000..c5f4ba4d5 --- /dev/null +++ b/docs/PageInboxReplierDto.md @@ -0,0 +1,25 @@ + + +# PageInboxReplierDto + +Paginated inbox replier results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<InboxReplierDto>**](InboxReplierDto) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageInboxReplierEvents.md b/docs/PageInboxReplierEvents.md new file mode 100644 index 000000000..c431ded77 --- /dev/null +++ b/docs/PageInboxReplierEvents.md @@ -0,0 +1,25 @@ + + +# PageInboxReplierEvents + +Paginated inbox replier events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<InboxReplierEventProjection>**](InboxReplierEventProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageInboxRulesetDto.md b/docs/PageInboxRulesetDto.md new file mode 100644 index 000000000..967d43691 --- /dev/null +++ b/docs/PageInboxRulesetDto.md @@ -0,0 +1,25 @@ + + +# PageInboxRulesetDto + +Paginated inbox ruleset results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<InboxRulesetDto>**](InboxRulesetDto) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageListUnsubscribeRecipients.md b/docs/PageListUnsubscribeRecipients.md new file mode 100644 index 000000000..b9c0ae69c --- /dev/null +++ b/docs/PageListUnsubscribeRecipients.md @@ -0,0 +1,25 @@ + + +# PageListUnsubscribeRecipients + +Paginated list unsubscribe recipients. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<ListUnsubscribeRecipientProjection>**](ListUnsubscribeRecipientProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageMissedEmailProjection.md b/docs/PageMissedEmailProjection.md new file mode 100644 index 000000000..5f89a68fa --- /dev/null +++ b/docs/PageMissedEmailProjection.md @@ -0,0 +1,25 @@ + + +# PageMissedEmailProjection + +Paginated MissedEmail results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<MissedEmailProjection>**](MissedEmailProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageOrganizationInboxProjection.md b/docs/PageOrganizationInboxProjection.md new file mode 100644 index 000000000..ffe945671 --- /dev/null +++ b/docs/PageOrganizationInboxProjection.md @@ -0,0 +1,25 @@ + + +# PageOrganizationInboxProjection + +Paginated organization inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<OrganizationInboxProjection>**](OrganizationInboxProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PagePhoneNumberProjection.md b/docs/PagePhoneNumberProjection.md new file mode 100644 index 000000000..99d69611b --- /dev/null +++ b/docs/PagePhoneNumberProjection.md @@ -0,0 +1,25 @@ + + +# PagePhoneNumberProjection + +Paginated phone numbers. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<PhoneNumberProjection>**](PhoneNumberProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageScheduledJobs.md b/docs/PageScheduledJobs.md new file mode 100644 index 000000000..88fb329b1 --- /dev/null +++ b/docs/PageScheduledJobs.md @@ -0,0 +1,25 @@ + + +# PageScheduledJobs + +Paginated scheduled jobs results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<ScheduledJob>**](ScheduledJob) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageSentEmailProjection.md b/docs/PageSentEmailProjection.md new file mode 100644 index 000000000..228d85ed8 --- /dev/null +++ b/docs/PageSentEmailProjection.md @@ -0,0 +1,25 @@ + + +# PageSentEmailProjection + +Paginated sent email results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full sent email entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<SentEmailProjection>**](SentEmailProjection) | Collection of items | | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**size** | **Integer** | Size of page requested | | +|**number** | **Integer** | Page number starting at 0 | | +|**numberOfElements** | **Integer** | Number of items returned | | +|**totalElements** | **Long** | Total number of items available for querying | | +|**totalPages** | **Integer** | Total number of pages available | | +|**last** | **Boolean** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageSentEmailWithQueueProjection.md b/docs/PageSentEmailWithQueueProjection.md new file mode 100644 index 000000000..a032ad7ec --- /dev/null +++ b/docs/PageSentEmailWithQueueProjection.md @@ -0,0 +1,25 @@ + + +# PageSentEmailWithQueueProjection + +Paginated sent email results for emails sent with queue. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full sent email entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<SendWithQueueResult>**](SendWithQueueResult) | Collection of items | | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**size** | **Integer** | Size of page requested | | +|**number** | **Integer** | Page number starting at 0 | | +|**numberOfElements** | **Integer** | Number of items returned | | +|**totalElements** | **Long** | Total number of items available for querying | | +|**totalPages** | **Integer** | Total number of pages available | | +|**last** | **Boolean** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageSmsProjection.md b/docs/PageSmsProjection.md new file mode 100644 index 000000000..bfc268c94 --- /dev/null +++ b/docs/PageSmsProjection.md @@ -0,0 +1,25 @@ + + +# PageSmsProjection + +Paginated SMS messages. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<SmsProjection>**](SmsProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageTemplateProjection.md b/docs/PageTemplateProjection.md new file mode 100644 index 000000000..ac437b05a --- /dev/null +++ b/docs/PageTemplateProjection.md @@ -0,0 +1,25 @@ + + +# PageTemplateProjection + +Paginated email template results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<TemplateProjection>**](TemplateProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageThreadProjection.md b/docs/PageThreadProjection.md new file mode 100644 index 000000000..796b7db39 --- /dev/null +++ b/docs/PageThreadProjection.md @@ -0,0 +1,25 @@ + + +# PageThreadProjection + +Paginated email projection results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full email entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<ThreadProjection>**](ThreadProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageTrackingPixelProjection.md b/docs/PageTrackingPixelProjection.md new file mode 100644 index 000000000..6959a157a --- /dev/null +++ b/docs/PageTrackingPixelProjection.md @@ -0,0 +1,25 @@ + + +# PageTrackingPixelProjection + +Paginated TrackingPixel results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<TrackingPixelProjection>**](TrackingPixelProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageUnknownMissedEmailProjection.md b/docs/PageUnknownMissedEmailProjection.md new file mode 100644 index 000000000..3474511e3 --- /dev/null +++ b/docs/PageUnknownMissedEmailProjection.md @@ -0,0 +1,25 @@ + + +# PageUnknownMissedEmailProjection + +Paginated unknown MissedEmail results. Unknown missed emails are emails that were sent to MailSlurp /Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<UnknownMissedEmailProjection>**](UnknownMissedEmailProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageWebhookProjection.md b/docs/PageWebhookProjection.md new file mode 100644 index 000000000..02798cfbe --- /dev/null +++ b/docs/PageWebhookProjection.md @@ -0,0 +1,25 @@ + + +# PageWebhookProjection + +Paginated webhook entity. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<WebhookProjection>**](WebhookProjection) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageWebhookResult.md b/docs/PageWebhookResult.md new file mode 100644 index 000000000..d2417d237 --- /dev/null +++ b/docs/PageWebhookResult.md @@ -0,0 +1,25 @@ + + +# PageWebhookResult + +Paginated webhook results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | [**List<WebhookResultDto>**](WebhookResultDto) | | [optional] | +|**pageable** | [**PageableObject**](PageableObject) | | [optional] | +|**total** | **Long** | | [optional] | +|**totalElements** | **Long** | | [optional] | +|**totalPages** | **Integer** | | [optional] | +|**last** | **Boolean** | | [optional] | +|**size** | **Integer** | | [optional] | +|**number** | **Integer** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**numberOfElements** | **Integer** | | [optional] | +|**first** | **Boolean** | | [optional] | +|**empty** | **Boolean** | | [optional] | + + + diff --git a/docs/PageableObject.md b/docs/PageableObject.md new file mode 100644 index 000000000..7c9f6e950 --- /dev/null +++ b/docs/PageableObject.md @@ -0,0 +1,18 @@ + + +# PageableObject + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**offset** | **Long** | | [optional] | +|**sort** | [**Sort**](Sort) | | [optional] | +|**pageNumber** | **Integer** | | [optional] | +|**pageSize** | **Integer** | | [optional] | +|**paged** | **Boolean** | | [optional] | +|**unpaged** | **Boolean** | | [optional] | + + + diff --git a/docs/PhoneControllerApi.md b/docs/PhoneControllerApi.md new file mode 100644 index 000000000..27c9c9d0d --- /dev/null +++ b/docs/PhoneControllerApi.md @@ -0,0 +1,624 @@ +# PhoneControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createEmergencyAddress**](PhoneControllerApi#createEmergencyAddress) | **POST** /phone/emergency-addresses | | +| [**deleteEmergencyAddress**](PhoneControllerApi#deleteEmergencyAddress) | **DELETE** /phone/emergency-addresses/{addressId} | | +| [**deletePhoneNumber**](PhoneControllerApi#deletePhoneNumber) | **DELETE** /phone/numbers/{phoneNumberId} | | +| [**getEmergencyAddress**](PhoneControllerApi#getEmergencyAddress) | **GET** /phone/emergency-addresses/{addressId} | | +| [**getEmergencyAddresses**](PhoneControllerApi#getEmergencyAddresses) | **GET** /phone/emergency-addresses | | +| [**getPhoneNumber**](PhoneControllerApi#getPhoneNumber) | **GET** /phone/numbers/{phoneNumberId} | | +| [**getPhoneNumbers**](PhoneControllerApi#getPhoneNumbers) | **GET** /phone/numbers | | +| [**getPhonePlans**](PhoneControllerApi#getPhonePlans) | **GET** /phone/plans | | +| [**testPhoneNumberSendSms**](PhoneControllerApi#testPhoneNumberSendSms) | **POST** /phone/numbers/{phoneNumberId}/test | | + + + +# **createEmergencyAddress** +> EmergencyAddress createEmergencyAddress(createEmergencyAddressOptions) + + + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.PhoneControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + PhoneControllerApi apiInstance = new PhoneControllerApi(defaultClient); + CreateEmergencyAddressOptions createEmergencyAddressOptions = new CreateEmergencyAddressOptions(); // CreateEmergencyAddressOptions | + try { + EmergencyAddress result = apiInstance.createEmergencyAddress(createEmergencyAddressOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PhoneControllerApi#createEmergencyAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createEmergencyAddressOptions** | [**CreateEmergencyAddressOptions**](CreateEmergencyAddressOptions)| | | + +### Return type + +[**EmergencyAddress**](EmergencyAddress) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **deleteEmergencyAddress** +> EmptyResponseDto deleteEmergencyAddress(addressId) + + + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.PhoneControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + PhoneControllerApi apiInstance = new PhoneControllerApi(defaultClient); + UUID addressId = UUID.randomUUID(); // UUID | + try { + EmptyResponseDto result = apiInstance.deleteEmergencyAddress(addressId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PhoneControllerApi#deleteEmergencyAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **addressId** | **UUID**| | | + +### Return type + +[**EmptyResponseDto**](EmptyResponseDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **deletePhoneNumber** +> deletePhoneNumber(phoneNumberId) + + + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.PhoneControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + PhoneControllerApi apiInstance = new PhoneControllerApi(defaultClient); + UUID phoneNumberId = UUID.randomUUID(); // UUID | + try { + apiInstance.deletePhoneNumber(phoneNumberId); + } catch (ApiException e) { + System.err.println("Exception when calling PhoneControllerApi#deletePhoneNumber"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **phoneNumberId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getEmergencyAddress** +> EmergencyAddress getEmergencyAddress(addressId) + + + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.PhoneControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + PhoneControllerApi apiInstance = new PhoneControllerApi(defaultClient); + UUID addressId = UUID.randomUUID(); // UUID | + try { + EmergencyAddress result = apiInstance.getEmergencyAddress(addressId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PhoneControllerApi#getEmergencyAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **addressId** | **UUID**| | | + +### Return type + +[**EmergencyAddress**](EmergencyAddress) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getEmergencyAddresses** +> List<EmergencyAddressDto> getEmergencyAddresses() + + + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.PhoneControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + PhoneControllerApi apiInstance = new PhoneControllerApi(defaultClient); + try { + List result = apiInstance.getEmergencyAddresses(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PhoneControllerApi#getEmergencyAddresses"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**List<EmergencyAddressDto>**](EmergencyAddressDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getPhoneNumber** +> PhoneNumberDto getPhoneNumber(phoneNumberId) + + + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.PhoneControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + PhoneControllerApi apiInstance = new PhoneControllerApi(defaultClient); + UUID phoneNumberId = UUID.randomUUID(); // UUID | + try { + PhoneNumberDto result = apiInstance.getPhoneNumber(phoneNumberId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PhoneControllerApi#getPhoneNumber"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **phoneNumberId** | **UUID**| | | + +### Return type + +[**PhoneNumberDto**](PhoneNumberDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getPhoneNumbers** +> PagePhoneNumberProjection getPhoneNumbers(phoneCountry, page, size, sort, since, before) + + + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.PhoneControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + PhoneControllerApi apiInstance = new PhoneControllerApi(defaultClient); + String phoneCountry = "US"; // String | Optional phone country + Integer page = 0; // Integer | Optional page index for list pagination + Integer size = 20; // Integer | Optional page size for list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PagePhoneNumberProjection result = apiInstance.getPhoneNumbers(phoneCountry, page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PhoneControllerApi#getPhoneNumbers"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **phoneCountry** | **String**| Optional phone country | [optional] [enum: US, GB, AU] | +| **page** | **Integer**| Optional page index for list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size for list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PagePhoneNumberProjection**](PagePhoneNumberProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getPhonePlans** +> List<PhonePlanDto> getPhonePlans() + + + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.PhoneControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + PhoneControllerApi apiInstance = new PhoneControllerApi(defaultClient); + try { + List result = apiInstance.getPhonePlans(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PhoneControllerApi#getPhonePlans"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**List<PhonePlanDto>**](PhonePlanDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **testPhoneNumberSendSms** +> testPhoneNumberSendSms(phoneNumberId, testPhoneNumberOptions, xTestId) + + + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.PhoneControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + PhoneControllerApi apiInstance = new PhoneControllerApi(defaultClient); + UUID phoneNumberId = UUID.randomUUID(); // UUID | + TestPhoneNumberOptions testPhoneNumberOptions = new TestPhoneNumberOptions(); // TestPhoneNumberOptions | + String xTestId = "xTestId_example"; // String | + try { + apiInstance.testPhoneNumberSendSms(phoneNumberId, testPhoneNumberOptions, xTestId); + } catch (ApiException e) { + System.err.println("Exception when calling PhoneControllerApi#testPhoneNumberSendSms"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **phoneNumberId** | **UUID**| | | +| **testPhoneNumberOptions** | [**TestPhoneNumberOptions**](TestPhoneNumberOptions)| | | +| **xTestId** | **String**| | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/PhoneNumberDto.md b/docs/PhoneNumberDto.md new file mode 100644 index 000000000..b1a0f2d8b --- /dev/null +++ b/docs/PhoneNumberDto.md @@ -0,0 +1,31 @@ + + +# PhoneNumberDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**complianceAddress** | **UUID** | | [optional] | +|**emergencyAddress** | **UUID** | | [optional] | +|**phoneNumber** | **String** | | | +|**phoneCountry** | [**PhoneCountryEnum**](#PhoneCountryEnum) | | | +|**phonePlan** | **UUID** | | | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | + + + +## Enum: PhoneCountryEnum + +| Name | Value | +|---- | -----| +| US | "US" | +| GB | "GB" | +| AU | "AU" | + + + diff --git a/docs/PhoneNumberProjection.md b/docs/PhoneNumberProjection.md new file mode 100644 index 000000000..335270cee --- /dev/null +++ b/docs/PhoneNumberProjection.md @@ -0,0 +1,28 @@ + + +# PhoneNumberProjection + +Phone number projection + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**createdAt** | **OffsetDateTime** | | | +|**phoneNumber** | **String** | | | +|**phoneCountry** | [**PhoneCountryEnum**](#PhoneCountryEnum) | | | + + + +## Enum: PhoneCountryEnum + +| Name | Value | +|---- | -----| +| US | "US" | +| GB | "GB" | +| AU | "AU" | + + + diff --git a/docs/PhonePlanDto.md b/docs/PhonePlanDto.md new file mode 100644 index 000000000..cf604eb85 --- /dev/null +++ b/docs/PhonePlanDto.md @@ -0,0 +1,26 @@ + + +# PhonePlanDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**phoneCountry** | [**PhoneCountryEnum**](#PhoneCountryEnum) | | | +|**createdAt** | **OffsetDateTime** | | | + + + +## Enum: PhoneCountryEnum + +| Name | Value | +|---- | -----| +| US | "US" | +| GB | "GB" | +| AU | "AU" | + + + diff --git a/docs/RawEmailJson.md b/docs/RawEmailJson.md new file mode 100644 index 000000000..1e3c0c96d --- /dev/null +++ b/docs/RawEmailJson.md @@ -0,0 +1,14 @@ + + +# RawEmailJson + +Content in raw format + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | **String** | | | + + + diff --git a/docs/Recipient.md b/docs/Recipient.md new file mode 100644 index 000000000..10ca18da1 --- /dev/null +++ b/docs/Recipient.md @@ -0,0 +1,16 @@ + + +# Recipient + +Email recipient + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**rawValue** | **String** | | | +|**emailAddress** | **String** | | | +|**name** | **String** | | [optional] | + + + diff --git a/docs/ReplyToAliasEmailOptions.md b/docs/ReplyToAliasEmailOptions.md new file mode 100644 index 000000000..270213673 --- /dev/null +++ b/docs/ReplyToAliasEmailOptions.md @@ -0,0 +1,30 @@ + + +# ReplyToAliasEmailOptions + +Options for replying to an alias email using the alias inbox + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**body** | **String** | Body of the reply email you want to send | | +|**isHTML** | **Boolean** | Is the reply HTML | | +|**charset** | **String** | The charset that your message should be sent with. Optional. Default is UTF-8 | [optional] | +|**attachments** | **List<String>** | List of uploaded attachments to send with the reply. Optional. | [optional] | +|**templateVariables** | **Map<String, Object>** | Template variables if using a template | [optional] | +|**template** | **UUID** | Template ID to use instead of body. Will use template variable map to fill defined variable slots. | [optional] | +|**sendStrategy** | [**SendStrategyEnum**](#SendStrategyEnum) | How an email should be sent based on its recipients | [optional] | +|**useInboxName** | **Boolean** | Optionally use inbox name as display name for sender email address | [optional] | +|**html** | **Boolean** | | [optional] | + + + +## Enum: SendStrategyEnum + +| Name | Value | +|---- | -----| +| SINGLE_MESSAGE | "SINGLE_MESSAGE" | + + + diff --git a/docs/ReplyToEmailOptions.md b/docs/ReplyToEmailOptions.md new file mode 100644 index 000000000..166371087 --- /dev/null +++ b/docs/ReplyToEmailOptions.md @@ -0,0 +1,32 @@ + + +# ReplyToEmailOptions + +Options for replying to email with API + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**body** | **String** | Body of the reply email you want to send | | +|**isHTML** | **Boolean** | Is the reply HTML | | +|**from** | **String** | The from header that should be used. Optional | [optional] | +|**replyTo** | **String** | The replyTo header that should be used. Optional | [optional] | +|**charset** | **String** | The charset that your message should be sent with. Optional. Default is UTF-8 | [optional] | +|**attachments** | **List<String>** | List of uploaded attachments to send with the reply. Optional. | [optional] | +|**templateVariables** | **Map<String, Object>** | Template variables if using a template | [optional] | +|**template** | **UUID** | Template ID to use instead of body. Will use template variable map to fill defined variable slots. | [optional] | +|**sendStrategy** | [**SendStrategyEnum**](#SendStrategyEnum) | How an email should be sent based on its recipients | [optional] | +|**useInboxName** | **Boolean** | Optionally use inbox name as display name for sender email address | [optional] | +|**html** | **Boolean** | | [optional] | + + + +## Enum: SendStrategyEnum + +| Name | Value | +|---- | -----| +| SINGLE_MESSAGE | "SINGLE_MESSAGE" | + + + diff --git a/docs/ScheduledJob.md b/docs/ScheduledJob.md new file mode 100644 index 000000000..0d94c6cbb --- /dev/null +++ b/docs/ScheduledJob.md @@ -0,0 +1,33 @@ + + +# ScheduledJob + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**inboxId** | **UUID** | | | +|**jobId** | **String** | | | +|**groupId** | **String** | | | +|**triggerId** | **String** | | | +|**status** | [**StatusEnum**](#StatusEnum) | | | +|**sendAtTimestamp** | **OffsetDateTime** | | | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | + + + +## Enum: StatusEnum + +| Name | Value | +|---- | -----| +| SUBMITTED | "SUBMITTED" | +| COMPLETED | "COMPLETED" | +| FAILED | "FAILED" | +| CANCELLED | "CANCELLED" | + + + diff --git a/docs/ScheduledJobDto.md b/docs/ScheduledJobDto.md new file mode 100644 index 000000000..a05de6d12 --- /dev/null +++ b/docs/ScheduledJobDto.md @@ -0,0 +1,33 @@ + + +# ScheduledJobDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**inboxId** | **UUID** | | | +|**jobId** | **String** | | | +|**groupId** | **String** | | | +|**triggerId** | **String** | | | +|**status** | [**StatusEnum**](#StatusEnum) | | | +|**sendAtTimestamp** | **OffsetDateTime** | | | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | + + + +## Enum: StatusEnum + +| Name | Value | +|---- | -----| +| SUBMITTED | "SUBMITTED" | +| COMPLETED | "COMPLETED" | +| FAILED | "FAILED" | +| CANCELLED | "CANCELLED" | + + + diff --git a/docs/SendEmailOptions.md b/docs/SendEmailOptions.md new file mode 100644 index 000000000..065915563 --- /dev/null +++ b/docs/SendEmailOptions.md @@ -0,0 +1,51 @@ + + +# SendEmailOptions + +Options for the email to be sent + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**toContacts** | **List<UUID>** | Optional list of contact IDs to send email to. Manage your contacts via the API or dashboard. When contacts are used the email is sent to each contact separately so they will not see other recipients. | [optional] | +|**toGroup** | **UUID** | Optional contact group ID to send email to. You can create contacts and contact groups in the API or dashboard and use them for email campaigns. When contact groups are used the email is sent to each contact separately so they will not see other recipients | [optional] | +|**to** | **List<String>** | List of destination email addresses. Each email address must be RFC 5322 format. Even single recipients must be in array form. Maximum recipients per email depends on your plan. If you need to send many emails try using contacts or contact groups or use a non standard sendStrategy to ensure that spam filters are not triggered (many recipients in one email can affect your spam rating). Be cautious when sending emails that your recipients exist. High bounce rates (meaning a high percentage of emails cannot be delivered because an address does not exist) can result in account freezing. | [optional] | +|**from** | **String** | Optional from address. Email address is RFC 5322 format and may include a display name and email in angle brackets (`my@address.com` or `My inbox <my@address.com>`). If no sender is set the source inbox address will be used for this field. If you set `useInboxName` to `true` the from field will include the inbox name as a display name: `inbox_name <inbox@address.com>`. For this to work use the name field when creating an inbox. Beware of potential spam penalties when setting the from field to an address not used by the inbox. Your emails may get blocked by services if you impersonate another address. To use a custom email addresses use a custom domain. You can create domains with the DomainController. The domain must be verified in the dashboard before it can be used. | [optional] | +|**cc** | **List<String>** | Optional list of cc destination email addresses | [optional] | +|**bcc** | **List<String>** | Optional list of bcc destination email addresses | [optional] | +|**subject** | **String** | Optional email subject line | [optional] | +|**replyTo** | **String** | Optional replyTo header | [optional] | +|**body** | **String** | Optional contents of email. If body contains HTML then set `isHTML` to true to ensure that email clients render it correctly. You can use moustache template syntax in the email body in conjunction with `toGroup` contact variables or `templateVariables` data. If you need more templating control consider creating a template and using the `template` property instead of the body. | [optional] | +|**html** | **Boolean** | Optional HTML flag to indicate that contents is HTML. Set's a `content-type: text/html` for email. (Deprecated: use `isHTML` instead.) | [optional] | +|**isHTML** | **Boolean** | Optional HTML flag. If true the `content-type` of the email will be `text/html`. Set to true when sending HTML to ensure proper rending on email clients | [optional] | +|**charset** | **String** | Optional charset | [optional] | +|**attachments** | **List<String>** | Optional list of attachment IDs to send with this email. You must first upload each attachment separately via method call or dashboard in order to obtain attachment IDs. This way you can reuse attachments with different emails once uploaded. There are several ways to upload that support `multi-part form`, `base64 file encoding`, and octet stream binary uploads. See the `UploadController` for available methods. | [optional] | +|**templateVariables** | **Map<String, Object>** | Optional map of template variables. Will replace moustache syntax variables in subject and body or template with the associated values if found. | [optional] | +|**template** | **UUID** | Optional template ID to use for body. Will override body if provided. When using a template make sure you pass the corresponding map of `templateVariables`. You can find which variables are needed by fetching the template itself or viewing it in the dashboard. | [optional] | +|**sendStrategy** | [**SendStrategyEnum**](#SendStrategyEnum) | How an email should be sent based on its recipients | [optional] | +|**useInboxName** | **Boolean** | Use name of inbox as sender email address name. Will construct RFC 5322 email address with `Inbox name <inbox@address.com>` if the inbox has a name. | [optional] | +|**addTrackingPixel** | **Boolean** | Add tracking pixel to email | [optional] | +|**filterBouncedRecipients** | **Boolean** | Filter recipients to remove any bounced recipients from to, bcc, and cc before sending | [optional] | +|**validateEmailAddresses** | [**ValidateEmailAddressesEnum**](#ValidateEmailAddressesEnum) | Validate recipient email addresses before sending | [optional] | + + + +## Enum: SendStrategyEnum + +| Name | Value | +|---- | -----| +| SINGLE_MESSAGE | "SINGLE_MESSAGE" | + + + +## Enum: ValidateEmailAddressesEnum + +| Name | Value | +|---- | -----| +| VALIDATE_FILTER_REMOVE_INVALID | "VALIDATE_FILTER_REMOVE_INVALID" | +| VALIDATE_ERROR_IF_INVALID | "VALIDATE_ERROR_IF_INVALID" | +| NO_VALIDATION | "NO_VALIDATION" | + + + diff --git a/docs/SendSMTPEnvelopeOptions.md b/docs/SendSMTPEnvelopeOptions.md new file mode 100644 index 000000000..3c5a318f8 --- /dev/null +++ b/docs/SendSMTPEnvelopeOptions.md @@ -0,0 +1,16 @@ + + +# SendSMTPEnvelopeOptions + +Options for the email envelope + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**rcptTo** | **List<String>** | | | +|**mailFrom** | **String** | | | +|**data** | **String** | | | + + + diff --git a/docs/SendWithQueueResult.md b/docs/SendWithQueueResult.md new file mode 100644 index 000000000..d74c2b092 --- /dev/null +++ b/docs/SendWithQueueResult.md @@ -0,0 +1,23 @@ + + +# SendWithQueueResult + +Collection of items + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**subject** | **String** | | [optional] | +|**inboxId** | **UUID** | | [optional] | +|**headerId** | **String** | | | +|**delivered** | **Boolean** | | | +|**exceptionName** | **String** | | [optional] | +|**message** | **String** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | + + + diff --git a/docs/Sender.md b/docs/Sender.md new file mode 100644 index 000000000..c6cb86cd6 --- /dev/null +++ b/docs/Sender.md @@ -0,0 +1,16 @@ + + +# Sender + +Sender object containing from email address and from personal name if provided in address + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**rawValue** | **String** | | | +|**emailAddress** | **String** | | | +|**name** | **String** | | [optional] | + + + diff --git a/docs/SentEmailDto.md b/docs/SentEmailDto.md new file mode 100644 index 000000000..5ef4dcc53 --- /dev/null +++ b/docs/SentEmailDto.md @@ -0,0 +1,38 @@ + + +# SentEmailDto + +Sent email details + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | ID of sent email | | +|**userId** | **UUID** | User ID | | +|**inboxId** | **UUID** | Inbox ID email was sent from | | +|**domainId** | **UUID** | Domain ID | [optional] | +|**to** | **List<String>** | Recipients email was sent to | [optional] | +|**from** | **String** | Sent from address | [optional] | +|**replyTo** | **String** | | [optional] | +|**cc** | **List<String>** | | [optional] | +|**bcc** | **List<String>** | | [optional] | +|**attachments** | **List<String>** | Array of IDs of attachments that were sent with this email | [optional] | +|**subject** | **String** | | [optional] | +|**bodyMD5Hash** | **String** | MD5 Hash | [optional] | +|**body** | **String** | Sent email body | [optional] | +|**toContacts** | **List<UUID>** | | [optional] | +|**toGroup** | **UUID** | | [optional] | +|**charset** | **String** | | [optional] | +|**isHTML** | **Boolean** | | [optional] | +|**sentAt** | **OffsetDateTime** | | | +|**pixelIds** | **List<UUID>** | | [optional] | +|**messageId** | **String** | | [optional] | +|**messageIds** | **List<String>** | | [optional] | +|**virtualSend** | **Boolean** | | [optional] | +|**templateId** | **UUID** | | [optional] | +|**templateVariables** | **Map<String, Object>** | | [optional] | +|**html** | **Boolean** | | [optional] | + + + diff --git a/docs/SentEmailProjection.md b/docs/SentEmailProjection.md new file mode 100644 index 000000000..c3104cc89 --- /dev/null +++ b/docs/SentEmailProjection.md @@ -0,0 +1,25 @@ + + +# SentEmailProjection + +Collection of items + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**from** | **String** | | [optional] | +|**subject** | **String** | | [optional] | +|**inboxId** | **UUID** | | | +|**userId** | **UUID** | | | +|**attachments** | **List<String>** | | | +|**createdAt** | **OffsetDateTime** | | | +|**to** | **List<String>** | | | +|**bcc** | **List<String>** | | | +|**cc** | **List<String>** | | | +|**bodyMD5Hash** | **String** | | [optional] | +|**virtualSend** | **Boolean** | | | + + + diff --git a/docs/SentEmailsControllerApi.md b/docs/SentEmailsControllerApi.md new file mode 100644 index 000000000..d339c6b6e --- /dev/null +++ b/docs/SentEmailsControllerApi.md @@ -0,0 +1,1192 @@ +# SentEmailsControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**deleteAllSentEmails**](SentEmailsControllerApi#deleteAllSentEmails) | **DELETE** /sent | Delete all sent email receipts | +| [**deleteSentEmail**](SentEmailsControllerApi#deleteSentEmail) | **DELETE** /sent/{id} | Delete sent email receipt | +| [**getAllSentTrackingPixels**](SentEmailsControllerApi#getAllSentTrackingPixels) | **GET** /sent/tracking-pixels | | +| [**getRawSentEmailContents**](SentEmailsControllerApi#getRawSentEmailContents) | **GET** /sent/{emailId}/raw | Get raw sent email string. Returns unparsed raw SMTP message with headers and body. | +| [**getRawSentEmailJson**](SentEmailsControllerApi#getRawSentEmailJson) | **GET** /sent/{emailId}/raw/json | Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format. | +| [**getSentDeliveryStatus**](SentEmailsControllerApi#getSentDeliveryStatus) | **GET** /sent/delivery-status/{deliveryId} | | +| [**getSentDeliveryStatuses**](SentEmailsControllerApi#getSentDeliveryStatuses) | **GET** /sent/delivery-status | | +| [**getSentDeliveryStatusesBySentId**](SentEmailsControllerApi#getSentDeliveryStatusesBySentId) | **GET** /sent/{sentId}/delivery-status | | +| [**getSentEmail**](SentEmailsControllerApi#getSentEmail) | **GET** /sent/{id} | Get sent email receipt | +| [**getSentEmailHTMLContent**](SentEmailsControllerApi#getSentEmailHTMLContent) | **GET** /sent/{id}/html | Get sent email HTML content | +| [**getSentEmailPreviewURLs**](SentEmailsControllerApi#getSentEmailPreviewURLs) | **GET** /sent/{id}/urls | Get sent email URL for viewing in browser or downloading | +| [**getSentEmailTrackingPixels**](SentEmailsControllerApi#getSentEmailTrackingPixels) | **GET** /sent/{id}/tracking-pixels | | +| [**getSentEmails**](SentEmailsControllerApi#getSentEmails) | **GET** /sent | Get all sent emails in paginated form | +| [**getSentEmailsWithQueueResults**](SentEmailsControllerApi#getSentEmailsWithQueueResults) | **GET** /sent/queue-results | Get results of email sent with queues in paginated form | +| [**getSentOrganizationEmails**](SentEmailsControllerApi#getSentOrganizationEmails) | **GET** /sent/organization | | +| [**waitForDeliveryStatuses**](SentEmailsControllerApi#waitForDeliveryStatuses) | **GET** /sent/delivery-status/wait-for | | + + + +# **deleteAllSentEmails** +> deleteAllSentEmails() + +Delete all sent email receipts + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + try { + apiInstance.deleteAllSentEmails(); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#deleteAllSentEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **deleteSentEmail** +> deleteSentEmail(id) + +Delete sent email receipt + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteSentEmail(id); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#deleteSentEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getAllSentTrackingPixels** +> PageTrackingPixelProjection getAllSentTrackingPixels(page, size, sort, searchFilter, since, before) + + + +Get all sent email tracking pixels in paginated form + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in sent email tracking pixel list pagination + Integer size = 20; // Integer | Optional page size in sent email tracking pixel list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageTrackingPixelProjection result = apiInstance.getAllSentTrackingPixels(page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getAllSentTrackingPixels"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in sent email tracking pixel list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in sent email tracking pixel list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageTrackingPixelProjection**](PageTrackingPixelProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getRawSentEmailContents** +> String getRawSentEmailContents(emailId) + +Get raw sent email string. Returns unparsed raw SMTP message with headers and body. + +Returns a raw, unparsed, and unprocessed sent email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawSentEmailJson endpoint + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + try { + String result = apiInstance.getRawSentEmailContents(emailId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getRawSentEmailContents"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | + +### Return type + +**String** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/plain + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getRawSentEmailJson** +> RawEmailJson getRawSentEmailJson(emailId) + +Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format. + +Returns a raw, unparsed, and unprocessed sent email wrapped in a JSON response object for easier handling when compared with the getRawSentEmail text/plain response + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID emailId = UUID.randomUUID(); // UUID | ID of email + try { + RawEmailJson result = apiInstance.getRawSentEmailJson(emailId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getRawSentEmailJson"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **emailId** | **UUID**| ID of email | | + +### Return type + +[**RawEmailJson**](RawEmailJson) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getSentDeliveryStatus** +> DeliveryStatusDto getSentDeliveryStatus(deliveryId) + + + +Get a sent email delivery status + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID deliveryId = UUID.randomUUID(); // UUID | + try { + DeliveryStatusDto result = apiInstance.getSentDeliveryStatus(deliveryId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getSentDeliveryStatus"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **deliveryId** | **UUID**| | | + +### Return type + +[**DeliveryStatusDto**](DeliveryStatusDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getSentDeliveryStatuses** +> PageDeliveryStatus getSentDeliveryStatuses(page, size, sort, since, before) + + + +Get all sent email delivery statuses + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in delivery status list pagination + Integer size = 20; // Integer | Optional page size in delivery status list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageDeliveryStatus result = apiInstance.getSentDeliveryStatuses(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getSentDeliveryStatuses"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in delivery status list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in delivery status list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageDeliveryStatus**](PageDeliveryStatus) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getSentDeliveryStatusesBySentId** +> PageDeliveryStatus getSentDeliveryStatusesBySentId(sentId, page, size, sort, since, before) + + + +Get all sent email delivery statuses + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID sentId = UUID.randomUUID(); // UUID | ID of the sent email that you want to get the delivery status of. Sent email object is returned when sending an email + Integer page = 0; // Integer | Optional page index in delivery status list pagination + Integer size = 20; // Integer | Optional page size in delivery status list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageDeliveryStatus result = apiInstance.getSentDeliveryStatusesBySentId(sentId, page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getSentDeliveryStatusesBySentId"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **sentId** | **UUID**| ID of the sent email that you want to get the delivery status of. Sent email object is returned when sending an email | | +| **page** | **Integer**| Optional page index in delivery status list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in delivery status list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageDeliveryStatus**](PageDeliveryStatus) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getSentEmail** +> SentEmailDto getSentEmail(id) + +Get sent email receipt + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + SentEmailDto result = apiInstance.getSentEmail(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getSentEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +[**SentEmailDto**](SentEmailDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getSentEmailHTMLContent** +> String getSentEmailHTMLContent(id) + +Get sent email HTML content + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + String result = apiInstance.getSentEmailHTMLContent(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getSentEmailHTMLContent"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +**String** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/html + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getSentEmailPreviewURLs** +> EmailPreviewUrls getSentEmailPreviewURLs(id) + +Get sent email URL for viewing in browser or downloading + +Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + EmailPreviewUrls result = apiInstance.getSentEmailPreviewURLs(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getSentEmailPreviewURLs"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +[**EmailPreviewUrls**](EmailPreviewUrls) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getSentEmailTrackingPixels** +> PageTrackingPixelProjection getSentEmailTrackingPixels(id, page, size, sort, searchFilter, since, before) + + + +Get all tracking pixels for a sent email in paginated form + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index in sent email tracking pixel list pagination + Integer size = 20; // Integer | Optional page size in sent email tracking pixel list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageTrackingPixelProjection result = apiInstance.getSentEmailTrackingPixels(id, page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getSentEmailTrackingPixels"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | +| **page** | **Integer**| Optional page index in sent email tracking pixel list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in sent email tracking pixel list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageTrackingPixelProjection**](PageTrackingPixelProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getSentEmails** +> PageSentEmailProjection getSentEmails(inboxId, page, size, sort, searchFilter, since, before) + +Get all sent emails in paginated form + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Optional inboxId to filter sender of sent emails by + Integer page = 0; // Integer | Optional page index in inbox sent email list pagination + Integer size = 20; // Integer | Optional page size in inbox sent email list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageSentEmailProjection result = apiInstance.getSentEmails(inboxId, page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getSentEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Optional inboxId to filter sender of sent emails by | [optional] | +| **page** | **Integer**| Optional page index in inbox sent email list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox sent email list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageSentEmailProjection**](PageSentEmailProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getSentEmailsWithQueueResults** +> PageSentEmailWithQueueProjection getSentEmailsWithQueueResults(page, size, sort, since, before) + +Get results of email sent with queues in paginated form + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in inbox sent email list pagination + Integer size = 20; // Integer | Optional page size in inbox sent email list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageSentEmailWithQueueProjection result = apiInstance.getSentEmailsWithQueueResults(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getSentEmailsWithQueueResults"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in inbox sent email list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in inbox sent email list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageSentEmailWithQueueProjection**](PageSentEmailWithQueueProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getSentOrganizationEmails** +> PageSentEmailProjection getSentOrganizationEmails(inboxId, page, size, sort, searchFilter, since, before) + + + +Get all sent organization emails in paginated form + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Optional inboxId to filter sender of sent emails by + Integer page = 0; // Integer | Optional page index in sent email list pagination + Integer size = 20; // Integer | Optional page size in sent email list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageSentEmailProjection result = apiInstance.getSentOrganizationEmails(inboxId, page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#getSentOrganizationEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Optional inboxId to filter sender of sent emails by | [optional] | +| **page** | **Integer**| Optional page index in sent email list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in sent email list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageSentEmailProjection**](PageSentEmailProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **waitForDeliveryStatuses** +> DeliveryStatusDto waitForDeliveryStatuses(sentId, inboxId, timeout, index, since, before) + + + +Wait for delivery statuses + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SentEmailsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SentEmailsControllerApi apiInstance = new SentEmailsControllerApi(defaultClient); + UUID sentId = UUID.randomUUID(); // UUID | Optional sent email ID filter + UUID inboxId = UUID.randomUUID(); // UUID | Optional inbox ID filter + Long timeout = 56L; // Long | Optional timeout milliseconds + Integer index = 56; // Integer | Zero based index of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass index=1 + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + DeliveryStatusDto result = apiInstance.waitForDeliveryStatuses(sentId, inboxId, timeout, index, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SentEmailsControllerApi#waitForDeliveryStatuses"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **sentId** | **UUID**| Optional sent email ID filter | [optional] | +| **inboxId** | **UUID**| Optional inbox ID filter | [optional] | +| **timeout** | **Long**| Optional timeout milliseconds | [optional] | +| **index** | **Integer**| Zero based index of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass index=1 | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**DeliveryStatusDto**](DeliveryStatusDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/SetInboxFavouritedOptions.md b/docs/SetInboxFavouritedOptions.md new file mode 100644 index 000000000..9b342077b --- /dev/null +++ b/docs/SetInboxFavouritedOptions.md @@ -0,0 +1,14 @@ + + +# SetInboxFavouritedOptions + +Options for setting inbox favourite state + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**state** | **Boolean** | Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering | | + + + diff --git a/docs/SimpleSendEmailOptions.md b/docs/SimpleSendEmailOptions.md new file mode 100644 index 000000000..6c5703f91 --- /dev/null +++ b/docs/SimpleSendEmailOptions.md @@ -0,0 +1,17 @@ + + +# SimpleSendEmailOptions + +Simplified send email options + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**senderId** | **UUID** | ID of inbox to send from. If null an inbox will be created for sending | [optional] | +|**to** | **String** | Email address to send to | | +|**body** | **String** | Body of the email message. Supports HTML | [optional] | +|**subject** | **String** | Subject line of the email | [optional] | + + + diff --git a/docs/SmsControllerApi.md b/docs/SmsControllerApi.md new file mode 100644 index 000000000..15b5c9f7a --- /dev/null +++ b/docs/SmsControllerApi.md @@ -0,0 +1,364 @@ +# SmsControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**deleteSmsMessage**](SmsControllerApi#deleteSmsMessage) | **DELETE** /sms/{smsId} | Delete SMS message. | +| [**deleteSmsMessages**](SmsControllerApi#deleteSmsMessages) | **DELETE** /sms | Delete all SMS messages | +| [**getSmsMessage**](SmsControllerApi#getSmsMessage) | **GET** /sms/{smsId} | Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController. | +| [**getSmsMessagesPaginated**](SmsControllerApi#getSmsMessagesPaginated) | **GET** /sms | Get all SMS messages in all phone numbers in paginated form. . | +| [**getUnreadSmsCount**](SmsControllerApi#getUnreadSmsCount) | **GET** /sms/unreadCount | Get unread SMS count | + + + +# **deleteSmsMessage** +> deleteSmsMessage(smsId) + +Delete SMS message. + +Delete an SMS message + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SmsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SmsControllerApi apiInstance = new SmsControllerApi(defaultClient); + UUID smsId = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteSmsMessage(smsId); + } catch (ApiException e) { + System.err.println("Exception when calling SmsControllerApi#deleteSmsMessage"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **smsId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **deleteSmsMessages** +> deleteSmsMessages(phoneNumberId) + +Delete all SMS messages + +Delete all SMS messages or all messages for a given phone number + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SmsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SmsControllerApi apiInstance = new SmsControllerApi(defaultClient); + UUID phoneNumberId = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteSmsMessages(phoneNumberId); + } catch (ApiException e) { + System.err.println("Exception when calling SmsControllerApi#deleteSmsMessages"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **phoneNumberId** | **UUID**| | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getSmsMessage** +> SmsDto getSmsMessage(smsId) + +Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController. + +Returns a SMS summary object with content. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SmsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SmsControllerApi apiInstance = new SmsControllerApi(defaultClient); + UUID smsId = UUID.randomUUID(); // UUID | + try { + SmsDto result = apiInstance.getSmsMessage(smsId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SmsControllerApi#getSmsMessage"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **smsId** | **UUID**| | | + +### Return type + +[**SmsDto**](SmsDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getSmsMessagesPaginated** +> PageSmsProjection getSmsMessagesPaginated(phoneNumber, page, size, sort, unreadOnly, since, before) + +Get all SMS messages in all phone numbers in paginated form. . + +By default returns all SMS messages across all phone numbers sorted by ascending created at date. Responses are paginated. You can restrict results to a list of phone number IDs. You can also filter out read messages + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SmsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SmsControllerApi apiInstance = new SmsControllerApi(defaultClient); + UUID phoneNumber = UUID.randomUUID(); // UUID | Optional receiving phone number to filter SMS messages for + Integer page = 0; // Integer | Optional page index in SMS list pagination + Integer size = 20; // Integer | Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + Boolean unreadOnly = false; // Boolean | Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Optional filter SMSs received after given date time + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Optional filter SMSs received before given date time + try { + PageSmsProjection result = apiInstance.getSmsMessagesPaginated(phoneNumber, page, size, sort, unreadOnly, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SmsControllerApi#getSmsMessagesPaginated"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **phoneNumber** | **UUID**| Optional receiving phone number to filter SMS messages for | [optional] | +| **page** | **Integer**| Optional page index in SMS list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **unreadOnly** | **Boolean**| Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly | [optional] [default to false] | +| **since** | **OffsetDateTime**| Optional filter SMSs received after given date time | [optional] | +| **before** | **OffsetDateTime**| Optional filter SMSs received before given date time | [optional] | + +### Return type + +[**PageSmsProjection**](PageSmsProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getUnreadSmsCount** +> UnreadCount getUnreadSmsCount() + +Get unread SMS count + +Get number of SMS unread. Unread means has not been viewed in dashboard or returned in an email API response + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.SmsControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + SmsControllerApi apiInstance = new SmsControllerApi(defaultClient); + try { + UnreadCount result = apiInstance.getUnreadSmsCount(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SmsControllerApi#getUnreadSmsCount"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**UnreadCount**](UnreadCount) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/SmsDto.md b/docs/SmsDto.md new file mode 100644 index 000000000..c230646bb --- /dev/null +++ b/docs/SmsDto.md @@ -0,0 +1,20 @@ + + +# SmsDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**phoneNumber** | **UUID** | | | +|**fromNumber** | **String** | | | +|**body** | **String** | | | +|**read** | **Boolean** | | | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | + + + diff --git a/docs/SmsMatchOption.md b/docs/SmsMatchOption.md new file mode 100644 index 000000000..79e5016b7 --- /dev/null +++ b/docs/SmsMatchOption.md @@ -0,0 +1,34 @@ + + +# SmsMatchOption + +Options for matching SMS messages in a phone number. Each match option object contains a `field`, `should` and `value` property. Together they form logical conditions such as `BODY` should `CONTAIN` value. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**field** | [**FieldEnum**](#FieldEnum) | Fields of an SMS object that can be used to filter results | | +|**should** | [**ShouldEnum**](#ShouldEnum) | How the value of the email field specified should be compared to the value given in the match options. | | +|**value** | **String** | The value you wish to compare with the value of the field specified using the `should` value passed. For example `BODY` should `CONTAIN` a value passed. | | + + + +## Enum: FieldEnum + +| Name | Value | +|---- | -----| +| BODY | "BODY" | +| FROM | "FROM" | + + + +## Enum: ShouldEnum + +| Name | Value | +|---- | -----| +| CONTAIN | "CONTAIN" | +| EQUAL | "EQUAL" | + + + diff --git a/docs/SmsPreview.md b/docs/SmsPreview.md new file mode 100644 index 000000000..3040fff6c --- /dev/null +++ b/docs/SmsPreview.md @@ -0,0 +1,18 @@ + + +# SmsPreview + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**userId** | **UUID** | | | +|**body** | **String** | | | +|**phoneNumber** | **UUID** | | | +|**fromNumber** | **String** | | | +|**createdAt** | **OffsetDateTime** | | | + + + diff --git a/docs/SmsProjection.md b/docs/SmsProjection.md new file mode 100644 index 000000000..b26f84aa1 --- /dev/null +++ b/docs/SmsProjection.md @@ -0,0 +1,20 @@ + + +# SmsProjection + +SMS projection + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**body** | **String** | | | +|**userId** | **UUID** | | | +|**createdAt** | **OffsetDateTime** | | | +|**phoneNumber** | **UUID** | | | +|**fromNumber** | **String** | | | +|**read** | **Boolean** | | | + + + diff --git a/docs/Sort.md b/docs/Sort.md new file mode 100644 index 000000000..9ce4665b7 --- /dev/null +++ b/docs/Sort.md @@ -0,0 +1,15 @@ + + +# Sort + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**empty** | **Boolean** | | [optional] | +|**sorted** | **Boolean** | | [optional] | +|**unsorted** | **Boolean** | | [optional] | + + + diff --git a/docs/TemplateControllerApi.md b/docs/TemplateControllerApi.md new file mode 100644 index 000000000..4b45fbc9b --- /dev/null +++ b/docs/TemplateControllerApi.md @@ -0,0 +1,573 @@ +# TemplateControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createTemplate**](TemplateControllerApi#createTemplate) | **POST** /templates | Create a Template | +| [**deleteTemplate**](TemplateControllerApi#deleteTemplate) | **DELETE** /templates/{templateId} | Delete email template | +| [**getAllTemplates**](TemplateControllerApi#getAllTemplates) | **GET** /templates/paginated | List templates | +| [**getTemplate**](TemplateControllerApi#getTemplate) | **GET** /templates/{templateId} | Get template | +| [**getTemplatePreviewHtml**](TemplateControllerApi#getTemplatePreviewHtml) | **GET** /templates/{templateId}/preview/html | Get template preview HTML | +| [**getTemplatePreviewJson**](TemplateControllerApi#getTemplatePreviewJson) | **GET** /templates/{templateId}/preview/json | Get template preview Json | +| [**getTemplates**](TemplateControllerApi#getTemplates) | **GET** /templates | List templates | +| [**updateTemplate**](TemplateControllerApi#updateTemplate) | **PUT** /templates/{templateId} | Update template | + + + +# **createTemplate** +> TemplateDto createTemplate(createTemplateOptions) + +Create a Template + +Create an email template with variables for use with templated transactional emails. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.TemplateControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + TemplateControllerApi apiInstance = new TemplateControllerApi(defaultClient); + CreateTemplateOptions createTemplateOptions = new CreateTemplateOptions(); // CreateTemplateOptions | + try { + TemplateDto result = apiInstance.createTemplate(createTemplateOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TemplateControllerApi#createTemplate"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createTemplateOptions** | [**CreateTemplateOptions**](CreateTemplateOptions)| | | + +### Return type + +[**TemplateDto**](TemplateDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **deleteTemplate** +> deleteTemplate(templateId) + +Delete email template + +Delete template + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.TemplateControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + TemplateControllerApi apiInstance = new TemplateControllerApi(defaultClient); + UUID templateId = UUID.randomUUID(); // UUID | Template ID + try { + apiInstance.deleteTemplate(templateId); + } catch (ApiException e) { + System.err.println("Exception when calling TemplateControllerApi#deleteTemplate"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **templateId** | **UUID**| Template ID | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **getAllTemplates** +> PageTemplateProjection getAllTemplates(page, size, sort, since, before) + +List templates + +Get all templates in paginated format + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.TemplateControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + TemplateControllerApi apiInstance = new TemplateControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageTemplateProjection result = apiInstance.getAllTemplates(page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TemplateControllerApi#getAllTemplates"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageTemplateProjection**](PageTemplateProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTemplate** +> TemplateDto getTemplate(templateId) + +Get template + +Get email template + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.TemplateControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + TemplateControllerApi apiInstance = new TemplateControllerApi(defaultClient); + UUID templateId = UUID.randomUUID(); // UUID | Template ID + try { + TemplateDto result = apiInstance.getTemplate(templateId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TemplateControllerApi#getTemplate"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **templateId** | **UUID**| Template ID | | + +### Return type + +[**TemplateDto**](TemplateDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTemplatePreviewHtml** +> String getTemplatePreviewHtml(templateId) + +Get template preview HTML + +Get email template preview with passed template variables in HTML format for browsers. Pass template variables as query params. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.TemplateControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + TemplateControllerApi apiInstance = new TemplateControllerApi(defaultClient); + UUID templateId = UUID.randomUUID(); // UUID | Template ID + try { + String result = apiInstance.getTemplatePreviewHtml(templateId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TemplateControllerApi#getTemplatePreviewHtml"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **templateId** | **UUID**| Template ID | | + +### Return type + +**String** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/html;charset=utf-8, text/html + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTemplatePreviewJson** +> TemplatePreview getTemplatePreviewJson(templateId) + +Get template preview Json + +Get email template preview with passed template variables in JSON format. Pass template variables as query params. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.TemplateControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + TemplateControllerApi apiInstance = new TemplateControllerApi(defaultClient); + UUID templateId = UUID.randomUUID(); // UUID | Template ID + try { + TemplatePreview result = apiInstance.getTemplatePreviewJson(templateId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TemplateControllerApi#getTemplatePreviewJson"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **templateId** | **UUID**| Template ID | | + +### Return type + +[**TemplatePreview**](TemplatePreview) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTemplates** +> List<TemplateProjection> getTemplates() + +List templates + +Get all templates + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.TemplateControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + TemplateControllerApi apiInstance = new TemplateControllerApi(defaultClient); + try { + List result = apiInstance.getTemplates(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TemplateControllerApi#getTemplates"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**List<TemplateProjection>**](TemplateProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **updateTemplate** +> TemplateDto updateTemplate(templateId, createTemplateOptions) + +Update template + +Update email template + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.TemplateControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + TemplateControllerApi apiInstance = new TemplateControllerApi(defaultClient); + UUID templateId = UUID.randomUUID(); // UUID | Template ID + CreateTemplateOptions createTemplateOptions = new CreateTemplateOptions(); // CreateTemplateOptions | + try { + TemplateDto result = apiInstance.updateTemplate(templateId, createTemplateOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TemplateControllerApi#updateTemplate"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **templateId** | **UUID**| Template ID | | +| **createTemplateOptions** | [**CreateTemplateOptions**](CreateTemplateOptions)| | | + +### Return type + +[**TemplateDto**](TemplateDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + diff --git a/docs/TemplateDto.md b/docs/TemplateDto.md new file mode 100644 index 000000000..72ebb5b23 --- /dev/null +++ b/docs/TemplateDto.md @@ -0,0 +1,18 @@ + + +# TemplateDto + +Email template + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | ID of template | | +|**name** | **String** | Template name | | +|**variables** | [**List<TemplateVariable>**](TemplateVariable) | Variables available in template that can be replaced with values | | +|**content** | **String** | Content of the template | | +|**createdAt** | **OffsetDateTime** | Created at time | | + + + diff --git a/docs/TemplatePreview.md b/docs/TemplatePreview.md new file mode 100644 index 000000000..003a4e664 --- /dev/null +++ b/docs/TemplatePreview.md @@ -0,0 +1,13 @@ + + +# TemplatePreview + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**preview** | **String** | | | + + + diff --git a/docs/TemplateProjection.md b/docs/TemplateProjection.md new file mode 100644 index 000000000..0da2b62b8 --- /dev/null +++ b/docs/TemplateProjection.md @@ -0,0 +1,18 @@ + + +# TemplateProjection + +Email template data + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | | | +|**id** | **UUID** | | | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | +|**variables** | **List<String>** | | | + + + diff --git a/docs/TemplateVariable.md b/docs/TemplateVariable.md new file mode 100644 index 000000000..4d26ed1cc --- /dev/null +++ b/docs/TemplateVariable.md @@ -0,0 +1,23 @@ + + +# TemplateVariable + +Variable for use with email template + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Name of variable. This can be used in a template as {{name}} | | +|**variableType** | [**VariableTypeEnum**](#VariableTypeEnum) | The type of variable | | + + + +## Enum: VariableTypeEnum + +| Name | Value | +|---- | -----| +| STRING | "STRING" | + + + diff --git a/docs/TestNewInboxForwarderOptions.md b/docs/TestNewInboxForwarderOptions.md new file mode 100644 index 000000000..8beb25305 --- /dev/null +++ b/docs/TestNewInboxForwarderOptions.md @@ -0,0 +1,15 @@ + + +# TestNewInboxForwarderOptions + +Options for testing new inbox forwarder rules + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**inboxForwarderTestOptions** | [**InboxForwarderTestOptions**](InboxForwarderTestOptions) | | | +|**createInboxForwarderOptions** | [**CreateInboxForwarderOptions**](CreateInboxForwarderOptions) | | | + + + diff --git a/docs/TestNewInboxRulesetOptions.md b/docs/TestNewInboxRulesetOptions.md new file mode 100644 index 000000000..8949ddbbf --- /dev/null +++ b/docs/TestNewInboxRulesetOptions.md @@ -0,0 +1,15 @@ + + +# TestNewInboxRulesetOptions + +Test inbox ruleset options + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**inboxRulesetTestOptions** | [**InboxRulesetTestOptions**](InboxRulesetTestOptions) | | | +|**createInboxRulesetOptions** | [**CreateInboxRulesetOptions**](CreateInboxRulesetOptions) | | | + + + diff --git a/docs/TestPhoneNumberOptions.md b/docs/TestPhoneNumberOptions.md new file mode 100644 index 000000000..6519bb75f --- /dev/null +++ b/docs/TestPhoneNumberOptions.md @@ -0,0 +1,13 @@ + + +# TestPhoneNumberOptions + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**message** | **String** | | | + + + diff --git a/docs/ThreadProjection.md b/docs/ThreadProjection.md new file mode 100644 index 000000000..8e0652eeb --- /dev/null +++ b/docs/ThreadProjection.md @@ -0,0 +1,24 @@ + + +# ThreadProjection + +A thread is a message thread created for a message received by an alias + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Name of thread | [optional] | +|**id** | **UUID** | ID of email thread | | +|**subject** | **String** | Thread subject | [optional] | +|**inboxId** | **UUID** | Inbox ID | | +|**userId** | **UUID** | User ID | | +|**createdAt** | **OffsetDateTime** | Created at DateTime | | +|**updatedAt** | **OffsetDateTime** | Updated at DateTime | | +|**to** | **List<String>** | To recipients | | +|**bcc** | **List<String>** | BCC recipients | [optional] | +|**cc** | **List<String>** | CC recipients | [optional] | +|**aliasId** | **UUID** | Alias ID | | + + + diff --git a/docs/TrackingControllerApi.md b/docs/TrackingControllerApi.md new file mode 100644 index 000000000..b4b5684ea --- /dev/null +++ b/docs/TrackingControllerApi.md @@ -0,0 +1,226 @@ +# TrackingControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createTrackingPixel**](TrackingControllerApi#createTrackingPixel) | **POST** /tracking/pixels | Create tracking pixel | +| [**getAllTrackingPixels**](TrackingControllerApi#getAllTrackingPixels) | **GET** /tracking/pixels | Get tracking pixels | +| [**getTrackingPixel**](TrackingControllerApi#getTrackingPixel) | **GET** /tracking/pixels/{id} | Get pixel | + + + +# **createTrackingPixel** +> TrackingPixelDto createTrackingPixel(createTrackingPixelOptions) + +Create tracking pixel + +Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.TrackingControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + TrackingControllerApi apiInstance = new TrackingControllerApi(defaultClient); + CreateTrackingPixelOptions createTrackingPixelOptions = new CreateTrackingPixelOptions(); // CreateTrackingPixelOptions | + try { + TrackingPixelDto result = apiInstance.createTrackingPixel(createTrackingPixelOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TrackingControllerApi#createTrackingPixel"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createTrackingPixelOptions** | [**CreateTrackingPixelOptions**](CreateTrackingPixelOptions)| | | + +### Return type + +[**TrackingPixelDto**](TrackingPixelDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **getAllTrackingPixels** +> PageTrackingPixelProjection getAllTrackingPixels(page, size, sort, searchFilter, since, before) + +Get tracking pixels + +List tracking pixels in paginated form + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.TrackingControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + TrackingControllerApi apiInstance = new TrackingControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageTrackingPixelProjection result = apiInstance.getAllTrackingPixels(page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TrackingControllerApi#getAllTrackingPixels"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageTrackingPixelProjection**](PageTrackingPixelProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTrackingPixel** +> TrackingPixelDto getTrackingPixel(id) + +Get pixel + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.TrackingControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + TrackingControllerApi apiInstance = new TrackingControllerApi(defaultClient); + UUID id = UUID.randomUUID(); // UUID | + try { + TrackingPixelDto result = apiInstance.getTrackingPixel(id); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TrackingControllerApi#getTrackingPixel"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **UUID**| | | + +### Return type + +[**TrackingPixelDto**](TrackingPixelDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/TrackingPixelDto.md b/docs/TrackingPixelDto.md new file mode 100644 index 000000000..44f71d9ca --- /dev/null +++ b/docs/TrackingPixelDto.md @@ -0,0 +1,22 @@ + + +# TrackingPixelDto + +Tracking pixel + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**seen** | **Boolean** | | | +|**recipient** | **String** | | [optional] | +|**html** | **String** | | | +|**url** | **String** | | | +|**inboxId** | **UUID** | | [optional] | +|**sentEmailId** | **UUID** | | [optional] | +|**seenAt** | **OffsetDateTime** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | + + + diff --git a/docs/TrackingPixelProjection.md b/docs/TrackingPixelProjection.md new file mode 100644 index 000000000..4322fba51 --- /dev/null +++ b/docs/TrackingPixelProjection.md @@ -0,0 +1,22 @@ + + +# TrackingPixelProjection + +Tracking pixel data + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | | [optional] | +|**id** | **UUID** | | | +|**inboxId** | **UUID** | | [optional] | +|**userId** | **UUID** | | | +|**sentEmailId** | **UUID** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**recipient** | **String** | | [optional] | +|**seen** | **Boolean** | | | +|**seenAt** | **OffsetDateTime** | | [optional] | + + + diff --git a/docs/UnknownMissedEmailProjection.md b/docs/UnknownMissedEmailProjection.md new file mode 100644 index 000000000..dd46d15e1 --- /dev/null +++ b/docs/UnknownMissedEmailProjection.md @@ -0,0 +1,18 @@ + + +# UnknownMissedEmailProjection + +Unknown missed email projection + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**from** | **String** | | [optional] | +|**subject** | **String** | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**to** | **List<String>** | | [optional] | + + + diff --git a/docs/UnreadCount.md b/docs/UnreadCount.md new file mode 100644 index 000000000..1be3a3029 --- /dev/null +++ b/docs/UnreadCount.md @@ -0,0 +1,14 @@ + + +# UnreadCount + +Number of unread entities + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**count** | **Long** | | | + + + diff --git a/docs/UnseenErrorCountDto.md b/docs/UnseenErrorCountDto.md new file mode 100644 index 000000000..4c66ebbbf --- /dev/null +++ b/docs/UnseenErrorCountDto.md @@ -0,0 +1,14 @@ + + +# UnseenErrorCountDto + +Number of unseen errors + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**count** | **Long** | | | + + + diff --git a/docs/UpdateAliasOptions.md b/docs/UpdateAliasOptions.md new file mode 100644 index 000000000..33062975d --- /dev/null +++ b/docs/UpdateAliasOptions.md @@ -0,0 +1,14 @@ + + +# UpdateAliasOptions + +Update an email alias + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Optional name for alias | [optional] | + + + diff --git a/docs/UpdateDomainOptions.md b/docs/UpdateDomainOptions.md new file mode 100644 index 000000000..a24febdab --- /dev/null +++ b/docs/UpdateDomainOptions.md @@ -0,0 +1,14 @@ + + +# UpdateDomainOptions + +Options for creating a domain to use with MailSlurp. You must have ownership access to this domain in order to verify it. Domains will not functionally currently until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains for help. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**catchAllInboxId** | **UUID** | | [optional] | + + + diff --git a/docs/UpdateGroupContacts.md b/docs/UpdateGroupContacts.md new file mode 100644 index 000000000..704eea954 --- /dev/null +++ b/docs/UpdateGroupContacts.md @@ -0,0 +1,14 @@ + + +# UpdateGroupContacts + +Update group contacts options. Pass a list of contact ids to replace existing group contacts. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**contactIds** | **List<UUID>** | | | + + + diff --git a/docs/UpdateInboxOptions.md b/docs/UpdateInboxOptions.md new file mode 100644 index 000000000..6f7e2f666 --- /dev/null +++ b/docs/UpdateInboxOptions.md @@ -0,0 +1,18 @@ + + +# UpdateInboxOptions + +Options for updating inbox properties + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search | [optional] | +|**description** | **String** | Description of an inbox for labelling and searching purposes | [optional] | +|**tags** | **List<String>** | Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. | [optional] | +|**expiresAt** | **OffsetDateTime** | Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email. | [optional] | +|**favourite** | **Boolean** | Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering | [optional] | + + + diff --git a/docs/UpdateInboxReplierOptions.md b/docs/UpdateInboxReplierOptions.md new file mode 100644 index 000000000..7c580dc45 --- /dev/null +++ b/docs/UpdateInboxReplierOptions.md @@ -0,0 +1,37 @@ + + +# UpdateInboxReplierOptions + +Options for updating an inbox replier + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**inboxId** | **UUID** | Inbox ID to attach replier to | | +|**name** | **String** | Name for replier | [optional] | +|**field** | [**FieldEnum**](#FieldEnum) | Field to match against to trigger inbox replier for inbound email | | +|**match** | **String** | String or wildcard style match for field specified when evaluating reply rules | | +|**replyTo** | **String** | Reply-to email address when sending replying | [optional] | +|**subject** | **String** | Subject override when replying to email | [optional] | +|**from** | **String** | Send email from address | [optional] | +|**charset** | **String** | Email reply charset | [optional] | +|**isHTML** | **Boolean** | Send HTML email | [optional] | +|**ignoreReplyTo** | **Boolean** | Ignore sender replyTo when responding. Send directly to the sender if enabled. | [optional] | +|**body** | **String** | Email body for reply | [optional] | +|**templateId** | **UUID** | ID of template to use when sending a reply | [optional] | +|**templateVariables** | **Map<String, Object>** | Template variable values | [optional] | + + + +## Enum: FieldEnum + +| Name | Value | +|---- | -----| +| RECIPIENTS | "RECIPIENTS" | +| SENDER | "SENDER" | +| SUBJECT | "SUBJECT" | +| ATTACHMENTS | "ATTACHMENTS" | + + + diff --git a/docs/UploadAttachmentBytesRequest.md b/docs/UploadAttachmentBytesRequest.md new file mode 100644 index 000000000..fd2a8756a --- /dev/null +++ b/docs/UploadAttachmentBytesRequest.md @@ -0,0 +1,21 @@ + + +# UploadAttachmentBytesRequest + +Byte array request body + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**_short** | **Integer** | | [optional] | +|**_char** | **String** | | [optional] | +|**_int** | **Integer** | | [optional] | +|**_long** | **Long** | | [optional] | +|**_float** | **Float** | | [optional] | +|**_double** | **Double** | | [optional] | +|**direct** | **Boolean** | | [optional] | +|**readOnly** | **Boolean** | | [optional] | + + + diff --git a/docs/UploadAttachmentOptions.md b/docs/UploadAttachmentOptions.md new file mode 100644 index 000000000..413876dc6 --- /dev/null +++ b/docs/UploadAttachmentOptions.md @@ -0,0 +1,16 @@ + + +# UploadAttachmentOptions + +Options for uploading files for attachments. When sending emails with the API that require attachments first upload each attachment. Then use the returned attachment ID in your `SendEmailOptions` when sending an email. This way you can use attachments multiple times once they have been uploaded. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**contentType** | **String** | Optional contentType for file. For instance `application/pdf` | [optional] | +|**filename** | **String** | Optional filename to save upload with. Will be the name that is shown in email clients | [optional] | +|**base64Contents** | **String** | Base64 encoded string of file contents. Typically this means reading the bytes or string content of a file and then converting that to a base64 encoded string. For examples of how to do this see https://www.mailslurp.com/guides/base64-file-uploads/ | | + + + diff --git a/docs/UploadMultipartFormRequest.md b/docs/UploadMultipartFormRequest.md new file mode 100644 index 000000000..e49646279 --- /dev/null +++ b/docs/UploadMultipartFormRequest.md @@ -0,0 +1,14 @@ + + +# UploadMultipartFormRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**contentTypeHeader** | **String** | Optional content type header of attachment | [optional] | +|**_file** | **File** | | | + + + diff --git a/docs/UserControllerApi.md b/docs/UserControllerApi.md new file mode 100644 index 000000000..d8e877e24 --- /dev/null +++ b/docs/UserControllerApi.md @@ -0,0 +1,146 @@ +# UserControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**getJsonPropertyAsString**](UserControllerApi#getJsonPropertyAsString) | **POST** /user/json/pluck | | +| [**getUserInfo**](UserControllerApi#getUserInfo) | **GET** /user/info | | + + + +# **getJsonPropertyAsString** +> String getJsonPropertyAsString(property, body) + + + +Utility function to extract properties from JSON objects in language where this is cumbersome. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.UserControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + UserControllerApi apiInstance = new UserControllerApi(defaultClient); + String property = "property_example"; // String | JSON property name or dot separated path selector such as `a.b.c` + Object body = null; // Object | + try { + String result = apiInstance.getJsonPropertyAsString(property, body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling UserControllerApi#getJsonPropertyAsString"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **property** | **String**| JSON property name or dot separated path selector such as `a.b.c` | | +| **body** | **Object**| | | + +### Return type + +**String** + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getUserInfo** +> UserInfoDto getUserInfo() + + + +Get account information for your user + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.UserControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + UserControllerApi apiInstance = new UserControllerApi(defaultClient); + try { + UserInfoDto result = apiInstance.getUserInfo(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling UserControllerApi#getUserInfo"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**UserInfoDto**](UserInfoDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/UserInfoDto.md b/docs/UserInfoDto.md new file mode 100644 index 000000000..1b33ac258 --- /dev/null +++ b/docs/UserInfoDto.md @@ -0,0 +1,49 @@ + + +# UserInfoDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | | +|**emailAddress** | **String** | | | +|**accountState** | [**AccountStateEnum**](#AccountStateEnum) | | | +|**subscriptionType** | [**SubscriptionTypeEnum**](#SubscriptionTypeEnum) | | [optional] | +|**accountType** | [**AccountTypeEnum**](#AccountTypeEnum) | | | +|**createdAt** | **OffsetDateTime** | | | + + + +## Enum: AccountStateEnum + +| Name | Value | +|---- | -----| +| FROZEN | "FROZEN" | +| ACTIVE | "ACTIVE" | + + + +## Enum: SubscriptionTypeEnum + +| Name | Value | +|---- | -----| +| PRO_MONTHLY | "PRO_MONTHLY" | +| STARTER | "STARTER" | +| TEAM | "TEAM" | +| ENTERPRISE | "ENTERPRISE" | + + + +## Enum: AccountTypeEnum + +| Name | Value | +|---- | -----| +| SOLO | "SOLO" | +| CHILD_SOLO | "CHILD_SOLO" | +| CHILD_TEAM | "CHILD_TEAM" | +| CHILD_ADMIN | "CHILD_ADMIN" | + + + diff --git a/docs/ValidateEmailAddressListOptions.md b/docs/ValidateEmailAddressListOptions.md new file mode 100644 index 000000000..94b9cbf21 --- /dev/null +++ b/docs/ValidateEmailAddressListOptions.md @@ -0,0 +1,14 @@ + + +# ValidateEmailAddressListOptions + +Options for validating a list of email addresses + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**emailAddressList** | **List<String>** | | | + + + diff --git a/docs/ValidateEmailAddressListResult.md b/docs/ValidateEmailAddressListResult.md new file mode 100644 index 000000000..14c6687d4 --- /dev/null +++ b/docs/ValidateEmailAddressListResult.md @@ -0,0 +1,16 @@ + + +# ValidateEmailAddressListResult + +Result of validating a list of email addresses + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**validEmailAddresses** | **List<String>** | | | +|**invalidEmailAddresses** | **List<String>** | | | +|**resultMapEmailAddressIsValid** | **Map<String, Boolean>** | | | + + + diff --git a/docs/ValidationDto.md b/docs/ValidationDto.md new file mode 100644 index 000000000..f00d14e59 --- /dev/null +++ b/docs/ValidationDto.md @@ -0,0 +1,15 @@ + + +# ValidationDto + +Response object for email validation operation + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**emailId** | **UUID** | ID of the email validated | | +|**html** | [**HTMLValidationResult**](HTMLValidationResult) | | | + + + diff --git a/docs/ValidationMessage.md b/docs/ValidationMessage.md new file mode 100644 index 000000000..54388e60b --- /dev/null +++ b/docs/ValidationMessage.md @@ -0,0 +1,15 @@ + + +# ValidationMessage + +Optional warnings resulting from HTML validation + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**lineNumber** | **Integer** | | | +|**message** | **String** | | [optional] | + + + diff --git a/docs/VerifyEmailAddressOptions.md b/docs/VerifyEmailAddressOptions.md new file mode 100644 index 000000000..241a9eb33 --- /dev/null +++ b/docs/VerifyEmailAddressOptions.md @@ -0,0 +1,17 @@ + + +# VerifyEmailAddressOptions + +Options for verifying that an email address exists at a remote mail server. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**mailServerDomain** | **String** | | [optional] | +|**emailAddress** | **String** | | | +|**senderEmailAddress** | **String** | | [optional] | +|**port** | **Integer** | | [optional] | + + + diff --git a/docs/VerifyWebhookSignatureOptions.md b/docs/VerifyWebhookSignatureOptions.md new file mode 100644 index 000000000..2a81c086b --- /dev/null +++ b/docs/VerifyWebhookSignatureOptions.md @@ -0,0 +1,14 @@ + + +# VerifyWebhookSignatureOptions + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **String** | | | +|**signature** | **String** | | | + + + diff --git a/docs/VerifyWebhookSignatureResults.md b/docs/VerifyWebhookSignatureResults.md new file mode 100644 index 000000000..724bbb2dd --- /dev/null +++ b/docs/VerifyWebhookSignatureResults.md @@ -0,0 +1,13 @@ + + +# VerifyWebhookSignatureResults + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**isValid** | **Boolean** | | | + + + diff --git a/docs/WaitForConditions.md b/docs/WaitForConditions.md new file mode 100644 index 000000000..59d3d5bf1 --- /dev/null +++ b/docs/WaitForConditions.md @@ -0,0 +1,41 @@ + + +# WaitForConditions + +Conditions to apply to emails that you are waiting for + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**inboxId** | **UUID** | ID of inbox to search within and apply conditions to. Essentially filtering the emails found to give a count. | | +|**count** | **Integer** | Number of results that should match conditions. Either exactly or at least this amount based on the `countType`. If count condition is not met and the timeout has not been reached the `waitFor` method will retry the operation. | [optional] | +|**delayTimeout** | **Long** | Max time in milliseconds to wait between retries if a `timeout` is specified. | [optional] | +|**timeout** | **Long** | Max time in milliseconds to retry the `waitFor` operation until conditions are met. | | +|**unreadOnly** | **Boolean** | Apply conditions only to **unread** emails. All emails begin with `read=false`. An email is marked `read=true` when an `EmailDto` representation of it has been returned to the user at least once. For example you have called `getEmail` or `waitForLatestEmail` etc., or you have viewed the email in the dashboard. | [optional] | +|**countType** | [**CountTypeEnum**](#CountTypeEnum) | How result size should be compared with the expected size. Exactly or at-least matching result? | [optional] | +|**matches** | [**List<MatchOption>**](MatchOption) | Conditions that should be matched for an email to qualify for results. Each condition will be applied in order to each email within an inbox to filter a result list of matching emails you are waiting for. | [optional] | +|**sortDirection** | [**SortDirectionEnum**](#SortDirectionEnum) | Direction to sort matching emails by created time | [optional] | +|**since** | **OffsetDateTime** | ISO Date Time earliest time of email to consider. Filter for matching emails that were received after this date | [optional] | +|**before** | **OffsetDateTime** | ISO Date Time latest time of email to consider. Filter for matching emails that were received before this date | [optional] | + + + +## Enum: CountTypeEnum + +| Name | Value | +|---- | -----| +| EXACTLY | "EXACTLY" | +| ATLEAST | "ATLEAST" | + + + +## Enum: SortDirectionEnum + +| Name | Value | +|---- | -----| +| ASC | "ASC" | +| DESC | "DESC" | + + + diff --git a/docs/WaitForControllerApi.md b/docs/WaitForControllerApi.md new file mode 100644 index 000000000..aa1efb626 --- /dev/null +++ b/docs/WaitForControllerApi.md @@ -0,0 +1,638 @@ +# WaitForControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**waitFor**](WaitForControllerApi#waitFor) | **POST** /waitFor | Wait for an email to match the provided filter conditions such as subject contains keyword. | +| [**waitForEmailCount**](WaitForControllerApi#waitForEmailCount) | **GET** /waitForEmailCount | Wait for and return count number of emails. Hold connection until inbox count matches expected or timeout occurs | +| [**waitForLatestEmail**](WaitForControllerApi#waitForLatestEmail) | **GET** /waitForLatestEmail | Fetch inbox's latest email or if empty wait for an email to arrive | +| [**waitForLatestSms**](WaitForControllerApi#waitForLatestSms) | **POST** /waitForLatestSms | Wait for the latest SMS message to match the provided filter conditions such as body contains keyword. | +| [**waitForMatchingEmails**](WaitForControllerApi#waitForMatchingEmails) | **POST** /waitForMatchingEmails | Wait or return list of emails that match simple matching patterns | +| [**waitForMatchingFirstEmail**](WaitForControllerApi#waitForMatchingFirstEmail) | **POST** /waitForMatchingFirstEmail | Wait for or return the first email that matches provided MatchOptions array | +| [**waitForNthEmail**](WaitForControllerApi#waitForNthEmail) | **GET** /waitForNthEmail | Wait for or fetch the email with a given index in the inbox specified. If index doesn't exist waits for it to exist or timeout to occur. | +| [**waitForSms**](WaitForControllerApi#waitForSms) | **POST** /waitForSms | Wait for an SMS message to match the provided filter conditions such as body contains keyword. | + + + +# **waitFor** +> List<EmailPreview> waitFor(waitForConditions) + +Wait for an email to match the provided filter conditions such as subject contains keyword. + +Generic waitFor method that will wait until an inbox meets given conditions or return immediately if already met + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WaitForControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WaitForControllerApi apiInstance = new WaitForControllerApi(defaultClient); + WaitForConditions waitForConditions = new WaitForConditions(); // WaitForConditions | + try { + List result = apiInstance.waitFor(waitForConditions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WaitForControllerApi#waitFor"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **waitForConditions** | [**WaitForConditions**](WaitForConditions)| | | + +### Return type + +[**List<EmailPreview>**](EmailPreview) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **waitForEmailCount** +> List<EmailPreview> waitForEmailCount(inboxId, count, timeout, unreadOnly, before, since, sort, delay) + +Wait for and return count number of emails. Hold connection until inbox count matches expected or timeout occurs + +If inbox contains count or more emails at time of request then return count worth of emails. If not wait until the count is reached and return those or return an error if timeout is exceeded. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WaitForControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WaitForControllerApi apiInstance = new WaitForControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Id of the inbox we are fetching emails from + Integer count = 56; // Integer | Number of emails to wait for. Must be greater that 1 + Long timeout = 56L; // Long | Max milliseconds to wait + Boolean unreadOnly = false; // Boolean | Optional filter for unread only + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter for emails that were received before the given timestamp + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter for emails that were received after the given timestamp + String sort = "ASC"; // String | Sort direction + Long delay = 56L; // Long | Max milliseconds delay between calls + try { + List result = apiInstance.waitForEmailCount(inboxId, count, timeout, unreadOnly, before, since, sort, delay); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WaitForControllerApi#waitForEmailCount"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Id of the inbox we are fetching emails from | | +| **count** | **Integer**| Number of emails to wait for. Must be greater that 1 | | +| **timeout** | **Long**| Max milliseconds to wait | [optional] | +| **unreadOnly** | **Boolean**| Optional filter for unread only | [optional] [default to false] | +| **before** | **OffsetDateTime**| Filter for emails that were received before the given timestamp | [optional] | +| **since** | **OffsetDateTime**| Filter for emails that were received after the given timestamp | [optional] | +| **sort** | **String**| Sort direction | [optional] [enum: ASC, DESC] | +| **delay** | **Long**| Max milliseconds delay between calls | [optional] | + +### Return type + +[**List<EmailPreview>**](EmailPreview) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **waitForLatestEmail** +> Email waitForLatestEmail(inboxId, timeout, unreadOnly, before, since, sort, delay) + +Fetch inbox's latest email or if empty wait for an email to arrive + +Will return either the last received email or wait for an email to arrive and return that. If you need to wait for an email for a non-empty inbox set `unreadOnly=true` or see the other receive methods such as `waitForNthEmail` or `waitForEmailCount`. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WaitForControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WaitForControllerApi apiInstance = new WaitForControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Id of the inbox we are fetching emails from + Long timeout = 56L; // Long | Max milliseconds to wait + Boolean unreadOnly = false; // Boolean | Optional filter for unread only. + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter for emails that were before after the given timestamp + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter for emails that were received after the given timestamp + String sort = "ASC"; // String | Sort direction + Long delay = 56L; // Long | Max milliseconds delay between calls + try { + Email result = apiInstance.waitForLatestEmail(inboxId, timeout, unreadOnly, before, since, sort, delay); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WaitForControllerApi#waitForLatestEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Id of the inbox we are fetching emails from | [optional] | +| **timeout** | **Long**| Max milliseconds to wait | [optional] | +| **unreadOnly** | **Boolean**| Optional filter for unread only. | [optional] [default to false] | +| **before** | **OffsetDateTime**| Filter for emails that were before after the given timestamp | [optional] | +| **since** | **OffsetDateTime**| Filter for emails that were received after the given timestamp | [optional] | +| **sort** | **String**| Sort direction | [optional] [enum: ASC, DESC] | +| **delay** | **Long**| Max milliseconds delay between calls | [optional] | + +### Return type + +[**Email**](Email) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **waitForLatestSms** +> SmsDto waitForLatestSms(waitForSingleSmsOptions) + +Wait for the latest SMS message to match the provided filter conditions such as body contains keyword. + +Wait until a phone number meets given conditions or return immediately if already met + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WaitForControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WaitForControllerApi apiInstance = new WaitForControllerApi(defaultClient); + WaitForSingleSmsOptions waitForSingleSmsOptions = new WaitForSingleSmsOptions(); // WaitForSingleSmsOptions | + try { + SmsDto result = apiInstance.waitForLatestSms(waitForSingleSmsOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WaitForControllerApi#waitForLatestSms"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **waitForSingleSmsOptions** | [**WaitForSingleSmsOptions**](WaitForSingleSmsOptions)| | | + +### Return type + +[**SmsDto**](SmsDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **waitForMatchingEmails** +> List<EmailPreview> waitForMatchingEmails(inboxId, count, matchOptions, before, since, sort, delay, timeout, unreadOnly) + +Wait or return list of emails that match simple matching patterns + +Perform a search of emails in an inbox with the given patterns. If results match expected count then return or else retry the search until results are found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WaitForControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WaitForControllerApi apiInstance = new WaitForControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Id of the inbox we are fetching emails from + Integer count = 56; // Integer | Number of emails to wait for. Must be greater or equal to 1 + MatchOptions matchOptions = new MatchOptions(); // MatchOptions | + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter for emails that were received before the given timestamp + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter for emails that were received after the given timestamp + String sort = "ASC"; // String | Sort direction + Long delay = 56L; // Long | Max milliseconds delay between calls + Long timeout = 56L; // Long | Max milliseconds to wait + Boolean unreadOnly = false; // Boolean | Optional filter for unread only + try { + List result = apiInstance.waitForMatchingEmails(inboxId, count, matchOptions, before, since, sort, delay, timeout, unreadOnly); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WaitForControllerApi#waitForMatchingEmails"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Id of the inbox we are fetching emails from | | +| **count** | **Integer**| Number of emails to wait for. Must be greater or equal to 1 | | +| **matchOptions** | [**MatchOptions**](MatchOptions)| | | +| **before** | **OffsetDateTime**| Filter for emails that were received before the given timestamp | [optional] | +| **since** | **OffsetDateTime**| Filter for emails that were received after the given timestamp | [optional] | +| **sort** | **String**| Sort direction | [optional] [enum: ASC, DESC] | +| **delay** | **Long**| Max milliseconds delay between calls | [optional] | +| **timeout** | **Long**| Max milliseconds to wait | [optional] | +| **unreadOnly** | **Boolean**| Optional filter for unread only | [optional] [default to false] | + +### Return type + +[**List<EmailPreview>**](EmailPreview) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **waitForMatchingFirstEmail** +> Email waitForMatchingFirstEmail(inboxId, matchOptions, timeout, unreadOnly, since, before, sort, delay) + +Wait for or return the first email that matches provided MatchOptions array + +Perform a search of emails in an inbox with the given patterns. If a result if found then return or else retry the search until a result is found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WaitForControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WaitForControllerApi apiInstance = new WaitForControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Id of the inbox we are matching an email for + MatchOptions matchOptions = new MatchOptions(); // MatchOptions | + Long timeout = 56L; // Long | Max milliseconds to wait + Boolean unreadOnly = false; // Boolean | Optional filter for unread only + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter for emails that were received after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter for emails that were received before the given timestamp + String sort = "ASC"; // String | Sort direction + Long delay = 56L; // Long | Max milliseconds delay between calls + try { + Email result = apiInstance.waitForMatchingFirstEmail(inboxId, matchOptions, timeout, unreadOnly, since, before, sort, delay); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WaitForControllerApi#waitForMatchingFirstEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Id of the inbox we are matching an email for | | +| **matchOptions** | [**MatchOptions**](MatchOptions)| | | +| **timeout** | **Long**| Max milliseconds to wait | [optional] | +| **unreadOnly** | **Boolean**| Optional filter for unread only | [optional] [default to false] | +| **since** | **OffsetDateTime**| Filter for emails that were received after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter for emails that were received before the given timestamp | [optional] | +| **sort** | **String**| Sort direction | [optional] [enum: ASC, DESC] | +| **delay** | **Long**| Max milliseconds delay between calls | [optional] | + +### Return type + +[**Email**](Email) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **waitForNthEmail** +> Email waitForNthEmail(inboxId, index, timeout, unreadOnly, since, before, sort, delay) + +Wait for or fetch the email with a given index in the inbox specified. If index doesn't exist waits for it to exist or timeout to occur. + +If nth email is already present in inbox then return it. If not hold the connection open until timeout expires or the nth email is received and returned. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WaitForControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WaitForControllerApi apiInstance = new WaitForControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | Id of the inbox you are fetching emails from + Integer index = 0; // Integer | Zero based index of the email to wait for. If an inbox has 1 email already and you want to wait for the 2nd email pass index=1 + Long timeout = 56L; // Long | Max milliseconds to wait for the nth email if not already present + Boolean unreadOnly = false; // Boolean | Optional filter for unread only + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter for emails that were received after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter for emails that were received before the given timestamp + String sort = "ASC"; // String | Sort direction + Long delay = 56L; // Long | Max milliseconds delay between calls + try { + Email result = apiInstance.waitForNthEmail(inboxId, index, timeout, unreadOnly, since, before, sort, delay); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WaitForControllerApi#waitForNthEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| Id of the inbox you are fetching emails from | [optional] | +| **index** | **Integer**| Zero based index of the email to wait for. If an inbox has 1 email already and you want to wait for the 2nd email pass index=1 | [optional] [default to 0] | +| **timeout** | **Long**| Max milliseconds to wait for the nth email if not already present | [optional] | +| **unreadOnly** | **Boolean**| Optional filter for unread only | [optional] [default to false] | +| **since** | **OffsetDateTime**| Filter for emails that were received after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter for emails that were received before the given timestamp | [optional] | +| **sort** | **String**| Sort direction | [optional] [enum: ASC, DESC] | +| **delay** | **Long**| Max milliseconds delay between calls | [optional] | + +### Return type + +[**Email**](Email) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **waitForSms** +> List<SmsPreview> waitForSms(waitForSmsConditions) + +Wait for an SMS message to match the provided filter conditions such as body contains keyword. + +Generic waitFor method that will wait until a phone number meets given conditions or return immediately if already met + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WaitForControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WaitForControllerApi apiInstance = new WaitForControllerApi(defaultClient); + WaitForSmsConditions waitForSmsConditions = new WaitForSmsConditions(); // WaitForSmsConditions | + try { + List result = apiInstance.waitForSms(waitForSmsConditions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WaitForControllerApi#waitForSms"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **waitForSmsConditions** | [**WaitForSmsConditions**](WaitForSmsConditions)| | | + +### Return type + +[**List<SmsPreview>**](SmsPreview) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/WaitForSingleSmsOptions.md b/docs/WaitForSingleSmsOptions.md new file mode 100644 index 000000000..6dce76765 --- /dev/null +++ b/docs/WaitForSingleSmsOptions.md @@ -0,0 +1,28 @@ + + +# WaitForSingleSmsOptions + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**phoneNumberId** | **UUID** | | | +|**timeout** | **Long** | | | +|**unreadOnly** | **Boolean** | | [optional] | +|**before** | **OffsetDateTime** | | [optional] | +|**since** | **OffsetDateTime** | | [optional] | +|**sortDirection** | [**SortDirectionEnum**](#SortDirectionEnum) | | [optional] | +|**delay** | **Long** | | [optional] | + + + +## Enum: SortDirectionEnum + +| Name | Value | +|---- | -----| +| ASC | "ASC" | +| DESC | "DESC" | + + + diff --git a/docs/WaitForSmsConditions.md b/docs/WaitForSmsConditions.md new file mode 100644 index 000000000..758bdc7f5 --- /dev/null +++ b/docs/WaitForSmsConditions.md @@ -0,0 +1,42 @@ + + +# WaitForSmsConditions + +Conditions to apply to emails that you are waiting for + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**phoneNumberId** | **UUID** | ID of phone number to search within and apply conditions to. Essentially filtering the SMS found to give a count. | | +|**limit** | **Integer** | Limit results | [optional] | +|**count** | **Long** | Number of results that should match conditions. Either exactly or at least this amount based on the `countType`. If count condition is not met and the timeout has not been reached the `waitFor` method will retry the operation. | | +|**delayTimeout** | **Long** | Max time in milliseconds to wait between retries if a `timeout` is specified. | [optional] | +|**timeout** | **Long** | Max time in milliseconds to retry the `waitFor` operation until conditions are met. | | +|**unreadOnly** | **Boolean** | Apply conditions only to **unread** SMS. All SMS messages begin with `read=false`. An SMS is marked `read=true` when an `SMS` has been returned to the user at least once. For example you have called `getSms` or `waitForSms` etc., or you have viewed the SMS in the dashboard. | [optional] | +|**countType** | [**CountTypeEnum**](#CountTypeEnum) | How result size should be compared with the expected size. Exactly or at-least matching result? | [optional] | +|**matches** | [**List<SmsMatchOption>**](SmsMatchOption) | Conditions that should be matched for an SMS to qualify for results. Each condition will be applied in order to each SMS within a phone number to filter a result list of matching SMSs you are waiting for. | [optional] | +|**sortDirection** | [**SortDirectionEnum**](#SortDirectionEnum) | Direction to sort matching SMSs by created time | [optional] | +|**since** | **OffsetDateTime** | ISO Date Time earliest time of SMS to consider. Filter for matching SMSs that were received after this date | [optional] | +|**before** | **OffsetDateTime** | ISO Date Time latest time of SMS to consider. Filter for matching SMSs that were received before this date | [optional] | + + + +## Enum: CountTypeEnum + +| Name | Value | +|---- | -----| +| EXACTLY | "EXACTLY" | +| ATLEAST | "ATLEAST" | + + + +## Enum: SortDirectionEnum + +| Name | Value | +|---- | -----| +| ASC | "ASC" | +| DESC | "DESC" | + + + diff --git a/docs/WebhookBouncePayload.md b/docs/WebhookBouncePayload.md new file mode 100644 index 000000000..1ccfd43ec --- /dev/null +++ b/docs/WebhookBouncePayload.md @@ -0,0 +1,38 @@ + + +# WebhookBouncePayload + +BOUNCE webhook payload. Sent to your webhook url endpoint via HTTP POST when an email bounced or was rejected by a recipient. Save the recipients to a ban list on your server and avoid emailing them again. It is recommended you also listen to the BOUNCE_RECIPIENT payload. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **String** | Idempotent message ID. Store this ID locally or in a database to prevent message duplication. | | +|**webhookId** | **UUID** | ID of webhook entity being triggered | | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | Name of the event type webhook is being triggered for. | | +|**webhookName** | **String** | Name of the webhook being triggered | [optional] | +|**bounceId** | **UUID** | ID of the bounce email record. Use the ID with the bounce controller to view more information | | +|**sentToRecipients** | **List<String>** | Email sent to recipients | [optional] | +|**sender** | **String** | Sender causing bounce | | +|**bounceRecipients** | **List<String>** | Email addresses that resulted in a bounce or email being rejected. Please save these recipients and avoid emailing them in the future to maintain your reputation. | [optional] | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/WebhookBounceRecipientPayload.md b/docs/WebhookBounceRecipientPayload.md new file mode 100644 index 000000000..91c7f4dfa --- /dev/null +++ b/docs/WebhookBounceRecipientPayload.md @@ -0,0 +1,35 @@ + + +# WebhookBounceRecipientPayload + +BOUNCE_RECIPIENT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email caused a bounce to occur for a recipient. Save the recipient to a ban list of your server and avoid email them again. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **String** | Idempotent message ID. Store this ID locally or in a database to prevent message duplication. | | +|**webhookId** | **UUID** | ID of webhook entity being triggered | | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | Name of the event type webhook is being triggered for. | | +|**webhookName** | **String** | Name of the webhook being triggered | [optional] | +|**recipient** | **String** | Email address that caused a bounce. Make note of the address and try not to message it again to preserve your reputation. | | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/WebhookControllerApi.md b/docs/WebhookControllerApi.md new file mode 100644 index 000000000..565ee725f --- /dev/null +++ b/docs/WebhookControllerApi.md @@ -0,0 +1,2319 @@ +# WebhookControllerApi + +All URIs are relative to *https://java.api.mailslurp.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createAccountWebhook**](WebhookControllerApi#createAccountWebhook) | **POST** /webhooks | Attach a WebHook URL to an inbox | +| [**createWebhook**](WebhookControllerApi#createWebhook) | **POST** /inboxes/{inboxId}/webhooks | Attach a WebHook URL to an inbox | +| [**createWebhookForPhoneNumber**](WebhookControllerApi#createWebhookForPhoneNumber) | **POST** /phone/numbers/{phoneNumberId}/webhooks | Attach a WebHook URL to a phone number | +| [**deleteAllWebhooks**](WebhookControllerApi#deleteAllWebhooks) | **DELETE** /webhooks | Delete all webhooks | +| [**deleteWebhook**](WebhookControllerApi#deleteWebhook) | **DELETE** /inboxes/{inboxId}/webhooks/{webhookId} | Delete and disable a Webhook for an Inbox | +| [**deleteWebhookById**](WebhookControllerApi#deleteWebhookById) | **DELETE** /webhooks/{webhookId} | Delete a webhook | +| [**getAllAccountWebhooks**](WebhookControllerApi#getAllAccountWebhooks) | **GET** /webhooks/account/paginated | List account webhooks Paginated | +| [**getAllWebhookResults**](WebhookControllerApi#getAllWebhookResults) | **GET** /webhooks/results | Get results for all webhooks | +| [**getAllWebhooks**](WebhookControllerApi#getAllWebhooks) | **GET** /webhooks/paginated | List Webhooks Paginated | +| [**getInboxWebhooksPaginated**](WebhookControllerApi#getInboxWebhooksPaginated) | **GET** /inboxes/{inboxId}/webhooks/paginated | Get paginated webhooks for an Inbox | +| [**getJsonSchemaForWebhookEvent**](WebhookControllerApi#getJsonSchemaForWebhookEvent) | **POST** /webhooks/schema | | +| [**getJsonSchemaForWebhookPayload**](WebhookControllerApi#getJsonSchemaForWebhookPayload) | **POST** /webhooks/{webhookId}/schema | | +| [**getPhoneNumberWebhooksPaginated**](WebhookControllerApi#getPhoneNumberWebhooksPaginated) | **GET** /phone/numbers/{phoneId}/webhooks/paginated | Get paginated webhooks for a phone number | +| [**getTestWebhookPayload**](WebhookControllerApi#getTestWebhookPayload) | **GET** /webhooks/test | | +| [**getTestWebhookPayloadBounce**](WebhookControllerApi#getTestWebhookPayloadBounce) | **GET** /webhooks/test/email-bounce-payload | | +| [**getTestWebhookPayloadBounceRecipient**](WebhookControllerApi#getTestWebhookPayloadBounceRecipient) | **GET** /webhooks/test/email-bounce-recipient-payload | | +| [**getTestWebhookPayloadDeliveryStatus**](WebhookControllerApi#getTestWebhookPayloadDeliveryStatus) | **GET** /webhooks/test/delivery-status-payload | Get webhook test payload for delivery status event | +| [**getTestWebhookPayloadEmailOpened**](WebhookControllerApi#getTestWebhookPayloadEmailOpened) | **GET** /webhooks/test/email-opened-payload | | +| [**getTestWebhookPayloadEmailRead**](WebhookControllerApi#getTestWebhookPayloadEmailRead) | **GET** /webhooks/test/email-read-payload | | +| [**getTestWebhookPayloadForWebhook**](WebhookControllerApi#getTestWebhookPayloadForWebhook) | **POST** /webhooks/{webhookId}/example | | +| [**getTestWebhookPayloadNewAttachment**](WebhookControllerApi#getTestWebhookPayloadNewAttachment) | **GET** /webhooks/test/new-attachment-payload | Get webhook test payload for new attachment event | +| [**getTestWebhookPayloadNewContact**](WebhookControllerApi#getTestWebhookPayloadNewContact) | **GET** /webhooks/test/new-contact-payload | Get webhook test payload for new contact event | +| [**getTestWebhookPayloadNewEmail**](WebhookControllerApi#getTestWebhookPayloadNewEmail) | **GET** /webhooks/test/new-email-payload | Get webhook test payload for new email event | +| [**getTestWebhookPayloadNewSms**](WebhookControllerApi#getTestWebhookPayloadNewSms) | **GET** /webhooks/test/new-sms-payload | Get webhook test payload for new sms event | +| [**getWebhook**](WebhookControllerApi#getWebhook) | **GET** /webhooks/{webhookId} | Get a webhook | +| [**getWebhookResult**](WebhookControllerApi#getWebhookResult) | **GET** /webhooks/results/{webhookResultId} | Get a webhook result for a webhook | +| [**getWebhookResults**](WebhookControllerApi#getWebhookResults) | **GET** /webhooks/{webhookId}/results | Get a webhook results for a webhook | +| [**getWebhookResultsUnseenErrorCount**](WebhookControllerApi#getWebhookResultsUnseenErrorCount) | **GET** /webhooks/results/unseen-count | Get count of unseen webhook results with error status | +| [**getWebhooks**](WebhookControllerApi#getWebhooks) | **GET** /inboxes/{inboxId}/webhooks | Get all webhooks for an Inbox | +| [**redriveWebhookResult**](WebhookControllerApi#redriveWebhookResult) | **POST** /webhooks/results/{webhookResultId}/redrive | Get a webhook result and try to resend the original webhook payload | +| [**sendTestData**](WebhookControllerApi#sendTestData) | **POST** /webhooks/{webhookId}/test | Send webhook test data | +| [**updateWebhookHeaders**](WebhookControllerApi#updateWebhookHeaders) | **PUT** /webhooks/{webhookId}/headers | Update a webhook request headers | +| [**verifyWebhookSignature**](WebhookControllerApi#verifyWebhookSignature) | **POST** /webhooks/verify | Verify a webhook payload signature | + + + +# **createAccountWebhook** +> WebhookDto createAccountWebhook(createWebhookOptions) + +Attach a WebHook URL to an inbox + +Get notified of account level events such as bounce and bounce recipient. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + CreateWebhookOptions createWebhookOptions = new CreateWebhookOptions(); // CreateWebhookOptions | + try { + WebhookDto result = apiInstance.createAccountWebhook(createWebhookOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#createAccountWebhook"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **createWebhookOptions** | [**CreateWebhookOptions**](CreateWebhookOptions)| | | + +### Return type + +[**WebhookDto**](WebhookDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **createWebhook** +> WebhookDto createWebhook(inboxId, createWebhookOptions) + +Attach a WebHook URL to an inbox + +Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + CreateWebhookOptions createWebhookOptions = new CreateWebhookOptions(); // CreateWebhookOptions | + try { + WebhookDto result = apiInstance.createWebhook(inboxId, createWebhookOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#createWebhook"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | +| **createWebhookOptions** | [**CreateWebhookOptions**](CreateWebhookOptions)| | | + +### Return type + +[**WebhookDto**](WebhookDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **createWebhookForPhoneNumber** +> WebhookDto createWebhookForPhoneNumber(phoneNumberId, createWebhookOptions) + +Attach a WebHook URL to a phone number + +Get notified whenever a phone number receives an SMS via a WebHook URL. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID phoneNumberId = UUID.randomUUID(); // UUID | + CreateWebhookOptions createWebhookOptions = new CreateWebhookOptions(); // CreateWebhookOptions | + try { + WebhookDto result = apiInstance.createWebhookForPhoneNumber(phoneNumberId, createWebhookOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#createWebhookForPhoneNumber"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **phoneNumberId** | **UUID**| | | +| **createWebhookOptions** | [**CreateWebhookOptions**](CreateWebhookOptions)| | | + +### Return type + +[**WebhookDto**](WebhookDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **deleteAllWebhooks** +> deleteAllWebhooks(before) + +Delete all webhooks + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | before + try { + apiInstance.deleteAllWebhooks(before); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#deleteAllWebhooks"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **before** | **OffsetDateTime**| before | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **deleteWebhook** +> deleteWebhook(inboxId, webhookId) + +Delete and disable a Webhook for an Inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + UUID webhookId = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteWebhook(inboxId, webhookId); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#deleteWebhook"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | +| **webhookId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | No Content | - | + + +# **deleteWebhookById** +> deleteWebhookById(webhookId) + +Delete a webhook + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID webhookId = UUID.randomUUID(); // UUID | + try { + apiInstance.deleteWebhookById(webhookId); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#deleteWebhookById"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **webhookId** | **UUID**| | | + +### Return type + +null (empty response body) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getAllAccountWebhooks** +> PageWebhookProjection getAllAccountWebhooks(page, size, sort, eventType, since, before) + +List account webhooks Paginated + +List account webhooks in paginated form. Allows for page index, page size, and sort direction. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size for paginated result list. + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String eventType = "EMAIL_RECEIVED"; // String | Optional event type + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageWebhookProjection result = apiInstance.getAllAccountWebhooks(page, size, sort, eventType, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getAllAccountWebhooks"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size for paginated result list. | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to DESC] [enum: ASC, DESC] | +| **eventType** | **String**| Optional event type | [optional] [enum: EMAIL_RECEIVED, NEW_EMAIL, NEW_CONTACT, NEW_ATTACHMENT, EMAIL_OPENED, EMAIL_READ, DELIVERY_STATUS, BOUNCE, BOUNCE_RECIPIENT, NEW_SMS] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageWebhookProjection**](PageWebhookProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getAllWebhookResults** +> PageWebhookResult getAllWebhookResults(page, size, sort, searchFilter, since, before, unseenOnly) + +Get results for all webhooks + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + Boolean unseenOnly = true; // Boolean | Filter for unseen exceptions only + try { + PageWebhookResult result = apiInstance.getAllWebhookResults(page, size, sort, searchFilter, since, before, unseenOnly); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getAllWebhookResults"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | +| **unseenOnly** | **Boolean**| Filter for unseen exceptions only | [optional] | + +### Return type + +[**PageWebhookResult**](PageWebhookResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getAllWebhooks** +> PageWebhookProjection getAllWebhooks(page, size, sort, searchFilter, since, inboxId, phoneId, before) + +List Webhooks Paginated + +List webhooks in paginated form. Allows for page index, page size, and sort direction. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size for paginated result list. + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + UUID inboxId = UUID.randomUUID(); // UUID | Filter by inboxId + UUID phoneId = UUID.randomUUID(); // UUID | Filter by phoneId + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageWebhookProjection result = apiInstance.getAllWebhooks(page, size, sort, searchFilter, since, inboxId, phoneId, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getAllWebhooks"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size for paginated result list. | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to DESC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **inboxId** | **UUID**| Filter by inboxId | [optional] | +| **phoneId** | **UUID**| Filter by phoneId | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageWebhookProjection**](PageWebhookProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getInboxWebhooksPaginated** +> PageWebhookProjection getInboxWebhooksPaginated(inboxId, page, size, sort, searchFilter, since, before) + +Get paginated webhooks for an Inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageWebhookProjection result = apiInstance.getInboxWebhooksPaginated(inboxId, page, size, sort, searchFilter, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getInboxWebhooksPaginated"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageWebhookProjection**](PageWebhookProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getJsonSchemaForWebhookEvent** +> JSONSchemaDto getJsonSchemaForWebhookEvent(event) + + + +Get JSON Schema definition for webhook payload by event + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + String event = "EMAIL_RECEIVED"; // String | + try { + JSONSchemaDto result = apiInstance.getJsonSchemaForWebhookEvent(event); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getJsonSchemaForWebhookEvent"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **event** | **String**| | [enum: EMAIL_RECEIVED, NEW_EMAIL, NEW_CONTACT, NEW_ATTACHMENT, EMAIL_OPENED, EMAIL_READ, DELIVERY_STATUS, BOUNCE, BOUNCE_RECIPIENT, NEW_SMS] | + +### Return type + +[**JSONSchemaDto**](JSONSchemaDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getJsonSchemaForWebhookPayload** +> JSONSchemaDto getJsonSchemaForWebhookPayload(webhookId) + + + +Get JSON Schema definition for webhook payload + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID webhookId = UUID.randomUUID(); // UUID | + try { + JSONSchemaDto result = apiInstance.getJsonSchemaForWebhookPayload(webhookId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getJsonSchemaForWebhookPayload"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **webhookId** | **UUID**| | | + +### Return type + +[**JSONSchemaDto**](JSONSchemaDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getPhoneNumberWebhooksPaginated** +> PageWebhookProjection getPhoneNumberWebhooksPaginated(phoneId, page, size, sort, since, before) + +Get paginated webhooks for a phone number + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID phoneId = UUID.randomUUID(); // UUID | + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + try { + PageWebhookProjection result = apiInstance.getPhoneNumberWebhooksPaginated(phoneId, page, size, sort, since, before); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getPhoneNumberWebhooksPaginated"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **phoneId** | **UUID**| | | +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | + +### Return type + +[**PageWebhookProjection**](PageWebhookProjection) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTestWebhookPayload** +> AbstractWebhookPayload getTestWebhookPayload(eventName) + + + +Get test webhook payload example. Response content depends on eventName passed. Uses `EMAIL_RECEIVED` as default. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + String eventName = "EMAIL_RECEIVED"; // String | + try { + AbstractWebhookPayload result = apiInstance.getTestWebhookPayload(eventName); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getTestWebhookPayload"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **eventName** | **String**| | [optional] [enum: EMAIL_RECEIVED, NEW_EMAIL, NEW_CONTACT, NEW_ATTACHMENT, EMAIL_OPENED, EMAIL_READ, DELIVERY_STATUS, BOUNCE, BOUNCE_RECIPIENT, NEW_SMS] | + +### Return type + +[**AbstractWebhookPayload**](AbstractWebhookPayload) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTestWebhookPayloadBounce** +> WebhookBouncePayload getTestWebhookPayloadBounce() + + + +Get webhook test payload for bounce + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + try { + WebhookBouncePayload result = apiInstance.getTestWebhookPayloadBounce(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getTestWebhookPayloadBounce"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**WebhookBouncePayload**](WebhookBouncePayload) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTestWebhookPayloadBounceRecipient** +> WebhookBounceRecipientPayload getTestWebhookPayloadBounceRecipient() + + + +Get webhook test payload for bounce recipient + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + try { + WebhookBounceRecipientPayload result = apiInstance.getTestWebhookPayloadBounceRecipient(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getTestWebhookPayloadBounceRecipient"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**WebhookBounceRecipientPayload**](WebhookBounceRecipientPayload) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTestWebhookPayloadDeliveryStatus** +> WebhookDeliveryStatusPayload getTestWebhookPayloadDeliveryStatus() + +Get webhook test payload for delivery status event + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + try { + WebhookDeliveryStatusPayload result = apiInstance.getTestWebhookPayloadDeliveryStatus(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getTestWebhookPayloadDeliveryStatus"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**WebhookDeliveryStatusPayload**](WebhookDeliveryStatusPayload) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTestWebhookPayloadEmailOpened** +> WebhookEmailOpenedPayload getTestWebhookPayloadEmailOpened() + + + +Get webhook test payload for email opened event + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + try { + WebhookEmailOpenedPayload result = apiInstance.getTestWebhookPayloadEmailOpened(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getTestWebhookPayloadEmailOpened"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**WebhookEmailOpenedPayload**](WebhookEmailOpenedPayload) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTestWebhookPayloadEmailRead** +> WebhookEmailReadPayload getTestWebhookPayloadEmailRead() + + + +Get webhook test payload for email opened event + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + try { + WebhookEmailReadPayload result = apiInstance.getTestWebhookPayloadEmailRead(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getTestWebhookPayloadEmailRead"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**WebhookEmailReadPayload**](WebhookEmailReadPayload) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTestWebhookPayloadForWebhook** +> AbstractWebhookPayload getTestWebhookPayloadForWebhook(webhookId) + + + +Get example payload for webhook + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID webhookId = UUID.randomUUID(); // UUID | + try { + AbstractWebhookPayload result = apiInstance.getTestWebhookPayloadForWebhook(webhookId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getTestWebhookPayloadForWebhook"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **webhookId** | **UUID**| | | + +### Return type + +[**AbstractWebhookPayload**](AbstractWebhookPayload) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **getTestWebhookPayloadNewAttachment** +> WebhookNewAttachmentPayload getTestWebhookPayloadNewAttachment() + +Get webhook test payload for new attachment event + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + try { + WebhookNewAttachmentPayload result = apiInstance.getTestWebhookPayloadNewAttachment(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getTestWebhookPayloadNewAttachment"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**WebhookNewAttachmentPayload**](WebhookNewAttachmentPayload) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTestWebhookPayloadNewContact** +> WebhookNewContactPayload getTestWebhookPayloadNewContact() + +Get webhook test payload for new contact event + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + try { + WebhookNewContactPayload result = apiInstance.getTestWebhookPayloadNewContact(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getTestWebhookPayloadNewContact"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**WebhookNewContactPayload**](WebhookNewContactPayload) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTestWebhookPayloadNewEmail** +> WebhookNewEmailPayload getTestWebhookPayloadNewEmail() + +Get webhook test payload for new email event + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + try { + WebhookNewEmailPayload result = apiInstance.getTestWebhookPayloadNewEmail(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getTestWebhookPayloadNewEmail"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**WebhookNewEmailPayload**](WebhookNewEmailPayload) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getTestWebhookPayloadNewSms** +> WebhookNewSmsPayload getTestWebhookPayloadNewSms() + +Get webhook test payload for new sms event + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + try { + WebhookNewSmsPayload result = apiInstance.getTestWebhookPayloadNewSms(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getTestWebhookPayloadNewSms"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**WebhookNewSmsPayload**](WebhookNewSmsPayload) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getWebhook** +> WebhookDto getWebhook(webhookId) + +Get a webhook + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID webhookId = UUID.randomUUID(); // UUID | + try { + WebhookDto result = apiInstance.getWebhook(webhookId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getWebhook"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **webhookId** | **UUID**| | | + +### Return type + +[**WebhookDto**](WebhookDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getWebhookResult** +> WebhookResultDto getWebhookResult(webhookResultId) + +Get a webhook result for a webhook + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID webhookResultId = UUID.randomUUID(); // UUID | Webhook Result ID + try { + WebhookResultDto result = apiInstance.getWebhookResult(webhookResultId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getWebhookResult"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **webhookResultId** | **UUID**| Webhook Result ID | | + +### Return type + +[**WebhookResultDto**](WebhookResultDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getWebhookResults** +> PageWebhookResult getWebhookResults(webhookId, page, size, sort, searchFilter, since, before, unseenOnly) + +Get a webhook results for a webhook + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID webhookId = UUID.randomUUID(); // UUID | ID of webhook to get results for + Integer page = 0; // Integer | Optional page index in list pagination + Integer size = 20; // Integer | Optional page size in list pagination + String sort = "ASC"; // String | Optional createdAt sort direction ASC or DESC + String searchFilter = "searchFilter_example"; // String | Optional search filter + OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Filter by created at after the given timestamp + OffsetDateTime before = OffsetDateTime.now(); // OffsetDateTime | Filter by created at before the given timestamp + Boolean unseenOnly = true; // Boolean | Filter for unseen exceptions only + try { + PageWebhookResult result = apiInstance.getWebhookResults(webhookId, page, size, sort, searchFilter, since, before, unseenOnly); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getWebhookResults"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **webhookId** | **UUID**| ID of webhook to get results for | | +| **page** | **Integer**| Optional page index in list pagination | [optional] [default to 0] | +| **size** | **Integer**| Optional page size in list pagination | [optional] [default to 20] | +| **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to ASC] [enum: ASC, DESC] | +| **searchFilter** | **String**| Optional search filter | [optional] | +| **since** | **OffsetDateTime**| Filter by created at after the given timestamp | [optional] | +| **before** | **OffsetDateTime**| Filter by created at before the given timestamp | [optional] | +| **unseenOnly** | **Boolean**| Filter for unseen exceptions only | [optional] | + +### Return type + +[**PageWebhookResult**](PageWebhookResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getWebhookResultsUnseenErrorCount** +> UnseenErrorCountDto getWebhookResultsUnseenErrorCount() + +Get count of unseen webhook results with error status + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + try { + UnseenErrorCountDto result = apiInstance.getWebhookResultsUnseenErrorCount(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getWebhookResultsUnseenErrorCount"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**UnseenErrorCountDto**](UnseenErrorCountDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **getWebhooks** +> List<WebhookDto> getWebhooks(inboxId) + +Get all webhooks for an Inbox + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID inboxId = UUID.randomUUID(); // UUID | + try { + List result = apiInstance.getWebhooks(inboxId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#getWebhooks"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **inboxId** | **UUID**| | | + +### Return type + +[**List<WebhookDto>**](WebhookDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **redriveWebhookResult** +> WebhookRedriveResult redriveWebhookResult(webhookResultId) + +Get a webhook result and try to resend the original webhook payload + +Allows you to resend a webhook payload that was already sent. Webhooks that fail are retried automatically for 24 hours and then put in a dead letter queue. You can retry results manually using this method. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID webhookResultId = UUID.randomUUID(); // UUID | Webhook Result ID + try { + WebhookRedriveResult result = apiInstance.redriveWebhookResult(webhookResultId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#redriveWebhookResult"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **webhookResultId** | **UUID**| Webhook Result ID | | + +### Return type + +[**WebhookRedriveResult**](WebhookRedriveResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **sendTestData** +> WebhookTestResult sendTestData(webhookId) + +Send webhook test data + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID webhookId = UUID.randomUUID(); // UUID | + try { + WebhookTestResult result = apiInstance.sendTestData(webhookId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#sendTestData"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **webhookId** | **UUID**| | | + +### Return type + +[**WebhookTestResult**](WebhookTestResult) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | Created | - | + + +# **updateWebhookHeaders** +> WebhookDto updateWebhookHeaders(webhookId, webhookHeaders) + +Update a webhook request headers + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + UUID webhookId = UUID.randomUUID(); // UUID | + WebhookHeaders webhookHeaders = new WebhookHeaders(); // WebhookHeaders | + try { + WebhookDto result = apiInstance.updateWebhookHeaders(webhookId, webhookHeaders); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#updateWebhookHeaders"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **webhookId** | **UUID**| | | +| **webhookHeaders** | [**WebhookHeaders**](WebhookHeaders)| | | + +### Return type + +[**WebhookDto**](WebhookDto) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + + +# **verifyWebhookSignature** +> VerifyWebhookSignatureResults verifyWebhookSignature(verifyWebhookSignatureOptions) + +Verify a webhook payload signature + +Verify a webhook payload using the messageId and signature. This allows you to be sure that MailSlurp sent the payload and not another server. + +### Example +```java +// Import classes: +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.auth.*; +import com.mailslurp.clients.models.*; +import com.mailslurp.apis.WebhookControllerApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://java.api.mailslurp.com"); + + // Configure API key authorization: API_KEY + ApiKeyAuth API_KEY = (ApiKeyAuth) defaultClient.getAuthentication("API_KEY"); + API_KEY.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //API_KEY.setApiKeyPrefix("Token"); + + WebhookControllerApi apiInstance = new WebhookControllerApi(defaultClient); + VerifyWebhookSignatureOptions verifyWebhookSignatureOptions = new VerifyWebhookSignatureOptions(); // VerifyWebhookSignatureOptions | + try { + VerifyWebhookSignatureResults result = apiInstance.verifyWebhookSignature(verifyWebhookSignatureOptions); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling WebhookControllerApi#verifyWebhookSignature"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **verifyWebhookSignatureOptions** | [**VerifyWebhookSignatureOptions**](VerifyWebhookSignatureOptions)| | | + +### Return type + +[**VerifyWebhookSignatureResults**](VerifyWebhookSignatureResults) + +### Authorization + +[API_KEY](../README#API_KEY) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | + diff --git a/docs/WebhookDeliveryStatusPayload.md b/docs/WebhookDeliveryStatusPayload.md new file mode 100644 index 000000000..d87ca64b5 --- /dev/null +++ b/docs/WebhookDeliveryStatusPayload.md @@ -0,0 +1,46 @@ + + +# WebhookDeliveryStatusPayload + +DELIVERY_STATUS webhook payload. Sent to your webhook url endpoint via HTTP POST when an email delivery status is created. This could be a successful delivery or a delivery failure. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **String** | Idempotent message ID. Store this ID locally or in a database to prevent message duplication. | | +|**webhookId** | **UUID** | ID of webhook entity being triggered | | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | Name of the event type webhook is being triggered for. | | +|**webhookName** | **String** | Name of the webhook being triggered | [optional] | +|**id** | **UUID** | ID of delivery status | | +|**userId** | **UUID** | User ID of event | | +|**sentId** | **UUID** | ID of sent email | [optional] | +|**remoteMtaIp** | **String** | IP address of the remote Mail Transfer Agent | [optional] | +|**inboxId** | **UUID** | Id of the inbox | [optional] | +|**reportingMta** | **String** | Mail Transfer Agent reporting delivery status | [optional] | +|**recipients** | **List<String>** | Recipients for delivery | [optional] | +|**smtpResponse** | **String** | SMTP server response message | [optional] | +|**smtpStatusCode** | **Integer** | SMTP server status | [optional] | +|**processingTimeMillis** | **Long** | Time in milliseconds for delivery processing | [optional] | +|**received** | **OffsetDateTime** | Time event was received | [optional] | +|**subject** | **String** | Email subject | [optional] | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/WebhookDto.md b/docs/WebhookDto.md new file mode 100644 index 000000000..852ffca23 --- /dev/null +++ b/docs/WebhookDto.md @@ -0,0 +1,61 @@ + + +# WebhookDto + +Representation of a webhook for an inbox. The URL specified will be using by MailSlurp whenever an email is received by the attached inbox. A webhook entity should have a URL that points to your server. Your server should accept HTTP/S POST requests and return a success 200. MailSlurp will retry your webhooks if they fail. See https://java.api.mailslurp.com/schemas/webhook-payload for the payload schema. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | ID of the Webhook | | +|**userId** | **UUID** | User ID of the Webhook | | +|**basicAuth** | **Boolean** | Does webhook expect basic authentication? If true it means you created this webhook with a username and password. MailSlurp will use these in the URL to authenticate itself. | | +|**name** | **String** | Name of the webhook | [optional] | +|**phoneId** | **UUID** | The phoneNumberId that the Webhook will be triggered by. If null then webhook triggered at account level or inbox level if inboxId set | [optional] | +|**inboxId** | **UUID** | The inbox that the Webhook will be triggered by. If null then webhook triggered at account level or phone level if phoneId set | [optional] | +|**requestBodyTemplate** | **String** | Request body template for HTTP request that will be sent for the webhook. Use Moustache style template variables to insert values from the original event payload. | [optional] | +|**url** | **String** | URL of your server that the webhook will be sent to. The schema of the JSON that is sent is described by the payloadJsonSchema. | | +|**method** | [**MethodEnum**](#MethodEnum) | HTTP method that your server endpoint must listen for | | +|**payloadJsonSchema** | **String** | Deprecated. Fetch JSON Schema for webhook using the getJsonSchemaForWebhookPayload method | | +|**createdAt** | **OffsetDateTime** | When the webhook was created | | +|**updatedAt** | **OffsetDateTime** | | | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | Webhook trigger event name | [optional] | +|**requestHeaders** | [**WebhookHeaders**](WebhookHeaders) | | [optional] | +|**ignoreInsecureSslCertificates** | **Boolean** | Should notifier ignore insecure SSL certificates | [optional] | +|**useStaticIpRange** | **Boolean** | Should notifier use static IP range when sending webhook payload | [optional] | + + + +## Enum: MethodEnum + +| Name | Value | +|---- | -----| +| GET | "GET" | +| HEAD | "HEAD" | +| POST | "POST" | +| PUT | "PUT" | +| PATCH | "PATCH" | +| DELETE | "DELETE" | +| OPTIONS | "OPTIONS" | +| TRACE | "TRACE" | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/WebhookEmailOpenedPayload.md b/docs/WebhookEmailOpenedPayload.md new file mode 100644 index 000000000..102b184b6 --- /dev/null +++ b/docs/WebhookEmailOpenedPayload.md @@ -0,0 +1,39 @@ + + +# WebhookEmailOpenedPayload + +EMAIL_OPENED webhook payload. Sent to your webhook url endpoint via HTTP POST when an email containing a tracking pixel is opened and the pixel image is loaded by a reader. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **String** | Idempotent message ID. Store this ID locally or in a database to prevent message duplication. | | +|**webhookId** | **UUID** | ID of webhook entity being triggered | | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | Name of the event type webhook is being triggered for. | | +|**webhookName** | **String** | Name of the webhook being triggered | [optional] | +|**inboxId** | **UUID** | Id of the inbox | | +|**pixelId** | **UUID** | ID of the tracking pixel | | +|**sentEmailId** | **UUID** | ID of sent email | | +|**recipient** | **String** | Email address for the recipient of the tracking pixel | | +|**createdAt** | **OffsetDateTime** | Date time of event creation | | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/WebhookEmailReadPayload.md b/docs/WebhookEmailReadPayload.md new file mode 100644 index 000000000..5078443ae --- /dev/null +++ b/docs/WebhookEmailReadPayload.md @@ -0,0 +1,38 @@ + + +# WebhookEmailReadPayload + +EMAIL_READ webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is read. This happens when an email is requested in full from the API or a user views the email in the dashboard. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **String** | Idempotent message ID. Store this ID locally or in a database to prevent message duplication. | | +|**webhookId** | **UUID** | ID of webhook entity being triggered | | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | Name of the event type webhook is being triggered for. | | +|**webhookName** | **String** | Name of the webhook being triggered | [optional] | +|**emailId** | **UUID** | ID of the email that was received. Use this ID for fetching the email with the `EmailController`. | | +|**inboxId** | **UUID** | Id of the inbox | | +|**emailIsRead** | **Boolean** | Is the email read | | +|**createdAt** | **OffsetDateTime** | Date time of event creation | | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/WebhookHeaderNameValue.md b/docs/WebhookHeaderNameValue.md new file mode 100644 index 000000000..aaeec6aaf --- /dev/null +++ b/docs/WebhookHeaderNameValue.md @@ -0,0 +1,15 @@ + + +# WebhookHeaderNameValue + +Name value pair for webhook header + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Name of header | | +|**value** | **String** | Value of header | | + + + diff --git a/docs/WebhookHeaders.md b/docs/WebhookHeaders.md new file mode 100644 index 000000000..e71c442c1 --- /dev/null +++ b/docs/WebhookHeaders.md @@ -0,0 +1,14 @@ + + +# WebhookHeaders + +Webhook HTTP headers to include with each request from MailSlurp to your server + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**headers** | [**List<WebhookHeaderNameValue>**](WebhookHeaderNameValue) | List of header name value pairs to include with webhook requests | | + + + diff --git a/docs/WebhookNewAttachmentPayload.md b/docs/WebhookNewAttachmentPayload.md new file mode 100644 index 000000000..31edfb3b9 --- /dev/null +++ b/docs/WebhookNewAttachmentPayload.md @@ -0,0 +1,38 @@ + + +# WebhookNewAttachmentPayload + +NEW_ATTACHMENT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains an attachment. You can use the attachmentId to download the attachment. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **String** | Idempotent message ID. Store this ID locally or in a database to prevent message duplication. | | +|**webhookId** | **UUID** | ID of webhook entity being triggered | | +|**webhookName** | **String** | Name of the webhook being triggered | [optional] | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | Name of the event type webhook is being triggered for. | | +|**attachmentId** | **String** | ID of attachment. Use the `AttachmentController` to | | +|**name** | **String** | Filename of the attachment if present | | +|**contentType** | **String** | Content type of attachment such as 'image/png' or 'application/pdf | | +|**contentLength** | **Long** | Size of attachment in bytes | | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/WebhookNewContactPayload.md b/docs/WebhookNewContactPayload.md new file mode 100644 index 000000000..0b026265e --- /dev/null +++ b/docs/WebhookNewContactPayload.md @@ -0,0 +1,45 @@ + + +# WebhookNewContactPayload + +NEW_CONTACT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains a recipient that has not been saved as a contact. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **String** | Idempotent message ID. Store this ID locally or in a database to prevent message duplication. | | +|**webhookId** | **UUID** | ID of webhook entity being triggered | | +|**webhookName** | **String** | Name of the webhook being triggered | [optional] | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | Name of the event type webhook is being triggered for. | | +|**contactId** | **UUID** | Contact ID | | +|**groupId** | **UUID** | Contact group ID | [optional] | +|**firstName** | **String** | Contact first name | [optional] | +|**lastName** | **String** | Contact last name | [optional] | +|**company** | **String** | Contact company name | [optional] | +|**primaryEmailAddress** | **String** | Primary email address for contact | [optional] | +|**emailAddresses** | **List<String>** | Email addresses for contact | | +|**tags** | **List<String>** | Tags for contact | | +|**metaData** | **Object** | | [optional] | +|**optOut** | **Boolean** | Has contact opted out of emails | | +|**createdAt** | **OffsetDateTime** | Date time of event creation | | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/WebhookNewEmailPayload.md b/docs/WebhookNewEmailPayload.md new file mode 100644 index 000000000..e843de01b --- /dev/null +++ b/docs/WebhookNewEmailPayload.md @@ -0,0 +1,44 @@ + + +# WebhookNewEmailPayload + +NEW_EMAIL webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to. Use the email ID to fetch the full email body or attachments. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **String** | Idempotent message ID. Store this ID locally or in a database to prevent message duplication. | | +|**webhookId** | **UUID** | ID of webhook entity being triggered | | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | Name of the event type webhook is being triggered for. | | +|**webhookName** | **String** | Name of the webhook being triggered | [optional] | +|**inboxId** | **UUID** | Id of the inbox | | +|**domainId** | **UUID** | Id of the domain that received an email | [optional] | +|**emailId** | **UUID** | ID of the email that was received. Use this ID for fetching the email with the `EmailController`. | | +|**createdAt** | **OffsetDateTime** | Date time of event creation | | +|**to** | **List<String>** | List of `To` recipient email addresses that the email was addressed to. See recipients object for names. | | +|**from** | **String** | Who the email was sent from. An email address - see fromName for the sender name. | | +|**cc** | **List<String>** | List of `CC` recipients email addresses that the email was addressed to. See recipients object for names. | | +|**bcc** | **List<String>** | List of `BCC` recipients email addresses that the email was addressed to. See recipients object for names. | | +|**subject** | **String** | The subject line of the email message as specified by SMTP subject header | [optional] | +|**attachmentMetaDatas** | [**List<AttachmentMetaData>**](AttachmentMetaData) | List of attachment meta data objects if attachments present | | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/WebhookNewSmsPayload.md b/docs/WebhookNewSmsPayload.md new file mode 100644 index 000000000..b3199c32e --- /dev/null +++ b/docs/WebhookNewSmsPayload.md @@ -0,0 +1,41 @@ + + +# WebhookNewSmsPayload + +NEW_SMS webhook payload. Sent to your webhook url endpoint via HTTP POST when an sms is received by the phone number that your webhook is attached to. Use the SMS ID to fetch the full SMS details. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **String** | Idempotent message ID. Store this ID locally or in a database to prevent message duplication. | | +|**webhookId** | **UUID** | ID of webhook entity being triggered | | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | Name of the event type webhook is being triggered for. | | +|**webhookName** | **String** | Name of the webhook being triggered | [optional] | +|**smsId** | **UUID** | ID of SMS message | | +|**userId** | **UUID** | User ID of event | | +|**phoneNumber** | **UUID** | ID of phone number receiving SMS | | +|**toNumber** | **String** | Recipient phone number | | +|**fromNumber** | **String** | Sender phone number | | +|**body** | **String** | SMS message body | | +|**read** | **Boolean** | SMS has been read | | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/WebhookProjection.md b/docs/WebhookProjection.md new file mode 100644 index 000000000..43de5fcb3 --- /dev/null +++ b/docs/WebhookProjection.md @@ -0,0 +1,38 @@ + + +# WebhookProjection + +Representation of a webhook + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | | [optional] | +|**id** | **UUID** | | | +|**url** | **String** | | | +|**inboxId** | **UUID** | | [optional] | +|**eventName** | [**EventNameEnum**](#EventNameEnum) | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | +|**phoneNumberId** | **UUID** | | [optional] | + + + +## Enum: EventNameEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + diff --git a/docs/WebhookRedriveResult.md b/docs/WebhookRedriveResult.md new file mode 100644 index 000000000..076d065f7 --- /dev/null +++ b/docs/WebhookRedriveResult.md @@ -0,0 +1,16 @@ + + +# WebhookRedriveResult + +Result of retrying webhook + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**webhookResultId** | **UUID** | | | +|**success** | **Boolean** | | | +|**message** | **String** | | [optional] | + + + diff --git a/docs/WebhookResultDto.md b/docs/WebhookResultDto.md new file mode 100644 index 000000000..6a704fe1c --- /dev/null +++ b/docs/WebhookResultDto.md @@ -0,0 +1,71 @@ + + +# WebhookResultDto + +Result of a webhook notification + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | | [optional] | +|**userId** | **UUID** | | | +|**inboxId** | **UUID** | | [optional] | +|**webhookId** | **UUID** | | | +|**webhookUrl** | **String** | | | +|**messageId** | **String** | | | +|**redriveId** | **UUID** | | [optional] | +|**httpMethod** | [**HttpMethodEnum**](#HttpMethodEnum) | | | +|**webhookEvent** | [**WebhookEventEnum**](#WebhookEventEnum) | | | +|**responseStatus** | **Integer** | | [optional] | +|**responseTimeMillis** | **Long** | | | +|**responseBodyExtract** | **String** | | [optional] | +|**resultType** | [**ResultTypeEnum**](#ResultTypeEnum) | | [optional] | +|**createdAt** | **OffsetDateTime** | | | +|**updatedAt** | **OffsetDateTime** | | | +|**seen** | **Boolean** | | | + + + +## Enum: HttpMethodEnum + +| Name | Value | +|---- | -----| +| GET | "GET" | +| HEAD | "HEAD" | +| POST | "POST" | +| PUT | "PUT" | +| PATCH | "PATCH" | +| DELETE | "DELETE" | +| OPTIONS | "OPTIONS" | +| TRACE | "TRACE" | + + + +## Enum: WebhookEventEnum + +| Name | Value | +|---- | -----| +| EMAIL_RECEIVED | "EMAIL_RECEIVED" | +| NEW_EMAIL | "NEW_EMAIL" | +| NEW_CONTACT | "NEW_CONTACT" | +| NEW_ATTACHMENT | "NEW_ATTACHMENT" | +| EMAIL_OPENED | "EMAIL_OPENED" | +| EMAIL_READ | "EMAIL_READ" | +| DELIVERY_STATUS | "DELIVERY_STATUS" | +| BOUNCE | "BOUNCE" | +| BOUNCE_RECIPIENT | "BOUNCE_RECIPIENT" | +| NEW_SMS | "NEW_SMS" | + + + +## Enum: ResultTypeEnum + +| Name | Value | +|---- | -----| +| BAD_RESPONSE | "BAD_RESPONSE" | +| EXCEPTION | "EXCEPTION" | +| SUCCESS | "SUCCESS" | + + + diff --git a/docs/WebhookTestRequest.md b/docs/WebhookTestRequest.md new file mode 100644 index 000000000..51d6153b9 --- /dev/null +++ b/docs/WebhookTestRequest.md @@ -0,0 +1,32 @@ + + +# WebhookTestRequest + +Result of webhook test request + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**url** | **String** | | | +|**method** | [**MethodEnum**](#MethodEnum) | | | +|**headers** | **Map<String, String>** | | | +|**payload** | **String** | | [optional] | + + + +## Enum: MethodEnum + +| Name | Value | +|---- | -----| +| GET | "GET" | +| HEAD | "HEAD" | +| POST | "POST" | +| PUT | "PUT" | +| PATCH | "PATCH" | +| DELETE | "DELETE" | +| OPTIONS | "OPTIONS" | +| TRACE | "TRACE" | + + + diff --git a/docs/WebhookTestResponse.md b/docs/WebhookTestResponse.md new file mode 100644 index 000000000..1ccd3aa3e --- /dev/null +++ b/docs/WebhookTestResponse.md @@ -0,0 +1,15 @@ + + +# WebhookTestResponse + +Response from webhook test request + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**statusCode** | **Integer** | | [optional] | +|**message** | **String** | | [optional] | + + + diff --git a/docs/WebhookTestResult.md b/docs/WebhookTestResult.md new file mode 100644 index 000000000..e2c465ff2 --- /dev/null +++ b/docs/WebhookTestResult.md @@ -0,0 +1,16 @@ + + +# WebhookTestResult + +Results of testing a webhook + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**message** | **String** | | [optional] | +|**response** | [**WebhookTestResponse**](WebhookTestResponse) | | | +|**request** | [**WebhookTestRequest**](WebhookTestRequest) | | | + + + diff --git a/git_push.sh b/git_push.sh new file mode 100644 index 000000000..f53a75d4f --- /dev/null +++ b/git_push.sh @@ -0,0 +1,57 @@ +#!/bin/sh +# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ +# +# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 +git_host=$4 + +if [ "$git_host" = "" ]; then + git_host="github.com" + echo "[INFO] No command line input provided. Set \$git_host to $git_host" +fi + +if [ "$git_user_id" = "" ]; then + git_user_id="GIT_USER_ID" + echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" +fi + +if [ "$git_repo_id" = "" ]; then + git_repo_id="GIT_REPO_ID" + echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" +fi + +if [ "$release_note" = "" ]; then + release_note="Minor update" + echo "[INFO] No command line input provided. Set \$release_note to $release_note" +fi + +# Initialize the local directory as a Git repository +git init + +# Adds the files in the local repository and stages them for commit. +git add . + +# Commits the tracked changes and prepares them to be pushed to a remote repository. +git commit -m "$release_note" + +# Sets the new remote +git_remote=$(git remote) +if [ "$git_remote" = "" ]; then # git remote not defined + + if [ "$GIT_TOKEN" = "" ]; then + echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." + git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git + fi + +fi + +git pull origin master + +# Pushes (Forces) the changes in the local repository up to the remote repository +echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" +git push origin master 2>&1 | grep -v 'To https' diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 000000000..a34085782 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,6 @@ +# This file is automatically generated by OpenAPI Generator (https://github.com/openAPITools/openapi-generator). +# To include other gradle properties as part of the code generation process, please use the `gradleProperties` option. +# +# Gradle properties reference: https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties +# For example, uncomment below to build for Android +#target = android diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..7454180f2ae8848c63b8b4dea2cb829da983f2fa GIT binary patch literal 59536 zcma&NbC71ylI~qywr$(CZQJHswz}-9F59+k+g;UV+cs{`J?GrGXYR~=-ydruB3JCa zB64N^cILAcWk5iofq)<(fq;O7{th4@;QxID0)qN`mJ?GIqLY#rX8-|G{5M0pdVW5^ zzXk$-2kQTAC?_N@B`&6-N-rmVFE=$QD?>*=4<|!MJu@}isLc4AW#{m2if&A5T5g&~ ziuMQeS*U5sL6J698wOd)K@oK@1{peP5&Esut<#VH^u)gp`9H4)`uE!2$>RTctN+^u z=ASkePDZA-X8)rp%D;p*~P?*a_=*Kwc<^>QSH|^<0>o37lt^+Mj1;4YvJ(JR-Y+?%Nu}JAYj5 z_Qc5%Ao#F?q32i?ZaN2OSNhWL;2oDEw_({7ZbgUjna!Fqn3NzLM@-EWFPZVmc>(fZ z0&bF-Ch#p9C{YJT9Rcr3+Y_uR^At1^BxZ#eo>$PLJF3=;t_$2|t+_6gg5(j{TmjYU zK12c&lE?Eh+2u2&6Gf*IdKS&6?rYbSEKBN!rv{YCm|Rt=UlPcW9j`0o6{66#y5t9C zruFA2iKd=H%jHf%ypOkxLnO8#H}#Zt{8p!oi6)7#NqoF({t6|J^?1e*oxqng9Q2Cc zg%5Vu!em)}Yuj?kaP!D?b?(C*w!1;>R=j90+RTkyEXz+9CufZ$C^umX^+4|JYaO<5 zmIM3#dv`DGM;@F6;(t!WngZSYzHx?9&$xEF70D1BvfVj<%+b#)vz)2iLCrTeYzUcL z(OBnNoG6Le%M+@2oo)&jdOg=iCszzv59e zDRCeaX8l1hC=8LbBt|k5?CXgep=3r9BXx1uR8!p%Z|0+4Xro=xi0G!e{c4U~1j6!) zH6adq0}#l{%*1U(Cb%4AJ}VLWKBPi0MoKFaQH6x?^hQ!6em@993xdtS%_dmevzeNl z(o?YlOI=jl(`L9^ z0O+H9k$_@`6L13eTT8ci-V0ljDMD|0ifUw|Q-Hep$xYj0hTO@0%IS^TD4b4n6EKDG z??uM;MEx`s98KYN(K0>c!C3HZdZ{+_53DO%9k5W%pr6yJusQAv_;IA}925Y%;+!tY z%2k!YQmLLOr{rF~!s<3-WEUs)`ix_mSU|cNRBIWxOox_Yb7Z=~Q45ZNe*u|m^|)d* zog=i>`=bTe!|;8F+#H>EjIMcgWcG2ORD`w0WD;YZAy5#s{65~qfI6o$+Ty&-hyMyJ z3Ra~t>R!p=5ZpxA;QkDAoPi4sYOP6>LT+}{xp}tk+<0k^CKCFdNYG(Es>p0gqD)jP zWOeX5G;9(m@?GOG7g;e74i_|SmE?`B2i;sLYwRWKLy0RLW!Hx`=!LH3&k=FuCsM=9M4|GqzA)anEHfxkB z?2iK-u(DC_T1};KaUT@3nP~LEcENT^UgPvp!QC@Dw&PVAhaEYrPey{nkcn(ro|r7XUz z%#(=$7D8uP_uU-oPHhd>>^adbCSQetgSG`e$U|7mr!`|bU0aHl_cmL)na-5x1#OsVE#m*+k84Y^+UMeSAa zbrVZHU=mFwXEaGHtXQq`2ZtjfS!B2H{5A<3(nb-6ARVV8kEmOkx6D2x7~-6hl;*-*}2Xz;J#a8Wn;_B5=m zl3dY;%krf?i-Ok^Pal-}4F`{F@TYPTwTEhxpZK5WCpfD^UmM_iYPe}wpE!Djai6_{ z*pGO=WB47#Xjb7!n2Ma)s^yeR*1rTxp`Mt4sfA+`HwZf%!7ZqGosPkw69`Ix5Ku6G z@Pa;pjzV&dn{M=QDx89t?p?d9gna*}jBly*#1!6}5K<*xDPJ{wv4& zM$17DFd~L*Te3A%yD;Dp9UGWTjRxAvMu!j^Tbc}2v~q^59d4bz zvu#!IJCy(BcWTc`;v$9tH;J%oiSJ_i7s;2`JXZF+qd4C)vY!hyCtl)sJIC{ebI*0> z@x>;EzyBv>AI-~{D6l6{ST=em*U( z(r$nuXY-#CCi^8Z2#v#UXOt`dbYN1z5jzNF2 z411?w)whZrfA20;nl&C1Gi+gk<`JSm+{|*2o<< zqM#@z_D`Cn|0H^9$|Tah)0M_X4c37|KQ*PmoT@%xHc3L1ZY6(p(sNXHa&49Frzto& zR`c~ClHpE~4Z=uKa5S(-?M8EJ$zt0&fJk~p$M#fGN1-y$7!37hld`Uw>Urri(DxLa;=#rK0g4J)pXMC zxzraOVw1+kNWpi#P=6(qxf`zSdUC?D$i`8ZI@F>k6k zz21?d+dw7b&i*>Kv5L(LH-?J%@WnqT7j#qZ9B>|Zl+=> z^U-pV@1y_ptHo4hl^cPRWewbLQ#g6XYQ@EkiP z;(=SU!yhjHp%1&MsU`FV1Z_#K1&(|5n(7IHbx&gG28HNT)*~-BQi372@|->2Aw5It z0CBpUcMA*QvsPy)#lr!lIdCi@1k4V2m!NH)%Px(vu-r(Q)HYc!p zJ^$|)j^E#q#QOgcb^pd74^JUi7fUmMiNP_o*lvx*q%_odv49Dsv$NV;6J z9GOXKomA{2Pb{w}&+yHtH?IkJJu~}Z?{Uk++2mB8zyvh*xhHKE``99>y#TdD z&(MH^^JHf;g(Tbb^&8P*;_i*2&fS$7${3WJtV7K&&(MBV2~)2KB3%cWg#1!VE~k#C z!;A;?p$s{ihyojEZz+$I1)L}&G~ml=udD9qh>Tu(ylv)?YcJT3ihapi!zgPtWb*CP zlLLJSRCj-^w?@;RU9aL2zDZY1`I3d<&OMuW=c3$o0#STpv_p3b9Wtbql>w^bBi~u4 z3D8KyF?YE?=HcKk!xcp@Cigvzy=lnFgc^9c%(^F22BWYNAYRSho@~*~S)4%AhEttv zvq>7X!!EWKG?mOd9&n>vvH1p4VzE?HCuxT-u+F&mnsfDI^}*-d00-KAauEaXqg3k@ zy#)MGX!X;&3&0s}F3q40ZmVM$(H3CLfpdL?hB6nVqMxX)q=1b}o_PG%r~hZ4gUfSp zOH4qlEOW4OMUc)_m)fMR_rl^pCfXc{$fQbI*E&mV77}kRF z&{<06AJyJ!e863o-V>FA1a9Eemx6>^F$~9ppt()ZbPGfg_NdRXBWoZnDy2;#ODgf! zgl?iOcF7Meo|{AF>KDwTgYrJLb$L2%%BEtO>T$C?|9bAB&}s;gI?lY#^tttY&hfr# zKhC+&b-rpg_?~uVK%S@mQleU#_xCsvIPK*<`E0fHE1&!J7!xD#IB|SSPW6-PyuqGn3^M^Rz%WT{e?OI^svARX&SAdU77V(C~ zM$H{Kg59op{<|8ry9ecfP%=kFm(-!W&?U0@<%z*+!*<e0XesMxRFu9QnGqun6R_%T+B%&9Dtk?*d$Q zb~>84jEAPi@&F@3wAa^Lzc(AJz5gsfZ7J53;@D<;Klpl?sK&u@gie`~vTsbOE~Cd4 z%kr56mI|#b(Jk&;p6plVwmNB0H@0SmgdmjIn5Ne@)}7Vty(yb2t3ev@22AE^s!KaN zyQ>j+F3w=wnx7w@FVCRe+`vUH)3gW%_72fxzqX!S&!dchdkRiHbXW1FMrIIBwjsai8`CB2r4mAbwp%rrO>3B$Zw;9=%fXI9B{d(UzVap7u z6piC-FQ)>}VOEuPpuqznpY`hN4dGa_1Xz9rVg(;H$5Te^F0dDv*gz9JS<|>>U0J^# z6)(4ICh+N_Q`Ft0hF|3fSHs*?a=XC;e`sJaU9&d>X4l?1W=|fr!5ShD|nv$GK;j46@BV6+{oRbWfqOBRb!ir88XD*SbC(LF}I1h#6@dvK%Toe%@ zhDyG$93H8Eu&gCYddP58iF3oQH*zLbNI;rN@E{T9%A8!=v#JLxKyUe}e}BJpB{~uN zqgxRgo0*-@-iaHPV8bTOH(rS(huwK1Xg0u+e!`(Irzu@Bld&s5&bWgVc@m7;JgELd zimVs`>vQ}B_1(2#rv#N9O`fJpVfPc7V2nv34PC);Dzbb;p!6pqHzvy?2pD&1NE)?A zt(t-ucqy@wn9`^MN5apa7K|L=9>ISC>xoc#>{@e}m#YAAa1*8-RUMKwbm|;5p>T`Z zNf*ph@tnF{gmDa3uwwN(g=`Rh)4!&)^oOy@VJaK4lMT&5#YbXkl`q?<*XtsqD z9PRK6bqb)fJw0g-^a@nu`^?71k|m3RPRjt;pIkCo1{*pdqbVs-Yl>4E>3fZx3Sv44grW=*qdSoiZ9?X0wWyO4`yDHh2E!9I!ZFi zVL8|VtW38}BOJHW(Ax#KL_KQzarbuE{(%TA)AY)@tY4%A%P%SqIU~8~-Lp3qY;U-} z`h_Gel7;K1h}7$_5ZZT0&%$Lxxr-<89V&&TCsu}LL#!xpQ1O31jaa{U34~^le*Y%L za?7$>Jk^k^pS^_M&cDs}NgXlR>16AHkSK-4TRaJSh#h&p!-!vQY%f+bmn6x`4fwTp z$727L^y`~!exvmE^W&#@uY!NxJi`g!i#(++!)?iJ(1)2Wk;RN zFK&O4eTkP$Xn~4bB|q8y(btx$R#D`O@epi4ofcETrx!IM(kWNEe42Qh(8*KqfP(c0 zouBl6>Fc_zM+V;F3znbo{x#%!?mH3`_ANJ?y7ppxS@glg#S9^MXu|FM&ynpz3o&Qh z2ujAHLF3($pH}0jXQsa#?t--TnF1P73b?4`KeJ9^qK-USHE)4!IYgMn-7z|=ALF5SNGkrtPG@Y~niUQV2?g$vzJN3nZ{7;HZHzWAeQ;5P|@Tl3YHpyznGG4-f4=XflwSJY+58-+wf?~Fg@1p1wkzuu-RF3j2JX37SQUc? zQ4v%`V8z9ZVZVqS8h|@@RpD?n0W<=hk=3Cf8R?d^9YK&e9ZybFY%jdnA)PeHvtBe- zhMLD+SSteHBq*q)d6x{)s1UrsO!byyLS$58WK;sqip$Mk{l)Y(_6hEIBsIjCr5t>( z7CdKUrJTrW%qZ#1z^n*Lb8#VdfzPw~OIL76aC+Rhr<~;4Tl!sw?Rj6hXj4XWa#6Tp z@)kJ~qOV)^Rh*-?aG>ic2*NlC2M7&LUzc9RT6WM%Cpe78`iAowe!>(T0jo&ivn8-7 zs{Qa@cGy$rE-3AY0V(l8wjI^uB8Lchj@?L}fYal^>T9z;8juH@?rG&g-t+R2dVDBe zq!K%{e-rT5jX19`(bP23LUN4+_zh2KD~EAYzhpEO3MUG8@}uBHH@4J zd`>_(K4q&>*k82(dDuC)X6JuPrBBubOg7qZ{?x!r@{%0);*`h*^F|%o?&1wX?Wr4b z1~&cy#PUuES{C#xJ84!z<1tp9sfrR(i%Tu^jnXy;4`Xk;AQCdFC@?V%|; zySdC7qS|uQRcH}EFZH%mMB~7gi}a0utE}ZE_}8PQH8f;H%PN41Cb9R%w5Oi5el^fd z$n{3SqLCnrF##x?4sa^r!O$7NX!}&}V;0ZGQ&K&i%6$3C_dR%I7%gdQ;KT6YZiQrW zk%q<74oVBV>@}CvJ4Wj!d^?#Zwq(b$E1ze4$99DuNg?6t9H}k_|D7KWD7i0-g*EO7 z;5{hSIYE4DMOK3H%|f5Edx+S0VI0Yw!tsaRS2&Il2)ea^8R5TG72BrJue|f_{2UHa z@w;^c|K3da#$TB0P3;MPlF7RuQeXT$ zS<<|C0OF(k)>fr&wOB=gP8!Qm>F41u;3esv7_0l%QHt(~+n; zf!G6%hp;Gfa9L9=AceiZs~tK+Tf*Wof=4!u{nIO90jH@iS0l+#%8=~%ASzFv7zqSB^?!@N7)kp0t&tCGLmzXSRMRyxCmCYUD2!B`? zhs$4%KO~m=VFk3Buv9osha{v+mAEq=ik3RdK@;WWTV_g&-$U4IM{1IhGX{pAu%Z&H zFfwCpUsX%RKg);B@7OUzZ{Hn{q6Vv!3#8fAg!P$IEx<0vAx;GU%}0{VIsmFBPq_mb zpe^BChDK>sc-WLKl<6 zwbW|e&d&dv9Wu0goueyu>(JyPx1mz0v4E?cJjFuKF71Q1)AL8jHO$!fYT3(;U3Re* zPPOe%*O+@JYt1bW`!W_1!mN&=w3G9ru1XsmwfS~BJ))PhD(+_J_^N6j)sx5VwbWK| zwRyC?W<`pOCY)b#AS?rluxuuGf-AJ=D!M36l{ua?@SJ5>e!IBr3CXIxWw5xUZ@Xrw z_R@%?{>d%Ld4p}nEsiA@v*nc6Ah!MUs?GA7e5Q5lPpp0@`%5xY$C;{%rz24$;vR#* zBP=a{)K#CwIY%p} zXVdxTQ^HS@O&~eIftU+Qt^~(DGxrdi3k}DdT^I7Iy5SMOp$QuD8s;+93YQ!OY{eB24%xY7ml@|M7I(Nb@K_-?F;2?et|CKkuZK_>+>Lvg!>JE~wN`BI|_h6$qi!P)+K-1Hh(1;a`os z55)4Q{oJiA(lQM#;w#Ta%T0jDNXIPM_bgESMCDEg6rM33anEr}=|Fn6)|jBP6Y}u{ zv9@%7*#RI9;fv;Yii5CI+KrRdr0DKh=L>)eO4q$1zmcSmglsV`*N(x=&Wx`*v!!hn6X-l0 zP_m;X??O(skcj+oS$cIdKhfT%ABAzz3w^la-Ucw?yBPEC+=Pe_vU8nd-HV5YX6X8r zZih&j^eLU=%*;VzhUyoLF;#8QsEfmByk+Y~caBqSvQaaWf2a{JKB9B>V&r?l^rXaC z8)6AdR@Qy_BxQrE2Fk?ewD!SwLuMj@&d_n5RZFf7=>O>hzVE*seW3U?_p|R^CfoY`?|#x9)-*yjv#lo&zP=uI`M?J zbzC<^3x7GfXA4{FZ72{PE*-mNHyy59Q;kYG@BB~NhTd6pm2Oj=_ zizmD?MKVRkT^KmXuhsk?eRQllPo2Ubk=uCKiZ&u3Xjj~<(!M94c)Tez@9M1Gfs5JV z->@II)CDJOXTtPrQudNjE}Eltbjq>6KiwAwqvAKd^|g!exgLG3;wP+#mZYr`cy3#39e653d=jrR-ulW|h#ddHu(m9mFoW~2yE zz5?dB%6vF}+`-&-W8vy^OCxm3_{02royjvmwjlp+eQDzFVEUiyO#gLv%QdDSI#3W* z?3!lL8clTaNo-DVJw@ynq?q!%6hTQi35&^>P85G$TqNt78%9_sSJt2RThO|JzM$iL zg|wjxdMC2|Icc5rX*qPL(coL!u>-xxz-rFiC!6hD1IR%|HSRsV3>Kq~&vJ=s3M5y8SG%YBQ|{^l#LGlg!D?E>2yR*eV%9m$_J6VGQ~AIh&P$_aFbh zULr0Z$QE!QpkP=aAeR4ny<#3Fwyw@rZf4?Ewq`;mCVv}xaz+3ni+}a=k~P+yaWt^L z@w67!DqVf7D%7XtXX5xBW;Co|HvQ8WR1k?r2cZD%U;2$bsM%u8{JUJ5Z0k= zZJARv^vFkmWx15CB=rb=D4${+#DVqy5$C%bf`!T0+epLJLnh1jwCdb*zuCL}eEFvE z{rO1%gxg>1!W(I!owu*mJZ0@6FM(?C+d*CeceZRW_4id*D9p5nzMY&{mWqrJomjIZ z97ZNnZ3_%Hx8dn;H>p8m7F#^2;T%yZ3H;a&N7tm=Lvs&lgJLW{V1@h&6Vy~!+Ffbb zv(n3+v)_D$}dqd!2>Y2B)#<+o}LH#%ogGi2-?xRIH)1!SD)u-L65B&bsJTC=LiaF+YOCif2dUX6uAA|#+vNR z>U+KQekVGon)Yi<93(d!(yw1h3&X0N(PxN2{%vn}cnV?rYw z$N^}_o!XUB!mckL`yO1rnUaI4wrOeQ(+&k?2mi47hzxSD`N#-byqd1IhEoh!PGq>t z_MRy{5B0eKY>;Ao3z$RUU7U+i?iX^&r739F)itdrTpAi-NN0=?^m%?{A9Ly2pVv>Lqs6moTP?T2-AHqFD-o_ znVr|7OAS#AEH}h8SRPQ@NGG47dO}l=t07__+iK8nHw^(AHx&Wb<%jPc$$jl6_p(b$ z)!pi(0fQodCHfM)KMEMUR&UID>}m^(!{C^U7sBDOA)$VThRCI0_+2=( zV8mMq0R(#z;C|7$m>$>`tX+T|xGt(+Y48@ZYu#z;0pCgYgmMVbFb!$?%yhZqP_nhn zy4<#3P1oQ#2b51NU1mGnHP$cf0j-YOgAA}A$QoL6JVLcmExs(kU{4z;PBHJD%_=0F z>+sQV`mzijSIT7xn%PiDKHOujX;n|M&qr1T@rOxTdxtZ!&u&3HHFLYD5$RLQ=heur zb>+AFokUVQeJy-#LP*^)spt{mb@Mqe=A~-4p0b+Bt|pZ+@CY+%x}9f}izU5;4&QFE zO1bhg&A4uC1)Zb67kuowWY4xbo&J=%yoXlFB)&$d*-}kjBu|w!^zbD1YPc0-#XTJr z)pm2RDy%J3jlqSMq|o%xGS$bPwn4AqitC6&e?pqWcjWPt{3I{>CBy;hg0Umh#c;hU3RhCUX=8aR>rmd` z7Orw(5tcM{|-^J?ZAA9KP|)X6n9$-kvr#j5YDecTM6n z&07(nD^qb8hpF0B^z^pQ*%5ePYkv&FabrlI61ntiVp!!C8y^}|<2xgAd#FY=8b*y( zuQOuvy2`Ii^`VBNJB&R!0{hABYX55ooCAJSSevl4RPqEGb)iy_0H}v@vFwFzD%>#I>)3PsouQ+_Kkbqy*kKdHdfkN7NBcq%V{x^fSxgXpg7$bF& zj!6AQbDY(1u#1_A#1UO9AxiZaCVN2F0wGXdY*g@x$ByvUA?ePdide0dmr#}udE%K| z3*k}Vv2Ew2u1FXBaVA6aerI36R&rzEZeDDCl5!t0J=ug6kuNZzH>3i_VN`%BsaVB3 zQYw|Xub_SGf{)F{$ZX5`Jc!X!;eybjP+o$I{Z^Hsj@D=E{MnnL+TbC@HEU2DjG{3-LDGIbq()U87x4eS;JXnSh;lRlJ z>EL3D>wHt-+wTjQF$fGyDO$>d+(fq@bPpLBS~xA~R=3JPbS{tzN(u~m#Po!?H;IYv zE;?8%^vle|%#oux(Lj!YzBKv+Fd}*Ur-dCBoX*t{KeNM*n~ZPYJ4NNKkI^MFbz9!v z4(Bvm*Kc!-$%VFEewYJKz-CQN{`2}KX4*CeJEs+Q(!kI%hN1!1P6iOq?ovz}X0IOi z)YfWpwW@pK08^69#wSyCZkX9?uZD?C^@rw^Y?gLS_xmFKkooyx$*^5#cPqntNTtSG zlP>XLMj2!VF^0k#ole7`-c~*~+_T5ls?x4)ah(j8vo_ zwb%S8qoaZqY0-$ZI+ViIA_1~~rAH7K_+yFS{0rT@eQtTAdz#8E5VpwnW!zJ_^{Utv zlW5Iar3V5t&H4D6A=>?mq;G92;1cg9a2sf;gY9pJDVKn$DYdQlvfXq}zz8#LyPGq@ z+`YUMD;^-6w&r-82JL7mA8&M~Pj@aK!m{0+^v<|t%APYf7`}jGEhdYLqsHW-Le9TL z_hZZ1gbrz7$f9^fAzVIP30^KIz!!#+DRLL+qMszvI_BpOSmjtl$hh;&UeM{ER@INV zcI}VbiVTPoN|iSna@=7XkP&-4#06C};8ajbxJ4Gcq8(vWv4*&X8bM^T$mBk75Q92j z1v&%a;OSKc8EIrodmIiw$lOES2hzGDcjjB`kEDfJe{r}yE6`eZL zEB`9u>Cl0IsQ+t}`-cx}{6jqcANucqIB>Qmga_&<+80E2Q|VHHQ$YlAt{6`Qu`HA3 z03s0-sSlwbvgi&_R8s={6<~M^pGvBNjKOa>tWenzS8s zR>L7R5aZ=mSU{f?ib4Grx$AeFvtO5N|D>9#)ChH#Fny2maHWHOf2G=#<9Myot#+4u zWVa6d^Vseq_0=#AYS(-m$Lp;*8nC_6jXIjEM`omUmtH@QDs3|G)i4j*#_?#UYVZvJ z?YjT-?!4Q{BNun;dKBWLEw2C-VeAz`%?A>p;)PL}TAZn5j~HK>v1W&anteARlE+~+ zj>c(F;?qO3pXBb|#OZdQnm<4xWmn~;DR5SDMxt0UK_F^&eD|KZ=O;tO3vy4@4h^;2 zUL~-z`-P1aOe?|ZC1BgVsL)2^J-&vIFI%q@40w0{jjEfeVl)i9(~bt2z#2Vm)p`V_ z1;6$Ae7=YXk#=Qkd24Y23t&GvRxaOoad~NbJ+6pxqzJ>FY#Td7@`N5xp!n(c!=RE& z&<<@^a$_Ys8jqz4|5Nk#FY$~|FPC0`*a5HH!|Gssa9=~66&xG9)|=pOOJ2KE5|YrR zw!w6K2aC=J$t?L-;}5hn6mHd%hC;p8P|Dgh6D>hGnXPgi;6r+eA=?f72y9(Cf_ho{ zH6#)uD&R=73^$$NE;5piWX2bzR67fQ)`b=85o0eOLGI4c-Tb@-KNi2pz=Ke@SDcPn za$AxXib84`!Sf;Z3B@TSo`Dz7GM5Kf(@PR>Ghzi=BBxK8wRp>YQoXm+iL>H*Jo9M3 z6w&E?BC8AFTFT&Tv8zf+m9<&S&%dIaZ)Aoqkak_$r-2{$d~0g2oLETx9Y`eOAf14QXEQw3tJne;fdzl@wV#TFXSLXM2428F-Q}t+n2g%vPRMUzYPvzQ9f# zu(liiJem9P*?0%V@RwA7F53r~|I!Ty)<*AsMX3J{_4&}{6pT%Tpw>)^|DJ)>gpS~1rNEh z0$D?uO8mG?H;2BwM5a*26^7YO$XjUm40XmBsb63MoR;bJh63J;OngS5sSI+o2HA;W zdZV#8pDpC9Oez&L8loZO)MClRz!_!WD&QRtQxnazhT%Vj6Wl4G11nUk8*vSeVab@N#oJ}`KyJv+8Mo@T1-pqZ1t|?cnaVOd;1(h9 z!$DrN=jcGsVYE-0-n?oCJ^4x)F}E;UaD-LZUIzcD?W^ficqJWM%QLy6QikrM1aKZC zi{?;oKwq^Vsr|&`i{jIphA8S6G4)$KGvpULjH%9u(Dq247;R#l&I0{IhcC|oBF*Al zvLo7Xte=C{aIt*otJD}BUq)|_pdR>{zBMT< z(^1RpZv*l*m*OV^8>9&asGBo8h*_4q*)-eCv*|Pq=XNGrZE)^(SF7^{QE_~4VDB(o zVcPA_!G+2CAtLbl+`=Q~9iW`4ZRLku!uB?;tWqVjB0lEOf}2RD7dJ=BExy=<9wkb- z9&7{XFA%n#JsHYN8t5d~=T~5DcW4$B%3M+nNvC2`0!#@sckqlzo5;hhGi(D9=*A4` z5ynobawSPRtWn&CDLEs3Xf`(8^zDP=NdF~F^s&={l7(aw&EG}KWpMjtmz7j_VLO;@ zM2NVLDxZ@GIv7*gzl1 zjq78tv*8#WSY`}Su0&C;2F$Ze(q>F(@Wm^Gw!)(j;dk9Ad{STaxn)IV9FZhm*n+U} zi;4y*3v%A`_c7a__DJ8D1b@dl0Std3F||4Wtvi)fCcBRh!X9$1x!_VzUh>*S5s!oq z;qd{J_r79EL2wIeiGAqFstWtkfIJpjVh%zFo*=55B9Zq~y0=^iqHWfQl@O!Ak;(o*m!pZqe9 z%U2oDOhR)BvW8&F70L;2TpkzIutIvNQaTjjs5V#8mV4!NQ}zN=i`i@WI1z0eN-iCS z;vL-Wxc^Vc_qK<5RPh(}*8dLT{~GzE{w2o$2kMFaEl&q zP{V=>&3kW7tWaK-Exy{~`v4J0U#OZBk{a9{&)&QG18L@6=bsZ1zC_d{{pKZ-Ey>I> z;8H0t4bwyQqgu4hmO`3|4K{R*5>qnQ&gOfdy?z`XD%e5+pTDzUt3`k^u~SaL&XMe= z9*h#kT(*Q9jO#w2Hd|Mr-%DV8i_1{J1MU~XJ3!WUplhXDYBpJH><0OU`**nIvPIof z|N8@I=wA)sf45SAvx||f?Z5uB$kz1qL3Ky_{%RPdP5iN-D2!p5scq}buuC00C@jom zhfGKm3|f?Z0iQ|K$Z~!`8{nmAS1r+fp6r#YDOS8V*;K&Gs7Lc&f^$RC66O|)28oh`NHy&vq zJh+hAw8+ybTB0@VhWN^0iiTnLsCWbS_y`^gs!LX!Lw{yE``!UVzrV24tP8o;I6-65 z1MUiHw^{bB15tmrVT*7-#sj6cs~z`wk52YQJ*TG{SE;KTm#Hf#a~|<(|ImHH17nNM z`Ub{+J3dMD!)mzC8b(2tZtokKW5pAwHa?NFiso~# z1*iaNh4lQ4TS)|@G)H4dZV@l*Vd;Rw;-;odDhW2&lJ%m@jz+Panv7LQm~2Js6rOW3 z0_&2cW^b^MYW3)@o;neZ<{B4c#m48dAl$GCc=$>ErDe|?y@z`$uq3xd(%aAsX)D%l z>y*SQ%My`yDP*zof|3@_w#cjaW_YW4BdA;#Glg1RQcJGY*CJ9`H{@|D+*e~*457kd z73p<%fB^PV!Ybw@)Dr%(ZJbX}xmCStCYv#K3O32ej{$9IzM^I{6FJ8!(=azt7RWf4 z7ib0UOPqN40X!wOnFOoddd8`!_IN~9O)#HRTyjfc#&MCZ zZAMzOVB=;qwt8gV?{Y2?b=iSZG~RF~uyx18K)IDFLl})G1v@$(s{O4@RJ%OTJyF+Cpcx4jmy|F3euCnMK!P2WTDu5j z{{gD$=M*pH!GGzL%P)V2*ROm>!$Y=z|D`!_yY6e7SU$~a5q8?hZGgaYqaiLnkK%?0 zs#oI%;zOxF@g*@(V4p!$7dS1rOr6GVs6uYCTt2h)eB4?(&w8{#o)s#%gN@BBosRUe z)@P@8_Zm89pr~)b>e{tbPC~&_MR--iB{=)y;INU5#)@Gix-YpgP<-c2Ms{9zuCX|3 z!p(?VaXww&(w&uBHzoT%!A2=3HAP>SDxcljrego7rY|%hxy3XlODWffO_%g|l+7Y_ zqV(xbu)s4lV=l7M;f>vJl{`6qBm>#ZeMA}kXb97Z)?R97EkoI?x6Lp0yu1Z>PS?2{ z0QQ(8D)|lc9CO3B~e(pQM&5(1y&y=e>C^X$`)_&XuaI!IgDTVqt31wX#n+@!a_A0ZQkA zCJ2@M_4Gb5MfCrm5UPggeyh)8 zO9?`B0J#rkoCx(R0I!ko_2?iO@|oRf1;3r+i)w-2&j?=;NVIdPFsB)`|IC0zk6r9c zRrkfxWsiJ(#8QndNJj@{@WP2Ackr|r1VxV{7S&rSU(^)-M8gV>@UzOLXu9K<{6e{T zXJ6b92r$!|lwjhmgqkdswY&}c)KW4A)-ac%sU;2^fvq7gfUW4Bw$b!i@duy1CAxSn z(pyh$^Z=&O-q<{bZUP+$U}=*#M9uVc>CQVgDs4swy5&8RAHZ~$)hrTF4W zPsSa~qYv_0mJnF89RnnJTH`3}w4?~epFl=D(35$ zWa07ON$`OMBOHgCmfO(9RFc<)?$x)N}Jd2A(<*Ll7+4jrRt9w zwGxExUXd9VB#I|DwfxvJ;HZ8Q{37^wDhaZ%O!oO(HpcqfLH%#a#!~;Jl7F5>EX_=8 z{()l2NqPz>La3qJR;_v+wlK>GsHl;uRA8%j`A|yH@k5r%55S9{*Cp%uw6t`qc1!*T za2OeqtQj7sAp#Q~=5Fs&aCR9v>5V+s&RdNvo&H~6FJOjvaj--2sYYBvMq;55%z8^o z|BJDA4vzfow#DO#ZQHh;Oq_{r+qP{R9ox2TOgwQiv7Ow!zjN+A@BN;0tA2lUb#+zO z(^b89eV)D7UVE+h{mcNc6&GtpOqDn_?VAQ)Vob$hlFwW%xh>D#wml{t&Ofmm_d_+; zKDxzdr}`n2Rw`DtyIjrG)eD0vut$}dJAZ0AohZ+ZQdWXn_Z@dI_y=7t3q8x#pDI-K z2VVc&EGq445Rq-j0=U=Zx`oBaBjsefY;%)Co>J3v4l8V(T8H?49_@;K6q#r~Wwppc z4XW0(4k}cP=5ex>-Xt3oATZ~bBWKv)aw|I|Lx=9C1s~&b77idz({&q3T(Y(KbWO?+ zmcZ6?WeUsGk6>km*~234YC+2e6Zxdl~<_g2J|IE`GH%n<%PRv-50; zH{tnVts*S5*_RxFT9eM0z-pksIb^drUq4>QSww=u;UFCv2AhOuXE*V4z?MM`|ABOC4P;OfhS(M{1|c%QZ=!%rQTDFx`+}?Kdx$&FU?Y<$x;j7z=(;Lyz+?EE>ov!8vvMtSzG!nMie zsBa9t8as#2nH}n8xzN%W%U$#MHNXmDUVr@GX{?(=yI=4vks|V)!-W5jHsU|h_&+kY zS_8^kd3jlYqOoiI`ZqBVY!(UfnAGny!FowZWY_@YR0z!nG7m{{)4OS$q&YDyw6vC$ zm4!$h>*|!2LbMbxS+VM6&DIrL*X4DeMO!@#EzMVfr)e4Tagn~AQHIU8?e61TuhcKD zr!F4(kEebk(Wdk-?4oXM(rJwanS>Jc%<>R(siF+>+5*CqJLecP_we33iTFTXr6W^G z7M?LPC-qFHK;E!fxCP)`8rkxZyFk{EV;G-|kwf4b$c1k0atD?85+|4V%YATWMG|?K zLyLrws36p%Qz6{}>7b>)$pe>mR+=IWuGrX{3ZPZXF3plvuv5Huax86}KX*lbPVr}L z{C#lDjdDeHr~?l|)Vp_}T|%$qF&q#U;ClHEPVuS+Jg~NjC1RP=17=aQKGOcJ6B3mp z8?4*-fAD~}sX*=E6!}^u8)+m2j<&FSW%pYr_d|p_{28DZ#Cz0@NF=gC-o$MY?8Ca8 zr5Y8DSR^*urS~rhpX^05r30Ik#2>*dIOGxRm0#0YX@YQ%Mg5b6dXlS!4{7O_kdaW8PFSdj1=ryI-=5$fiieGK{LZ+SX(1b=MNL!q#lN zv98?fqqTUH8r8C7v(cx#BQ5P9W>- zmW93;eH6T`vuJ~rqtIBg%A6>q>gnWb3X!r0wh_q;211+Om&?nvYzL1hhtjB zK_7G3!n7PL>d!kj){HQE zE8(%J%dWLh1_k%gVXTZt zEdT09XSKAx27Ncaq|(vzL3gm83q>6CAw<$fTnMU05*xAe&rDfCiu`u^1)CD<>sx0i z*hr^N_TeN89G(nunZoLBf^81#pmM}>JgD@Nn1l*lN#a=B=9pN%tmvYFjFIoKe_(GF z-26x{(KXdfsQL7Uv6UtDuYwV`;8V3w>oT_I<`Ccz3QqK9tYT5ZQzbop{=I=!pMOCb zCU68`n?^DT%^&m>A%+-~#lvF!7`L7a{z<3JqIlk1$<||_J}vW1U9Y&eX<}l8##6i( zZcTT@2`9(Mecptm@{3A_Y(X`w9K0EwtPq~O!16bq{7c0f7#(3wn-^)h zxV&M~iiF!{-6A@>o;$RzQ5A50kxXYj!tcgme=Qjrbje~;5X2xryU;vH|6bE(8z^<7 zQ>BG7_c*JG8~K7Oe68i#0~C$v?-t@~@r3t2inUnLT(c=URpA9kA8uq9PKU(Ps(LVH zqgcqW>Gm?6oV#AldDPKVRcEyQIdTT`Qa1j~vS{<;SwyTdr&3*t?J)y=M7q*CzucZ&B0M=joT zBbj@*SY;o2^_h*>R0e({!QHF0=)0hOj^B^d*m>SnRrwq>MolNSgl^~r8GR#mDWGYEIJA8B<|{{j?-7p zVnV$zancW3&JVDtVpIlI|5djKq0(w$KxEFzEiiL=h5Jw~4Le23@s(mYyXWL9SX6Ot zmb)sZaly_P%BeX_9 zw&{yBef8tFm+%=--m*J|o~+Xg3N+$IH)t)=fqD+|fEk4AAZ&!wcN5=mi~Vvo^i`}> z#_3ahR}Ju)(Px7kev#JGcSwPXJ2id9%Qd2A#Uc@t8~egZ8;iC{e! z%=CGJOD1}j!HW_sgbi_8suYnn4#Ou}%9u)dXd3huFIb!ytlX>Denx@pCS-Nj$`VO&j@(z!kKSP0hE4;YIP#w9ta=3DO$7f*x zc9M4&NK%IrVmZAe=r@skWD`AEWH=g+r|*13Ss$+{c_R!b?>?UaGXlw*8qDmY#xlR= z<0XFbs2t?8i^G~m?b|!Hal^ZjRjt<@a? z%({Gn14b4-a|#uY^=@iiKH+k?~~wTj5K1A&hU z2^9-HTC)7zpoWK|$JXaBL6C z#qSNYtY>65T@Zs&-0cHeu|RX(Pxz6vTITdzJdYippF zC-EB+n4}#lM7`2Ry~SO>FxhKboIAF#Z{1wqxaCb{#yEFhLuX;Rx(Lz%T`Xo1+a2M}7D+@wol2)OJs$TwtRNJ={( zD@#zTUEE}#Fz#&(EoD|SV#bayvr&E0vzmb%H?o~46|FAcx?r4$N z&67W3mdip-T1RIxwSm_&(%U|+WvtGBj*}t69XVd&ebn>KOuL(7Y8cV?THd-(+9>G7*Nt%T zcH;`p={`SOjaf7hNd(=37Lz3-51;58JffzIPgGs_7xIOsB5p2t&@v1mKS$2D$*GQ6 zM(IR*j4{nri7NMK9xlDy-hJW6sW|ZiDRaFiayj%;(%51DN!ZCCCXz+0Vm#};70nOx zJ#yA0P3p^1DED;jGdPbQWo0WATN=&2(QybbVdhd=Vq*liDk`c7iZ?*AKEYC#SY&2g z&Q(Ci)MJ{mEat$ZdSwTjf6h~roanYh2?9j$CF@4hjj_f35kTKuGHvIs9}Re@iKMxS-OI*`0S z6s)fOtz}O$T?PLFVSeOjSO26$@u`e<>k(OSP!&YstH3ANh>)mzmKGNOwOawq-MPXe zy4xbeUAl6tamnx))-`Gi2uV5>9n(73yS)Ukma4*7fI8PaEwa)dWHs6QA6>$}7?(L8 ztN8M}?{Tf!Zu22J5?2@95&rQ|F7=FK-hihT-vDp!5JCcWrVogEnp;CHenAZ)+E+K5 z$Cffk5sNwD_?4+ymgcHR(5xgt20Z8M`2*;MzOM#>yhk{r3x=EyM226wb&!+j`W<%* zSc&|`8!>dn9D@!pYow~(DsY_naSx7(Z4i>cu#hA5=;IuI88}7f%)bRkuY2B;+9Uep zpXcvFWkJ!mQai63BgNXG26$5kyhZ2&*3Q_tk)Ii4M>@p~_~q_cE!|^A;_MHB;7s#9 zKzMzK{lIxotjc};k67^Xsl-gS!^*m*m6kn|sbdun`O?dUkJ{0cmI0-_2y=lTAfn*Y zKg*A-2sJq)CCJgY0LF-VQvl&6HIXZyxo2#!O&6fOhbHXC?%1cMc6y^*dOS{f$=137Ds1m01qs`>iUQ49JijsaQ( zksqV9@&?il$|4Ua%4!O15>Zy&%gBY&wgqB>XA3!EldQ%1CRSM(pp#k~-pkcCg4LAT zXE=puHbgsw)!xtc@P4r~Z}nTF=D2~j(6D%gTBw$(`Fc=OOQ0kiW$_RDd=hcO0t97h zb86S5r=>(@VGy1&#S$Kg_H@7G^;8Ue)X5Y+IWUi`o;mpvoV)`fcVk4FpcT|;EG!;? zHG^zrVVZOm>1KFaHlaogcWj(v!S)O(Aa|Vo?S|P z5|6b{qkH(USa*Z7-y_Uvty_Z1|B{rTS^qmEMLEYUSk03_Fg&!O3BMo{b^*`3SHvl0 zhnLTe^_vVIdcSHe)SQE}r~2dq)VZJ!aSKR?RS<(9lzkYo&dQ?mubnWmgMM37Nudwo z3Vz@R{=m2gENUE3V4NbIzAA$H1z0pagz94-PTJyX{b$yndsdKptmlKQKaaHj@3=ED zc7L?p@%ui|RegVYutK$64q4pe9+5sv34QUpo)u{1ci?)_7gXQd{PL>b0l(LI#rJmN zGuO+%GO`xneFOOr4EU(Wg}_%bhzUf;d@TU+V*2#}!2OLwg~%D;1FAu=Un>OgjPb3S z7l(riiCwgghC=Lm5hWGf5NdGp#01xQ59`HJcLXbUR3&n%P(+W2q$h2Qd z*6+-QXJ*&Kvk9ht0f0*rO_|FMBALen{j7T1l%=Q>gf#kma zQlg#I9+HB+z*5BMxdesMND`_W;q5|FaEURFk|~&{@qY32N$G$2B=&Po{=!)x5b!#n zxLzblkq{yj05#O7(GRuT39(06FJlalyv<#K4m}+vs>9@q-&31@1(QBv82{}Zkns~K ze{eHC_RDX0#^A*JQTwF`a=IkE6Ze@j#-8Q`tTT?k9`^ZhA~3eCZJ-Jr{~7Cx;H4A3 zcZ+Zj{mzFZbVvQ6U~n>$U2ZotGsERZ@}VKrgGh0xM;Jzt29%TX6_&CWzg+YYMozrM z`nutuS)_0dCM8UVaKRj804J4i%z2BA_8A4OJRQ$N(P9Mfn-gF;4#q788C@9XR0O3< zsoS4wIoyt046d+LnSCJOy@B@Uz*#GGd#+Ln1ek5Dv>(ZtD@tgZlPnZZJGBLr^JK+!$$?A_fA3LOrkoDRH&l7 zcMcD$Hsjko3`-{bn)jPL6E9Ds{WskMrivsUu5apD z?grQO@W7i5+%X&E&p|RBaEZ(sGLR@~(y^BI@lDMot^Ll?!`90KT!JXUhYS`ZgX3jnu@Ja^seA*M5R@f`=`ynQV4rc$uT1mvE?@tz)TN<=&H1%Z?5yjxcpO+6y_R z6EPuPKM5uxKpmZfT(WKjRRNHs@ib)F5WAP7QCADvmCSD#hPz$V10wiD&{NXyEwx5S z6NE`3z!IS^$s7m}PCwQutVQ#~w+V z=+~->DI*bR2j0^@dMr9`p>q^Ny~NrAVxrJtX2DUveic5vM%#N*XO|?YAWwNI$Q)_) zvE|L(L1jP@F%gOGtnlXtIv2&1i8q<)Xfz8O3G^Ea~e*HJsQgBxWL(yuLY+jqUK zRE~`-zklrGog(X}$9@ZVUw!8*=l`6mzYLtsg`AvBYz(cxmAhr^j0~(rzXdiOEeu_p zE$sf2(w(BPAvO5DlaN&uQ$4@p-b?fRs}d7&2UQ4Fh?1Hzu*YVjcndqJLw0#q@fR4u zJCJ}>_7-|QbvOfylj+e^_L`5Ep9gqd>XI3-O?Wp z-gt*P29f$Tx(mtS`0d05nHH=gm~Po_^OxxUwV294BDKT>PHVlC5bndncxGR!n(OOm znsNt@Q&N{TLrmsoKFw0&_M9$&+C24`sIXGWgQaz=kY;S{?w`z^Q0JXXBKFLj0w0U6P*+jPKyZHX9F#b0D1$&(- zrm8PJd?+SrVf^JlfTM^qGDK&-p2Kdfg?f>^%>1n8bu&byH(huaocL>l@f%c*QkX2i znl}VZ4R1en4S&Bcqw?$=Zi7ohqB$Jw9x`aM#>pHc0x z0$!q7iFu zZ`tryM70qBI6JWWTF9EjgG@>6SRzsd}3h+4D8d~@CR07P$LJ}MFsYi-*O%XVvD@yT|rJ+Mk zDllJ7$n0V&A!0flbOf)HE6P_afPWZmbhpliqJuw=-h+r;WGk|ntkWN(8tKlYpq5Ow z(@%s>IN8nHRaYb*^d;M(D$zGCv5C|uqmsDjwy4g=Lz>*OhO3z=)VD}C<65;`89Ye} zSCxrv#ILzIpEx1KdLPlM&%Cctf@FqTKvNPXC&`*H9=l=D3r!GLM?UV zOxa(8ZsB`&+76S-_xuj?G#wXBfDY@Z_tMpXJS7^mp z@YX&u0jYw2A+Z+bD#6sgVK5ZgdPSJV3>{K^4~%HV?rn~4D)*2H!67Y>0aOmzup`{D zzDp3c9yEbGCY$U<8biJ_gB*`jluz1ShUd!QUIQJ$*1;MXCMApJ^m*Fiv88RZ zFopLViw}{$Tyhh_{MLGIE2~sZ)t0VvoW%=8qKZ>h=adTe3QM$&$PO2lfqH@brt!9j ziePM8$!CgE9iz6B<6_wyTQj?qYa;eC^{x_0wuwV~W+^fZmFco-o%wsKSnjXFEx02V zF5C2t)T6Gw$Kf^_c;Ei3G~uC8SM-xyycmXyC2hAVi-IfXqhu$$-C=*|X?R0~hu z8`J6TdgflslhrmDZq1f?GXF7*ALeMmOEpRDg(s*H`4>_NAr`2uqF;k;JQ+8>A|_6ZNsNLECC%NNEb1Y1dP zbIEmNpK)#XagtL4R6BC{C5T(+=yA-(Z|Ap}U-AfZM#gwVpus3(gPn}Q$CExObJ5AC z)ff9Yk?wZ}dZ-^)?cbb9Fw#EjqQ8jxF4G3=L?Ra zg_)0QDMV1y^A^>HRI$x?Op@t;oj&H@1xt4SZ9(kifQ zb59B*`M99Td7@aZ3UWvj1rD0sE)d=BsBuW*KwkCds7ay(7*01_+L}b~7)VHI>F_!{ zyxg-&nCO?v#KOUec0{OOKy+sjWA;8rTE|Lv6I9H?CI?H(mUm8VXGwU$49LGpz&{nQp2}dinE1@lZ1iox6{ghN&v^GZv9J${7WaXj)<0S4g_uiJ&JCZ zr8-hsu`U%N;+9N^@&Q0^kVPB3)wY(rr}p7{p0qFHb3NUUHJb672+wRZs`gd1UjKPX z4o6zljKKA+Kkj?H>Ew63o%QjyBk&1!P22;MkD>sM0=z_s-G{mTixJCT9@_|*(p^bz zJ8?ZZ&;pzV+7#6Mn`_U-)k8Pjg?a;|Oe^us^PoPY$Va~yi8|?+&=y$f+lABT<*pZr zP}D{~Pq1Qyni+@|aP;ixO~mbEW9#c0OU#YbDZIaw=_&$K%Ep2f%hO^&P67hApZe`x zv8b`Mz@?M_7-)b!lkQKk)JXXUuT|B8kJlvqRmRpxtQDgvrHMXC1B$M@Y%Me!BSx3P z#2Eawl$HleZhhTS6Txm>lN_+I`>eV$&v9fOg)%zVn3O5mI*lAl>QcHuW6!Kixmq`X zBCZ*Ck6OYtDiK!N47>jxI&O2a9x7M|i^IagRr-fmrmikEQGgw%J7bO|)*$2FW95O4 zeBs>KR)izRG1gRVL;F*sr8A}aRHO0gc$$j&ds8CIO1=Gwq1%_~E)CWNn9pCtBE}+`Jelk4{>S)M)`Ll=!~gnn1yq^EX(+y*ik@3Ou0qU`IgYi3*doM+5&dU!cho$pZ zn%lhKeZkS72P?Cf68<#kll_6OAO26bIbueZx**j6o;I0cS^XiL`y+>{cD}gd%lux} z)3N>MaE24WBZ}s0ApfdM;5J_Ny}rfUyxfkC``Awo2#sgLnGPewK};dORuT?@I6(5~ z?kE)Qh$L&fwJXzK){iYx!l5$Tt|^D~MkGZPA}(o6f7w~O2G6Vvzdo*a;iXzk$B66$ zwF#;wM7A+(;uFG4+UAY(2`*3XXx|V$K8AYu#ECJYSl@S=uZW$ksfC$~qrrbQj4??z-)uz0QL}>k^?fPnJTPw% zGz)~?B4}u0CzOf@l^um}HZzbaIwPmb<)< zi_3@E9lc)Qe2_`*Z^HH;1CXOceL=CHpHS{HySy3T%<^NrWQ}G0i4e1xm_K3(+~oi$ zoHl9wzb?Z4j#90DtURtjtgvi7uw8DzHYmtPb;?%8vb9n@bszT=1qr)V_>R%s!92_` zfnHQPANx z<#hIjIMm#*(v*!OXtF+w8kLu`o?VZ5k7{`vw{Yc^qYclpUGIM_PBN1+c{#Vxv&E*@ zxg=W2W~JuV{IuRYw3>LSI1)a!thID@R=bU+cU@DbR^_SXY`MC7HOsCN z!dO4OKV7(E_Z8T#8MA1H`99?Z!r0)qKW_#|29X3#Jb+5+>qUidbeP1NJ@)(qi2S-X zao|f0_tl(O+$R|Qwd$H{_ig|~I1fbp_$NkI!0E;Y z6JrnU{1Ra6^on{9gUUB0mwzP3S%B#h0fjo>JvV~#+X0P~JV=IG=yHG$O+p5O3NUgG zEQ}z6BTp^Fie)Sg<){Z&I8NwPR(=mO4joTLHkJ>|Tnk23E(Bo`FSbPc05lF2-+)X? z6vV3*m~IBHTy*^E!<0nA(tCOJW2G4DsH7)BxLV8kICn5lu6@U*R`w)o9;Ro$i8=Q^V%uH8n3q=+Yf;SFRZu z!+F&PKcH#8cG?aSK_Tl@K9P#8o+jry@gdexz&d(Q=47<7nw@e@FFfIRNL9^)1i@;A z28+$Z#rjv-wj#heI|<&J_DiJ*s}xd-f!{J8jfqOHE`TiHHZVIA8CjkNQ_u;Ery^^t zl1I75&u^`1_q)crO+JT4rx|z2ToSC>)Or@-D zy3S>jW*sNIZR-EBsfyaJ+Jq4BQE4?SePtD2+jY8*%FsSLZ9MY>+wk?}}}AFAw)vr{ml)8LUG-y9>^t!{~|sgpxYc0Gnkg`&~R z-pilJZjr@y5$>B=VMdZ73svct%##v%wdX~9fz6i3Q-zOKJ9wso+h?VME7}SjL=!NUG{J?M&i!>ma`eoEa@IX`5G>B1(7;%}M*%-# zfhJ(W{y;>MRz!Ic8=S}VaBKqh;~7KdnGEHxcL$kA-6E~=!hrN*zw9N+_=odt<$_H_8dbo;0=42wcAETPCVGUr~v(`Uai zb{=D!Qc!dOEU6v)2eHSZq%5iqK?B(JlCq%T6av$Cb4Rko6onlG&?CqaX7Y_C_cOC3 zYZ;_oI(}=>_07}Oep&Ws7x7-R)cc8zfe!SYxJYP``pi$FDS)4Fvw5HH=FiU6xfVqIM!hJ;Rx8c0cB7~aPtNH(Nmm5Vh{ibAoU#J6 zImRCr?(iyu_4W_6AWo3*vxTPUw@vPwy@E0`(>1Qi=%>5eSIrp^`` zK*Y?fK_6F1W>-7UsB)RPC4>>Ps9)f+^MqM}8AUm@tZ->j%&h1M8s*s!LX5&WxQcAh z8mciQej@RPm?660%>{_D+7er>%zX_{s|$Z+;G7_sfNfBgY(zLB4Ey}J9F>zX#K0f6 z?dVNIeEh?EIShmP6>M+d|0wMM85Sa4diw1hrg|ITJ}JDg@o8y>(rF9mXk5M z2@D|NA)-7>wD&wF;S_$KS=eE84`BGw3g0?6wGxu8ys4rwI?9U=*^VF22t3%mbGeOh z`!O-OpF7#Vceu~F`${bW0nYVU9ecmk31V{tF%iv&5hWofC>I~cqAt@u6|R+|HLMMX zVxuSlMFOK_EQ86#E8&KwxIr8S9tj_goWtLv4f@!&h8;Ov41{J~496vp9vX=(LK#j! zAwi*21RAV-LD>9Cw3bV_9X(X3)Kr0-UaB*7Y>t82EQ%!)(&(XuAYtTsYy-dz+w=$ir)VJpe!_$ z6SGpX^i(af3{o=VlFPC);|J8#(=_8#vdxDe|Cok+ANhYwbE*FO`Su2m1~w+&9<_9~ z-|tTU_ACGN`~CNW5WYYBn^B#SwZ(t4%3aPp z;o)|L6Rk569KGxFLUPx@!6OOa+5OjQLK5w&nAmwxkC5rZ|m&HT8G%GVZxB_@ME z>>{rnXUqyiJrT(8GMj_ap#yN_!9-lO5e8mR3cJiK3NE{_UM&=*vIU`YkiL$1%kf+1 z4=jk@7EEj`u(jy$HnzE33ZVW_J4bj}K;vT?T91YlO(|Y0FU4r+VdbmQ97%(J5 zkK*Bed8+C}FcZ@HIgdCMioV%A<*4pw_n}l*{Cr4}a(lq|injK#O?$tyvyE`S%(1`H z_wwRvk#13ElkZvij2MFGOj`fhy?nC^8`Zyo%yVcUAfEr8x&J#A{|moUBAV_^f$hpaUuyQeY3da^ zS9iRgf87YBwfe}>BO+T&Fl%rfpZh#+AM?Dq-k$Bq`vG6G_b4z%Kbd&v>qFjow*mBl z-OylnqOpLg}or7_VNwRg2za3VBK6FUfFX{|TD z`Wt0Vm2H$vdlRWYQJqDmM?JUbVqL*ZQY|5&sY*?!&%P8qhA~5+Af<{MaGo(dl&C5t zE%t!J0 zh6jqANt4ABdPxSTrVV}fLsRQal*)l&_*rFq(Ez}ClEH6LHv{J#v?+H-BZ2)Wy{K@9 z+ovXHq~DiDvm>O~r$LJo!cOuwL+Oa--6;UFE2q@g3N8Qkw5E>ytz^(&($!O47+i~$ zKM+tkAd-RbmP{s_rh+ugTD;lriL~`Xwkad#;_aM?nQ7L_muEFI}U_4$phjvYgleK~`Fo`;GiC07&Hq1F<%p;9Q;tv5b?*QnR%8DYJH3P>Svmv47Y>*LPZJy8_{9H`g6kQpyZU{oJ`m%&p~D=K#KpfoJ@ zn-3cqmHsdtN!f?~w+(t+I`*7GQA#EQC^lUA9(i6=i1PqSAc|ha91I%X&nXzjYaM{8$s&wEx@aVkQ6M{E2 zfzId#&r(XwUNtPcq4Ngze^+XaJA1EK-%&C9j>^9(secqe{}z>hR5CFNveMsVA)m#S zk)_%SidkY-XmMWlVnQ(mNJ>)ooszQ#vaK;!rPmGKXV7am^_F!Lz>;~{VrIO$;!#30XRhE1QqO_~#+Ux;B_D{Nk=grn z8Y0oR^4RqtcYM)7a%@B(XdbZCOqnX#fD{BQTeLvRHd(irHKq=4*jq34`6@VAQR8WG z^%)@5CXnD_T#f%@-l${>y$tfb>2LPmc{~5A82|16mH)R?&r#KKLs7xpN-D`=&Cm^R zvMA6#Ahr<3X>Q7|-qfTY)}32HkAz$_mibYV!I)u>bmjK`qwBe(>za^0Kt*HnFbSdO z1>+ryKCNxmm^)*$XfiDOF2|{-v3KKB?&!(S_Y=Ht@|ir^hLd978xuI&N{k>?(*f8H z=ClxVJK_%_z1TH0eUwm2J+2To7FK4o+n_na)&#VLn1m;!+CX+~WC+qg1?PA~KdOlC zW)C@pw75_xoe=w7i|r9KGIvQ$+3K?L{7TGHwrQM{dCp=Z*D}3kX7E-@sZnup!BImw z*T#a=+WcTwL78exTgBn|iNE3#EsOorO z*kt)gDzHiPt07fmisA2LWN?AymkdqTgr?=loT7z@d`wnlr6oN}@o|&JX!yPzC*Y8d zu6kWlTzE1)ckyBn+0Y^HMN+GA$wUO_LN6W>mxCo!0?oiQvT`z$jbSEu&{UHRU0E8# z%B^wOc@S!yhMT49Y)ww(Xta^8pmPCe@eI5C*ed96)AX9<>))nKx0(sci8gwob_1}4 z0DIL&vsJ1_s%<@y%U*-eX z5rN&(zef-5G~?@r79oZGW1d!WaTqQn0F6RIOa9tJ=0(kdd{d1{<*tHT#cCvl*i>YY zH+L7jq8xZNcTUBqj(S)ztTU!TM!RQ}In*n&Gn<>(60G7}4%WQL!o>hbJqNDSGwl#H z`4k+twp0cj%PsS+NKaxslAEu9!#U3xT1|_KB6`h=PI0SW`P9GTa7caD1}vKEglV8# zjKZR`pluCW19c2fM&ZG)c3T3Um;ir3y(tSCJ7Agl6|b524dy5El{^EQBG?E61H0XY z`bqg!;zhGhyMFl&(o=JWEJ8n~z)xI}A@C0d2hQGvw7nGv)?POU@(kS1m=%`|+^ika zXl8zjS?xqW$WlO?Ewa;vF~XbybHBor$f<%I&*t$F5fynwZlTGj|IjZtVfGa7l&tK} zW>I<69w(cZLu)QIVG|M2xzW@S+70NinQzk&Y0+3WT*cC)rx~04O-^<{JohU_&HL5XdUKW!uFy|i$FB|EMu0eUyW;gsf`XfIc!Z0V zeK&*hPL}f_cX=@iv>K%S5kL;cl_$v?n(Q9f_cChk8Lq$glT|=e+T*8O4H2n<=NGmn z+2*h+v;kBvF>}&0RDS>)B{1!_*XuE8A$Y=G8w^qGMtfudDBsD5>T5SB;Qo}fSkkiV ze^K^M(UthkwrD!&*tTsu>Dacdj_q`~V%r_twr$(Ct&_dKeeXE?fA&4&yASJWJ*}~- zel=@W)tusynfC_YqH4ll>4Eg`Xjs5F7Tj>tTLz<0N3)X<1px_d2yUY>X~y>>93*$) z5PuNMQLf9Bu?AAGO~a_|J2akO1M*@VYN^VxvP0F$2>;Zb9;d5Yfd8P%oFCCoZE$ z4#N$^J8rxYjUE_6{T%Y>MmWfHgScpuGv59#4u6fpTF%~KB^Ae`t1TD_^Ud#DhL+Dm zbY^VAM#MrAmFj{3-BpVSWph2b_Y6gCnCAombVa|1S@DU)2r9W<> zT5L8BB^er3zxKt1v(y&OYk!^aoQisqU zH(g@_o)D~BufUXcPt!Ydom)e|aW{XiMnes2z&rE?og>7|G+tp7&^;q?Qz5S5^yd$i z8lWr4g5nctBHtigX%0%XzIAB8U|T6&JsC4&^hZBw^*aIcuNO47de?|pGXJ4t}BB`L^d8tD`H`i zqrP8?#J@8T#;{^B!KO6J=@OWKhAerih(phML`(Rg7N1XWf1TN>=Z3Do{l_!d~DND&)O)D>ta20}@Lt77qSnVsA7>)uZAaT9bsB>u&aUQl+7GiY2|dAEg@%Al3i316y;&IhQL^8fw_nwS>f60M_-m+!5)S_6EPM7Y)(Nq^8gL7(3 zOiot`6Wy6%vw~a_H?1hLVzIT^i1;HedHgW9-P#)}Y6vF%C=P70X0Tk^z9Te@kPILI z_(gk!k+0%CG)%!WnBjjw*kAKs_lf#=5HXC00s-}oM-Q1aXYLj)(1d!_a7 z*Gg4Fe6F$*ujVjI|79Z5+Pr`us%zW@ln++2l+0hsngv<{mJ%?OfSo_3HJXOCys{Ug z00*YR-(fv<=&%Q!j%b-_ppA$JsTm^_L4x`$k{VpfLI(FMCap%LFAyq;#ns5bR7V+x zO!o;c5y~DyBPqdVQX)8G^G&jWkBy2|oWTw>)?5u}SAsI$RjT#)lTV&Rf8;>u*qXnb z8F%Xb=7#$m)83z%`E;49)t3fHInhtc#kx4wSLLms!*~Z$V?bTyUGiS&m>1P(952(H zuHdv=;o*{;5#X-uAyon`hP}d#U{uDlV?W?_5UjJvf%11hKwe&(&9_~{W)*y1nR5f_ z!N(R74nNK`y8>B!0Bt_Vr!;nc3W>~RiKtGSBkNlsR#-t^&;$W#)f9tTlZz>n*+Fjz z3zXZ;jf(sTM(oDzJt4FJS*8c&;PLTW(IQDFs_5QPy+7yhi1syPCarvqrHFcf&yTy)^O<1EBx;Ir`5W{TIM>{8w&PB>ro4;YD<5LF^TjTb0!zAP|QijA+1Vg>{Afv^% zmrkc4o6rvBI;Q8rj4*=AZacy*n8B{&G3VJc)so4$XUoie0)vr;qzPZVbb<#Fc=j+8CGBWe$n|3K& z_@%?{l|TzKSlUEO{U{{%Fz_pVDxs7i9H#bnbCw7@4DR=}r_qV!Zo~CvD4ZI*+j3kO zW6_=|S`)(*gM0Z;;}nj`73OigF4p6_NPZQ-Od~e$c_);;4-7sR>+2u$6m$Gf%T{aq zle>e3(*Rt(TPD}03n5)!Ca8Pu!V}m6v0o1;5<1h$*|7z|^(3$Y&;KHKTT}hV056wuF0Xo@mK-52~r=6^SI1NC%c~CC?n>yX6wPTgiWYVz!Sx^atLby9YNn1Rk{g?|pJaxD4|9cUf|V1_I*w zzxK)hRh9%zOl=*$?XUjly5z8?jPMy%vEN)f%T*|WO|bp5NWv@B(K3D6LMl!-6dQg0 zXNE&O>Oyf%K@`ngCvbGPR>HRg5!1IV$_}m@3dWB7x3t&KFyOJn9pxRXCAzFr&%37wXG;z^xaO$ekR=LJG ztIHpY8F5xBP{mtQidqNRoz= z@){+N3(VO5bD+VrmS^YjG@+JO{EOIW)9=F4v_$Ed8rZtHvjpiEp{r^c4F6Ic#ChlC zJX^DtSK+v(YdCW)^EFcs=XP7S>Y!4=xgmv>{S$~@h=xW-G4FF9?I@zYN$e5oF9g$# zb!eVU#J+NjLyX;yb)%SY)xJdvGhsnE*JEkuOVo^k5PyS=o#vq!KD46UTW_%R=Y&0G zFj6bV{`Y6)YoKgqnir2&+sl+i6foAn-**Zd1{_;Zb7Ki=u394C5J{l^H@XN`_6XTKY%X1AgQM6KycJ+= zYO=&t#5oSKB^pYhNdzPgH~aEGW2=ec1O#s-KG z71}LOg@4UEFtp3GY1PBemXpNs6UK-ax*)#$J^pC_me;Z$Je(OqLoh|ZrW*mAMBFn< zHttjwC&fkVfMnQeen8`Rvy^$pNRFVaiEN4Pih*Y3@jo!T0nsClN)pdrr9AYLcZxZ| zJ5Wlj+4q~($hbtuY zVQ7hl>4-+@6g1i`1a)rvtp-;b0>^`Dloy(#{z~ytgv=j4q^Kl}wD>K_Y!l~ zp(_&7sh`vfO(1*MO!B%<6E_bx1)&s+Ae`O)a|X=J9y~XDa@UB`m)`tSG4AUhoM=5& znWoHlA-(z@3n0=l{E)R-p8sB9XkV zZ#D8wietfHL?J5X0%&fGg@MH~(rNS2`GHS4xTo7L$>TPme+Is~!|79=^}QbPF>m%J zFMkGzSndiPO|E~hrhCeo@&Ea{M(ieIgRWMf)E}qeTxT8Q#g-!Lu*x$v8W^M^>?-g= zwMJ$dThI|~M06rG$Sv@C@tWR>_YgaG&!BAbkGggVQa#KdtDB)lMLNVLN|51C@F^y8 zCRvMB^{GO@j=cHfmy}_pCGbP%xb{pNN>? z?7tBz$1^zVaP|uaatYaIN+#xEN4jBzwZ|YI_)p(4CUAz1ZEbDk>J~Y|63SZaak~#0 zoYKruYsWHoOlC1(MhTnsdUOwQfz5p6-D0}4;DO$B;7#M{3lSE^jnTT;ns`>!G%i*F?@pR1JO{QTuD0U+~SlZxcc8~>IB{)@8p`P&+nDxNj`*gh|u?yrv$phpQcW)Us)bi`kT%qLj(fi{dWRZ%Es2!=3mI~UxiW0$-v3vUl?#g{p6eF zMEUAqo5-L0Ar(s{VlR9g=j7+lt!gP!UN2ICMokAZ5(Agd>})#gkA2w|5+<%-CuEP# zqgcM}u@3(QIC^Gx<2dbLj?cFSws_f3e%f4jeR?4M^M3cx1f+Qr6ydQ>n)kz1s##2w zk}UyQc+Z5G-d-1}{WzjkLXgS-2P7auWSJ%pSnD|Uivj5u!xk0 z_^-N9r9o;(rFDt~q1PvE#iJZ_f>J3gcP$)SOqhE~pD2|$=GvpL^d!r z6u=sp-CrMoF7;)}Zd7XO4XihC4ji?>V&(t^?@3Q&t9Mx=qex6C9d%{FE6dvU6%d94 zIE;hJ1J)cCqjv?F``7I*6bc#X)JW2b4f$L^>j{*$R`%5VHFi*+Q$2;nyieduE}qdS{L8y8F08yLs?w}{>8>$3236T-VMh@B zq-nujsb_1aUv_7g#)*rf9h%sFj*^mIcImRV*k~Vmw;%;YH(&ylYpy!&UjUVqqtfG` zox3esju?`unJJA_zKXRJP)rA3nXc$m^{S&-p|v|-0x9LHJm;XIww7C#R$?00l&Yyj z=e}gKUOpsImwW?N)+E(awoF@HyP^EhL+GlNB#k?R<2>95hz!h9sF@U20DHSB3~WMa zk90+858r@-+vWwkawJ)8ougd(i#1m3GLN{iSTylYz$brAsP%=&m$mQQrH$g%3-^VR zE%B`Vi&m8f3T~&myTEK28BDWCVzfWir1I?03;pX))|kY5ClO^+bae z*7E?g=3g7EiisYOrE+lA)2?Ln6q2*HLNpZEWMB|O-JI_oaHZB%CvYB(%=tU= zE*OY%QY58fW#RG5=gm0NR#iMB=EuNF@)%oZJ}nmm=tsJ?eGjia{e{yuU0l3{d^D@)kVDt=1PE)&tf_hHC%0MB znL|CRCPC}SeuVTdf>-QV70`0(EHizc21s^sU>y%hW0t!0&y<7}Wi-wGy>m%(-jsDj zP?mF|>p_K>liZ6ZP(w5(|9Ga%>tLgb$|doDDfkdW>Z z`)>V2XC?NJT26mL^@ zf+IKr27TfM!UbZ@?zRddC7#6ss1sw%CXJ4FWC+t3lHZupzM77m^=9 z&(a?-LxIq}*nvv)y?27lZ{j zifdl9hyJudyP2LpU$-kXctshbJDKS{WfulP5Dk~xU4Le4c#h^(YjJit4#R8_khheS z|8(>2ibaHES4+J|DBM7I#QF5u-*EdN{n=Kt@4Zt?@Tv{JZA{`4 zU#kYOv{#A&gGPwT+$Ud}AXlK3K7hYzo$(fBSFjrP{QQ zeaKg--L&jh$9N}`pu{Bs>?eDFPaWY4|9|foN%}i;3%;@4{dc+iw>m}{3rELqH21G! z`8@;w-zsJ1H(N3%|1B@#ioLOjib)j`EiJqPQVSbPSPVHCj6t5J&(NcWzBrzCiDt{4 zdlPAUKldz%6x5II1H_+jv)(xVL+a;P+-1hv_pM>gMRr%04@k;DTokASSKKhU1Qms| zrWh3a!b(J3n0>-tipg{a?UaKsP7?+|@A+1WPDiQIW1Sf@qDU~M_P65_s}7(gjTn0X zucyEm)o;f8UyshMy&>^SC3I|C6jR*R_GFwGranWZe*I>K+0k}pBuET&M~ z;Odo*ZcT?ZpduHyrf8E%IBFtv;JQ!N_m>!sV6ly$_1D{(&nO~w)G~Y`7sD3#hQk%^ zp}ucDF_$!6DAz*PM8yE(&~;%|=+h(Rn-=1Wykas_-@d&z#=S}rDf`4w(rVlcF&lF! z=1)M3YVz7orwk^BXhslJ8jR);sh^knJW(Qmm(QdSgIAIdlN4Te5KJisifjr?eB{FjAX1a0AB>d?qY4Wx>BZ8&}5K0fA+d{l8 z?^s&l8#j7pR&ijD?0b%;lL9l$P_mi2^*_OL+b}4kuLR$GAf85sOo02?Y#90}CCDiS zZ%rbCw>=H~CBO=C_JVV=xgDe%b4FaEFtuS7Q1##y686r%F6I)s-~2(}PWK|Z8M+Gu zl$y~5@#0Ka%$M<&Cv%L`a8X^@tY&T7<0|(6dNT=EsRe0%kp1Qyq!^43VAKYnr*A5~ zsI%lK1ewqO;0TpLrT9v}!@vJK{QoVa_+N4FYT#h?Y8rS1S&-G+m$FNMP?(8N`MZP zels(*?kK{{^g9DOzkuZXJ2;SrOQsp9T$hwRB1(phw1c7`!Q!by?Q#YsSM#I12RhU{$Q+{xj83axHcftEc$mNJ8_T7A-BQc*k(sZ+~NsO~xAA zxnbb%dam_fZlHvW7fKXrB~F&jS<4FD2FqY?VG?ix*r~MDXCE^WQ|W|WM;gsIA4lQP zJ2hAK@CF*3*VqPr2eeg6GzWFlICi8S>nO>5HvWzyZTE)hlkdC_>pBej*>o0EOHR|) z$?};&I4+_?wvL*g#PJ9)!bc#9BJu1(*RdNEn>#Oxta(VWeM40ola<0aOe2kSS~{^P zDJBd}0L-P#O-CzX*%+$#v;(x%<*SPgAje=F{Zh-@ucd2DA(yC|N_|ocs*|-!H%wEw z@Q!>siv2W;C^^j^59OAX03&}&D*W4EjCvfi(ygcL#~t8XGa#|NPO+*M@Y-)ctFA@I z-p7npT1#5zOLo>7q?aZpCZ=iecn3QYklP;gF0bq@>oyBq94f6C=;Csw3PkZ|5q=(c zfs`aw?II0e(h=|7o&T+hq&m$; zBrE09Twxd9BJ2P+QPN}*OdZ-JZV7%av@OM7v!!NL8R;%WFq*?{9T3{ct@2EKgc8h) zMxoM$SaF#p<`65BwIDfmXG6+OiK0e)`I=!A3E`+K@61f}0e z!2a*FOaDrOe>U`q%K!QN`&=&0C~)CaL3R4VY(NDt{Xz(Xpqru5=r#uQN1L$Je1*dkdqQ*=lofQaN%lO!<5z9ZlHgxt|`THd>2 zsWfU$9=p;yLyJyM^t zS2w9w?Bpto`@H^xJpZDKR1@~^30Il6oFGfk5%g6w*C+VM)+%R@gfIwNprOV5{F^M2 zO?n3DEzpT+EoSV-%OdvZvNF+pDd-ZVZ&d8 zKeIyrrfPN=EcFRCPEDCVflX#3-)Ik_HCkL(ejmY8vzcf-MTA{oHk!R2*36`O68$7J zf}zJC+bbQk--9Xm!u#lgLvx8TXx2J258E5^*IZ(FXMpq$2LUUvhWQPs((z1+2{Op% z?J}9k5^N=z;7ja~zi8a_-exIqWUBJwohe#4QJ`|FF*$C{lM18z^#hX6!5B8KAkLUX ziP=oti-gpV(BsLD{0(3*dw}4JxK23Y7M{BeFPucw!sHpY&l%Ws4pSm`+~V7;bZ%Dx zeI)MK=4vC&5#;2MT7fS?^ch9?2;%<8Jlu-IB&N~gg8t;6S-#C@!NU{`p7M8@2iGc& zg|JPg%@gCoCQ&s6JvDU&`X2S<57f(k8nJ1wvBu{8r?;q3_kpZZ${?|( z+^)UvR33sjSd)aT!UPkA;ylO6{aE3MQa{g%Mcf$1KONcjO@&g5zPHWtzM1rYC{_K> zgQNcs<{&X{OA=cEWw5JGqpr0O>x*Tfak2PE9?FuWtz^DDNI}rwAaT0(bdo-<+SJ6A z&}S%boGMWIS0L}=S>|-#kRX;e^sUsotry(MjE|3_9duvfc|nwF#NHuM-w7ZU!5ei8 z6Mkf>2)WunY2eU@C-Uj-A zG(z0Tz2YoBk>zCz_9-)4a>T46$(~kF+Y{#sA9MWH%5z#zNoz)sdXq7ZR_+`RZ%0(q zC7&GyS_|BGHNFl8Xa%@>iWh%Gr?=J5<(!OEjauj5jyrA-QXBjn0OAhJJ9+v=!LK`` z@g(`^*84Q4jcDL`OA&ZV60djgwG`|bcD*i50O}Q{9_noRg|~?dj%VtKOnyRs$Uzqg z191aWoR^rDX#@iSq0n z?9Sg$WSRPqSeI<}&n1T3!6%Wj@5iw5`*`Btni~G=&;J+4`7g#OQTa>u`{4ZZ(c@s$ zK0y;ySOGD-UTjREKbru{QaS>HjN<2)R%Nn-TZiQ(Twe4p@-saNa3~p{?^V9Nixz@a zykPv~<@lu6-Ng9i$Lrk(xi2Tri3q=RW`BJYOPC;S0Yly%77c727Yj-d1vF!Fuk{Xh z)lMbA69y7*5ufET>P*gXQrxsW+ zz)*MbHZv*eJPEXYE<6g6_M7N%#%mR{#awV3i^PafNv(zyI)&bH?F}2s8_rR(6%!V4SOWlup`TKAb@ee>!9JKPM=&8g#BeYRH9FpFybxBXQI2|g}FGJfJ+ zY-*2hB?o{TVL;Wt_ek;AP5PBqfDR4@Z->_182W z{P@Mc27j6jE*9xG{R$>6_;i=y{qf(c`5w9fa*`rEzX6t!KJ(p1H|>J1pC-2zqWENF zmm=Z5B4u{cY2XYl(PfrInB*~WGWik3@1oRhiMOS|D;acnf-Bs(QCm#wR;@Vf!hOPJ zgjhDCfDj$HcyVLJ=AaTbQ{@vIv14LWWF$=i-BDoC11}V;2V8A`S>_x)vIq44-VB-v z*w-d}$G+Ql?En8j!~ZkCpQ$|cA0|+rrY>tiCeWxkRGPoarxlGU2?7%k#F693RHT24 z-?JsiXlT2PTqZqNb&sSc>$d;O4V@|b6VKSWQb~bUaWn1Cf0+K%`Q&Wc<>mQ>*iEGB zbZ;aYOotBZ{vH3y<0A*L0QVM|#rf*LIsGx(O*-7)r@yyBIzJnBFSKBUSl1e|8lxU* zzFL+YDVVkIuzFWeJ8AbgN&w(4-7zbiaMn{5!JQXu)SELk*CNL+Fro|2v|YO)1l15t zs(0^&EB6DPMyaqvY>=KL>)tEpsn;N5Q#yJj<9}ImL((SqErWN3Q=;tBO~ExTCs9hB z2E$7eN#5wX4<3m^5pdjm#5o>s#eS_Q^P)tm$@SawTqF*1dj_i#)3};JslbLKHXl_N z)Fxzf>FN)EK&Rz&*|6&%Hs-^f{V|+_vL1S;-1K-l$5xiC@}%uDuwHYhmsV?YcOUlk zOYkG5v2+`+UWqpn0aaaqrD3lYdh0*!L`3FAsNKu=Q!vJu?Yc8n|CoYyDo_`r0mPoo z8>XCo$W4>l(==h?2~PoRR*kEe)&IH{1sM41mO#-36`02m#nTX{r*r`Q5rZ2-sE|nA zhnn5T#s#v`52T5|?GNS`%HgS2;R(*|^egNPDzzH_z^W)-Q98~$#YAe)cEZ%vge965AS_am#DK#pjPRr-!^za8>`kksCAUj(Xr*1NW5~e zpypt_eJpD&4_bl_y?G%>^L}=>xAaV>KR6;^aBytqpiHe%!j;&MzI_>Sx7O%F%D*8s zSN}cS^<{iiK)=Ji`FpO#^zY!_|D)qeRNAtgmH)m;qC|mq^j(|hL`7uBz+ULUj37gj zksdbnU+LSVo35riSX_4z{UX=%n&}7s0{WuZYoSfwAP`8aKN9P@%e=~1`~1ASL-z%# zw>DO&ixr}c9%4InGc*_y42bdEk)ZdG7-mTu0bD@_vGAr*NcFoMW;@r?@LUhRI zCUJgHb`O?M3!w)|CPu~ej%fddw20lod?Ufp8Dmt0PbnA0J%KE^2~AIcnKP()025V> zG>noSM3$5Btmc$GZoyP^v1@Poz0FD(6YSTH@aD0}BXva?LphAiSz9f&Y(aDAzBnUh z?d2m``~{z;{}kZJ>a^wYI?ry(V9hIoh;|EFc0*-#*`$T0DRQ1;WsqInG;YPS+I4{g zJGpKk%%Sdc5xBa$Q^_I~(F97eqDO7AN3EN0u)PNBAb+n+ zWBTxQx^;O9o0`=g+Zrt_{lP!sgWZHW?8bLYS$;1a@&7w9rD9|Ge;Gb?sEjFoF9-6v z#!2)t{DMHZ2@0W*fCx;62d#;jouz`R5Y(t{BT=$N4yr^^o$ON8d{PQ=!O zX17^CrdM~7D-;ZrC!||<+FEOxI_WI3CA<35va%4v>gc zEX-@h8esj=a4szW7x{0g$hwoWRQG$yK{@3mqd-jYiVofJE!Wok1* znV7Gm&Ssq#hFuvj1sRyHg(6PFA5U*Q8Rx>-blOs=lb`qa{zFy&n4xY;sd$fE+<3EI z##W$P9M{B3c3Si9gw^jlPU-JqD~Cye;wr=XkV7BSv#6}DrsXWFJ3eUNrc%7{=^sP> zrp)BWKA9<}^R9g!0q7yWlh;gr_TEOD|#BmGq<@IV;ueg+D2}cjpp+dPf&Q(36sFU&K8}hA85U61faW&{ zlB`9HUl-WWCG|<1XANN3JVAkRYvr5U4q6;!G*MTdSUt*Mi=z_y3B1A9j-@aK{lNvx zK%p23>M&=KTCgR!Ee8c?DAO2_R?B zkaqr6^BSP!8dHXxj%N1l+V$_%vzHjqvu7p@%Nl6;>y*S}M!B=pz=aqUV#`;h%M0rU zHfcog>kv3UZAEB*g7Er@t6CF8kHDmKTjO@rejA^ULqn!`LwrEwOVmHx^;g|5PHm#B zZ+jjWgjJ!043F+&#_;D*mz%Q60=L9Ove|$gU&~As5^uz@2-BfQ!bW)Khn}G+Wyjw- z19qI#oB(RSNydn0t~;tAmK!P-d{b-@@E5|cdgOS#!>%#Rj6ynkMvaW@37E>@hJP^8 z2zk8VXx|>#R^JCcWdBCy{0nPmYFOxN55#^-rlqobe0#L6)bi?E?SPymF*a5oDDeSd zO0gx?#KMoOd&G(2O@*W)HgX6y_aa6iMCl^~`{@UR`nMQE`>n_{_aY5nA}vqU8mt8H z`oa=g0SyiLd~BxAj2~l$zRSDHxvDs;I4>+M$W`HbJ|g&P+$!U7-PHX4RAcR0szJ*( ze-417=bO2q{492SWrqDK+L3#ChUHtz*@MP)e^%@>_&#Yk^1|tv@j4%3T)diEX zATx4K*hcO`sY$jk#jN5WD<=C3nvuVsRh||qDHnc~;Kf59zr0;c7VkVSUPD%NnnJC_ zl3F^#f_rDu8l}l8qcAz0FFa)EAt32IUy_JLIhU_J^l~FRH&6-ivSpG2PRqzDdMWft>Zc(c)#tb%wgmWN%>IOPm zZi-noqS!^Ftb81pRcQi`X#UhWK70hy4tGW1mz|+vI8c*h@ zfFGJtW3r>qV>1Z0r|L>7I3un^gcep$AAWfZHRvB|E*kktY$qQP_$YG60C@X~tTQjB3%@`uz!qxtxF+LE!+=nrS^07hn` zEgAp!h|r03h7B!$#OZW#ACD+M;-5J!W+{h|6I;5cNnE(Y863%1(oH}_FTW})8zYb$7czP zg~Szk1+_NTm6SJ0MS_|oSz%e(S~P-&SFp;!k?uFayytV$8HPwuyELSXOs^27XvK-D zOx-Dl!P|28DK6iX>p#Yb%3`A&CG0X2S43FjN%IB}q(!hC$fG}yl1y9W&W&I@KTg6@ zK^kpH8=yFuP+vI^+59|3%Zqnb5lTDAykf z9S#X`3N(X^SpdMyWQGOQRjhiwlj!0W-yD<3aEj^&X%=?`6lCy~?`&WSWt z?U~EKFcCG_RJ(Qp7j=$I%H8t)Z@6VjA#>1f@EYiS8MRHZphp zMA_5`znM=pzUpBPO)pXGYpQ6gkine{6u_o!P@Q+NKJ}k!_X7u|qfpAyIJb$_#3@wJ z<1SE2Edkfk9C!0t%}8Yio09^F`YGzpaJHGk*-ffsn85@)%4@`;Fv^8q(-Wk7r=Q8p zT&hD`5(f?M{gfzGbbwh8(}G#|#fDuk7v1W)5H9wkorE0ZZjL0Q1=NRGY>zwgfm81DdoaVwNH;or{{eSyybt)m<=zXoA^RALYG-2t zouH|L*BLvmm9cdMmn+KGopyR@4*=&0&4g|FLoreZOhRmh=)R0bg~ zT2(8V_q7~42-zvb)+y959OAv!V$u(O3)%Es0M@CRFmG{5sovIq4%8Ahjk#*5w{+)+ zMWQoJI_r$HxL5km1#6(e@{lK3Udc~n0@g`g$s?VrnQJ$!oPnb?IHh-1qA`Rz$)Ai< z6w$-MJW-gKNvOhL+XMbE7&mFt`x1KY>k4(!KbbpZ`>`K@1J<(#vVbjx@Z@(6Q}MF# zMnbr-f55(cTa^q4+#)=s+ThMaV~E`B8V=|W_fZWDwiso8tNMTNse)RNBGi=gVwgg% zbOg8>mbRN%7^Um-7oj4=6`$|(K7!+t^90a{$18Z>}<#!bm%ZEFQ{X(yBZMc>lCz0f1I2w9Sq zuGh<9<=AO&g6BZte6hn>Qmvv;Rt)*cJfTr2=~EnGD8P$v3R|&1RCl&7)b+`=QGapi zPbLg_pxm`+HZurtFZ;wZ=`Vk*do~$wB zxoW&=j0OTbQ=Q%S8XJ%~qoa3Ea|au5o}_(P;=!y-AjFrERh%8la!z6Fn@lR?^E~H12D?8#ht=1F;7@o4$Q8GDj;sSC%Jfn01xgL&%F2 zwG1|5ikb^qHv&9hT8w83+yv&BQXOQyMVJSBL(Ky~p)gU3#%|blG?IR9rP^zUbs7rOA0X52Ao=GRt@C&zlyjNLv-} z9?*x{y(`509qhCV*B47f2hLrGl^<@SuRGR!KwHei?!CM10Tq*YDIoBNyRuO*>3FU? zHjipIE#B~y3FSfOsMfj~F9PNr*H?0oHyYB^G(YyNh{SxcE(Y-`x5jFMKb~HO*m+R% zrq|ic4fzJ#USpTm;X7K+E%xsT_3VHKe?*uc4-FsILUH;kL>_okY(w`VU*8+l>o>Jm ziU#?2^`>arnsl#)*R&nf_%>A+qwl%o{l(u)M?DK1^mf260_oteV3#E_>6Y4!_hhVD zM8AI6MM2V*^_M^sQ0dmHu11fy^kOqXqzpr?K$`}BKWG`=Es(9&S@K@)ZjA{lj3ea7_MBP zk(|hBFRjHVMN!sNUkrB;(cTP)T97M$0Dtc&UXSec<+q?y>5=)}S~{Z@ua;1xt@=T5 zI7{`Z=z_X*no8s>mY;>BvEXK%b`a6(DTS6t&b!vf_z#HM{Uoy_5fiB(zpkF{})ruka$iX*~pq1ZxD?q68dIo zIZSVls9kFGsTwvr4{T_LidcWtt$u{kJlW7moRaH6+A5hW&;;2O#$oKyEN8kx`LmG)Wfq4ykh+q{I3|RfVpkR&QH_x;t41Uw z`P+tft^E2B$domKT@|nNW`EHwyj>&}K;eDpe z1bNOh=fvIfk`&B61+S8ND<(KC%>y&?>opCnY*r5M+!UrWKxv0_QvTlJc>X#AaI^xo zaRXL}t5Ej_Z$y*|w*$6D+A?Lw-CO-$itm^{2Ct82-<0IW)0KMNvJHgBrdsIR0v~=H z?n6^}l{D``Me90`^o|q!olsF?UX3YSq^6Vu>Ijm>>PaZI8G@<^NGw{Cx&%|PwYrfw zR!gX_%AR=L3BFsf8LxI|K^J}deh0ZdV?$3r--FEX`#INxsOG6_=!v)DI>0q|BxT)z z-G6kzA01M?rba+G_mwNMQD1mbVbNTWmBi*{s_v_Ft9m2Avg!^78(QFu&n6mbRJ2bA zv!b;%yo{g*9l2)>tsZJOOp}U~8VUH`}$ z8p_}t*XIOehezolNa-a2x0BS})Y9}&*TPgua{Ewn-=wVrmJUeU39EKx+%w%=ixQWK zDLpwaNJs65#6o7Ln7~~X+p_o2BR1g~VCfxLzxA{HlWAI6^H;`juI=&r1jQrUv_q0Z z1Ja-tjdktrrP>GOC*#p?*xfQU5MqjMsBe!9lh(u8)w$e@Z|>aUHI5o;MGw*|Myiz3 z-f0;pHg~Q#%*Kx8MxH%AluVXjG2C$)WL-K63@Q`#y9_k_+}eR(x4~dp7oV-ek0H>I zgy8p#i4GN{>#v=pFYUQT(g&b$OeTy-X_#FDgNF8XyfGY6R!>inYn8IR2RDa&O!(6< znXs{W!bkP|s_YI*Yx%4stI`=ZO45IK6rBs`g7sP40ic}GZ58s?Mc$&i`kq_tfci>N zIHrC0H+Qpam1bNa=(`SRKjixBTtm&e`j9porEci!zdlg1RI0Jw#b(_Tb@RQK1Zxr_ z%7SUeH6=TrXt3J@js`4iDD0=IoHhK~I7^W8^Rcp~Yaf>2wVe|Hh1bUpX9ATD#moByY57-f2Ef1TP^lBi&p5_s7WGG9|0T}dlfxOx zXvScJO1Cnq`c`~{Dp;{;l<-KkCDE+pmexJkd}zCgE{eF=)K``-qC~IT6GcRog_)!X z?fK^F8UDz$(zFUrwuR$qro5>qqn>+Z%<5>;_*3pZ8QM|yv9CAtrAx;($>4l^_$_-L z*&?(77!-=zvnCVW&kUcZMb6;2!83si518Y%R*A3JZ8Is|kUCMu`!vxDgaWjs7^0j( ziTaS4HhQ)ldR=r)_7vYFUr%THE}cPF{0H45FJ5MQW^+W>P+eEX2kLp3zzFe*-pFVA zdDZRybv?H|>`9f$AKVjFWJ=wegO7hOOIYCtd?Vj{EYLT*^gl35|HQ`R=ti+ADm{jyQE7K@kdjuqJhWVSks>b^ zxha88-h3s;%3_5b1TqFCPTxVjvuB5U>v=HyZ$?JSk+&I%)M7KE*wOg<)1-Iy)8-K! z^XpIt|0ibmk9RtMmlUd7#Ap3Q!q9N4atQy)TmrhrFhfx1DAN`^vq@Q_SRl|V z#lU<~n67$mT)NvHh`%als+G-)x1`Y%4Bp*6Un5Ri9h=_Db zA-AdP!f>f0m@~>7X#uBM?diI@)Egjuz@jXKvm zJo+==juc9_<;CqeRaU9_Mz@;3e=E4=6TK+c`|uu#pIqhSyNm`G(X)&)B`8q0RBv#> z`gGlw(Q=1Xmf55VHj%C#^1lpc>LY8kfA@|rlC1EA<1#`iuyNO z(=;irt{_&K=i4)^x%;U(Xv<)+o=dczC5H3W~+e|f~{*ucxj@{Yi-cw^MqYr3fN zF5D+~!wd$#al?UfMnz(@K#wn`_5na@rRr8XqN@&M&FGEC@`+OEv}sI1hw>Up0qAWf zL#e4~&oM;TVfjRE+10B_gFlLEP9?Q-dARr3xi6nQqnw>k-S;~b z;!0s2VS4}W8b&pGuK=7im+t(`nz@FnT#VD|!)eQNp-W6)@>aA+j~K*H{$G`y2|QHY z|Hmy+CR@#jWY4~)lr1qBJB_RfHJFfP<}pK5(#ZZGSqcpyS&}01LnTWk5fzmXMGHkJ zTP6L^B+uj;lmB_W<~4=${+v0>z31M!-_O@o-O9GyW)j_mjx}!0@br_LE-7SIuPP84 z;5=O(U*g_um0tyG|61N@d9lEuOeiRd+#NY^{nd5;-CVlw&Ap7J?qwM^?E29wvS}2d zbzar4Fz&RSR(-|s!Z6+za&Z zY#D<5q_JUktIzvL0)yq_kLWG6DO{ri=?c!y!f(Dk%G{8)k`Gym%j#!OgXVDD3;$&v@qy#ISJfp=Vm>pls@9-mapVQChAHHd-x+OGx)(*Yr zC1qDUTZ6mM(b_hi!TuFF2k#8uI2;kD70AQ&di$L*4P*Y-@p`jdm%_c3f)XhYD^6M8&#Y$ZpzQMcR|6nsH>b=*R_Von!$BTRj7yGCXokoAQ z&ANvx0-Epw`QIEPgI(^cS2f(Y85yV@ygI{ewyv5Frng)e}KCZF7JbR(&W618_dcEh(#+^zZFY;o<815<5sOHQdeax9_!PyM&;{P zkBa5xymca0#)c#tke@3KNEM8a_mT&1gm;p&&JlMGH(cL(b)BckgMQ^9&vRwj!~3@l zY?L5}=Jzr080OGKb|y`ee(+`flQg|!lo6>=H)X4`$Gz~hLmu2a%kYW_Uu8x09Pa0J zKZ`E$BKJ=2GPj_3l*TEcZ*uYRr<*J^#5pILTT;k_cgto1ZL-%slyc16J~OH-(RgDA z%;EjEnoUkZ&acS{Q8`{i6T5^nywgqQI5bDIymoa7CSZG|WWVk>GM9)zy*bNih|QIm z%0+(Nnc*a_xo;$=!HQYaapLms>J1ToyjtFByY`C2H1wT#178#4+|{H0BBqtCdd$L% z_3Hc60j@{t9~MjM@LBalR&6@>B;9?r<7J~F+WXyYu*y3?px*=8MAK@EA+jRX8{CG?GI-< z54?Dc9CAh>QTAvyOEm0^+x;r2BWX|{3$Y7)L5l*qVE*y0`7J>l2wCmW zL1?|a`pJ-l{fb_N;R(Z9UMiSj6pQjOvQ^%DvhIJF!+Th7jO2~1f1N+(-TyCFYQZYw z4)>7caf^Ki_KJ^Zx2JUb z&$3zJy!*+rCV4%jqwyuNY3j1ZEiltS0xTzd+=itTb;IPYpaf?8Y+RSdVdpacB(bVQ zC(JupLfFp8y43%PMj2}T|VS@%LVp>hv4Y!RPMF?pp8U_$xCJ)S zQx!69>bphNTIb9yn*_yfj{N%bY)t{L1cs8<8|!f$;UQ*}IN=2<6lA;x^(`8t?;+ST zh)z4qeYYgZkIy{$4x28O-pugO&gauRh3;lti9)9Pvw+^)0!h~%m&8Q!AKX%urEMnl z?yEz?g#ODn$UM`+Q#$Q!6|zsq_`dLO5YK-6bJM6ya>}H+vnW^h?o$z;V&wvuM$dR& zeEq;uUUh$XR`TWeC$$c&Jjau2it3#%J-y}Qm>nW*s?En?R&6w@sDXMEr#8~$=b(gk zwDC3)NtAP;M2BW_lL^5ShpK$D%@|BnD{=!Tq)o(5@z3i7Z){} zGr}Exom_qDO{kAVkZ*MbLNHE666Kina#D{&>Jy%~w7yX$oj;cYCd^p9zy z8*+wgSEcj$4{WxKmCF(5o7U4jqwEvO&dm1H#7z}%VXAbW&W24v-tS6N3}qrm1OnE)fUkoE8yMMn9S$?IswS88tQWm4#Oid#ckgr6 zRtHm!mfNl-`d>O*1~d7%;~n+{Rph6BBy^95zqI{K((E!iFQ+h*C3EsbxNo_aRm5gj zKYug($r*Q#W9`p%Bf{bi6;IY0v`pB^^qu)gbg9QHQ7 zWBj(a1YSu)~2RK8Pi#C>{DMlrqFb9e_RehEHyI{n?e3vL_}L>kYJC z_ly$$)zFi*SFyNrnOt(B*7E$??s67EO%DgoZL2XNk8iVx~X_)o++4oaK1M|ou73vA0K^503j@uuVmLcHH4ya-kOIDfM%5%(E z+Xpt~#7y2!KB&)PoyCA+$~DXqxPxxALy!g-O?<9+9KTk4Pgq4AIdUkl`1<1#j^cJg zgU3`0hkHj_jxV>`Y~%LAZl^3o0}`Sm@iw7kwff{M%VwtN)|~!p{AsfA6vB5UolF~d zHWS%*uBDt<9y!9v2Xe|au&1j&iR1HXCdyCjxSgG*L{wmTD4(NQ=mFjpa~xooc6kju z`~+d{j7$h-;HAB04H!Zscu^hZffL#9!p$)9>sRI|Yovm)g@F>ZnosF2EgkU3ln0bR zTA}|+E(tt)!SG)-bEJi_0m{l+(cAz^pi}`9=~n?y&;2eG;d9{M6nj>BHGn(KA2n|O zt}$=FPq!j`p&kQ8>cirSzkU0c08%8{^Qyqi-w2LoO8)^E7;;I1;HQ6B$u0nNaX2CY zSmfi)F`m94zL8>#zu;8|{aBui@RzRKBlP1&mfFxEC@%cjl?NBs`cr^nm){>;$g?rhKr$AO&6qV_Wbn^}5tfFBry^e1`%du2~o zs$~dN;S_#%iwwA_QvmMjh%Qo?0?rR~6liyN5Xmej8(*V9ym*T`xAhHih-v$7U}8=dfXi2i*aAB!xM(Xekg*ix@r|ymDw*{*s0?dlVys2e)z62u1 z+k3esbJE=-P5S$&KdFp+2H7_2e=}OKDrf( z9-207?6$@f4m4B+9E*e((Y89!q?zH|mz_vM>kp*HGXldO0Hg#!EtFhRuOm$u8e~a9 z5(roy7m$Kh+zjW6@zw{&20u?1f2uP&boD}$#Zy)4o&T;vyBoqFiF2t;*g=|1=)PxB z8eM3Mp=l_obbc?I^xyLz?4Y1YDWPa+nm;O<$Cn;@ane616`J9OO2r=rZr{I_Kizyc zP#^^WCdIEp*()rRT+*YZK>V@^Zs=ht32x>Kwe zab)@ZEffz;VM4{XA6e421^h~`ji5r%)B{wZu#hD}f3$y@L0JV9f3g{-RK!A?vBUA}${YF(vO4)@`6f1 z-A|}e#LN{)(eXloDnX4Vs7eH|<@{r#LodP@Nz--$Dg_Par%DCpu2>2jUnqy~|J?eZ zBG4FVsz_A+ibdwv>mLp>P!(t}E>$JGaK$R~;fb{O3($y1ssQQo|5M;^JqC?7qe|hg zu0ZOqeFcp?qVn&Qu7FQJ4hcFi&|nR!*j)MF#b}QO^lN%5)4p*D^H+B){n8%VPUzi! zDihoGcP71a6!ab`l^hK&*dYrVYzJ0)#}xVrp!e;lI!+x+bfCN0KXwUAPU9@#l7@0& QuEJmfE|#`Dqx|px0L@K;Y5)KL literal 0 HcmV?d00001 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 000000000..ffed3a254 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew new file mode 100644 index 000000000..005bcde04 --- /dev/null +++ b/gradlew @@ -0,0 +1,234 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit + +APP_NAME="Gradle" +APP_BASE_NAME=${0##*/} + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 000000000..6a68175eb --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,89 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS=-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..595e02c05 --- /dev/null +++ b/pom.xml @@ -0,0 +1,369 @@ + + 4.0.0 + com.mailslurp + mailslurp-client-java + jar + mailslurp-client-java + 15.17.17 + https://www.mailslurp.com/docs/java + Official MailSlurp email API - create real inboxes then send and receive emails and attachments from tests and code. + + scm:git:git@github.com:mailslurp/mailslurp-client-java + scm:git:git@github.com:mailslurp/mailslurp-client-java.git + https://www.github.com/mailslurp/mailslurp-client-java + + + + + MIT + https://www.mailslurp.com + repo + + + + + + MailSlurp + contact@mailslurp.dev + MailSlurp + https://www.mailslurp.com/java + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + true + 128m + 512m + + -Xlint:all + -J-Xss4m + + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.1.0 + + + enforce-maven + + enforce + + + + + 2.2.0 + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.2 + + + + loggerPath + conf/log4j.properties + + + -Xms512m -Xmx1500m + methods + 10 + + + + + org.junit.jupiter + junit-jupiter-engine + ${junit-version} + + + + + maven-dependency-plugin + 3.3.0 + + + package + + copy-dependencies + + + ${project.build.directory}/lib + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + + test-jar + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.3.0 + + + add_sources + generate-sources + + add-source + + + + src/main/java + + + + + add_test_sources + generate-test-sources + + add-test-source + + + + src/test/java + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.4.1 + + + attach-javadocs + + jar + + + + + none + + + http.response.details + a + Http Response Details: + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + attach-sources + + jar-no-fork + + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless.version} + + + + + + + .gitignore + + + + + + true + 4 + + + + + + + + + + 1.8 + + true + + + + + + + + + org.apache.maven.pluginsmaven-release-plugin2.5.3true falserelease deployorg.sonatype.plugins nexus-staging-maven-plugin1.6.7 trueossrhhttps://s01.oss.sonatype.org/true + + + + + sign-artifacts + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.0.1 + + + sign-artifacts + verify + + sign + + --pinentry-mode loopback + + + + org.apache.maven.pluginsmaven-release-plugin2.5.3true falserelease deployorg.sonatype.plugins nexus-staging-maven-plugin1.6.7 trueossrhhttps://s01.oss.sonatype.org/true + + + + + + + io.swagger + swagger-annotations + ${swagger-core-version} + + + + com.google.code.findbugs + jsr305 + 3.0.2 + + + com.squareup.okhttp3 + okhttp + ${okhttp-version} + + + com.squareup.okhttp3 + logging-interceptor + ${okhttp-version} + + + com.google.code.gson + gson + ${gson-version} + + + io.gsonfire + gson-fire + ${gson-fire-version} + + + org.apache.commons + commons-lang3 + ${commons-lang3-version} + + + jakarta.annotation + jakarta.annotation-api + ${jakarta-annotation-version} + provided + + + org.openapitools + jackson-databind-nullable + ${jackson-databind-nullable-version} + + + javax.ws.rs + jsr311-api + ${jsr311-api-version} + + + javax.ws.rs + javax.ws.rs-api + ${javax.ws.rs-api-version} + + + + org.junit.jupiter + junit-jupiter-engine + ${junit-version} + test + + + org.junit.platform + junit-platform-runner + ${junit-platform-runner.version} + test + + + org.mockito + mockito-core + ${mockito-core-version} + test + + + + 1.8 + ${java.version} + ${java.version} + 1.8.5 + 1.6.5 + 4.10.0 + 2.9.1 + 3.12.0 + 0.2.4 + 1.3.5 + 5.9.1 + 1.9.1 + 3.12.4 + 2.1.1 + 1.1.1 + UTF-8 + 2.27.2 + + + + + ossrh-snapshots + https://s01.oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2 + + + diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 000000000..158f6abcf --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +rootProject.name = "mailslurp-client-java" \ No newline at end of file diff --git a/site/allclasses-frame.html b/site/allclasses-frame.html new file mode 100644 index 000000000..a112917db --- /dev/null +++ b/site/allclasses-frame.html @@ -0,0 +1,661 @@ + + + + + + +All Classes (mailslurp-client-java 15.17.17 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/site/allclasses-noframe.html b/site/allclasses-noframe.html new file mode 100644 index 000000000..146bde4bf --- /dev/null +++ b/site/allclasses-noframe.html @@ -0,0 +1,661 @@ + + + + + + +All Classes (mailslurp-client-java 15.17.17 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/site/com/mailslurp/apis/AliasControllerApi.html b/site/com/mailslurp/apis/AliasControllerApi.html new file mode 100644 index 000000000..4325f7b9c --- /dev/null +++ b/site/com/mailslurp/apis/AliasControllerApi.html @@ -0,0 +1,1737 @@ + + + + + + +AliasControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class AliasControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class AliasControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AliasControllerApi

        +
        public AliasControllerApi()
        +
      • +
      + + + +
        +
      • +

        AliasControllerApi

        +
        public AliasControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        createAliasCall

        +
        public okhttp3.Call createAliasCall(CreateAliasOptions createAliasOptions,
        +                                    ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for createAlias
        +
        +
        Parameters:
        +
        createAliasOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createAlias

        +
        public AliasDto createAlias(CreateAliasOptions createAliasOptions)
        +                     throws ApiException
        +
        Create an email alias. Must be verified by clicking link inside verification email that will be sent to the address. Once verified the alias will be active. + Email aliases use a MailSlurp randomly generated email address (or a custom domain inbox that you provide) to mask or proxy a real email address. Emails sent to the alias address will be forwarded to the hidden email address it was created for. If you want to send a reply use the threadId attached
        +
        +
        Parameters:
        +
        createAliasOptions - (required)
        +
        Returns:
        +
        AliasDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createAliasWithHttpInfo

        +
        public ApiResponse<AliasDto> createAliasWithHttpInfo(CreateAliasOptions createAliasOptions)
        +                                              throws ApiException
        +
        Create an email alias. Must be verified by clicking link inside verification email that will be sent to the address. Once verified the alias will be active. + Email aliases use a MailSlurp randomly generated email address (or a custom domain inbox that you provide) to mask or proxy a real email address. Emails sent to the alias address will be forwarded to the hidden email address it was created for. If you want to send a reply use the threadId attached
        +
        +
        Parameters:
        +
        createAliasOptions - (required)
        +
        Returns:
        +
        ApiResponse<AliasDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createAliasAsync

        +
        public okhttp3.Call createAliasAsync(CreateAliasOptions createAliasOptions,
        +                                     ApiCallback<AliasDto> _callback)
        +                              throws ApiException
        +
        Create an email alias. Must be verified by clicking link inside verification email that will be sent to the address. Once verified the alias will be active. (asynchronously) + Email aliases use a MailSlurp randomly generated email address (or a custom domain inbox that you provide) to mask or proxy a real email address. Emails sent to the alias address will be forwarded to the hidden email address it was created for. If you want to send a reply use the threadId attached
        +
        +
        Parameters:
        +
        createAliasOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAliasCall

        +
        public okhttp3.Call deleteAliasCall(UUID aliasId,
        +                                    ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for deleteAlias
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAlias

        +
        public void deleteAlias(UUID aliasId)
        +                 throws ApiException
        +
        Delete an email alias
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAliasWithHttpInfo

        +
        public ApiResponse<Void> deleteAliasWithHttpInfo(UUID aliasId)
        +                                          throws ApiException
        +
        Delete an email alias
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAliasAsync

        +
        public okhttp3.Call deleteAliasAsync(UUID aliasId,
        +                                     ApiCallback<Void> _callback)
        +                              throws ApiException
        +
        Delete an email alias (asynchronously)
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasCall

        +
        public okhttp3.Call getAliasCall(UUID aliasId,
        +                                 ApiCallback _callback)
        +                          throws ApiException
        +
        Build call for getAlias
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAlias

        +
        public AliasDto getAlias(UUID aliasId)
        +                  throws ApiException
        +
        Get an email alias + Get an email alias by ID
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        Returns:
        +
        AliasDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasWithHttpInfo

        +
        public ApiResponse<AliasDto> getAliasWithHttpInfo(UUID aliasId)
        +                                           throws ApiException
        +
        Get an email alias + Get an email alias by ID
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        Returns:
        +
        ApiResponse<AliasDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasAsync

        +
        public okhttp3.Call getAliasAsync(UUID aliasId,
        +                                  ApiCallback<AliasDto> _callback)
        +                           throws ApiException
        +
        Get an email alias (asynchronously) + Get an email alias by ID
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasEmailsCall

        +
        public okhttp3.Call getAliasEmailsCall(UUID aliasId,
        +                                       Integer page,
        +                                       Integer size,
        +                                       String sort,
        +                                       OffsetDateTime since,
        +                                       OffsetDateTime before,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for getAliasEmails
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        page - Optional page index alias email list pagination (optional, default to 0)
        +
        size - Optional page size alias email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasEmails

        +
        public PageEmailProjection getAliasEmails(UUID aliasId,
        +                                          Integer page,
        +                                          Integer size,
        +                                          String sort,
        +                                          OffsetDateTime since,
        +                                          OffsetDateTime before)
        +                                   throws ApiException
        +
        Get emails for an alias + Get paginated emails for an alias by ID
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        page - Optional page index alias email list pagination (optional, default to 0)
        +
        size - Optional page size alias email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        Returns:
        +
        PageEmailProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasEmailsWithHttpInfo

        +
        public ApiResponse<PageEmailProjection> getAliasEmailsWithHttpInfo(UUID aliasId,
        +                                                                   Integer page,
        +                                                                   Integer size,
        +                                                                   String sort,
        +                                                                   OffsetDateTime since,
        +                                                                   OffsetDateTime before)
        +                                                            throws ApiException
        +
        Get emails for an alias + Get paginated emails for an alias by ID
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        page - Optional page index alias email list pagination (optional, default to 0)
        +
        size - Optional page size alias email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        Returns:
        +
        ApiResponse<PageEmailProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasEmailsAsync

        +
        public okhttp3.Call getAliasEmailsAsync(UUID aliasId,
        +                                        Integer page,
        +                                        Integer size,
        +                                        String sort,
        +                                        OffsetDateTime since,
        +                                        OffsetDateTime before,
        +                                        ApiCallback<PageEmailProjection> _callback)
        +                                 throws ApiException
        +
        Get emails for an alias (asynchronously) + Get paginated emails for an alias by ID
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        page - Optional page index alias email list pagination (optional, default to 0)
        +
        size - Optional page size alias email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasThreadsCall

        +
        public okhttp3.Call getAliasThreadsCall(UUID aliasId,
        +                                        Integer page,
        +                                        Integer size,
        +                                        String sort,
        +                                        OffsetDateTime since,
        +                                        OffsetDateTime before,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for getAliasThreads
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        page - Optional page index in thread list pagination (optional, default to 0)
        +
        size - Optional page size in thread list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasThreads

        +
        public PageThreadProjection getAliasThreads(UUID aliasId,
        +                                            Integer page,
        +                                            Integer size,
        +                                            String sort,
        +                                            OffsetDateTime since,
        +                                            OffsetDateTime before)
        +                                     throws ApiException
        +
        Get threads created for an alias + Returns threads created for an email alias in paginated form
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        page - Optional page index in thread list pagination (optional, default to 0)
        +
        size - Optional page size in thread list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        Returns:
        +
        PageThreadProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasThreadsWithHttpInfo

        +
        public ApiResponse<PageThreadProjection> getAliasThreadsWithHttpInfo(UUID aliasId,
        +                                                                     Integer page,
        +                                                                     Integer size,
        +                                                                     String sort,
        +                                                                     OffsetDateTime since,
        +                                                                     OffsetDateTime before)
        +                                                              throws ApiException
        +
        Get threads created for an alias + Returns threads created for an email alias in paginated form
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        page - Optional page index in thread list pagination (optional, default to 0)
        +
        size - Optional page size in thread list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        Returns:
        +
        ApiResponse<PageThreadProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasThreadsAsync

        +
        public okhttp3.Call getAliasThreadsAsync(UUID aliasId,
        +                                         Integer page,
        +                                         Integer size,
        +                                         String sort,
        +                                         OffsetDateTime since,
        +                                         OffsetDateTime before,
        +                                         ApiCallback<PageThreadProjection> _callback)
        +                                  throws ApiException
        +
        Get threads created for an alias (asynchronously) + Returns threads created for an email alias in paginated form
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        page - Optional page index in thread list pagination (optional, default to 0)
        +
        size - Optional page size in thread list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasesCall

        +
        public okhttp3.Call getAliasesCall(Integer page,
        +                                   Integer size,
        +                                   String sort,
        +                                   OffsetDateTime since,
        +                                   OffsetDateTime before,
        +                                   ApiCallback _callback)
        +                            throws ApiException
        +
        Build call for getAliases
        +
        +
        Parameters:
        +
        page - Optional page index in alias list pagination (optional, default to 0)
        +
        size - Optional page size in alias list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliases

        +
        public PageAlias getAliases(Integer page,
        +                            Integer size,
        +                            String sort,
        +                            OffsetDateTime since,
        +                            OffsetDateTime before)
        +                     throws ApiException
        +
        Get all email aliases you have created + Get all email aliases in paginated form
        +
        +
        Parameters:
        +
        page - Optional page index in alias list pagination (optional, default to 0)
        +
        size - Optional page size in alias list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageAlias
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasesWithHttpInfo

        +
        public ApiResponse<PageAlias> getAliasesWithHttpInfo(Integer page,
        +                                                     Integer size,
        +                                                     String sort,
        +                                                     OffsetDateTime since,
        +                                                     OffsetDateTime before)
        +                                              throws ApiException
        +
        Get all email aliases you have created + Get all email aliases in paginated form
        +
        +
        Parameters:
        +
        page - Optional page index in alias list pagination (optional, default to 0)
        +
        size - Optional page size in alias list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageAlias>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAliasesAsync

        +
        public okhttp3.Call getAliasesAsync(Integer page,
        +                                    Integer size,
        +                                    String sort,
        +                                    OffsetDateTime since,
        +                                    OffsetDateTime before,
        +                                    ApiCallback<PageAlias> _callback)
        +                             throws ApiException
        +
        Get all email aliases you have created (asynchronously) + Get all email aliases in paginated form
        +
        +
        Parameters:
        +
        page - Optional page index in alias list pagination (optional, default to 0)
        +
        size - Optional page size in alias list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        replyToAliasEmailCall

        +
        public okhttp3.Call replyToAliasEmailCall(UUID aliasId,
        +                                          UUID emailId,
        +                                          ReplyToAliasEmailOptions replyToAliasEmailOptions,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for replyToAliasEmail
        +
        +
        Parameters:
        +
        aliasId - ID of the alias that email belongs to (required)
        +
        emailId - ID of the email that should be replied to (required)
        +
        replyToAliasEmailOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        replyToAliasEmail

        +
        public SentEmailDto replyToAliasEmail(UUID aliasId,
        +                                      UUID emailId,
        +                                      ReplyToAliasEmailOptions replyToAliasEmailOptions)
        +                               throws ApiException
        +
        Reply to an email + Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`.
        +
        +
        Parameters:
        +
        aliasId - ID of the alias that email belongs to (required)
        +
        emailId - ID of the email that should be replied to (required)
        +
        replyToAliasEmailOptions - (required)
        +
        Returns:
        +
        SentEmailDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        replyToAliasEmailWithHttpInfo

        +
        public ApiResponse<SentEmailDto> replyToAliasEmailWithHttpInfo(UUID aliasId,
        +                                                               UUID emailId,
        +                                                               ReplyToAliasEmailOptions replyToAliasEmailOptions)
        +                                                        throws ApiException
        +
        Reply to an email + Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`.
        +
        +
        Parameters:
        +
        aliasId - ID of the alias that email belongs to (required)
        +
        emailId - ID of the email that should be replied to (required)
        +
        replyToAliasEmailOptions - (required)
        +
        Returns:
        +
        ApiResponse<SentEmailDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        replyToAliasEmailAsync

        +
        public okhttp3.Call replyToAliasEmailAsync(UUID aliasId,
        +                                           UUID emailId,
        +                                           ReplyToAliasEmailOptions replyToAliasEmailOptions,
        +                                           ApiCallback<SentEmailDto> _callback)
        +                                    throws ApiException
        +
        Reply to an email (asynchronously) + Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`.
        +
        +
        Parameters:
        +
        aliasId - ID of the alias that email belongs to (required)
        +
        emailId - ID of the email that should be replied to (required)
        +
        replyToAliasEmailOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        sendAliasEmailCall

        +
        public okhttp3.Call sendAliasEmailCall(UUID aliasId,
        +                                       SendEmailOptions sendEmailOptions,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for sendAliasEmail
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        sendEmailOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        sendAliasEmail

        +
        public SentEmailDto sendAliasEmail(UUID aliasId,
        +                                   SendEmailOptions sendEmailOptions)
        +                            throws ApiException
        +
        Send an email from an alias inbox + Send an email from an alias. Replies to the email will be forwarded to the alias masked email address
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        sendEmailOptions - (required)
        +
        Returns:
        +
        SentEmailDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        sendAliasEmailWithHttpInfo

        +
        public ApiResponse<SentEmailDto> sendAliasEmailWithHttpInfo(UUID aliasId,
        +                                                            SendEmailOptions sendEmailOptions)
        +                                                     throws ApiException
        +
        Send an email from an alias inbox + Send an email from an alias. Replies to the email will be forwarded to the alias masked email address
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        sendEmailOptions - (required)
        +
        Returns:
        +
        ApiResponse<SentEmailDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        sendAliasEmailAsync

        +
        public okhttp3.Call sendAliasEmailAsync(UUID aliasId,
        +                                        SendEmailOptions sendEmailOptions,
        +                                        ApiCallback<SentEmailDto> _callback)
        +                                 throws ApiException
        +
        Send an email from an alias inbox (asynchronously) + Send an email from an alias. Replies to the email will be forwarded to the alias masked email address
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        sendEmailOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateAliasCall

        +
        public okhttp3.Call updateAliasCall(UUID aliasId,
        +                                    UpdateAliasOptions updateAliasOptions,
        +                                    ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for updateAlias
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        updateAliasOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        202 Accepted -
        +
        +
      • +
      + + + +
        +
      • +

        updateAlias

        +
        public AliasDto updateAlias(UUID aliasId,
        +                            UpdateAliasOptions updateAliasOptions)
        +                     throws ApiException
        +
        Update an email alias
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        updateAliasOptions - (required)
        +
        Returns:
        +
        AliasDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        202 Accepted -
        +
        +
      • +
      + + + +
        +
      • +

        updateAliasWithHttpInfo

        +
        public ApiResponse<AliasDto> updateAliasWithHttpInfo(UUID aliasId,
        +                                                     UpdateAliasOptions updateAliasOptions)
        +                                              throws ApiException
        +
        Update an email alias
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        updateAliasOptions - (required)
        +
        Returns:
        +
        ApiResponse<AliasDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        202 Accepted -
        +
        +
      • +
      + + + +
        +
      • +

        updateAliasAsync

        +
        public okhttp3.Call updateAliasAsync(UUID aliasId,
        +                                     UpdateAliasOptions updateAliasOptions,
        +                                     ApiCallback<AliasDto> _callback)
        +                              throws ApiException
        +
        Update an email alias (asynchronously)
        +
        +
        Parameters:
        +
        aliasId - (required)
        +
        updateAliasOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        202 Accepted -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/AttachmentControllerApi.html b/site/com/mailslurp/apis/AttachmentControllerApi.html new file mode 100644 index 000000000..8484da1da --- /dev/null +++ b/site/com/mailslurp/apis/AttachmentControllerApi.html @@ -0,0 +1,1734 @@ + + + + + + +AttachmentControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class AttachmentControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class AttachmentControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AttachmentControllerApi

        +
        public AttachmentControllerApi()
        +
      • +
      + + + +
        +
      • +

        AttachmentControllerApi

        +
        public AttachmentControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        deleteAllAttachmentsCall

        +
        public okhttp3.Call deleteAllAttachmentsCall(ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for deleteAllAttachments
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllAttachments

        +
        public void deleteAllAttachments()
        +                          throws ApiException
        +
        Delete all attachments
        +
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllAttachmentsWithHttpInfo

        +
        public ApiResponse<Void> deleteAllAttachmentsWithHttpInfo()
        +                                                   throws ApiException
        +
        Delete all attachments
        +
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllAttachmentsAsync

        +
        public okhttp3.Call deleteAllAttachmentsAsync(ApiCallback<Void> _callback)
        +                                       throws ApiException
        +
        Delete all attachments (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAttachmentCall

        +
        public okhttp3.Call deleteAttachmentCall(String attachmentId,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for deleteAttachment
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAttachment

        +
        public void deleteAttachment(String attachmentId)
        +                      throws ApiException
        +
        Delete an attachment
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAttachmentWithHttpInfo

        +
        public ApiResponse<Void> deleteAttachmentWithHttpInfo(String attachmentId)
        +                                               throws ApiException
        +
        Delete an attachment
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAttachmentAsync

        +
        public okhttp3.Call deleteAttachmentAsync(String attachmentId,
        +                                          ApiCallback<Void> _callback)
        +                                   throws ApiException
        +
        Delete an attachment (asynchronously)
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentAsBase64EncodedCall

        +
        public okhttp3.Call downloadAttachmentAsBase64EncodedCall(String attachmentId,
        +                                                          ApiCallback _callback)
        +                                                   throws ApiException
        +
        Build call for downloadAttachmentAsBase64Encoded
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentAsBase64Encoded

        +
        public DownloadAttachmentDto downloadAttachmentAsBase64Encoded(String attachmentId)
        +                                                        throws ApiException
        +
        Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents. + Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses.
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        DownloadAttachmentDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentAsBase64EncodedWithHttpInfo

        +
        public ApiResponse<DownloadAttachmentDto> downloadAttachmentAsBase64EncodedWithHttpInfo(String attachmentId)
        +                                                                                 throws ApiException
        +
        Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents. + Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses.
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        ApiResponse<DownloadAttachmentDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentAsBase64EncodedAsync

        +
        public okhttp3.Call downloadAttachmentAsBase64EncodedAsync(String attachmentId,
        +                                                           ApiCallback<DownloadAttachmentDto> _callback)
        +                                                    throws ApiException
        +
        Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents. (asynchronously) + Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses.
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentAsBytesCall

        +
        public okhttp3.Call downloadAttachmentAsBytesCall(String attachmentId,
        +                                                  ApiCallback _callback)
        +                                           throws ApiException
        +
        Build call for downloadAttachmentAsBytes
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentAsBytes

        +
        public byte[] downloadAttachmentAsBytes(String attachmentId)
        +                                 throws ApiException
        +
        Download attachments. Get email attachment bytes. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints. + Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream.
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        byte[]
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentAsBytesWithHttpInfo

        +
        public ApiResponse<byte[]> downloadAttachmentAsBytesWithHttpInfo(String attachmentId)
        +                                                          throws ApiException
        +
        Download attachments. Get email attachment bytes. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints. + Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream.
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        ApiResponse<byte[]>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentAsBytesAsync

        +
        public okhttp3.Call downloadAttachmentAsBytesAsync(String attachmentId,
        +                                                   ApiCallback<byte[]> _callback)
        +                                            throws ApiException
        +
        Download attachments. Get email attachment bytes. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints. (asynchronously) + Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream.
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentCall

        +
        public okhttp3.Call getAttachmentCall(String attachmentId,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for getAttachment
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachment

        +
        public AttachmentEntity getAttachment(String attachmentId)
        +                               throws ApiException
        +
        Get an attachment entity
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        AttachmentEntity
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentWithHttpInfo

        +
        public ApiResponse<AttachmentEntity> getAttachmentWithHttpInfo(String attachmentId)
        +                                                        throws ApiException
        +
        Get an attachment entity
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        ApiResponse<AttachmentEntity>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentAsync

        +
        public okhttp3.Call getAttachmentAsync(String attachmentId,
        +                                       ApiCallback<AttachmentEntity> _callback)
        +                                throws ApiException
        +
        Get an attachment entity (asynchronously)
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentInfoCall

        +
        public okhttp3.Call getAttachmentInfoCall(String attachmentId,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for getAttachmentInfo
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentInfo

        +
        public AttachmentMetaData getAttachmentInfo(String attachmentId)
        +                                     throws ApiException
        +
        Get email attachment metadata information + Returns the metadata for an attachment. It is saved separately to the content of the attachment. Contains properties `name` and `content-type` and `content-length` in bytes for a given attachment.
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        AttachmentMetaData
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentInfoWithHttpInfo

        +
        public ApiResponse<AttachmentMetaData> getAttachmentInfoWithHttpInfo(String attachmentId)
        +                                                              throws ApiException
        +
        Get email attachment metadata information + Returns the metadata for an attachment. It is saved separately to the content of the attachment. Contains properties `name` and `content-type` and `content-length` in bytes for a given attachment.
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        ApiResponse<AttachmentMetaData>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentInfoAsync

        +
        public okhttp3.Call getAttachmentInfoAsync(String attachmentId,
        +                                           ApiCallback<AttachmentMetaData> _callback)
        +                                    throws ApiException
        +
        Get email attachment metadata information (asynchronously) + Returns the metadata for an attachment. It is saved separately to the content of the attachment. Contains properties `name` and `content-type` and `content-length` in bytes for a given attachment.
        +
        +
        Parameters:
        +
        attachmentId - ID of attachment (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentsCall

        +
        public okhttp3.Call getAttachmentsCall(Integer page,
        +                                       Integer size,
        +                                       String sort,
        +                                       String fileNameFilter,
        +                                       OffsetDateTime since,
        +                                       OffsetDateTime before,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for getAttachments
        +
        +
        Parameters:
        +
        page - Optional page index for list pagination (optional, default to 0)
        +
        size - Optional page size for list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        fileNameFilter - Optional file name and content type search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachments

        +
        public PageAttachmentEntity getAttachments(Integer page,
        +                                           Integer size,
        +                                           String sort,
        +                                           String fileNameFilter,
        +                                           OffsetDateTime since,
        +                                           OffsetDateTime before)
        +                                    throws ApiException
        +
        Get email attachments + Get all attachments in paginated response. Each entity contains meta data for the attachment such as `name` and `content-type`. Use the `attachmentId` and the download endpoints to get the file contents.
        +
        +
        Parameters:
        +
        page - Optional page index for list pagination (optional, default to 0)
        +
        size - Optional page size for list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        fileNameFilter - Optional file name and content type search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageAttachmentEntity
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentsWithHttpInfo

        +
        public ApiResponse<PageAttachmentEntity> getAttachmentsWithHttpInfo(Integer page,
        +                                                                    Integer size,
        +                                                                    String sort,
        +                                                                    String fileNameFilter,
        +                                                                    OffsetDateTime since,
        +                                                                    OffsetDateTime before)
        +                                                             throws ApiException
        +
        Get email attachments + Get all attachments in paginated response. Each entity contains meta data for the attachment such as `name` and `content-type`. Use the `attachmentId` and the download endpoints to get the file contents.
        +
        +
        Parameters:
        +
        page - Optional page index for list pagination (optional, default to 0)
        +
        size - Optional page size for list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        fileNameFilter - Optional file name and content type search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageAttachmentEntity>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentsAsync

        +
        public okhttp3.Call getAttachmentsAsync(Integer page,
        +                                        Integer size,
        +                                        String sort,
        +                                        String fileNameFilter,
        +                                        OffsetDateTime since,
        +                                        OffsetDateTime before,
        +                                        ApiCallback<PageAttachmentEntity> _callback)
        +                                 throws ApiException
        +
        Get email attachments (asynchronously) + Get all attachments in paginated response. Each entity contains meta data for the attachment such as `name` and `content-type`. Use the `attachmentId` and the download endpoints to get the file contents.
        +
        +
        Parameters:
        +
        page - Optional page index for list pagination (optional, default to 0)
        +
        size - Optional page size for list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        fileNameFilter - Optional file name and content type search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        uploadAttachmentCall

        +
        public okhttp3.Call uploadAttachmentCall(UploadAttachmentOptions uploadAttachmentOptions,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for uploadAttachment
        +
        +
        Parameters:
        +
        uploadAttachmentOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        uploadAttachment

        +
        public List<String> uploadAttachment(UploadAttachmentOptions uploadAttachmentOptions)
        +                              throws ApiException
        +
        Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment.
        +
        +
        Parameters:
        +
        uploadAttachmentOptions - (required)
        +
        Returns:
        +
        List<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        uploadAttachmentWithHttpInfo

        +
        public ApiResponse<List<String>> uploadAttachmentWithHttpInfo(UploadAttachmentOptions uploadAttachmentOptions)
        +                                                       throws ApiException
        +
        Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment.
        +
        +
        Parameters:
        +
        uploadAttachmentOptions - (required)
        +
        Returns:
        +
        ApiResponse<List<String>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        uploadAttachmentAsync

        +
        public okhttp3.Call uploadAttachmentAsync(UploadAttachmentOptions uploadAttachmentOptions,
        +                                          ApiCallback<List<String>> _callback)
        +                                   throws ApiException
        +
        Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment. (asynchronously)
        +
        +
        Parameters:
        +
        uploadAttachmentOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        uploadAttachmentBytesCall

        +
        public okhttp3.Call uploadAttachmentBytesCall(UploadAttachmentBytesRequest uploadAttachmentBytesRequest,
        +                                              String contentType,
        +                                              String filename,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for uploadAttachmentBytes
        +
        +
        Parameters:
        +
        uploadAttachmentBytesRequest - (required)
        +
        contentType - Optional contentType for file. For instance `application/pdf` (optional)
        +
        filename - Optional filename to save upload with (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        uploadAttachmentBytes

        +
        public List<String> uploadAttachmentBytes(UploadAttachmentBytesRequest uploadAttachmentBytesRequest,
        +                                          String contentType,
        +                                          String filename)
        +                                   throws ApiException
        +
        Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment.
        +
        +
        Parameters:
        +
        uploadAttachmentBytesRequest - (required)
        +
        contentType - Optional contentType for file. For instance `application/pdf` (optional)
        +
        filename - Optional filename to save upload with (optional)
        +
        Returns:
        +
        List<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        uploadAttachmentBytesWithHttpInfo

        +
        public ApiResponse<List<String>> uploadAttachmentBytesWithHttpInfo(UploadAttachmentBytesRequest uploadAttachmentBytesRequest,
        +                                                                   String contentType,
        +                                                                   String filename)
        +                                                            throws ApiException
        +
        Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment.
        +
        +
        Parameters:
        +
        uploadAttachmentBytesRequest - (required)
        +
        contentType - Optional contentType for file. For instance `application/pdf` (optional)
        +
        filename - Optional filename to save upload with (optional)
        +
        Returns:
        +
        ApiResponse<List<String>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        uploadAttachmentBytesAsync

        +
        public okhttp3.Call uploadAttachmentBytesAsync(UploadAttachmentBytesRequest uploadAttachmentBytesRequest,
        +                                               String contentType,
        +                                               String filename,
        +                                               ApiCallback<List<String>> _callback)
        +                                        throws ApiException
        +
        Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment. (asynchronously)
        +
        +
        Parameters:
        +
        uploadAttachmentBytesRequest - (required)
        +
        contentType - Optional contentType for file. For instance `application/pdf` (optional)
        +
        filename - Optional filename to save upload with (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        uploadMultipartFormCall

        +
        public okhttp3.Call uploadMultipartFormCall(String contentType,
        +                                            String filename,
        +                                            String xFilename,
        +                                            UploadMultipartFormRequest uploadMultipartFormRequest,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for uploadMultipartForm
        +
        +
        Parameters:
        +
        contentType - Optional content type of attachment (optional)
        +
        filename - Optional name of file (optional)
        +
        xFilename - Optional content type header of attachment (optional)
        +
        uploadMultipartFormRequest - (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        uploadMultipartForm

        +
        public List<String> uploadMultipartForm(String contentType,
        +                                        String filename,
        +                                        String xFilename,
        +                                        UploadMultipartFormRequest uploadMultipartFormRequest)
        +                                 throws ApiException
        +
        Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment.
        +
        +
        Parameters:
        +
        contentType - Optional content type of attachment (optional)
        +
        filename - Optional name of file (optional)
        +
        xFilename - Optional content type header of attachment (optional)
        +
        uploadMultipartFormRequest - (optional)
        +
        Returns:
        +
        List<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        uploadMultipartFormWithHttpInfo

        +
        public ApiResponse<List<String>> uploadMultipartFormWithHttpInfo(String contentType,
        +                                                                 String filename,
        +                                                                 String xFilename,
        +                                                                 UploadMultipartFormRequest uploadMultipartFormRequest)
        +                                                          throws ApiException
        +
        Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment.
        +
        +
        Parameters:
        +
        contentType - Optional content type of attachment (optional)
        +
        filename - Optional name of file (optional)
        +
        xFilename - Optional content type header of attachment (optional)
        +
        uploadMultipartFormRequest - (optional)
        +
        Returns:
        +
        ApiResponse<List<String>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        uploadMultipartFormAsync

        +
        public okhttp3.Call uploadMultipartFormAsync(String contentType,
        +                                             String filename,
        +                                             String xFilename,
        +                                             UploadMultipartFormRequest uploadMultipartFormRequest,
        +                                             ApiCallback<List<String>> _callback)
        +                                      throws ApiException
        +
        Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment. (asynchronously)
        +
        +
        Parameters:
        +
        contentType - Optional content type of attachment (optional)
        +
        filename - Optional name of file (optional)
        +
        xFilename - Optional content type header of attachment (optional)
        +
        uploadMultipartFormRequest - (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/BounceControllerApi.html b/site/com/mailslurp/apis/BounceControllerApi.html new file mode 100644 index 000000000..e5d660fc9 --- /dev/null +++ b/site/com/mailslurp/apis/BounceControllerApi.html @@ -0,0 +1,1436 @@ + + + + + + +BounceControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class BounceControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class BounceControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BounceControllerApi

        +
        public BounceControllerApi()
        +
      • +
      + + + +
        +
      • +

        BounceControllerApi

        +
        public BounceControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        filterBouncedRecipientCall

        +
        public okhttp3.Call filterBouncedRecipientCall(FilterBouncedRecipientsOptions filterBouncedRecipientsOptions,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for filterBouncedRecipient
        +
        +
        Parameters:
        +
        filterBouncedRecipientsOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        filterBouncedRecipient

        +
        public FilterBouncedRecipientsResult filterBouncedRecipient(FilterBouncedRecipientsOptions filterBouncedRecipientsOptions)
        +                                                     throws ApiException
        +
        Filter a list of email recipients and remove those who have bounced + Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints
        +
        +
        Parameters:
        +
        filterBouncedRecipientsOptions - (required)
        +
        Returns:
        +
        FilterBouncedRecipientsResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        filterBouncedRecipientWithHttpInfo

        +
        public ApiResponse<FilterBouncedRecipientsResult> filterBouncedRecipientWithHttpInfo(FilterBouncedRecipientsOptions filterBouncedRecipientsOptions)
        +                                                                              throws ApiException
        +
        Filter a list of email recipients and remove those who have bounced + Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints
        +
        +
        Parameters:
        +
        filterBouncedRecipientsOptions - (required)
        +
        Returns:
        +
        ApiResponse<FilterBouncedRecipientsResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        filterBouncedRecipientAsync

        +
        public okhttp3.Call filterBouncedRecipientAsync(FilterBouncedRecipientsOptions filterBouncedRecipientsOptions,
        +                                                ApiCallback<FilterBouncedRecipientsResult> _callback)
        +                                         throws ApiException
        +
        Filter a list of email recipients and remove those who have bounced (asynchronously) + Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints
        +
        +
        Parameters:
        +
        filterBouncedRecipientsOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedEmailCall

        +
        public okhttp3.Call getBouncedEmailCall(UUID id,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for getBouncedEmail
        +
        +
        Parameters:
        +
        id - ID of the bounced email to fetch (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedEmail

        +
        public BouncedEmailDto getBouncedEmail(UUID id)
        +                                throws ApiException
        +
        Get a bounced email. + Bounced emails are email you have sent that were rejected by a recipient
        +
        +
        Parameters:
        +
        id - ID of the bounced email to fetch (required)
        +
        Returns:
        +
        BouncedEmailDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedEmailWithHttpInfo

        +
        public ApiResponse<BouncedEmailDto> getBouncedEmailWithHttpInfo(UUID id)
        +                                                         throws ApiException
        +
        Get a bounced email. + Bounced emails are email you have sent that were rejected by a recipient
        +
        +
        Parameters:
        +
        id - ID of the bounced email to fetch (required)
        +
        Returns:
        +
        ApiResponse<BouncedEmailDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedEmailAsync

        +
        public okhttp3.Call getBouncedEmailAsync(UUID id,
        +                                         ApiCallback<BouncedEmailDto> _callback)
        +                                  throws ApiException
        +
        Get a bounced email. (asynchronously) + Bounced emails are email you have sent that were rejected by a recipient
        +
        +
        Parameters:
        +
        id - ID of the bounced email to fetch (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedEmailsCall

        +
        public okhttp3.Call getBouncedEmailsCall(Integer page,
        +                                         Integer size,
        +                                         String sort,
        +                                         OffsetDateTime since,
        +                                         OffsetDateTime before,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for getBouncedEmails
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedEmails

        +
        public PageBouncedEmail getBouncedEmails(Integer page,
        +                                         Integer size,
        +                                         String sort,
        +                                         OffsetDateTime since,
        +                                         OffsetDateTime before)
        +                                  throws ApiException
        +
        Get paginated list of bounced emails. + Bounced emails are email you have sent that were rejected by a recipient
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageBouncedEmail
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedEmailsWithHttpInfo

        +
        public ApiResponse<PageBouncedEmail> getBouncedEmailsWithHttpInfo(Integer page,
        +                                                                  Integer size,
        +                                                                  String sort,
        +                                                                  OffsetDateTime since,
        +                                                                  OffsetDateTime before)
        +                                                           throws ApiException
        +
        Get paginated list of bounced emails. + Bounced emails are email you have sent that were rejected by a recipient
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageBouncedEmail>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedEmailsAsync

        +
        public okhttp3.Call getBouncedEmailsAsync(Integer page,
        +                                          Integer size,
        +                                          String sort,
        +                                          OffsetDateTime since,
        +                                          OffsetDateTime before,
        +                                          ApiCallback<PageBouncedEmail> _callback)
        +                                   throws ApiException
        +
        Get paginated list of bounced emails. (asynchronously) + Bounced emails are email you have sent that were rejected by a recipient
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedRecipientCall

        +
        public okhttp3.Call getBouncedRecipientCall(UUID id,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for getBouncedRecipient
        +
        +
        Parameters:
        +
        id - ID of the bounced recipient (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedRecipient

        +
        public BouncedRecipientDto getBouncedRecipient(UUID id)
        +                                        throws ApiException
        +
        Get a bounced email. + Bounced emails are email you have sent that were rejected by a recipient
        +
        +
        Parameters:
        +
        id - ID of the bounced recipient (required)
        +
        Returns:
        +
        BouncedRecipientDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedRecipientWithHttpInfo

        +
        public ApiResponse<BouncedRecipientDto> getBouncedRecipientWithHttpInfo(UUID id)
        +                                                                 throws ApiException
        +
        Get a bounced email. + Bounced emails are email you have sent that were rejected by a recipient
        +
        +
        Parameters:
        +
        id - ID of the bounced recipient (required)
        +
        Returns:
        +
        ApiResponse<BouncedRecipientDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedRecipientAsync

        +
        public okhttp3.Call getBouncedRecipientAsync(UUID id,
        +                                             ApiCallback<BouncedRecipientDto> _callback)
        +                                      throws ApiException
        +
        Get a bounced email. (asynchronously) + Bounced emails are email you have sent that were rejected by a recipient
        +
        +
        Parameters:
        +
        id - ID of the bounced recipient (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedRecipientsCall

        +
        public okhttp3.Call getBouncedRecipientsCall(Integer page,
        +                                             Integer size,
        +                                             String sort,
        +                                             OffsetDateTime since,
        +                                             OffsetDateTime before,
        +                                             ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for getBouncedRecipients
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedRecipients

        +
        public PageBouncedRecipients getBouncedRecipients(Integer page,
        +                                                  Integer size,
        +                                                  String sort,
        +                                                  OffsetDateTime since,
        +                                                  OffsetDateTime before)
        +                                           throws ApiException
        +
        Get paginated list of bounced recipients. + Bounced recipients are email addresses that you have sent emails to that did not accept the sent email. Once a recipient is bounced you cannot send emails to that address.
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageBouncedRecipients
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedRecipientsWithHttpInfo

        +
        public ApiResponse<PageBouncedRecipients> getBouncedRecipientsWithHttpInfo(Integer page,
        +                                                                           Integer size,
        +                                                                           String sort,
        +                                                                           OffsetDateTime since,
        +                                                                           OffsetDateTime before)
        +                                                                    throws ApiException
        +
        Get paginated list of bounced recipients. + Bounced recipients are email addresses that you have sent emails to that did not accept the sent email. Once a recipient is bounced you cannot send emails to that address.
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageBouncedRecipients>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getBouncedRecipientsAsync

        +
        public okhttp3.Call getBouncedRecipientsAsync(Integer page,
        +                                              Integer size,
        +                                              String sort,
        +                                              OffsetDateTime since,
        +                                              OffsetDateTime before,
        +                                              ApiCallback<PageBouncedRecipients> _callback)
        +                                       throws ApiException
        +
        Get paginated list of bounced recipients. (asynchronously) + Bounced recipients are email addresses that you have sent emails to that did not accept the sent email. Once a recipient is bounced you cannot send emails to that address.
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getComplaintsCall

        +
        public okhttp3.Call getComplaintsCall(Integer page,
        +                                      Integer size,
        +                                      String sort,
        +                                      OffsetDateTime since,
        +                                      OffsetDateTime before,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for getComplaints
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getComplaints

        +
        public PageComplaint getComplaints(Integer page,
        +                                   Integer size,
        +                                   String sort,
        +                                   OffsetDateTime since,
        +                                   OffsetDateTime before)
        +                            throws ApiException
        +
        Get paginated list of complaints. + SMTP complaints made against your account
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageComplaint
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getComplaintsWithHttpInfo

        +
        public ApiResponse<PageComplaint> getComplaintsWithHttpInfo(Integer page,
        +                                                            Integer size,
        +                                                            String sort,
        +                                                            OffsetDateTime since,
        +                                                            OffsetDateTime before)
        +                                                     throws ApiException
        +
        Get paginated list of complaints. + SMTP complaints made against your account
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageComplaint>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getComplaintsAsync

        +
        public okhttp3.Call getComplaintsAsync(Integer page,
        +                                       Integer size,
        +                                       String sort,
        +                                       OffsetDateTime since,
        +                                       OffsetDateTime before,
        +                                       ApiCallback<PageComplaint> _callback)
        +                                throws ApiException
        +
        Get paginated list of complaints. (asynchronously) + SMTP complaints made against your account
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getListUnsubscribeRecipientsCall

        +
        public okhttp3.Call getListUnsubscribeRecipientsCall(Integer page,
        +                                                     Integer size,
        +                                                     String sort,
        +                                                     UUID domainId,
        +                                                     ApiCallback _callback)
        +                                              throws ApiException
        +
        Build call for getListUnsubscribeRecipients
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        domainId - Filter by domainId (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getListUnsubscribeRecipients

        +
        public PageListUnsubscribeRecipients getListUnsubscribeRecipients(Integer page,
        +                                                                  Integer size,
        +                                                                  String sort,
        +                                                                  UUID domainId)
        +                                                           throws ApiException
        +
        Get paginated list of unsubscribed recipients. + Unsubscribed recipient have unsubscribed from a mailing list for a user or domain and cannot be contacted again.
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        domainId - Filter by domainId (optional)
        +
        Returns:
        +
        PageListUnsubscribeRecipients
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getListUnsubscribeRecipientsWithHttpInfo

        +
        public ApiResponse<PageListUnsubscribeRecipients> getListUnsubscribeRecipientsWithHttpInfo(Integer page,
        +                                                                                           Integer size,
        +                                                                                           String sort,
        +                                                                                           UUID domainId)
        +                                                                                    throws ApiException
        +
        Get paginated list of unsubscribed recipients. + Unsubscribed recipient have unsubscribed from a mailing list for a user or domain and cannot be contacted again.
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        domainId - Filter by domainId (optional)
        +
        Returns:
        +
        ApiResponse<PageListUnsubscribeRecipients>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getListUnsubscribeRecipientsAsync

        +
        public okhttp3.Call getListUnsubscribeRecipientsAsync(Integer page,
        +                                                      Integer size,
        +                                                      String sort,
        +                                                      UUID domainId,
        +                                                      ApiCallback<PageListUnsubscribeRecipients> _callback)
        +                                               throws ApiException
        +
        Get paginated list of unsubscribed recipients. (asynchronously) + Unsubscribed recipient have unsubscribed from a mailing list for a user or domain and cannot be contacted again.
        +
        +
        Parameters:
        +
        page - Optional page index (optional, default to 0)
        +
        size - Optional page size (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        domainId - Filter by domainId (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/BulkActionsControllerApi.html b/site/com/mailslurp/apis/BulkActionsControllerApi.html new file mode 100644 index 000000000..24a9db2df --- /dev/null +++ b/site/com/mailslurp/apis/BulkActionsControllerApi.html @@ -0,0 +1,724 @@ + + + + + + +BulkActionsControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class BulkActionsControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class BulkActionsControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BulkActionsControllerApi

        +
        public BulkActionsControllerApi()
        +
      • +
      + + + +
        +
      • +

        BulkActionsControllerApi

        +
        public BulkActionsControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        bulkCreateInboxesCall

        +
        public okhttp3.Call bulkCreateInboxesCall(Integer count,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for bulkCreateInboxes
        +
        +
        Parameters:
        +
        count - Number of inboxes to be created in bulk (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        bulkCreateInboxes

        +
        public List<InboxDto> bulkCreateInboxes(Integer count)
        +                                 throws ApiException
        +
        Bulk create Inboxes (email addresses)
        +
        +
        Parameters:
        +
        count - Number of inboxes to be created in bulk (required)
        +
        Returns:
        +
        List<InboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        bulkCreateInboxesWithHttpInfo

        +
        public ApiResponse<List<InboxDto>> bulkCreateInboxesWithHttpInfo(Integer count)
        +                                                          throws ApiException
        +
        Bulk create Inboxes (email addresses)
        +
        +
        Parameters:
        +
        count - Number of inboxes to be created in bulk (required)
        +
        Returns:
        +
        ApiResponse<List<InboxDto>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        bulkCreateInboxesAsync

        +
        public okhttp3.Call bulkCreateInboxesAsync(Integer count,
        +                                           ApiCallback<List<InboxDto>> _callback)
        +                                    throws ApiException
        +
        Bulk create Inboxes (email addresses) (asynchronously)
        +
        +
        Parameters:
        +
        count - Number of inboxes to be created in bulk (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        bulkDeleteInboxesCall

        +
        public okhttp3.Call bulkDeleteInboxesCall(List<UUID> UUID,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for bulkDeleteInboxes
        +
        +
        Parameters:
        +
        UUID - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        bulkDeleteInboxes

        +
        public void bulkDeleteInboxes(List<UUID> UUID)
        +                       throws ApiException
        +
        Bulk Delete Inboxes
        +
        +
        Parameters:
        +
        UUID - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        bulkDeleteInboxesWithHttpInfo

        +
        public ApiResponse<Void> bulkDeleteInboxesWithHttpInfo(List<UUID> UUID)
        +                                                throws ApiException
        +
        Bulk Delete Inboxes
        +
        +
        Parameters:
        +
        UUID - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        bulkDeleteInboxesAsync

        +
        public okhttp3.Call bulkDeleteInboxesAsync(List<UUID> UUID,
        +                                           ApiCallback<Void> _callback)
        +                                    throws ApiException
        +
        Bulk Delete Inboxes (asynchronously)
        +
        +
        Parameters:
        +
        UUID - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        bulkSendEmailsCall

        +
        public okhttp3.Call bulkSendEmailsCall(BulkSendEmailOptions bulkSendEmailOptions,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for bulkSendEmails
        +
        +
        Parameters:
        +
        bulkSendEmailOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        bulkSendEmails

        +
        public void bulkSendEmails(BulkSendEmailOptions bulkSendEmailOptions)
        +                    throws ApiException
        +
        Bulk Send Emails
        +
        +
        Parameters:
        +
        bulkSendEmailOptions - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        bulkSendEmailsWithHttpInfo

        +
        public ApiResponse<Void> bulkSendEmailsWithHttpInfo(BulkSendEmailOptions bulkSendEmailOptions)
        +                                             throws ApiException
        +
        Bulk Send Emails
        +
        +
        Parameters:
        +
        bulkSendEmailOptions - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        bulkSendEmailsAsync

        +
        public okhttp3.Call bulkSendEmailsAsync(BulkSendEmailOptions bulkSendEmailOptions,
        +                                        ApiCallback<Void> _callback)
        +                                 throws ApiException
        +
        Bulk Send Emails (asynchronously)
        +
        +
        Parameters:
        +
        bulkSendEmailOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/CommonActionsControllerApi.html b/site/com/mailslurp/apis/CommonActionsControllerApi.html new file mode 100644 index 000000000..b0ba20f48 --- /dev/null +++ b/site/com/mailslurp/apis/CommonActionsControllerApi.html @@ -0,0 +1,1316 @@ + + + + + + +CommonActionsControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class CommonActionsControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class CommonActionsControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CommonActionsControllerApi

        +
        public CommonActionsControllerApi()
        +
      • +
      + + + +
        +
      • +

        CommonActionsControllerApi

        +
        public CommonActionsControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        createNewEmailAddressCall

        +
        public okhttp3.Call createNewEmailAddressCall(Boolean allowTeamAccess,
        +                                              Boolean useDomainPool,
        +                                              OffsetDateTime expiresAt,
        +                                              Long expiresIn,
        +                                              String emailAddress,
        +                                              String inboxType,
        +                                              String description,
        +                                              String name,
        +                                              List<String> tags,
        +                                              Boolean favourite,
        +                                              Boolean virtualInbox,
        +                                              Boolean useShortAddress,
        +                                              String domainName,
        +                                              UUID domainId,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for createNewEmailAddress
        +
        +
        Parameters:
        +
        allowTeamAccess - (optional)
        +
        useDomainPool - (optional)
        +
        expiresAt - (optional)
        +
        expiresIn - (optional)
        +
        emailAddress - (optional)
        +
        inboxType - (optional)
        +
        description - (optional)
        +
        name - (optional)
        +
        tags - (optional)
        +
        favourite - (optional)
        +
        virtualInbox - (optional)
        +
        useShortAddress - (optional)
        +
        domainName - (optional)
        +
        domainId - (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createNewEmailAddress

        +
        public InboxDto createNewEmailAddress(Boolean allowTeamAccess,
        +                                      Boolean useDomainPool,
        +                                      OffsetDateTime expiresAt,
        +                                      Long expiresIn,
        +                                      String emailAddress,
        +                                      String inboxType,
        +                                      String description,
        +                                      String name,
        +                                      List<String> tags,
        +                                      Boolean favourite,
        +                                      Boolean virtualInbox,
        +                                      Boolean useShortAddress,
        +                                      String domainName,
        +                                      UUID domainId)
        +                               throws ApiException
        +
        Create new random inbox + Returns an Inbox with an `id` and an `emailAddress`
        +
        +
        Parameters:
        +
        allowTeamAccess - (optional)
        +
        useDomainPool - (optional)
        +
        expiresAt - (optional)
        +
        expiresIn - (optional)
        +
        emailAddress - (optional)
        +
        inboxType - (optional)
        +
        description - (optional)
        +
        name - (optional)
        +
        tags - (optional)
        +
        favourite - (optional)
        +
        virtualInbox - (optional)
        +
        useShortAddress - (optional)
        +
        domainName - (optional)
        +
        domainId - (optional)
        +
        Returns:
        +
        InboxDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createNewEmailAddressWithHttpInfo

        +
        public ApiResponse<InboxDto> createNewEmailAddressWithHttpInfo(Boolean allowTeamAccess,
        +                                                               Boolean useDomainPool,
        +                                                               OffsetDateTime expiresAt,
        +                                                               Long expiresIn,
        +                                                               String emailAddress,
        +                                                               String inboxType,
        +                                                               String description,
        +                                                               String name,
        +                                                               List<String> tags,
        +                                                               Boolean favourite,
        +                                                               Boolean virtualInbox,
        +                                                               Boolean useShortAddress,
        +                                                               String domainName,
        +                                                               UUID domainId)
        +                                                        throws ApiException
        +
        Create new random inbox + Returns an Inbox with an `id` and an `emailAddress`
        +
        +
        Parameters:
        +
        allowTeamAccess - (optional)
        +
        useDomainPool - (optional)
        +
        expiresAt - (optional)
        +
        expiresIn - (optional)
        +
        emailAddress - (optional)
        +
        inboxType - (optional)
        +
        description - (optional)
        +
        name - (optional)
        +
        tags - (optional)
        +
        favourite - (optional)
        +
        virtualInbox - (optional)
        +
        useShortAddress - (optional)
        +
        domainName - (optional)
        +
        domainId - (optional)
        +
        Returns:
        +
        ApiResponse<InboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createNewEmailAddressAsync

        +
        public okhttp3.Call createNewEmailAddressAsync(Boolean allowTeamAccess,
        +                                               Boolean useDomainPool,
        +                                               OffsetDateTime expiresAt,
        +                                               Long expiresIn,
        +                                               String emailAddress,
        +                                               String inboxType,
        +                                               String description,
        +                                               String name,
        +                                               List<String> tags,
        +                                               Boolean favourite,
        +                                               Boolean virtualInbox,
        +                                               Boolean useShortAddress,
        +                                               String domainName,
        +                                               UUID domainId,
        +                                               ApiCallback<InboxDto> _callback)
        +                                        throws ApiException
        +
        Create new random inbox (asynchronously) + Returns an Inbox with an `id` and an `emailAddress`
        +
        +
        Parameters:
        +
        allowTeamAccess - (optional)
        +
        useDomainPool - (optional)
        +
        expiresAt - (optional)
        +
        expiresIn - (optional)
        +
        emailAddress - (optional)
        +
        inboxType - (optional)
        +
        description - (optional)
        +
        name - (optional)
        +
        tags - (optional)
        +
        favourite - (optional)
        +
        virtualInbox - (optional)
        +
        useShortAddress - (optional)
        +
        domainName - (optional)
        +
        domainId - (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createRandomInboxCall

        +
        public okhttp3.Call createRandomInboxCall(Boolean allowTeamAccess,
        +                                          Boolean useDomainPool,
        +                                          OffsetDateTime expiresAt,
        +                                          Long expiresIn,
        +                                          String emailAddress,
        +                                          String inboxType,
        +                                          String description,
        +                                          String name,
        +                                          List<String> tags,
        +                                          Boolean favourite,
        +                                          Boolean virtualInbox,
        +                                          Boolean useShortAddress,
        +                                          String domainName,
        +                                          UUID domainId,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for createRandomInbox
        +
        +
        Parameters:
        +
        allowTeamAccess - (optional)
        +
        useDomainPool - (optional)
        +
        expiresAt - (optional)
        +
        expiresIn - (optional)
        +
        emailAddress - (optional)
        +
        inboxType - (optional)
        +
        description - (optional)
        +
        name - (optional)
        +
        tags - (optional)
        +
        favourite - (optional)
        +
        virtualInbox - (optional)
        +
        useShortAddress - (optional)
        +
        domainName - (optional)
        +
        domainId - (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createRandomInbox

        +
        public InboxDto createRandomInbox(Boolean allowTeamAccess,
        +                                  Boolean useDomainPool,
        +                                  OffsetDateTime expiresAt,
        +                                  Long expiresIn,
        +                                  String emailAddress,
        +                                  String inboxType,
        +                                  String description,
        +                                  String name,
        +                                  List<String> tags,
        +                                  Boolean favourite,
        +                                  Boolean virtualInbox,
        +                                  Boolean useShortAddress,
        +                                  String domainName,
        +                                  UUID domainId)
        +                           throws ApiException
        +
        Create new random inbox + Returns an Inbox with an `id` and an `emailAddress`
        +
        +
        Parameters:
        +
        allowTeamAccess - (optional)
        +
        useDomainPool - (optional)
        +
        expiresAt - (optional)
        +
        expiresIn - (optional)
        +
        emailAddress - (optional)
        +
        inboxType - (optional)
        +
        description - (optional)
        +
        name - (optional)
        +
        tags - (optional)
        +
        favourite - (optional)
        +
        virtualInbox - (optional)
        +
        useShortAddress - (optional)
        +
        domainName - (optional)
        +
        domainId - (optional)
        +
        Returns:
        +
        InboxDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createRandomInboxWithHttpInfo

        +
        public ApiResponse<InboxDto> createRandomInboxWithHttpInfo(Boolean allowTeamAccess,
        +                                                           Boolean useDomainPool,
        +                                                           OffsetDateTime expiresAt,
        +                                                           Long expiresIn,
        +                                                           String emailAddress,
        +                                                           String inboxType,
        +                                                           String description,
        +                                                           String name,
        +                                                           List<String> tags,
        +                                                           Boolean favourite,
        +                                                           Boolean virtualInbox,
        +                                                           Boolean useShortAddress,
        +                                                           String domainName,
        +                                                           UUID domainId)
        +                                                    throws ApiException
        +
        Create new random inbox + Returns an Inbox with an `id` and an `emailAddress`
        +
        +
        Parameters:
        +
        allowTeamAccess - (optional)
        +
        useDomainPool - (optional)
        +
        expiresAt - (optional)
        +
        expiresIn - (optional)
        +
        emailAddress - (optional)
        +
        inboxType - (optional)
        +
        description - (optional)
        +
        name - (optional)
        +
        tags - (optional)
        +
        favourite - (optional)
        +
        virtualInbox - (optional)
        +
        useShortAddress - (optional)
        +
        domainName - (optional)
        +
        domainId - (optional)
        +
        Returns:
        +
        ApiResponse<InboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createRandomInboxAsync

        +
        public okhttp3.Call createRandomInboxAsync(Boolean allowTeamAccess,
        +                                           Boolean useDomainPool,
        +                                           OffsetDateTime expiresAt,
        +                                           Long expiresIn,
        +                                           String emailAddress,
        +                                           String inboxType,
        +                                           String description,
        +                                           String name,
        +                                           List<String> tags,
        +                                           Boolean favourite,
        +                                           Boolean virtualInbox,
        +                                           Boolean useShortAddress,
        +                                           String domainName,
        +                                           UUID domainId,
        +                                           ApiCallback<InboxDto> _callback)
        +                                    throws ApiException
        +
        Create new random inbox (asynchronously) + Returns an Inbox with an `id` and an `emailAddress`
        +
        +
        Parameters:
        +
        allowTeamAccess - (optional)
        +
        useDomainPool - (optional)
        +
        expiresAt - (optional)
        +
        expiresIn - (optional)
        +
        emailAddress - (optional)
        +
        inboxType - (optional)
        +
        description - (optional)
        +
        name - (optional)
        +
        tags - (optional)
        +
        favourite - (optional)
        +
        virtualInbox - (optional)
        +
        useShortAddress - (optional)
        +
        domainName - (optional)
        +
        domainId - (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmailAddressCall

        +
        public okhttp3.Call deleteEmailAddressCall(UUID inboxId,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for deleteEmailAddress
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmailAddress

        +
        public void deleteEmailAddress(UUID inboxId)
        +                        throws ApiException
        +
        Delete inbox email address by inbox id + Deletes inbox email address
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmailAddressWithHttpInfo

        +
        public ApiResponse<Void> deleteEmailAddressWithHttpInfo(UUID inboxId)
        +                                                 throws ApiException
        +
        Delete inbox email address by inbox id + Deletes inbox email address
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmailAddressAsync

        +
        public okhttp3.Call deleteEmailAddressAsync(UUID inboxId,
        +                                            ApiCallback<Void> _callback)
        +                                     throws ApiException
        +
        Delete inbox email address by inbox id (asynchronously) + Deletes inbox email address
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        emptyInboxCall

        +
        public okhttp3.Call emptyInboxCall(UUID inboxId,
        +                                   ApiCallback _callback)
        +                            throws ApiException
        +
        Build call for emptyInbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        emptyInbox

        +
        public void emptyInbox(UUID inboxId)
        +                throws ApiException
        +
        Delete all emails in an inbox + Deletes all emails
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        emptyInboxWithHttpInfo

        +
        public ApiResponse<Void> emptyInboxWithHttpInfo(UUID inboxId)
        +                                         throws ApiException
        +
        Delete all emails in an inbox + Deletes all emails
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        emptyInboxAsync

        +
        public okhttp3.Call emptyInboxAsync(UUID inboxId,
        +                                    ApiCallback<Void> _callback)
        +                             throws ApiException
        +
        Delete all emails in an inbox (asynchronously) + Deletes all emails
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailSimpleCall

        +
        public okhttp3.Call sendEmailSimpleCall(SimpleSendEmailOptions simpleSendEmailOptions,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for sendEmailSimple
        +
        +
        Parameters:
        +
        simpleSendEmailOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailSimple

        +
        public void sendEmailSimple(SimpleSendEmailOptions simpleSendEmailOptions)
        +                     throws ApiException
        +
        Send an email + If no senderId or inboxId provided a random email address will be used to send from.
        +
        +
        Parameters:
        +
        simpleSendEmailOptions - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailSimpleWithHttpInfo

        +
        public ApiResponse<Void> sendEmailSimpleWithHttpInfo(SimpleSendEmailOptions simpleSendEmailOptions)
        +                                              throws ApiException
        +
        Send an email + If no senderId or inboxId provided a random email address will be used to send from.
        +
        +
        Parameters:
        +
        simpleSendEmailOptions - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailSimpleAsync

        +
        public okhttp3.Call sendEmailSimpleAsync(SimpleSendEmailOptions simpleSendEmailOptions,
        +                                         ApiCallback<Void> _callback)
        +                                  throws ApiException
        +
        Send an email (asynchronously) + If no senderId or inboxId provided a random email address will be used to send from.
        +
        +
        Parameters:
        +
        simpleSendEmailOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/ConnectorControllerApi.html b/site/com/mailslurp/apis/ConnectorControllerApi.html new file mode 100644 index 000000000..00686181f --- /dev/null +++ b/site/com/mailslurp/apis/ConnectorControllerApi.html @@ -0,0 +1,1662 @@ + + + + + + +ConnectorControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class ConnectorControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class ConnectorControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ConnectorControllerApi

        +
        public ConnectorControllerApi()
        +
      • +
      + + + +
        +
      • +

        ConnectorControllerApi

        +
        public ConnectorControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        createConnectorCall

        +
        public okhttp3.Call createConnectorCall(CreateConnectorOptions createConnectorOptions,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for createConnector
        +
        +
        Parameters:
        +
        createConnectorOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createConnector

        +
        public ConnectorDto createConnector(CreateConnectorOptions createConnectorOptions)
        +                             throws ApiException
        +
        Create an inbox connector + Sync emails between external mailboxes and MailSlurp inboxes
        +
        +
        Parameters:
        +
        createConnectorOptions - (required)
        +
        Returns:
        +
        ConnectorDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createConnectorWithHttpInfo

        +
        public ApiResponse<ConnectorDto> createConnectorWithHttpInfo(CreateConnectorOptions createConnectorOptions)
        +                                                      throws ApiException
        +
        Create an inbox connector + Sync emails between external mailboxes and MailSlurp inboxes
        +
        +
        Parameters:
        +
        createConnectorOptions - (required)
        +
        Returns:
        +
        ApiResponse<ConnectorDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createConnectorAsync

        +
        public okhttp3.Call createConnectorAsync(CreateConnectorOptions createConnectorOptions,
        +                                         ApiCallback<ConnectorDto> _callback)
        +                                  throws ApiException
        +
        Create an inbox connector (asynchronously) + Sync emails between external mailboxes and MailSlurp inboxes
        +
        +
        Parameters:
        +
        createConnectorOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        deleteConnectorCall

        +
        public okhttp3.Call deleteConnectorCall(UUID id,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for deleteConnector
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteConnector

        +
        public void deleteConnector(UUID id)
        +                     throws ApiException
        +
        Delete an inbox connector
        +
        +
        Parameters:
        +
        id - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteConnectorWithHttpInfo

        +
        public ApiResponse<Void> deleteConnectorWithHttpInfo(UUID id)
        +                                              throws ApiException
        +
        Delete an inbox connector
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteConnectorAsync

        +
        public okhttp3.Call deleteConnectorAsync(UUID id,
        +                                         ApiCallback<Void> _callback)
        +                                  throws ApiException
        +
        Delete an inbox connector (asynchronously)
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getAllConnectorSyncEventsCall

        +
        public okhttp3.Call getAllConnectorSyncEventsCall(Integer page,
        +                                                  Integer size,
        +                                                  String sort,
        +                                                  OffsetDateTime since,
        +                                                  OffsetDateTime before,
        +                                                  ApiCallback _callback)
        +                                           throws ApiException
        +
        Build call for getAllConnectorSyncEvents
        +
        +
        Parameters:
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllConnectorSyncEvents

        +
        public PageConnectorSyncEvents getAllConnectorSyncEvents(Integer page,
        +                                                         Integer size,
        +                                                         String sort,
        +                                                         OffsetDateTime since,
        +                                                         OffsetDateTime before)
        +                                                  throws ApiException
        +
        Get all inbox connector sync events
        +
        +
        Parameters:
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageConnectorSyncEvents
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllConnectorSyncEventsWithHttpInfo

        +
        public ApiResponse<PageConnectorSyncEvents> getAllConnectorSyncEventsWithHttpInfo(Integer page,
        +                                                                                  Integer size,
        +                                                                                  String sort,
        +                                                                                  OffsetDateTime since,
        +                                                                                  OffsetDateTime before)
        +                                                                           throws ApiException
        +
        Get all inbox connector sync events
        +
        +
        Parameters:
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageConnectorSyncEvents>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllConnectorSyncEventsAsync

        +
        public okhttp3.Call getAllConnectorSyncEventsAsync(Integer page,
        +                                                   Integer size,
        +                                                   String sort,
        +                                                   OffsetDateTime since,
        +                                                   OffsetDateTime before,
        +                                                   ApiCallback<PageConnectorSyncEvents> _callback)
        +                                            throws ApiException
        +
        Get all inbox connector sync events (asynchronously)
        +
        +
        Parameters:
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorCall

        +
        public okhttp3.Call getConnectorCall(UUID id,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for getConnector
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnector

        +
        public ConnectorDto getConnector(UUID id)
        +                          throws ApiException
        +
        Get an inbox connector
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ConnectorDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorWithHttpInfo

        +
        public ApiResponse<ConnectorDto> getConnectorWithHttpInfo(UUID id)
        +                                                   throws ApiException
        +
        Get an inbox connector
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<ConnectorDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorAsync

        +
        public okhttp3.Call getConnectorAsync(UUID id,
        +                                      ApiCallback<ConnectorDto> _callback)
        +                               throws ApiException
        +
        Get an inbox connector (asynchronously)
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorSyncEventCall

        +
        public okhttp3.Call getConnectorSyncEventCall(UUID id,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for getConnectorSyncEvent
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorSyncEvent

        +
        public ConnectorSyncEventDto getConnectorSyncEvent(UUID id)
        +                                            throws ApiException
        +
        Get an inbox connector sync event
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ConnectorSyncEventDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorSyncEventWithHttpInfo

        +
        public ApiResponse<ConnectorSyncEventDto> getConnectorSyncEventWithHttpInfo(UUID id)
        +                                                                     throws ApiException
        +
        Get an inbox connector sync event
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<ConnectorSyncEventDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorSyncEventAsync

        +
        public okhttp3.Call getConnectorSyncEventAsync(UUID id,
        +                                               ApiCallback<ConnectorSyncEventDto> _callback)
        +                                        throws ApiException
        +
        Get an inbox connector sync event (asynchronously)
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorSyncEventsCall

        +
        public okhttp3.Call getConnectorSyncEventsCall(UUID id,
        +                                               Integer page,
        +                                               Integer size,
        +                                               String sort,
        +                                               OffsetDateTime since,
        +                                               OffsetDateTime before,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for getConnectorSyncEvents
        +
        +
        Parameters:
        +
        id - (required)
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorSyncEvents

        +
        public PageConnectorSyncEvents getConnectorSyncEvents(UUID id,
        +                                                      Integer page,
        +                                                      Integer size,
        +                                                      String sort,
        +                                                      OffsetDateTime since,
        +                                                      OffsetDateTime before)
        +                                               throws ApiException
        +
        Get an inbox connector sync events
        +
        +
        Parameters:
        +
        id - (required)
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageConnectorSyncEvents
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorSyncEventsWithHttpInfo

        +
        public ApiResponse<PageConnectorSyncEvents> getConnectorSyncEventsWithHttpInfo(UUID id,
        +                                                                               Integer page,
        +                                                                               Integer size,
        +                                                                               String sort,
        +                                                                               OffsetDateTime since,
        +                                                                               OffsetDateTime before)
        +                                                                        throws ApiException
        +
        Get an inbox connector sync events
        +
        +
        Parameters:
        +
        id - (required)
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageConnectorSyncEvents>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorSyncEventsAsync

        +
        public okhttp3.Call getConnectorSyncEventsAsync(UUID id,
        +                                                Integer page,
        +                                                Integer size,
        +                                                String sort,
        +                                                OffsetDateTime since,
        +                                                OffsetDateTime before,
        +                                                ApiCallback<PageConnectorSyncEvents> _callback)
        +                                         throws ApiException
        +
        Get an inbox connector sync events (asynchronously)
        +
        +
        Parameters:
        +
        id - (required)
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorsCall

        +
        public okhttp3.Call getConnectorsCall(Integer page,
        +                                      Integer size,
        +                                      String sort,
        +                                      OffsetDateTime since,
        +                                      OffsetDateTime before,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for getConnectors
        +
        +
        Parameters:
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectors

        +
        public PageConnector getConnectors(Integer page,
        +                                   Integer size,
        +                                   String sort,
        +                                   OffsetDateTime since,
        +                                   OffsetDateTime before)
        +                            throws ApiException
        +
        Get inbox connectors + List inbox connectors that sync external emails to MailSlurp inboxes
        +
        +
        Parameters:
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageConnector
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorsWithHttpInfo

        +
        public ApiResponse<PageConnector> getConnectorsWithHttpInfo(Integer page,
        +                                                            Integer size,
        +                                                            String sort,
        +                                                            OffsetDateTime since,
        +                                                            OffsetDateTime before)
        +                                                     throws ApiException
        +
        Get inbox connectors + List inbox connectors that sync external emails to MailSlurp inboxes
        +
        +
        Parameters:
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageConnector>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getConnectorsAsync

        +
        public okhttp3.Call getConnectorsAsync(Integer page,
        +                                       Integer size,
        +                                       String sort,
        +                                       OffsetDateTime since,
        +                                       OffsetDateTime before,
        +                                       ApiCallback<PageConnector> _callback)
        +                                throws ApiException
        +
        Get inbox connectors (asynchronously) + List inbox connectors that sync external emails to MailSlurp inboxes
        +
        +
        Parameters:
        +
        page - Optional page index in connector list pagination (optional, default to 0)
        +
        size - Optional page size in connector list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        syncConnectorCall

        +
        public okhttp3.Call syncConnectorCall(UUID id,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for syncConnector
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        syncConnector

        +
        public ConnectorSyncRequestResult syncConnector(UUID id)
        +                                         throws ApiException
        +
        Sync an inbox connector
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ConnectorSyncRequestResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        syncConnectorWithHttpInfo

        +
        public ApiResponse<ConnectorSyncRequestResult> syncConnectorWithHttpInfo(UUID id)
        +                                                                  throws ApiException
        +
        Sync an inbox connector
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<ConnectorSyncRequestResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        syncConnectorAsync

        +
        public okhttp3.Call syncConnectorAsync(UUID id,
        +                                       ApiCallback<ConnectorSyncRequestResult> _callback)
        +                                throws ApiException
        +
        Sync an inbox connector (asynchronously)
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateConnectorCall

        +
        public okhttp3.Call updateConnectorCall(UUID id,
        +                                        CreateConnectorOptions createConnectorOptions,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for updateConnector
        +
        +
        Parameters:
        +
        id - (required)
        +
        createConnectorOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateConnector

        +
        public ConnectorDto updateConnector(UUID id,
        +                                    CreateConnectorOptions createConnectorOptions)
        +                             throws ApiException
        +
        Update an inbox connector
        +
        +
        Parameters:
        +
        id - (required)
        +
        createConnectorOptions - (required)
        +
        Returns:
        +
        ConnectorDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateConnectorWithHttpInfo

        +
        public ApiResponse<ConnectorDto> updateConnectorWithHttpInfo(UUID id,
        +                                                             CreateConnectorOptions createConnectorOptions)
        +                                                      throws ApiException
        +
        Update an inbox connector
        +
        +
        Parameters:
        +
        id - (required)
        +
        createConnectorOptions - (required)
        +
        Returns:
        +
        ApiResponse<ConnectorDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateConnectorAsync

        +
        public okhttp3.Call updateConnectorAsync(UUID id,
        +                                         CreateConnectorOptions createConnectorOptions,
        +                                         ApiCallback<ConnectorDto> _callback)
        +                                  throws ApiException
        +
        Update an inbox connector (asynchronously)
        +
        +
        Parameters:
        +
        id - (required)
        +
        createConnectorOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/ContactControllerApi.html b/site/com/mailslurp/apis/ContactControllerApi.html new file mode 100644 index 000000000..33cca03a0 --- /dev/null +++ b/site/com/mailslurp/apis/ContactControllerApi.html @@ -0,0 +1,1142 @@ + + + + + + +ContactControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class ContactControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class ContactControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ContactControllerApi

        +
        public ContactControllerApi()
        +
      • +
      + + + +
        +
      • +

        ContactControllerApi

        +
        public ContactControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        createContactCall

        +
        public okhttp3.Call createContactCall(CreateContactOptions createContactOptions,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for createContact
        +
        +
        Parameters:
        +
        createContactOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createContact

        +
        public ContactDto createContact(CreateContactOptions createContactOptions)
        +                         throws ApiException
        +
        Create a contact
        +
        +
        Parameters:
        +
        createContactOptions - (required)
        +
        Returns:
        +
        ContactDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createContactWithHttpInfo

        +
        public ApiResponse<ContactDto> createContactWithHttpInfo(CreateContactOptions createContactOptions)
        +                                                  throws ApiException
        +
        Create a contact
        +
        +
        Parameters:
        +
        createContactOptions - (required)
        +
        Returns:
        +
        ApiResponse<ContactDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createContactAsync

        +
        public okhttp3.Call createContactAsync(CreateContactOptions createContactOptions,
        +                                       ApiCallback<ContactDto> _callback)
        +                                throws ApiException
        +
        Create a contact (asynchronously)
        +
        +
        Parameters:
        +
        createContactOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        deleteContactCall

        +
        public okhttp3.Call deleteContactCall(UUID contactId,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for deleteContact
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteContact

        +
        public void deleteContact(UUID contactId)
        +                   throws ApiException
        +
        Delete contact
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteContactWithHttpInfo

        +
        public ApiResponse<Void> deleteContactWithHttpInfo(UUID contactId)
        +                                            throws ApiException
        +
        Delete contact
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteContactAsync

        +
        public okhttp3.Call deleteContactAsync(UUID contactId,
        +                                       ApiCallback<Void> _callback)
        +                                throws ApiException
        +
        Delete contact (asynchronously)
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getAllContactsCall

        +
        public okhttp3.Call getAllContactsCall(Integer page,
        +                                       Integer size,
        +                                       String sort,
        +                                       OffsetDateTime since,
        +                                       OffsetDateTime before,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for getAllContacts
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllContacts

        +
        public PageContactProjection getAllContacts(Integer page,
        +                                            Integer size,
        +                                            String sort,
        +                                            OffsetDateTime since,
        +                                            OffsetDateTime before)
        +                                     throws ApiException
        +
        Get all contacts
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageContactProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllContactsWithHttpInfo

        +
        public ApiResponse<PageContactProjection> getAllContactsWithHttpInfo(Integer page,
        +                                                                     Integer size,
        +                                                                     String sort,
        +                                                                     OffsetDateTime since,
        +                                                                     OffsetDateTime before)
        +                                                              throws ApiException
        +
        Get all contacts
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageContactProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllContactsAsync

        +
        public okhttp3.Call getAllContactsAsync(Integer page,
        +                                        Integer size,
        +                                        String sort,
        +                                        OffsetDateTime since,
        +                                        OffsetDateTime before,
        +                                        ApiCallback<PageContactProjection> _callback)
        +                                 throws ApiException
        +
        Get all contacts (asynchronously)
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContactCall

        +
        public okhttp3.Call getContactCall(UUID contactId,
        +                                   ApiCallback _callback)
        +                            throws ApiException
        +
        Build call for getContact
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContact

        +
        public ContactDto getContact(UUID contactId)
        +                      throws ApiException
        +
        Get contact
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        Returns:
        +
        ContactDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContactWithHttpInfo

        +
        public ApiResponse<ContactDto> getContactWithHttpInfo(UUID contactId)
        +                                               throws ApiException
        +
        Get contact
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        Returns:
        +
        ApiResponse<ContactDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContactAsync

        +
        public okhttp3.Call getContactAsync(UUID contactId,
        +                                    ApiCallback<ContactDto> _callback)
        +                             throws ApiException
        +
        Get contact (asynchronously)
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContactVCardCall

        +
        public okhttp3.Call getContactVCardCall(UUID contactId,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for getContactVCard
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContactVCard

        +
        public List<byte[]> getContactVCard(UUID contactId)
        +                             throws ApiException
        +
        Get contact vCard vcf file
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        Returns:
        +
        List<byte[]>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContactVCardWithHttpInfo

        +
        public ApiResponse<List<byte[]>> getContactVCardWithHttpInfo(UUID contactId)
        +                                                      throws ApiException
        +
        Get contact vCard vcf file
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        Returns:
        +
        ApiResponse<List<byte[]>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContactVCardAsync

        +
        public okhttp3.Call getContactVCardAsync(UUID contactId,
        +                                         ApiCallback<List<byte[]>> _callback)
        +                                  throws ApiException
        +
        Get contact vCard vcf file (asynchronously)
        +
        +
        Parameters:
        +
        contactId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContactsCall

        +
        public okhttp3.Call getContactsCall(ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for getContacts
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContacts

        +
        public List<ContactProjection> getContacts()
        +                                    throws ApiException
        +
        Get all contacts
        +
        +
        Returns:
        +
        List<ContactProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContactsWithHttpInfo

        +
        public ApiResponse<List<ContactProjection>> getContactsWithHttpInfo()
        +                                                             throws ApiException
        +
        Get all contacts
        +
        +
        Returns:
        +
        ApiResponse<List<ContactProjection>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getContactsAsync

        +
        public okhttp3.Call getContactsAsync(ApiCallback<List<ContactProjection>> _callback)
        +                              throws ApiException
        +
        Get all contacts (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/DomainControllerApi.html b/site/com/mailslurp/apis/DomainControllerApi.html new file mode 100644 index 000000000..a96e31a80 --- /dev/null +++ b/site/com/mailslurp/apis/DomainControllerApi.html @@ -0,0 +1,1410 @@ + + + + + + +DomainControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class DomainControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class DomainControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DomainControllerApi

        +
        public DomainControllerApi()
        +
      • +
      + + + +
        +
      • +

        DomainControllerApi

        +
        public DomainControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        addDomainWildcardCatchAllCall

        +
        public okhttp3.Call addDomainWildcardCatchAllCall(UUID id,
        +                                                  ApiCallback _callback)
        +                                           throws ApiException
        +
        Build call for addDomainWildcardCatchAll
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        addDomainWildcardCatchAll

        +
        public DomainDto addDomainWildcardCatchAll(UUID id)
        +                                    throws ApiException
        +
        Add catch all wild card inbox to domain + Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        DomainDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        addDomainWildcardCatchAllWithHttpInfo

        +
        public ApiResponse<DomainDto> addDomainWildcardCatchAllWithHttpInfo(UUID id)
        +                                                             throws ApiException
        +
        Add catch all wild card inbox to domain + Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<DomainDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        addDomainWildcardCatchAllAsync

        +
        public okhttp3.Call addDomainWildcardCatchAllAsync(UUID id,
        +                                                   ApiCallback<DomainDto> _callback)
        +                                            throws ApiException
        +
        Add catch all wild card inbox to domain (asynchronously) + Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createDomainCall

        +
        public okhttp3.Call createDomainCall(CreateDomainOptions createDomainOptions,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for createDomain
        +
        +
        Parameters:
        +
        createDomainOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createDomain

        +
        public DomainDto createDomain(CreateDomainOptions createDomainOptions)
        +                       throws ApiException
        +
        Create Domain + Link a domain that you own with MailSlurp so you can create email addresses using it. Endpoint returns DNS records used for validation. You must add these verification records to your host provider's DNS setup to verify the domain.
        +
        +
        Parameters:
        +
        createDomainOptions - (required)
        +
        Returns:
        +
        DomainDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createDomainWithHttpInfo

        +
        public ApiResponse<DomainDto> createDomainWithHttpInfo(CreateDomainOptions createDomainOptions)
        +                                                throws ApiException
        +
        Create Domain + Link a domain that you own with MailSlurp so you can create email addresses using it. Endpoint returns DNS records used for validation. You must add these verification records to your host provider's DNS setup to verify the domain.
        +
        +
        Parameters:
        +
        createDomainOptions - (required)
        +
        Returns:
        +
        ApiResponse<DomainDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createDomainAsync

        +
        public okhttp3.Call createDomainAsync(CreateDomainOptions createDomainOptions,
        +                                      ApiCallback<DomainDto> _callback)
        +                               throws ApiException
        +
        Create Domain (asynchronously) + Link a domain that you own with MailSlurp so you can create email addresses using it. Endpoint returns DNS records used for validation. You must add these verification records to your host provider's DNS setup to verify the domain.
        +
        +
        Parameters:
        +
        createDomainOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        deleteDomainCall

        +
        public okhttp3.Call deleteDomainCall(UUID id,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for deleteDomain
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteDomain

        +
        public List<String> deleteDomain(UUID id)
        +                          throws ApiException
        +
        Delete a domain + Delete a domain. This will disable any existing inboxes that use this domain.
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        List<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteDomainWithHttpInfo

        +
        public ApiResponse<List<String>> deleteDomainWithHttpInfo(UUID id)
        +                                                   throws ApiException
        +
        Delete a domain + Delete a domain. This will disable any existing inboxes that use this domain.
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<List<String>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteDomainAsync

        +
        public okhttp3.Call deleteDomainAsync(UUID id,
        +                                      ApiCallback<List<String>> _callback)
        +                               throws ApiException
        +
        Delete a domain (asynchronously) + Delete a domain. This will disable any existing inboxes that use this domain.
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainCall

        +
        public okhttp3.Call getDomainCall(UUID id,
        +                                  Boolean checkForErrors,
        +                                  ApiCallback _callback)
        +                           throws ApiException
        +
        Build call for getDomain
        +
        +
        Parameters:
        +
        id - (required)
        +
        checkForErrors - (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomain

        +
        public DomainDto getDomain(UUID id,
        +                           Boolean checkForErrors)
        +                    throws ApiException
        +
        Get a domain + Returns domain verification status and tokens for a given domain
        +
        +
        Parameters:
        +
        id - (required)
        +
        checkForErrors - (optional)
        +
        Returns:
        +
        DomainDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainWithHttpInfo

        +
        public ApiResponse<DomainDto> getDomainWithHttpInfo(UUID id,
        +                                                    Boolean checkForErrors)
        +                                             throws ApiException
        +
        Get a domain + Returns domain verification status and tokens for a given domain
        +
        +
        Parameters:
        +
        id - (required)
        +
        checkForErrors - (optional)
        +
        Returns:
        +
        ApiResponse<DomainDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainAsync

        +
        public okhttp3.Call getDomainAsync(UUID id,
        +                                   Boolean checkForErrors,
        +                                   ApiCallback<DomainDto> _callback)
        +                            throws ApiException
        +
        Get a domain (asynchronously) + Returns domain verification status and tokens for a given domain
        +
        +
        Parameters:
        +
        id - (required)
        +
        checkForErrors - (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainIssuesCall

        +
        public okhttp3.Call getDomainIssuesCall(ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for getDomainIssues
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainIssues

        +
        public DomainIssuesDto getDomainIssues()
        +                                throws ApiException
        +
        Get domain issues + List domain issues for domains you have created
        +
        +
        Returns:
        +
        DomainIssuesDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainIssuesWithHttpInfo

        +
        public ApiResponse<DomainIssuesDto> getDomainIssuesWithHttpInfo()
        +                                                         throws ApiException
        +
        Get domain issues + List domain issues for domains you have created
        +
        +
        Returns:
        +
        ApiResponse<DomainIssuesDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainIssuesAsync

        +
        public okhttp3.Call getDomainIssuesAsync(ApiCallback<DomainIssuesDto> _callback)
        +                                  throws ApiException
        +
        Get domain issues (asynchronously) + List domain issues for domains you have created
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainWildcardCatchAllInboxCall

        +
        public okhttp3.Call getDomainWildcardCatchAllInboxCall(UUID id,
        +                                                       ApiCallback _callback)
        +                                                throws ApiException
        +
        Build call for getDomainWildcardCatchAllInbox
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainWildcardCatchAllInbox

        +
        public InboxDto getDomainWildcardCatchAllInbox(UUID id)
        +                                        throws ApiException
        +
        Get catch all wild card inbox for domain + Get the catch all inbox for a domain for missed emails
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        InboxDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainWildcardCatchAllInboxWithHttpInfo

        +
        public ApiResponse<InboxDto> getDomainWildcardCatchAllInboxWithHttpInfo(UUID id)
        +                                                                 throws ApiException
        +
        Get catch all wild card inbox for domain + Get the catch all inbox for a domain for missed emails
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<InboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainWildcardCatchAllInboxAsync

        +
        public okhttp3.Call getDomainWildcardCatchAllInboxAsync(UUID id,
        +                                                        ApiCallback<InboxDto> _callback)
        +                                                 throws ApiException
        +
        Get catch all wild card inbox for domain (asynchronously) + Get the catch all inbox for a domain for missed emails
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainsCall

        +
        public okhttp3.Call getDomainsCall(ApiCallback _callback)
        +                            throws ApiException
        +
        Build call for getDomains
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomains

        +
        public List<DomainPreview> getDomains()
        +                               throws ApiException
        +
        Get domains + List all custom domains you have created
        +
        +
        Returns:
        +
        List<DomainPreview>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainsWithHttpInfo

        +
        public ApiResponse<List<DomainPreview>> getDomainsWithHttpInfo()
        +                                                        throws ApiException
        +
        Get domains + List all custom domains you have created
        +
        +
        Returns:
        +
        ApiResponse<List<DomainPreview>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDomainsAsync

        +
        public okhttp3.Call getDomainsAsync(ApiCallback<List<DomainPreview>> _callback)
        +                             throws ApiException
        +
        Get domains (asynchronously) + List all custom domains you have created
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateDomainCall

        +
        public okhttp3.Call updateDomainCall(UUID id,
        +                                     UpdateDomainOptions updateDomainOptions,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for updateDomain
        +
        +
        Parameters:
        +
        id - (required)
        +
        updateDomainOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateDomain

        +
        public DomainDto updateDomain(UUID id,
        +                              UpdateDomainOptions updateDomainOptions)
        +                       throws ApiException
        +
        Update a domain + Update values on a domain. Note you cannot change the domain name as it is immutable. Recreate the domain if you need to alter this.
        +
        +
        Parameters:
        +
        id - (required)
        +
        updateDomainOptions - (required)
        +
        Returns:
        +
        DomainDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateDomainWithHttpInfo

        +
        public ApiResponse<DomainDto> updateDomainWithHttpInfo(UUID id,
        +                                                       UpdateDomainOptions updateDomainOptions)
        +                                                throws ApiException
        +
        Update a domain + Update values on a domain. Note you cannot change the domain name as it is immutable. Recreate the domain if you need to alter this.
        +
        +
        Parameters:
        +
        id - (required)
        +
        updateDomainOptions - (required)
        +
        Returns:
        +
        ApiResponse<DomainDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateDomainAsync

        +
        public okhttp3.Call updateDomainAsync(UUID id,
        +                                      UpdateDomainOptions updateDomainOptions,
        +                                      ApiCallback<DomainDto> _callback)
        +                               throws ApiException
        +
        Update a domain (asynchronously) + Update values on a domain. Note you cannot change the domain name as it is immutable. Recreate the domain if you need to alter this.
        +
        +
        Parameters:
        +
        id - (required)
        +
        updateDomainOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/EmailControllerApi.html b/site/com/mailslurp/apis/EmailControllerApi.html new file mode 100644 index 000000000..f6dbfdeb7 --- /dev/null +++ b/site/com/mailslurp/apis/EmailControllerApi.html @@ -0,0 +1,4738 @@ + + + + + + +EmailControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class EmailControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class EmailControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EmailControllerApi

        +
        public EmailControllerApi()
        +
      • +
      + + + +
        +
      • +

        EmailControllerApi

        +
        public EmailControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        applyImapFlagOperationCall

        +
        public okhttp3.Call applyImapFlagOperationCall(UUID emailId,
        +                                               ImapFlagOperationOptions imapFlagOperationOptions,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for applyImapFlagOperation
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        imapFlagOperationOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        applyImapFlagOperation

        +
        public EmailPreview applyImapFlagOperation(UUID emailId,
        +                                           ImapFlagOperationOptions imapFlagOperationOptions)
        +                                    throws ApiException
        +
        Set IMAP flags associated with a message. Only supports '\\Seen' flag. + Apply RFC3501 section-2.3.2 IMAP flag operations on an email
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        imapFlagOperationOptions - (required)
        +
        Returns:
        +
        EmailPreview
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        applyImapFlagOperationWithHttpInfo

        +
        public ApiResponse<EmailPreview> applyImapFlagOperationWithHttpInfo(UUID emailId,
        +                                                                    ImapFlagOperationOptions imapFlagOperationOptions)
        +                                                             throws ApiException
        +
        Set IMAP flags associated with a message. Only supports '\\Seen' flag. + Apply RFC3501 section-2.3.2 IMAP flag operations on an email
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        imapFlagOperationOptions - (required)
        +
        Returns:
        +
        ApiResponse<EmailPreview>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        applyImapFlagOperationAsync

        +
        public okhttp3.Call applyImapFlagOperationAsync(UUID emailId,
        +                                                ImapFlagOperationOptions imapFlagOperationOptions,
        +                                                ApiCallback<EmailPreview> _callback)
        +                                         throws ApiException
        +
        Set IMAP flags associated with a message. Only supports '\\Seen' flag. (asynchronously) + Apply RFC3501 section-2.3.2 IMAP flag operations on an email
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        imapFlagOperationOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllEmailsCall

        +
        public okhttp3.Call deleteAllEmailsCall(ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for deleteAllEmails
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllEmails

        +
        public void deleteAllEmails()
        +                     throws ApiException
        +
        Delete all emails in all inboxes. + Deletes all emails in your account. Be careful as emails cannot be recovered
        +
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllEmailsWithHttpInfo

        +
        public ApiResponse<Void> deleteAllEmailsWithHttpInfo()
        +                                              throws ApiException
        +
        Delete all emails in all inboxes. + Deletes all emails in your account. Be careful as emails cannot be recovered
        +
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllEmailsAsync

        +
        public okhttp3.Call deleteAllEmailsAsync(ApiCallback<Void> _callback)
        +                                  throws ApiException
        +
        Delete all emails in all inboxes. (asynchronously) + Deletes all emails in your account. Be careful as emails cannot be recovered
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmailCall

        +
        public okhttp3.Call deleteEmailCall(UUID emailId,
        +                                    ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for deleteEmail
        +
        +
        Parameters:
        +
        emailId - ID of email to delete (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmail

        +
        public void deleteEmail(UUID emailId)
        +                 throws ApiException
        +
        Delete an email + Deletes an email and removes it from the inbox. Deleted emails cannot be recovered.
        +
        +
        Parameters:
        +
        emailId - ID of email to delete (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmailWithHttpInfo

        +
        public ApiResponse<Void> deleteEmailWithHttpInfo(UUID emailId)
        +                                          throws ApiException
        +
        Delete an email + Deletes an email and removes it from the inbox. Deleted emails cannot be recovered.
        +
        +
        Parameters:
        +
        emailId - ID of email to delete (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmailAsync

        +
        public okhttp3.Call deleteEmailAsync(UUID emailId,
        +                                     ApiCallback<Void> _callback)
        +                              throws ApiException
        +
        Delete an email (asynchronously) + Deletes an email and removes it from the inbox. Deleted emails cannot be recovered.
        +
        +
        Parameters:
        +
        emailId - ID of email to delete (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentCall

        +
        public okhttp3.Call downloadAttachmentCall(UUID emailId,
        +                                           String attachmentId,
        +                                           String apiKey,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for downloadAttachment
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        apiKey - Can pass apiKey in url for this request if you wish to download the file in a browser. Content type will be set to original content type of the attachment file. This is so that browsers can download the file correctly. (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachment

        +
        public byte[] downloadAttachment(UUID emailId,
        +                                 String attachmentId,
        +                                 String apiKey)
        +                          throws ApiException
        +
        Get email attachment bytes. Returned as `octet-stream` with content type header. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints and convert the base 64 encoded content to a file or string. + Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        apiKey - Can pass apiKey in url for this request if you wish to download the file in a browser. Content type will be set to original content type of the attachment file. This is so that browsers can download the file correctly. (optional)
        +
        Returns:
        +
        byte[]
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentWithHttpInfo

        +
        public ApiResponse<byte[]> downloadAttachmentWithHttpInfo(UUID emailId,
        +                                                          String attachmentId,
        +                                                          String apiKey)
        +                                                   throws ApiException
        +
        Get email attachment bytes. Returned as `octet-stream` with content type header. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints and convert the base 64 encoded content to a file or string. + Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        apiKey - Can pass apiKey in url for this request if you wish to download the file in a browser. Content type will be set to original content type of the attachment file. This is so that browsers can download the file correctly. (optional)
        +
        Returns:
        +
        ApiResponse<byte[]>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentAsync

        +
        public okhttp3.Call downloadAttachmentAsync(UUID emailId,
        +                                            String attachmentId,
        +                                            String apiKey,
        +                                            ApiCallback<byte[]> _callback)
        +                                     throws ApiException
        +
        Get email attachment bytes. Returned as `octet-stream` with content type header. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints and convert the base 64 encoded content to a file or string. (asynchronously) + Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        apiKey - Can pass apiKey in url for this request if you wish to download the file in a browser. Content type will be set to original content type of the attachment file. This is so that browsers can download the file correctly. (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentBase64Call

        +
        public okhttp3.Call downloadAttachmentBase64Call(UUID emailId,
        +                                                 String attachmentId,
        +                                                 ApiCallback _callback)
        +                                          throws ApiException
        +
        Build call for downloadAttachmentBase64
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentBase64

        +
        public DownloadAttachmentDto downloadAttachmentBase64(UUID emailId,
        +                                                      String attachmentId)
        +                                               throws ApiException
        +
        Get email attachment as base64 encoded string as an alternative to binary responses. Decode the `base64FileContents` as a `utf-8` encoded string or array of bytes depending on the `contentType`. + Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        DownloadAttachmentDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentBase64WithHttpInfo

        +
        public ApiResponse<DownloadAttachmentDto> downloadAttachmentBase64WithHttpInfo(UUID emailId,
        +                                                                               String attachmentId)
        +                                                                        throws ApiException
        +
        Get email attachment as base64 encoded string as an alternative to binary responses. Decode the `base64FileContents` as a `utf-8` encoded string or array of bytes depending on the `contentType`. + Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        ApiResponse<DownloadAttachmentDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadAttachmentBase64Async

        +
        public okhttp3.Call downloadAttachmentBase64Async(UUID emailId,
        +                                                  String attachmentId,
        +                                                  ApiCallback<DownloadAttachmentDto> _callback)
        +                                           throws ApiException
        +
        Get email attachment as base64 encoded string as an alternative to binary responses. Decode the `base64FileContents` as a `utf-8` encoded string or array of bytes depending on the `contentType`. (asynchronously) + Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadBodyCall

        +
        public okhttp3.Call downloadBodyCall(UUID emailId,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for downloadBody
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadBody

        +
        public String downloadBody(UUID emailId)
        +                    throws ApiException
        +
        Get email body as string. Returned as `plain/text` with content type header. + Returns the specified email body for a given email as a string
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        String
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadBodyWithHttpInfo

        +
        public ApiResponse<String> downloadBodyWithHttpInfo(UUID emailId)
        +                                             throws ApiException
        +
        Get email body as string. Returned as `plain/text` with content type header. + Returns the specified email body for a given email as a string
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        ApiResponse<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadBodyAsync

        +
        public okhttp3.Call downloadBodyAsync(UUID emailId,
        +                                      ApiCallback<String> _callback)
        +                               throws ApiException
        +
        Get email body as string. Returned as `plain/text` with content type header. (asynchronously) + Returns the specified email body for a given email as a string
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        downloadBodyBytesCall

        +
        public okhttp3.Call downloadBodyBytesCall(UUID emailId,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for downloadBodyBytes
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        downloadBodyBytes

        +
        public byte[] downloadBodyBytes(UUID emailId)
        +                         throws ApiException
        +
        Get email body in bytes. Returned as `octet-stream` with content type header. + Returns the specified email body for a given email as a stream / array of bytes.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        byte[]
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        downloadBodyBytesWithHttpInfo

        +
        public ApiResponse<byte[]> downloadBodyBytesWithHttpInfo(UUID emailId)
        +                                                  throws ApiException
        +
        Get email body in bytes. Returned as `octet-stream` with content type header. + Returns the specified email body for a given email as a stream / array of bytes.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        ApiResponse<byte[]>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        downloadBodyBytesAsync

        +
        public okhttp3.Call downloadBodyBytesAsync(UUID emailId,
        +                                           ApiCallback<byte[]> _callback)
        +                                    throws ApiException
        +
        Get email body in bytes. Returned as `octet-stream` with content type header. (asynchronously) + Returns the specified email body for a given email as a stream / array of bytes.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        0 default response -
        +
        +
      • +
      + + + +
        +
      • +

        forwardEmailCall

        +
        public okhttp3.Call forwardEmailCall(UUID emailId,
        +                                     ForwardEmailOptions forwardEmailOptions,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for forwardEmail
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        forwardEmailOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        forwardEmail

        +
        public SentEmailDto forwardEmail(UUID emailId,
        +                                 ForwardEmailOptions forwardEmailOptions)
        +                          throws ApiException
        +
        Forward email to recipients + Forward an existing email to new recipients. The sender of the email will be the inbox that received the email you are forwarding. You can override the sender with the `from` option. Note you must have access to the from address in MailSlurp to use the override. For more control consider fetching the email and sending it a new using the send email endpoints.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        forwardEmailOptions - (required)
        +
        Returns:
        +
        SentEmailDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        forwardEmailWithHttpInfo

        +
        public ApiResponse<SentEmailDto> forwardEmailWithHttpInfo(UUID emailId,
        +                                                          ForwardEmailOptions forwardEmailOptions)
        +                                                   throws ApiException
        +
        Forward email to recipients + Forward an existing email to new recipients. The sender of the email will be the inbox that received the email you are forwarding. You can override the sender with the `from` option. Note you must have access to the from address in MailSlurp to use the override. For more control consider fetching the email and sending it a new using the send email endpoints.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        forwardEmailOptions - (required)
        +
        Returns:
        +
        ApiResponse<SentEmailDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        forwardEmailAsync

        +
        public okhttp3.Call forwardEmailAsync(UUID emailId,
        +                                      ForwardEmailOptions forwardEmailOptions,
        +                                      ApiCallback<SentEmailDto> _callback)
        +                               throws ApiException
        +
        Forward email to recipients (asynchronously) + Forward an existing email to new recipients. The sender of the email will be the inbox that received the email you are forwarding. You can override the sender with the `from` option. Note you must have access to the from address in MailSlurp to use the override. For more control consider fetching the email and sending it a new using the send email endpoints.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        forwardEmailOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentMetaDataCall

        +
        public okhttp3.Call getAttachmentMetaDataCall(UUID emailId,
        +                                              String attachmentId,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for getAttachmentMetaData
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentMetaData

        +
        public AttachmentMetaData getAttachmentMetaData(UUID emailId,
        +                                                String attachmentId)
        +                                         throws ApiException
        +
        Get email attachment metadata. This is the `contentType` and `contentLength` of an attachment. To get the individual attachments use the `downloadAttachment` methods. + Returns the metadata such as name and content-type for a given attachment and email.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        AttachmentMetaData
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentMetaDataWithHttpInfo

        +
        public ApiResponse<AttachmentMetaData> getAttachmentMetaDataWithHttpInfo(UUID emailId,
        +                                                                         String attachmentId)
        +                                                                  throws ApiException
        +
        Get email attachment metadata. This is the `contentType` and `contentLength` of an attachment. To get the individual attachments use the `downloadAttachment` methods. + Returns the metadata such as name and content-type for a given attachment and email.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        Returns:
        +
        ApiResponse<AttachmentMetaData>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAttachmentMetaDataAsync

        +
        public okhttp3.Call getAttachmentMetaDataAsync(UUID emailId,
        +                                               String attachmentId,
        +                                               ApiCallback<AttachmentMetaData> _callback)
        +                                        throws ApiException
        +
        Get email attachment metadata. This is the `contentType` and `contentLength` of an attachment. To get the individual attachments use the `downloadAttachment` methods. (asynchronously) + Returns the metadata such as name and content-type for a given attachment and email.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        attachmentId - ID of attachment (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailCall

        +
        public okhttp3.Call getEmailCall(UUID emailId,
        +                                 Boolean decode,
        +                                 ApiCallback _callback)
        +                          throws ApiException
        +
        Build call for getEmail
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - Decode email body quoted-printable encoding to plain text. SMTP servers often encode text using quoted-printable format (for instance `=D7`). This can be a pain for testing (optional, default to false)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmail

        +
        public Email getEmail(UUID emailId,
        +                      Boolean decode)
        +               throws ApiException
        +
        Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController. + Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - Decode email body quoted-printable encoding to plain text. SMTP servers often encode text using quoted-printable format (for instance `=D7`). This can be a pain for testing (optional, default to false)
        +
        Returns:
        +
        Email
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailWithHttpInfo

        +
        public ApiResponse<Email> getEmailWithHttpInfo(UUID emailId,
        +                                               Boolean decode)
        +                                        throws ApiException
        +
        Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController. + Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - Decode email body quoted-printable encoding to plain text. SMTP servers often encode text using quoted-printable format (for instance `=D7`). This can be a pain for testing (optional, default to false)
        +
        Returns:
        +
        ApiResponse<Email>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailAsync

        +
        public okhttp3.Call getEmailAsync(UUID emailId,
        +                                  Boolean decode,
        +                                  ApiCallback<Email> _callback)
        +                           throws ApiException
        +
        Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController. (asynchronously) + Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - Decode email body quoted-printable encoding to plain text. SMTP servers often encode text using quoted-printable format (for instance `=D7`). This can be a pain for testing (optional, default to false)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailAttachmentsCall

        +
        public okhttp3.Call getEmailAttachmentsCall(UUID emailId,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for getEmailAttachments
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailAttachments

        +
        public List<AttachmentMetaData> getEmailAttachments(UUID emailId)
        +                                             throws ApiException
        +
        Get all email attachment metadata. Metadata includes name and size of attachments. + Returns an array of attachment metadata such as name and content-type for a given email if present.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        List<AttachmentMetaData>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailAttachmentsWithHttpInfo

        +
        public ApiResponse<List<AttachmentMetaData>> getEmailAttachmentsWithHttpInfo(UUID emailId)
        +                                                                      throws ApiException
        +
        Get all email attachment metadata. Metadata includes name and size of attachments. + Returns an array of attachment metadata such as name and content-type for a given email if present.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        ApiResponse<List<AttachmentMetaData>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailAttachmentsAsync

        +
        public okhttp3.Call getEmailAttachmentsAsync(UUID emailId,
        +                                             ApiCallback<List<AttachmentMetaData>> _callback)
        +                                      throws ApiException
        +
        Get all email attachment metadata. Metadata includes name and size of attachments. (asynchronously) + Returns an array of attachment metadata such as name and content-type for a given email if present.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailContentMatchCall

        +
        public okhttp3.Call getEmailContentMatchCall(UUID emailId,
        +                                             ContentMatchOptions contentMatchOptions,
        +                                             ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for getEmailContentMatch
        +
        +
        Parameters:
        +
        emailId - ID of email to match against (required)
        +
        contentMatchOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailContentMatch

        +
        public EmailContentMatchResult getEmailContentMatch(UUID emailId,
        +                                                    ContentMatchOptions contentMatchOptions)
        +                                             throws ApiException
        +
        Get email content regex pattern match results. Runs regex against email body and returns match groups. + Return the matches for a given Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns.
        +
        +
        Parameters:
        +
        emailId - ID of email to match against (required)
        +
        contentMatchOptions - (required)
        +
        Returns:
        +
        EmailContentMatchResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailContentMatchWithHttpInfo

        +
        public ApiResponse<EmailContentMatchResult> getEmailContentMatchWithHttpInfo(UUID emailId,
        +                                                                             ContentMatchOptions contentMatchOptions)
        +                                                                      throws ApiException
        +
        Get email content regex pattern match results. Runs regex against email body and returns match groups. + Return the matches for a given Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns.
        +
        +
        Parameters:
        +
        emailId - ID of email to match against (required)
        +
        contentMatchOptions - (required)
        +
        Returns:
        +
        ApiResponse<EmailContentMatchResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailContentMatchAsync

        +
        public okhttp3.Call getEmailContentMatchAsync(UUID emailId,
        +                                              ContentMatchOptions contentMatchOptions,
        +                                              ApiCallback<EmailContentMatchResult> _callback)
        +                                       throws ApiException
        +
        Get email content regex pattern match results. Runs regex against email body and returns match groups. (asynchronously) + Return the matches for a given Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns.
        +
        +
        Parameters:
        +
        emailId - ID of email to match against (required)
        +
        contentMatchOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailCountCall

        +
        public okhttp3.Call getEmailCountCall(ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for getEmailCount
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailCount

        +
        public CountDto getEmailCount()
        +                       throws ApiException
        +
        Get email count
        +
        +
        Returns:
        +
        CountDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailCountWithHttpInfo

        +
        public ApiResponse<CountDto> getEmailCountWithHttpInfo()
        +                                                throws ApiException
        +
        Get email count
        +
        +
        Returns:
        +
        ApiResponse<CountDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailCountAsync

        +
        public okhttp3.Call getEmailCountAsync(ApiCallback<CountDto> _callback)
        +                                throws ApiException
        +
        Get email count (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTMLCall

        +
        public okhttp3.Call getEmailHTMLCall(UUID emailId,
        +                                     Boolean decode,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for getEmailHTML
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - (optional, default to false)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTML

        +
        public String getEmailHTML(UUID emailId,
        +                           Boolean decode)
        +                    throws ApiException
        +
        Get email content as HTML. For displaying emails in browser context. + Retrieve email content as HTML response for viewing in browsers. Decodes quoted-printable entities and converts charset to UTF-8. Pass your API KEY as a request parameter when viewing in a browser: `?apiKey=xxx`. Returns content-type `text/html;charset=utf-8` so you must call expecting that content response not JSON. For JSON response see the `getEmailHTMLJson` method.
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - (optional, default to false)
        +
        Returns:
        +
        String
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTMLWithHttpInfo

        +
        public ApiResponse<String> getEmailHTMLWithHttpInfo(UUID emailId,
        +                                                    Boolean decode)
        +                                             throws ApiException
        +
        Get email content as HTML. For displaying emails in browser context. + Retrieve email content as HTML response for viewing in browsers. Decodes quoted-printable entities and converts charset to UTF-8. Pass your API KEY as a request parameter when viewing in a browser: `?apiKey=xxx`. Returns content-type `text/html;charset=utf-8` so you must call expecting that content response not JSON. For JSON response see the `getEmailHTMLJson` method.
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - (optional, default to false)
        +
        Returns:
        +
        ApiResponse<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTMLAsync

        +
        public okhttp3.Call getEmailHTMLAsync(UUID emailId,
        +                                      Boolean decode,
        +                                      ApiCallback<String> _callback)
        +                               throws ApiException
        +
        Get email content as HTML. For displaying emails in browser context. (asynchronously) + Retrieve email content as HTML response for viewing in browsers. Decodes quoted-printable entities and converts charset to UTF-8. Pass your API KEY as a request parameter when viewing in a browser: `?apiKey=xxx`. Returns content-type `text/html;charset=utf-8` so you must call expecting that content response not JSON. For JSON response see the `getEmailHTMLJson` method.
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - (optional, default to false)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTMLJsonCall

        +
        public okhttp3.Call getEmailHTMLJsonCall(UUID emailId,
        +                                         Boolean decode,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for getEmailHTMLJson
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - (optional, default to false)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTMLJson

        +
        public EmailHtmlDto getEmailHTMLJson(UUID emailId,
        +                                     Boolean decode)
        +                              throws ApiException
        +
        Get email content as HTML in JSON wrapper. For fetching entity decoded HTML content + Retrieve email content as HTML response. Decodes quoted-printable entities and converts charset to UTF-8. Returns content-type `application/json;charset=utf-8` so you must call expecting that content response not JSON.
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - (optional, default to false)
        +
        Returns:
        +
        EmailHtmlDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTMLJsonWithHttpInfo

        +
        public ApiResponse<EmailHtmlDto> getEmailHTMLJsonWithHttpInfo(UUID emailId,
        +                                                              Boolean decode)
        +                                                       throws ApiException
        +
        Get email content as HTML in JSON wrapper. For fetching entity decoded HTML content + Retrieve email content as HTML response. Decodes quoted-printable entities and converts charset to UTF-8. Returns content-type `application/json;charset=utf-8` so you must call expecting that content response not JSON.
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - (optional, default to false)
        +
        Returns:
        +
        ApiResponse<EmailHtmlDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTMLJsonAsync

        +
        public okhttp3.Call getEmailHTMLJsonAsync(UUID emailId,
        +                                          Boolean decode,
        +                                          ApiCallback<EmailHtmlDto> _callback)
        +                                   throws ApiException
        +
        Get email content as HTML in JSON wrapper. For fetching entity decoded HTML content (asynchronously) + Retrieve email content as HTML response. Decodes quoted-printable entities and converts charset to UTF-8. Returns content-type `application/json;charset=utf-8` so you must call expecting that content response not JSON.
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        decode - (optional, default to false)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTMLQueryCall

        +
        public okhttp3.Call getEmailHTMLQueryCall(UUID emailId,
        +                                          String htmlSelector,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for getEmailHTMLQuery
        +
        +
        Parameters:
        +
        emailId - ID of email to perform HTML query on (required)
        +
        htmlSelector - HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information. (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTMLQuery

        +
        public EmailTextLinesResult getEmailHTMLQuery(UUID emailId,
        +                                              String htmlSelector)
        +                                       throws ApiException
        +
        Parse and return text from an email, stripping HTML and decoding encoded characters + Parse an email body and return the content as an array of text. HTML parsing uses JSoup which supports JQuery/CSS style selectors
        +
        +
        Parameters:
        +
        emailId - ID of email to perform HTML query on (required)
        +
        htmlSelector - HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information. (required)
        +
        Returns:
        +
        EmailTextLinesResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTMLQueryWithHttpInfo

        +
        public ApiResponse<EmailTextLinesResult> getEmailHTMLQueryWithHttpInfo(UUID emailId,
        +                                                                       String htmlSelector)
        +                                                                throws ApiException
        +
        Parse and return text from an email, stripping HTML and decoding encoded characters + Parse an email body and return the content as an array of text. HTML parsing uses JSoup which supports JQuery/CSS style selectors
        +
        +
        Parameters:
        +
        emailId - ID of email to perform HTML query on (required)
        +
        htmlSelector - HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information. (required)
        +
        Returns:
        +
        ApiResponse<EmailTextLinesResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailHTMLQueryAsync

        +
        public okhttp3.Call getEmailHTMLQueryAsync(UUID emailId,
        +                                           String htmlSelector,
        +                                           ApiCallback<EmailTextLinesResult> _callback)
        +                                    throws ApiException
        +
        Parse and return text from an email, stripping HTML and decoding encoded characters (asynchronously) + Parse an email body and return the content as an array of text. HTML parsing uses JSoup which supports JQuery/CSS style selectors
        +
        +
        Parameters:
        +
        emailId - ID of email to perform HTML query on (required)
        +
        htmlSelector - HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information. (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailLinksCall

        +
        public okhttp3.Call getEmailLinksCall(UUID emailId,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for getEmailLinks
        +
        +
        Parameters:
        +
        emailId - ID of email to fetch text for (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailLinks

        +
        public EmailLinksResult getEmailLinks(UUID emailId)
        +                               throws ApiException
        +
        Parse and return list of links found in an email (only works for HTML content) + HTML parsing uses JSoup and UNIX line separators. Searches content for href attributes
        +
        +
        Parameters:
        +
        emailId - ID of email to fetch text for (required)
        +
        Returns:
        +
        EmailLinksResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailLinksWithHttpInfo

        +
        public ApiResponse<EmailLinksResult> getEmailLinksWithHttpInfo(UUID emailId)
        +                                                        throws ApiException
        +
        Parse and return list of links found in an email (only works for HTML content) + HTML parsing uses JSoup and UNIX line separators. Searches content for href attributes
        +
        +
        Parameters:
        +
        emailId - ID of email to fetch text for (required)
        +
        Returns:
        +
        ApiResponse<EmailLinksResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailLinksAsync

        +
        public okhttp3.Call getEmailLinksAsync(UUID emailId,
        +                                       ApiCallback<EmailLinksResult> _callback)
        +                                throws ApiException
        +
        Parse and return list of links found in an email (only works for HTML content) (asynchronously) + HTML parsing uses JSoup and UNIX line separators. Searches content for href attributes
        +
        +
        Parameters:
        +
        emailId - ID of email to fetch text for (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailPreviewURLsCall

        +
        public okhttp3.Call getEmailPreviewURLsCall(UUID emailId,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for getEmailPreviewURLs
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailPreviewURLs

        +
        public EmailPreviewUrls getEmailPreviewURLs(UUID emailId)
        +                                     throws ApiException
        +
        Get email URLs for viewing in browser or downloading + Get a list of URLs for email content as text/html or raw SMTP message for viewing the message in a browser.
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        Returns:
        +
        EmailPreviewUrls
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailPreviewURLsWithHttpInfo

        +
        public ApiResponse<EmailPreviewUrls> getEmailPreviewURLsWithHttpInfo(UUID emailId)
        +                                                              throws ApiException
        +
        Get email URLs for viewing in browser or downloading + Get a list of URLs for email content as text/html or raw SMTP message for viewing the message in a browser.
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        Returns:
        +
        ApiResponse<EmailPreviewUrls>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailPreviewURLsAsync

        +
        public okhttp3.Call getEmailPreviewURLsAsync(UUID emailId,
        +                                             ApiCallback<EmailPreviewUrls> _callback)
        +                                      throws ApiException
        +
        Get email URLs for viewing in browser or downloading (asynchronously) + Get a list of URLs for email content as text/html or raw SMTP message for viewing the message in a browser.
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailTextLinesCall

        +
        public okhttp3.Call getEmailTextLinesCall(UUID emailId,
        +                                          Boolean decodeHtmlEntities,
        +                                          String lineSeparator,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for getEmailTextLines
        +
        +
        Parameters:
        +
        emailId - ID of email to fetch text for (required)
        +
        decodeHtmlEntities - Decode HTML entities (optional)
        +
        lineSeparator - Line separator character (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailTextLines

        +
        public EmailTextLinesResult getEmailTextLines(UUID emailId,
        +                                              Boolean decodeHtmlEntities,
        +                                              String lineSeparator)
        +                                       throws ApiException
        +
        Parse and return text from an email, stripping HTML and decoding encoded characters + Parse an email body and return the content as an array of strings. HTML parsing uses JSoup and UNIX line separators.
        +
        +
        Parameters:
        +
        emailId - ID of email to fetch text for (required)
        +
        decodeHtmlEntities - Decode HTML entities (optional)
        +
        lineSeparator - Line separator character (optional)
        +
        Returns:
        +
        EmailTextLinesResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailTextLinesWithHttpInfo

        +
        public ApiResponse<EmailTextLinesResult> getEmailTextLinesWithHttpInfo(UUID emailId,
        +                                                                       Boolean decodeHtmlEntities,
        +                                                                       String lineSeparator)
        +                                                                throws ApiException
        +
        Parse and return text from an email, stripping HTML and decoding encoded characters + Parse an email body and return the content as an array of strings. HTML parsing uses JSoup and UNIX line separators.
        +
        +
        Parameters:
        +
        emailId - ID of email to fetch text for (required)
        +
        decodeHtmlEntities - Decode HTML entities (optional)
        +
        lineSeparator - Line separator character (optional)
        +
        Returns:
        +
        ApiResponse<EmailTextLinesResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailTextLinesAsync

        +
        public okhttp3.Call getEmailTextLinesAsync(UUID emailId,
        +                                           Boolean decodeHtmlEntities,
        +                                           String lineSeparator,
        +                                           ApiCallback<EmailTextLinesResult> _callback)
        +                                    throws ApiException
        +
        Parse and return text from an email, stripping HTML and decoding encoded characters (asynchronously) + Parse an email body and return the content as an array of strings. HTML parsing uses JSoup and UNIX line separators.
        +
        +
        Parameters:
        +
        emailId - ID of email to fetch text for (required)
        +
        decodeHtmlEntities - Decode HTML entities (optional)
        +
        lineSeparator - Line separator character (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailsPaginatedCall

        +
        public okhttp3.Call getEmailsPaginatedCall(List<UUID> inboxId,
        +                                           Integer page,
        +                                           Integer size,
        +                                           String sort,
        +                                           Boolean unreadOnly,
        +                                           String searchFilter,
        +                                           OffsetDateTime since,
        +                                           OffsetDateTime before,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for getEmailsPaginated
        +
        +
        Parameters:
        +
        inboxId - Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional)
        +
        page - Optional page index in email list pagination (optional, default to 0)
        +
        size - Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        searchFilter - Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body (optional)
        +
        since - Optional filter emails received after given date time (optional)
        +
        before - Optional filter emails received before given date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailsPaginated

        +
        public PageEmailProjection getEmailsPaginated(List<UUID> inboxId,
        +                                              Integer page,
        +                                              Integer size,
        +                                              String sort,
        +                                              Boolean unreadOnly,
        +                                              String searchFilter,
        +                                              OffsetDateTime since,
        +                                              OffsetDateTime before)
        +                                       throws ApiException
        +
        Get all emails in all inboxes in paginated form. Email API list all. + By default returns all emails across all inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
        +
        +
        Parameters:
        +
        inboxId - Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional)
        +
        page - Optional page index in email list pagination (optional, default to 0)
        +
        size - Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        searchFilter - Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body (optional)
        +
        since - Optional filter emails received after given date time (optional)
        +
        before - Optional filter emails received before given date time (optional)
        +
        Returns:
        +
        PageEmailProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailsPaginatedWithHttpInfo

        +
        public ApiResponse<PageEmailProjection> getEmailsPaginatedWithHttpInfo(List<UUID> inboxId,
        +                                                                       Integer page,
        +                                                                       Integer size,
        +                                                                       String sort,
        +                                                                       Boolean unreadOnly,
        +                                                                       String searchFilter,
        +                                                                       OffsetDateTime since,
        +                                                                       OffsetDateTime before)
        +                                                                throws ApiException
        +
        Get all emails in all inboxes in paginated form. Email API list all. + By default returns all emails across all inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
        +
        +
        Parameters:
        +
        inboxId - Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional)
        +
        page - Optional page index in email list pagination (optional, default to 0)
        +
        size - Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        searchFilter - Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body (optional)
        +
        since - Optional filter emails received after given date time (optional)
        +
        before - Optional filter emails received before given date time (optional)
        +
        Returns:
        +
        ApiResponse<PageEmailProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailsPaginatedAsync

        +
        public okhttp3.Call getEmailsPaginatedAsync(List<UUID> inboxId,
        +                                            Integer page,
        +                                            Integer size,
        +                                            String sort,
        +                                            Boolean unreadOnly,
        +                                            String searchFilter,
        +                                            OffsetDateTime since,
        +                                            OffsetDateTime before,
        +                                            ApiCallback<PageEmailProjection> _callback)
        +                                     throws ApiException
        +
        Get all emails in all inboxes in paginated form. Email API list all. (asynchronously) + By default returns all emails across all inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
        +
        +
        Parameters:
        +
        inboxId - Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional)
        +
        page - Optional page index in email list pagination (optional, default to 0)
        +
        size - Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        searchFilter - Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body (optional)
        +
        since - Optional filter emails received after given date time (optional)
        +
        before - Optional filter emails received before given date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGravatarUrlForEmailAddressCall

        +
        public okhttp3.Call getGravatarUrlForEmailAddressCall(String emailAddress,
        +                                                      String size,
        +                                                      ApiCallback _callback)
        +                                               throws ApiException
        +
        Build call for getGravatarUrlForEmailAddress
        +
        +
        Parameters:
        +
        emailAddress - (required)
        +
        size - (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGravatarUrlForEmailAddress

        +
        public GravatarUrl getGravatarUrlForEmailAddress(String emailAddress,
        +                                                 String size)
        +                                          throws ApiException
        +
        Get gravatar url for email address
        +
        +
        Parameters:
        +
        emailAddress - (required)
        +
        size - (optional)
        +
        Returns:
        +
        GravatarUrl
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGravatarUrlForEmailAddressWithHttpInfo

        +
        public ApiResponse<GravatarUrl> getGravatarUrlForEmailAddressWithHttpInfo(String emailAddress,
        +                                                                          String size)
        +                                                                   throws ApiException
        +
        Get gravatar url for email address
        +
        +
        Parameters:
        +
        emailAddress - (required)
        +
        size - (optional)
        +
        Returns:
        +
        ApiResponse<GravatarUrl>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGravatarUrlForEmailAddressAsync

        +
        public okhttp3.Call getGravatarUrlForEmailAddressAsync(String emailAddress,
        +                                                       String size,
        +                                                       ApiCallback<GravatarUrl> _callback)
        +                                                throws ApiException
        +
        (asynchronously) + Get gravatar url for email address
        +
        +
        Parameters:
        +
        emailAddress - (required)
        +
        size - (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmailCall

        +
        public okhttp3.Call getLatestEmailCall(List<UUID> inboxIds,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for getLatestEmail
        +
        +
        Parameters:
        +
        inboxIds - Optional set of inboxes to filter by. Only get the latest email from these inbox IDs. If not provided will search across all inboxes (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmail

        +
        public Email getLatestEmail(List<UUID> inboxIds)
        +                     throws ApiException
        +
        Get latest email in all inboxes. Most recently received. + Get the newest email in all inboxes or in a passed set of inbox IDs
        +
        +
        Parameters:
        +
        inboxIds - Optional set of inboxes to filter by. Only get the latest email from these inbox IDs. If not provided will search across all inboxes (optional)
        +
        Returns:
        +
        Email
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmailWithHttpInfo

        +
        public ApiResponse<Email> getLatestEmailWithHttpInfo(List<UUID> inboxIds)
        +                                              throws ApiException
        +
        Get latest email in all inboxes. Most recently received. + Get the newest email in all inboxes or in a passed set of inbox IDs
        +
        +
        Parameters:
        +
        inboxIds - Optional set of inboxes to filter by. Only get the latest email from these inbox IDs. If not provided will search across all inboxes (optional)
        +
        Returns:
        +
        ApiResponse<Email>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmailAsync

        +
        public okhttp3.Call getLatestEmailAsync(List<UUID> inboxIds,
        +                                        ApiCallback<Email> _callback)
        +                                 throws ApiException
        +
        Get latest email in all inboxes. Most recently received. (asynchronously) + Get the newest email in all inboxes or in a passed set of inbox IDs
        +
        +
        Parameters:
        +
        inboxIds - Optional set of inboxes to filter by. Only get the latest email from these inbox IDs. If not provided will search across all inboxes (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmailInInbox1Call

        +
        public okhttp3.Call getLatestEmailInInbox1Call(UUID inboxId,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for getLatestEmailInInbox1
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to get the latest email from (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmailInInbox1

        +
        public Email getLatestEmailInInbox1(UUID inboxId)
        +                             throws ApiException
        +
        Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + Get the newest email in all inboxes or in a passed set of inbox IDs
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to get the latest email from (required)
        +
        Returns:
        +
        Email
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmailInInbox1WithHttpInfo

        +
        public ApiResponse<Email> getLatestEmailInInbox1WithHttpInfo(UUID inboxId)
        +                                                      throws ApiException
        +
        Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + Get the newest email in all inboxes or in a passed set of inbox IDs
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to get the latest email from (required)
        +
        Returns:
        +
        ApiResponse<Email>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmailInInbox1Async

        +
        public okhttp3.Call getLatestEmailInInbox1Async(UUID inboxId,
        +                                                ApiCallback<Email> _callback)
        +                                         throws ApiException
        +
        Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. (asynchronously) + Get the newest email in all inboxes or in a passed set of inbox IDs
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to get the latest email from (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getOrganizationEmailsPaginatedCall

        +
        public okhttp3.Call getOrganizationEmailsPaginatedCall(List<UUID> inboxId,
        +                                                       Integer page,
        +                                                       Integer size,
        +                                                       String sort,
        +                                                       Boolean unreadOnly,
        +                                                       String searchFilter,
        +                                                       OffsetDateTime since,
        +                                                       OffsetDateTime before,
        +                                                       ApiCallback _callback)
        +                                                throws ApiException
        +
        Build call for getOrganizationEmailsPaginated
        +
        +
        Parameters:
        +
        inboxId - Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional)
        +
        page - Optional page index in email list pagination (optional, default to 0)
        +
        size - Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        searchFilter - Optional search filter search filter for emails. (optional)
        +
        since - Optional filter emails received after given date time (optional)
        +
        before - Optional filter emails received before given date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getOrganizationEmailsPaginated

        +
        public PageEmailProjection getOrganizationEmailsPaginated(List<UUID> inboxId,
        +                                                          Integer page,
        +                                                          Integer size,
        +                                                          String sort,
        +                                                          Boolean unreadOnly,
        +                                                          String searchFilter,
        +                                                          OffsetDateTime since,
        +                                                          OffsetDateTime before)
        +                                                   throws ApiException
        +
        Get all organization emails. List team or shared test email accounts + By default returns all emails across all team inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
        +
        +
        Parameters:
        +
        inboxId - Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional)
        +
        page - Optional page index in email list pagination (optional, default to 0)
        +
        size - Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        searchFilter - Optional search filter search filter for emails. (optional)
        +
        since - Optional filter emails received after given date time (optional)
        +
        before - Optional filter emails received before given date time (optional)
        +
        Returns:
        +
        PageEmailProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getOrganizationEmailsPaginatedWithHttpInfo

        +
        public ApiResponse<PageEmailProjection> getOrganizationEmailsPaginatedWithHttpInfo(List<UUID> inboxId,
        +                                                                                   Integer page,
        +                                                                                   Integer size,
        +                                                                                   String sort,
        +                                                                                   Boolean unreadOnly,
        +                                                                                   String searchFilter,
        +                                                                                   OffsetDateTime since,
        +                                                                                   OffsetDateTime before)
        +                                                                            throws ApiException
        +
        Get all organization emails. List team or shared test email accounts + By default returns all emails across all team inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
        +
        +
        Parameters:
        +
        inboxId - Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional)
        +
        page - Optional page index in email list pagination (optional, default to 0)
        +
        size - Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        searchFilter - Optional search filter search filter for emails. (optional)
        +
        since - Optional filter emails received after given date time (optional)
        +
        before - Optional filter emails received before given date time (optional)
        +
        Returns:
        +
        ApiResponse<PageEmailProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getOrganizationEmailsPaginatedAsync

        +
        public okhttp3.Call getOrganizationEmailsPaginatedAsync(List<UUID> inboxId,
        +                                                        Integer page,
        +                                                        Integer size,
        +                                                        String sort,
        +                                                        Boolean unreadOnly,
        +                                                        String searchFilter,
        +                                                        OffsetDateTime since,
        +                                                        OffsetDateTime before,
        +                                                        ApiCallback<PageEmailProjection> _callback)
        +                                                 throws ApiException
        +
        Get all organization emails. List team or shared test email accounts (asynchronously) + By default returns all emails across all team inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
        +
        +
        Parameters:
        +
        inboxId - Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional)
        +
        page - Optional page index in email list pagination (optional, default to 0)
        +
        size - Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        searchFilter - Optional search filter search filter for emails. (optional)
        +
        since - Optional filter emails received after given date time (optional)
        +
        before - Optional filter emails received before given date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawEmailContentsCall

        +
        public okhttp3.Call getRawEmailContentsCall(UUID emailId,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for getRawEmailContents
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawEmailContents

        +
        public String getRawEmailContents(UUID emailId)
        +                           throws ApiException
        +
        Get raw email string. Returns unparsed raw SMTP message with headers and body. + Returns a raw, unparsed, and unprocessed email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawEmailJson endpoint
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        String
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawEmailContentsWithHttpInfo

        +
        public ApiResponse<String> getRawEmailContentsWithHttpInfo(UUID emailId)
        +                                                    throws ApiException
        +
        Get raw email string. Returns unparsed raw SMTP message with headers and body. + Returns a raw, unparsed, and unprocessed email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawEmailJson endpoint
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        ApiResponse<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawEmailContentsAsync

        +
        public okhttp3.Call getRawEmailContentsAsync(UUID emailId,
        +                                             ApiCallback<String> _callback)
        +                                      throws ApiException
        +
        Get raw email string. Returns unparsed raw SMTP message with headers and body. (asynchronously) + Returns a raw, unparsed, and unprocessed email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawEmailJson endpoint
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawEmailJsonCall

        +
        public okhttp3.Call getRawEmailJsonCall(UUID emailId,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for getRawEmailJson
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawEmailJson

        +
        public RawEmailJson getRawEmailJson(UUID emailId)
        +                             throws ApiException
        +
        Get raw email in JSON. Unparsed SMTP message in JSON wrapper format. + Returns a raw, unparsed, and unprocessed email wrapped in a JSON response object for easier handling when compared with the getRawEmail text/plain response
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        RawEmailJson
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawEmailJsonWithHttpInfo

        +
        public ApiResponse<RawEmailJson> getRawEmailJsonWithHttpInfo(UUID emailId)
        +                                                      throws ApiException
        +
        Get raw email in JSON. Unparsed SMTP message in JSON wrapper format. + Returns a raw, unparsed, and unprocessed email wrapped in a JSON response object for easier handling when compared with the getRawEmail text/plain response
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        ApiResponse<RawEmailJson>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawEmailJsonAsync

        +
        public okhttp3.Call getRawEmailJsonAsync(UUID emailId,
        +                                         ApiCallback<RawEmailJson> _callback)
        +                                  throws ApiException
        +
        Get raw email in JSON. Unparsed SMTP message in JSON wrapper format. (asynchronously) + Returns a raw, unparsed, and unprocessed email wrapped in a JSON response object for easier handling when compared with the getRawEmail text/plain response
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUnreadEmailCountCall

        +
        public okhttp3.Call getUnreadEmailCountCall(ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for getUnreadEmailCount
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUnreadEmailCount

        +
        public UnreadCount getUnreadEmailCount()
        +                                throws ApiException
        +
        Get unread email count + Get number of emails unread. Unread means has not been viewed in dashboard or returned in an email API response
        +
        +
        Returns:
        +
        UnreadCount
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUnreadEmailCountWithHttpInfo

        +
        public ApiResponse<UnreadCount> getUnreadEmailCountWithHttpInfo()
        +                                                         throws ApiException
        +
        Get unread email count + Get number of emails unread. Unread means has not been viewed in dashboard or returned in an email API response
        +
        +
        Returns:
        +
        ApiResponse<UnreadCount>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUnreadEmailCountAsync

        +
        public okhttp3.Call getUnreadEmailCountAsync(ApiCallback<UnreadCount> _callback)
        +                                      throws ApiException
        +
        Get unread email count (asynchronously) + Get number of emails unread. Unread means has not been viewed in dashboard or returned in an email API response
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        markAsReadCall

        +
        public okhttp3.Call markAsReadCall(UUID emailId,
        +                                   Boolean read,
        +                                   ApiCallback _callback)
        +                            throws ApiException
        +
        Build call for markAsRead
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        read - What value to assign to email read property. Default true. (optional, default to true)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        markAsRead

        +
        public EmailPreview markAsRead(UUID emailId,
        +                               Boolean read)
        +                        throws ApiException
        +
        Mark an email as read on unread + Marks an email as read or unread. Pass boolean read flag to set value. This is useful if you want to read an email but keep it as unread
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        read - What value to assign to email read property. Default true. (optional, default to true)
        +
        Returns:
        +
        EmailPreview
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        markAsReadWithHttpInfo

        +
        public ApiResponse<EmailPreview> markAsReadWithHttpInfo(UUID emailId,
        +                                                        Boolean read)
        +                                                 throws ApiException
        +
        Mark an email as read on unread + Marks an email as read or unread. Pass boolean read flag to set value. This is useful if you want to read an email but keep it as unread
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        read - What value to assign to email read property. Default true. (optional, default to true)
        +
        Returns:
        +
        ApiResponse<EmailPreview>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        markAsReadAsync

        +
        public okhttp3.Call markAsReadAsync(UUID emailId,
        +                                    Boolean read,
        +                                    ApiCallback<EmailPreview> _callback)
        +                             throws ApiException
        +
        Mark an email as read on unread (asynchronously) + Marks an email as read or unread. Pass boolean read flag to set value. This is useful if you want to read an email but keep it as unread
        +
        +
        Parameters:
        +
        emailId - (required)
        +
        read - What value to assign to email read property. Default true. (optional, default to true)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        replyToEmailCall

        +
        public okhttp3.Call replyToEmailCall(UUID emailId,
        +                                     ReplyToEmailOptions replyToEmailOptions,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for replyToEmail
        +
        +
        Parameters:
        +
        emailId - ID of the email that should be replied to (required)
        +
        replyToEmailOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        replyToEmail

        +
        public SentEmailDto replyToEmail(UUID emailId,
        +                                 ReplyToEmailOptions replyToEmailOptions)
        +                          throws ApiException
        +
        Reply to an email + Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`.
        +
        +
        Parameters:
        +
        emailId - ID of the email that should be replied to (required)
        +
        replyToEmailOptions - (required)
        +
        Returns:
        +
        SentEmailDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        replyToEmailWithHttpInfo

        +
        public ApiResponse<SentEmailDto> replyToEmailWithHttpInfo(UUID emailId,
        +                                                          ReplyToEmailOptions replyToEmailOptions)
        +                                                   throws ApiException
        +
        Reply to an email + Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`.
        +
        +
        Parameters:
        +
        emailId - ID of the email that should be replied to (required)
        +
        replyToEmailOptions - (required)
        +
        Returns:
        +
        ApiResponse<SentEmailDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        replyToEmailAsync

        +
        public okhttp3.Call replyToEmailAsync(UUID emailId,
        +                                      ReplyToEmailOptions replyToEmailOptions,
        +                                      ApiCallback<SentEmailDto> _callback)
        +                               throws ApiException
        +
        Reply to an email (asynchronously) + Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`.
        +
        +
        Parameters:
        +
        emailId - ID of the email that should be replied to (required)
        +
        replyToEmailOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailSourceOptionalCall

        +
        public okhttp3.Call sendEmailSourceOptionalCall(SendEmailOptions sendEmailOptions,
        +                                                UUID inboxId,
        +                                                Boolean useDomainPool,
        +                                                Boolean virtualSend,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for sendEmailSourceOptional
        +
        +
        Parameters:
        +
        sendEmailOptions - (required)
        +
        inboxId - ID of the inbox you want to send the email from (optional)
        +
        useDomainPool - Use domain pool. Optionally create inbox to send from using the mailslurp domain pool. (optional)
        +
        virtualSend - Optionally create inbox to send from that is a virtual inbox and won't send to external addresses (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailSourceOptional

        +
        public void sendEmailSourceOptional(SendEmailOptions sendEmailOptions,
        +                                    UUID inboxId,
        +                                    Boolean useDomainPool,
        +                                    Boolean virtualSend)
        +                             throws ApiException
        +
        Send email + Alias for `InboxController.sendEmail` method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email.
        +
        +
        Parameters:
        +
        sendEmailOptions - (required)
        +
        inboxId - ID of the inbox you want to send the email from (optional)
        +
        useDomainPool - Use domain pool. Optionally create inbox to send from using the mailslurp domain pool. (optional)
        +
        virtualSend - Optionally create inbox to send from that is a virtual inbox and won't send to external addresses (optional)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailSourceOptionalWithHttpInfo

        +
        public ApiResponse<Void> sendEmailSourceOptionalWithHttpInfo(SendEmailOptions sendEmailOptions,
        +                                                             UUID inboxId,
        +                                                             Boolean useDomainPool,
        +                                                             Boolean virtualSend)
        +                                                      throws ApiException
        +
        Send email + Alias for `InboxController.sendEmail` method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email.
        +
        +
        Parameters:
        +
        sendEmailOptions - (required)
        +
        inboxId - ID of the inbox you want to send the email from (optional)
        +
        useDomainPool - Use domain pool. Optionally create inbox to send from using the mailslurp domain pool. (optional)
        +
        virtualSend - Optionally create inbox to send from that is a virtual inbox and won't send to external addresses (optional)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailSourceOptionalAsync

        +
        public okhttp3.Call sendEmailSourceOptionalAsync(SendEmailOptions sendEmailOptions,
        +                                                 UUID inboxId,
        +                                                 Boolean useDomainPool,
        +                                                 Boolean virtualSend,
        +                                                 ApiCallback<Void> _callback)
        +                                          throws ApiException
        +
        Send email (asynchronously) + Alias for `InboxController.sendEmail` method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email.
        +
        +
        Parameters:
        +
        sendEmailOptions - (required)
        +
        inboxId - ID of the inbox you want to send the email from (optional)
        +
        useDomainPool - Use domain pool. Optionally create inbox to send from using the mailslurp domain pool. (optional)
        +
        virtualSend - Optionally create inbox to send from that is a virtual inbox and won't send to external addresses (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        validateEmailCall

        +
        public okhttp3.Call validateEmailCall(UUID emailId,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for validateEmail
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        validateEmail

        +
        public ValidationDto validateEmail(UUID emailId)
        +                            throws ApiException
        +
        Validate email HTML contents + Validate the HTML content of email if HTML is found. Considered valid if no HTML is present.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        ValidationDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        validateEmailWithHttpInfo

        +
        public ApiResponse<ValidationDto> validateEmailWithHttpInfo(UUID emailId)
        +                                                     throws ApiException
        +
        Validate email HTML contents + Validate the HTML content of email if HTML is found. Considered valid if no HTML is present.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        ApiResponse<ValidationDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        validateEmailAsync

        +
        public okhttp3.Call validateEmailAsync(UUID emailId,
        +                                       ApiCallback<ValidationDto> _callback)
        +                                throws ApiException
        +
        Validate email HTML contents (asynchronously) + Validate the HTML content of email if HTML is found. Considered valid if no HTML is present.
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/EmailVerificationControllerApi.html b/site/com/mailslurp/apis/EmailVerificationControllerApi.html new file mode 100644 index 000000000..3d2f60c0e --- /dev/null +++ b/site/com/mailslurp/apis/EmailVerificationControllerApi.html @@ -0,0 +1,674 @@ + + + + + + +EmailVerificationControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class EmailVerificationControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class EmailVerificationControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EmailVerificationControllerApi

        +
        public EmailVerificationControllerApi()
        +
      • +
      + + + +
        +
      • +

        EmailVerificationControllerApi

        +
        public EmailVerificationControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        getValidationRequestsCall

        +
        public okhttp3.Call getValidationRequestsCall(Integer page,
        +                                              Integer size,
        +                                              String sort,
        +                                              String searchFilter,
        +                                              OffsetDateTime since,
        +                                              OffsetDateTime before,
        +                                              Boolean isValid,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for getValidationRequests
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        isValid - Filter where email is valid is true or false (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getValidationRequests

        +
        public PageEmailValidationRequest getValidationRequests(Integer page,
        +                                                        Integer size,
        +                                                        String sort,
        +                                                        String searchFilter,
        +                                                        OffsetDateTime since,
        +                                                        OffsetDateTime before,
        +                                                        Boolean isValid)
        +                                                 throws ApiException
        +
        Validate a list of email addresses. Per unit billing. See your plan for pricing.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        isValid - Filter where email is valid is true or false (optional)
        +
        Returns:
        +
        PageEmailValidationRequest
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getValidationRequestsWithHttpInfo

        +
        public ApiResponse<PageEmailValidationRequest> getValidationRequestsWithHttpInfo(Integer page,
        +                                                                                 Integer size,
        +                                                                                 String sort,
        +                                                                                 String searchFilter,
        +                                                                                 OffsetDateTime since,
        +                                                                                 OffsetDateTime before,
        +                                                                                 Boolean isValid)
        +                                                                          throws ApiException
        +
        Validate a list of email addresses. Per unit billing. See your plan for pricing.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        isValid - Filter where email is valid is true or false (optional)
        +
        Returns:
        +
        ApiResponse<PageEmailValidationRequest>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getValidationRequestsAsync

        +
        public okhttp3.Call getValidationRequestsAsync(Integer page,
        +                                               Integer size,
        +                                               String sort,
        +                                               String searchFilter,
        +                                               OffsetDateTime since,
        +                                               OffsetDateTime before,
        +                                               Boolean isValid,
        +                                               ApiCallback<PageEmailValidationRequest> _callback)
        +                                        throws ApiException
        +
        Validate a list of email addresses. Per unit billing. See your plan for pricing. (asynchronously)
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        isValid - Filter where email is valid is true or false (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        validateEmailAddressListCall

        +
        public okhttp3.Call validateEmailAddressListCall(ValidateEmailAddressListOptions validateEmailAddressListOptions,
        +                                                 ApiCallback _callback)
        +                                          throws ApiException
        +
        Build call for validateEmailAddressList
        +
        +
        Parameters:
        +
        validateEmailAddressListOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        validateEmailAddressList

        +
        public ValidateEmailAddressListResult validateEmailAddressList(ValidateEmailAddressListOptions validateEmailAddressListOptions)
        +                                                        throws ApiException
        +
        Validate a list of email addresses. Per unit billing. See your plan for pricing.
        +
        +
        Parameters:
        +
        validateEmailAddressListOptions - (required)
        +
        Returns:
        +
        ValidateEmailAddressListResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        validateEmailAddressListWithHttpInfo

        +
        public ApiResponse<ValidateEmailAddressListResult> validateEmailAddressListWithHttpInfo(ValidateEmailAddressListOptions validateEmailAddressListOptions)
        +                                                                                 throws ApiException
        +
        Validate a list of email addresses. Per unit billing. See your plan for pricing.
        +
        +
        Parameters:
        +
        validateEmailAddressListOptions - (required)
        +
        Returns:
        +
        ApiResponse<ValidateEmailAddressListResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        validateEmailAddressListAsync

        +
        public okhttp3.Call validateEmailAddressListAsync(ValidateEmailAddressListOptions validateEmailAddressListOptions,
        +                                                  ApiCallback<ValidateEmailAddressListResult> _callback)
        +                                           throws ApiException
        +
        Validate a list of email addresses. Per unit billing. See your plan for pricing. (asynchronously)
        +
        +
        Parameters:
        +
        validateEmailAddressListOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/ExpiredControllerApi.html b/site/com/mailslurp/apis/ExpiredControllerApi.html new file mode 100644 index 000000000..ed622d708 --- /dev/null +++ b/site/com/mailslurp/apis/ExpiredControllerApi.html @@ -0,0 +1,916 @@ + + + + + + +ExpiredControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class ExpiredControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class ExpiredControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ExpiredControllerApi

        +
        public ExpiredControllerApi()
        +
      • +
      + + + +
        +
      • +

        ExpiredControllerApi

        +
        public ExpiredControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        getExpirationDefaultsCall

        +
        public okhttp3.Call getExpirationDefaultsCall(ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for getExpirationDefaults
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpirationDefaults

        +
        public ExpirationDefaults getExpirationDefaults()
        +                                         throws ApiException
        +
        Get default expiration settings + Return default times used for inbox expiration
        +
        +
        Returns:
        +
        ExpirationDefaults
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpirationDefaultsWithHttpInfo

        +
        public ApiResponse<ExpirationDefaults> getExpirationDefaultsWithHttpInfo()
        +                                                                  throws ApiException
        +
        Get default expiration settings + Return default times used for inbox expiration
        +
        +
        Returns:
        +
        ApiResponse<ExpirationDefaults>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpirationDefaultsAsync

        +
        public okhttp3.Call getExpirationDefaultsAsync(ApiCallback<ExpirationDefaults> _callback)
        +                                        throws ApiException
        +
        Get default expiration settings (asynchronously) + Return default times used for inbox expiration
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxByInboxIdCall

        +
        public okhttp3.Call getExpiredInboxByInboxIdCall(UUID inboxId,
        +                                                 ApiCallback _callback)
        +                                          throws ApiException
        +
        Build call for getExpiredInboxByInboxId
        +
        +
        Parameters:
        +
        inboxId - ID of inbox you want to retrieve (not the inbox ID) (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxByInboxId

        +
        public ExpiredInboxDto getExpiredInboxByInboxId(UUID inboxId)
        +                                         throws ApiException
        +
        Get expired inbox record for a previously existing inbox + Use the inboxId to return an ExpiredInboxRecord if an inbox has expired. Inboxes expire and are disabled if an expiration date is set or plan requires. Returns 404 if no expired inbox is found for the inboxId
        +
        +
        Parameters:
        +
        inboxId - ID of inbox you want to retrieve (not the inbox ID) (required)
        +
        Returns:
        +
        ExpiredInboxDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxByInboxIdWithHttpInfo

        +
        public ApiResponse<ExpiredInboxDto> getExpiredInboxByInboxIdWithHttpInfo(UUID inboxId)
        +                                                                  throws ApiException
        +
        Get expired inbox record for a previously existing inbox + Use the inboxId to return an ExpiredInboxRecord if an inbox has expired. Inboxes expire and are disabled if an expiration date is set or plan requires. Returns 404 if no expired inbox is found for the inboxId
        +
        +
        Parameters:
        +
        inboxId - ID of inbox you want to retrieve (not the inbox ID) (required)
        +
        Returns:
        +
        ApiResponse<ExpiredInboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxByInboxIdAsync

        +
        public okhttp3.Call getExpiredInboxByInboxIdAsync(UUID inboxId,
        +                                                  ApiCallback<ExpiredInboxDto> _callback)
        +                                           throws ApiException
        +
        Get expired inbox record for a previously existing inbox (asynchronously) + Use the inboxId to return an ExpiredInboxRecord if an inbox has expired. Inboxes expire and are disabled if an expiration date is set or plan requires. Returns 404 if no expired inbox is found for the inboxId
        +
        +
        Parameters:
        +
        inboxId - ID of inbox you want to retrieve (not the inbox ID) (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxRecordCall

        +
        public okhttp3.Call getExpiredInboxRecordCall(UUID expiredId,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for getExpiredInboxRecord
        +
        +
        Parameters:
        +
        expiredId - ID of the ExpiredInboxRecord you want to retrieve. This is different from the ID of the inbox you are interested in. See other methods for getting ExpiredInboxRecord for an inbox inboxId (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxRecord

        +
        public ExpiredInboxDto getExpiredInboxRecord(UUID expiredId)
        +                                      throws ApiException
        +
        Get an expired inbox record + Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity. You can still read emails in the inbox but it can no longer send or receive emails. Fetch the expired inboxes to view the old inboxes properties
        +
        +
        Parameters:
        +
        expiredId - ID of the ExpiredInboxRecord you want to retrieve. This is different from the ID of the inbox you are interested in. See other methods for getting ExpiredInboxRecord for an inbox inboxId (required)
        +
        Returns:
        +
        ExpiredInboxDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxRecordWithHttpInfo

        +
        public ApiResponse<ExpiredInboxDto> getExpiredInboxRecordWithHttpInfo(UUID expiredId)
        +                                                               throws ApiException
        +
        Get an expired inbox record + Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity. You can still read emails in the inbox but it can no longer send or receive emails. Fetch the expired inboxes to view the old inboxes properties
        +
        +
        Parameters:
        +
        expiredId - ID of the ExpiredInboxRecord you want to retrieve. This is different from the ID of the inbox you are interested in. See other methods for getting ExpiredInboxRecord for an inbox inboxId (required)
        +
        Returns:
        +
        ApiResponse<ExpiredInboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxRecordAsync

        +
        public okhttp3.Call getExpiredInboxRecordAsync(UUID expiredId,
        +                                               ApiCallback<ExpiredInboxDto> _callback)
        +                                        throws ApiException
        +
        Get an expired inbox record (asynchronously) + Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity. You can still read emails in the inbox but it can no longer send or receive emails. Fetch the expired inboxes to view the old inboxes properties
        +
        +
        Parameters:
        +
        expiredId - ID of the ExpiredInboxRecord you want to retrieve. This is different from the ID of the inbox you are interested in. See other methods for getting ExpiredInboxRecord for an inbox inboxId (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxesCall

        +
        public okhttp3.Call getExpiredInboxesCall(Integer page,
        +                                          Integer size,
        +                                          String sort,
        +                                          OffsetDateTime since,
        +                                          OffsetDateTime before,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for getExpiredInboxes
        +
        +
        Parameters:
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxes

        +
        public PageExpiredInboxRecordProjection getExpiredInboxes(Integer page,
        +                                                          Integer size,
        +                                                          String sort,
        +                                                          OffsetDateTime since,
        +                                                          OffsetDateTime before)
        +                                                   throws ApiException
        +
        List records of expired inboxes + Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties
        +
        +
        Parameters:
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageExpiredInboxRecordProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxesWithHttpInfo

        +
        public ApiResponse<PageExpiredInboxRecordProjection> getExpiredInboxesWithHttpInfo(Integer page,
        +                                                                                   Integer size,
        +                                                                                   String sort,
        +                                                                                   OffsetDateTime since,
        +                                                                                   OffsetDateTime before)
        +                                                                            throws ApiException
        +
        List records of expired inboxes + Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties
        +
        +
        Parameters:
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageExpiredInboxRecordProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExpiredInboxesAsync

        +
        public okhttp3.Call getExpiredInboxesAsync(Integer page,
        +                                           Integer size,
        +                                           String sort,
        +                                           OffsetDateTime since,
        +                                           OffsetDateTime before,
        +                                           ApiCallback<PageExpiredInboxRecordProjection> _callback)
        +                                    throws ApiException
        +
        List records of expired inboxes (asynchronously) + Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties
        +
        +
        Parameters:
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/ExportControllerApi.html b/site/com/mailslurp/apis/ExportControllerApi.html new file mode 100644 index 000000000..bd2352782 --- /dev/null +++ b/site/com/mailslurp/apis/ExportControllerApi.html @@ -0,0 +1,710 @@ + + + + + + +ExportControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class ExportControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class ExportControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ExportControllerApi

        +
        public ExportControllerApi()
        +
      • +
      + + + +
        +
      • +

        ExportControllerApi

        +
        public ExportControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        exportEntitiesCall

        +
        public okhttp3.Call exportEntitiesCall(String exportType,
        +                                       String apiKey,
        +                                       String outputFormat,
        +                                       String filter,
        +                                       String listSeparatorToken,
        +                                       Boolean excludePreviouslyExported,
        +                                       OffsetDateTime createdEarliestTime,
        +                                       OffsetDateTime createdOldestTime,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for exportEntities
        +
        +
        Parameters:
        +
        exportType - (required)
        +
        apiKey - (required)
        +
        outputFormat - (required)
        +
        filter - (optional)
        +
        listSeparatorToken - (optional)
        +
        excludePreviouslyExported - (optional)
        +
        createdEarliestTime - (optional)
        +
        createdOldestTime - (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        exportEntities

        +
        public List<byte[]> exportEntities(String exportType,
        +                                   String apiKey,
        +                                   String outputFormat,
        +                                   String filter,
        +                                   String listSeparatorToken,
        +                                   Boolean excludePreviouslyExported,
        +                                   OffsetDateTime createdEarliestTime,
        +                                   OffsetDateTime createdOldestTime)
        +                            throws ApiException
        +
        Export inboxes link callable via browser
        +
        +
        Parameters:
        +
        exportType - (required)
        +
        apiKey - (required)
        +
        outputFormat - (required)
        +
        filter - (optional)
        +
        listSeparatorToken - (optional)
        +
        excludePreviouslyExported - (optional)
        +
        createdEarliestTime - (optional)
        +
        createdOldestTime - (optional)
        +
        Returns:
        +
        List<byte[]>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        exportEntitiesWithHttpInfo

        +
        public ApiResponse<List<byte[]>> exportEntitiesWithHttpInfo(String exportType,
        +                                                            String apiKey,
        +                                                            String outputFormat,
        +                                                            String filter,
        +                                                            String listSeparatorToken,
        +                                                            Boolean excludePreviouslyExported,
        +                                                            OffsetDateTime createdEarliestTime,
        +                                                            OffsetDateTime createdOldestTime)
        +                                                     throws ApiException
        +
        Export inboxes link callable via browser
        +
        +
        Parameters:
        +
        exportType - (required)
        +
        apiKey - (required)
        +
        outputFormat - (required)
        +
        filter - (optional)
        +
        listSeparatorToken - (optional)
        +
        excludePreviouslyExported - (optional)
        +
        createdEarliestTime - (optional)
        +
        createdOldestTime - (optional)
        +
        Returns:
        +
        ApiResponse<List<byte[]>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        exportEntitiesAsync

        +
        public okhttp3.Call exportEntitiesAsync(String exportType,
        +                                        String apiKey,
        +                                        String outputFormat,
        +                                        String filter,
        +                                        String listSeparatorToken,
        +                                        Boolean excludePreviouslyExported,
        +                                        OffsetDateTime createdEarliestTime,
        +                                        OffsetDateTime createdOldestTime,
        +                                        ApiCallback<List<byte[]>> _callback)
        +                                 throws ApiException
        +
        Export inboxes link callable via browser (asynchronously)
        +
        +
        Parameters:
        +
        exportType - (required)
        +
        apiKey - (required)
        +
        outputFormat - (required)
        +
        filter - (optional)
        +
        listSeparatorToken - (optional)
        +
        excludePreviouslyExported - (optional)
        +
        createdEarliestTime - (optional)
        +
        createdOldestTime - (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExportLinkCall

        +
        public okhttp3.Call getExportLinkCall(String exportType,
        +                                      ExportOptions exportOptions,
        +                                      String apiKey,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for getExportLink
        +
        +
        Parameters:
        +
        exportType - (required)
        +
        exportOptions - (required)
        +
        apiKey - (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExportLink

        +
        public ExportLink getExportLink(String exportType,
        +                                ExportOptions exportOptions,
        +                                String apiKey)
        +                         throws ApiException
        +
        Get export link
        +
        +
        Parameters:
        +
        exportType - (required)
        +
        exportOptions - (required)
        +
        apiKey - (optional)
        +
        Returns:
        +
        ExportLink
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExportLinkWithHttpInfo

        +
        public ApiResponse<ExportLink> getExportLinkWithHttpInfo(String exportType,
        +                                                         ExportOptions exportOptions,
        +                                                         String apiKey)
        +                                                  throws ApiException
        +
        Get export link
        +
        +
        Parameters:
        +
        exportType - (required)
        +
        exportOptions - (required)
        +
        apiKey - (optional)
        +
        Returns:
        +
        ApiResponse<ExportLink>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getExportLinkAsync

        +
        public okhttp3.Call getExportLinkAsync(String exportType,
        +                                       ExportOptions exportOptions,
        +                                       String apiKey,
        +                                       ApiCallback<ExportLink> _callback)
        +                                throws ApiException
        +
        Get export link (asynchronously)
        +
        +
        Parameters:
        +
        exportType - (required)
        +
        exportOptions - (required)
        +
        apiKey - (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/FormControllerApi.html b/site/com/mailslurp/apis/FormControllerApi.html new file mode 100644 index 000000000..992ebb653 --- /dev/null +++ b/site/com/mailslurp/apis/FormControllerApi.html @@ -0,0 +1,554 @@ + + + + + + +FormControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class FormControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class FormControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FormControllerApi

        +
        public FormControllerApi()
        +
      • +
      + + + +
        +
      • +

        FormControllerApi

        +
        public FormControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        submitFormCall

        +
        public okhttp3.Call submitFormCall(String to,
        +                                   String subject,
        +                                   String redirectTo,
        +                                   String emailAddress,
        +                                   String successMessage,
        +                                   String spamCheck,
        +                                   String otherParameters,
        +                                   ApiCallback _callback)
        +                            throws ApiException
        +
        Build call for submitForm
        +
        +
        Parameters:
        +
        to - The email address that submitted form should be sent to. (optional)
        +
        subject - Optional subject of the email that will be sent. (optional)
        +
        redirectTo - Optional URL to redirect form submitter to after submission. If not present user will see a success message. (optional)
        +
        emailAddress - Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later. (optional)
        +
        successMessage - Optional success message to display if no _redirectTo present. (optional)
        +
        spamCheck - Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored. (optional)
        +
        otherParameters - All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent. (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        submitForm

        +
        public String submitForm(String to,
        +                         String subject,
        +                         String redirectTo,
        +                         String emailAddress,
        +                         String successMessage,
        +                         String spamCheck,
        +                         String otherParameters)
        +                  throws ApiException
        +
        Submit a form to be parsed and sent as an email to an address determined by the form fields + This endpoint allows you to submit HTML forms and receive the field values and files via email. #### Parameters The endpoint looks for special meta parameters in the form fields OR in the URL request parameters. The meta parameters can be used to specify the behaviour of the email. You must provide at-least a `_to` email address to tell the endpoint where the form should be emailed. These can be submitted as hidden HTML input fields with the corresponding `name` attributes or as URL query parameters such as `?_to=test@example.com` The endpoint takes all other form fields that are named and includes them in the message body of the email. Files are sent as attachments. #### Submitting This endpoint accepts form submission via POST method. It accepts `application/x-www-form-urlencoded`, and `multipart/form-data` content-types. #### HTML Example ```html <form action=\"https://java.api.mailslurp.com/forms\" method=\"post\" > <input name=\"_to\" type=\"hidden\" value=\"test@example.com\"/> <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` #### URL Example ```html <form action=\"https://java.api.mailslurp.com/forms?_to=test@example.com\" method=\"post\" > <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` The email address is specified by a `_to` field OR is extracted from an email alias specified by a `_toAlias` field (see the alias controller for more information). Endpoint accepts . You can specify a content type in HTML forms using the `enctype` attribute, for instance: `<form enctype=\"multipart/form-data\">`.
        +
        +
        Parameters:
        +
        to - The email address that submitted form should be sent to. (optional)
        +
        subject - Optional subject of the email that will be sent. (optional)
        +
        redirectTo - Optional URL to redirect form submitter to after submission. If not present user will see a success message. (optional)
        +
        emailAddress - Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later. (optional)
        +
        successMessage - Optional success message to display if no _redirectTo present. (optional)
        +
        spamCheck - Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored. (optional)
        +
        otherParameters - All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent. (optional)
        +
        Returns:
        +
        String
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        submitFormWithHttpInfo

        +
        public ApiResponse<String> submitFormWithHttpInfo(String to,
        +                                                  String subject,
        +                                                  String redirectTo,
        +                                                  String emailAddress,
        +                                                  String successMessage,
        +                                                  String spamCheck,
        +                                                  String otherParameters)
        +                                           throws ApiException
        +
        Submit a form to be parsed and sent as an email to an address determined by the form fields + This endpoint allows you to submit HTML forms and receive the field values and files via email. #### Parameters The endpoint looks for special meta parameters in the form fields OR in the URL request parameters. The meta parameters can be used to specify the behaviour of the email. You must provide at-least a `_to` email address to tell the endpoint where the form should be emailed. These can be submitted as hidden HTML input fields with the corresponding `name` attributes or as URL query parameters such as `?_to=test@example.com` The endpoint takes all other form fields that are named and includes them in the message body of the email. Files are sent as attachments. #### Submitting This endpoint accepts form submission via POST method. It accepts `application/x-www-form-urlencoded`, and `multipart/form-data` content-types. #### HTML Example ```html <form action=\"https://java.api.mailslurp.com/forms\" method=\"post\" > <input name=\"_to\" type=\"hidden\" value=\"test@example.com\"/> <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` #### URL Example ```html <form action=\"https://java.api.mailslurp.com/forms?_to=test@example.com\" method=\"post\" > <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` The email address is specified by a `_to` field OR is extracted from an email alias specified by a `_toAlias` field (see the alias controller for more information). Endpoint accepts . You can specify a content type in HTML forms using the `enctype` attribute, for instance: `<form enctype=\"multipart/form-data\">`.
        +
        +
        Parameters:
        +
        to - The email address that submitted form should be sent to. (optional)
        +
        subject - Optional subject of the email that will be sent. (optional)
        +
        redirectTo - Optional URL to redirect form submitter to after submission. If not present user will see a success message. (optional)
        +
        emailAddress - Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later. (optional)
        +
        successMessage - Optional success message to display if no _redirectTo present. (optional)
        +
        spamCheck - Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored. (optional)
        +
        otherParameters - All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent. (optional)
        +
        Returns:
        +
        ApiResponse<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        submitFormAsync

        +
        public okhttp3.Call submitFormAsync(String to,
        +                                    String subject,
        +                                    String redirectTo,
        +                                    String emailAddress,
        +                                    String successMessage,
        +                                    String spamCheck,
        +                                    String otherParameters,
        +                                    ApiCallback<String> _callback)
        +                             throws ApiException
        +
        Submit a form to be parsed and sent as an email to an address determined by the form fields (asynchronously) + This endpoint allows you to submit HTML forms and receive the field values and files via email. #### Parameters The endpoint looks for special meta parameters in the form fields OR in the URL request parameters. The meta parameters can be used to specify the behaviour of the email. You must provide at-least a `_to` email address to tell the endpoint where the form should be emailed. These can be submitted as hidden HTML input fields with the corresponding `name` attributes or as URL query parameters such as `?_to=test@example.com` The endpoint takes all other form fields that are named and includes them in the message body of the email. Files are sent as attachments. #### Submitting This endpoint accepts form submission via POST method. It accepts `application/x-www-form-urlencoded`, and `multipart/form-data` content-types. #### HTML Example ```html <form action=\"https://java.api.mailslurp.com/forms\" method=\"post\" > <input name=\"_to\" type=\"hidden\" value=\"test@example.com\"/> <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` #### URL Example ```html <form action=\"https://java.api.mailslurp.com/forms?_to=test@example.com\" method=\"post\" > <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` The email address is specified by a `_to` field OR is extracted from an email alias specified by a `_toAlias` field (see the alias controller for more information). Endpoint accepts . You can specify a content type in HTML forms using the `enctype` attribute, for instance: `<form enctype=\"multipart/form-data\">`.
        +
        +
        Parameters:
        +
        to - The email address that submitted form should be sent to. (optional)
        +
        subject - Optional subject of the email that will be sent. (optional)
        +
        redirectTo - Optional URL to redirect form submitter to after submission. If not present user will see a success message. (optional)
        +
        emailAddress - Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later. (optional)
        +
        successMessage - Optional success message to display if no _redirectTo present. (optional)
        +
        spamCheck - Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored. (optional)
        +
        otherParameters - All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent. (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/GroupControllerApi.html b/site/com/mailslurp/apis/GroupControllerApi.html new file mode 100644 index 000000000..c7b322323 --- /dev/null +++ b/site/com/mailslurp/apis/GroupControllerApi.html @@ -0,0 +1,1606 @@ + + + + + + +GroupControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class GroupControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class GroupControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GroupControllerApi

        +
        public GroupControllerApi()
        +
      • +
      + + + +
        +
      • +

        GroupControllerApi

        +
        public GroupControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        addContactsToGroupCall

        +
        public okhttp3.Call addContactsToGroupCall(UUID groupId,
        +                                           UpdateGroupContacts updateGroupContacts,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for addContactsToGroup
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        updateGroupContacts - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        addContactsToGroup

        +
        public GroupContactsDto addContactsToGroup(UUID groupId,
        +                                           UpdateGroupContacts updateGroupContacts)
        +                                    throws ApiException
        +
        Add contacts to a group
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        updateGroupContacts - (required)
        +
        Returns:
        +
        GroupContactsDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        addContactsToGroupWithHttpInfo

        +
        public ApiResponse<GroupContactsDto> addContactsToGroupWithHttpInfo(UUID groupId,
        +                                                                    UpdateGroupContacts updateGroupContacts)
        +                                                             throws ApiException
        +
        Add contacts to a group
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        updateGroupContacts - (required)
        +
        Returns:
        +
        ApiResponse<GroupContactsDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        addContactsToGroupAsync

        +
        public okhttp3.Call addContactsToGroupAsync(UUID groupId,
        +                                            UpdateGroupContacts updateGroupContacts,
        +                                            ApiCallback<GroupContactsDto> _callback)
        +                                     throws ApiException
        +
        Add contacts to a group (asynchronously)
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        updateGroupContacts - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createGroupCall

        +
        public okhttp3.Call createGroupCall(CreateGroupOptions createGroupOptions,
        +                                    ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for createGroup
        +
        +
        Parameters:
        +
        createGroupOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createGroup

        +
        public GroupDto createGroup(CreateGroupOptions createGroupOptions)
        +                     throws ApiException
        +
        Create a group
        +
        +
        Parameters:
        +
        createGroupOptions - (required)
        +
        Returns:
        +
        GroupDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createGroupWithHttpInfo

        +
        public ApiResponse<GroupDto> createGroupWithHttpInfo(CreateGroupOptions createGroupOptions)
        +                                              throws ApiException
        +
        Create a group
        +
        +
        Parameters:
        +
        createGroupOptions - (required)
        +
        Returns:
        +
        ApiResponse<GroupDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createGroupAsync

        +
        public okhttp3.Call createGroupAsync(CreateGroupOptions createGroupOptions,
        +                                     ApiCallback<GroupDto> _callback)
        +                              throws ApiException
        +
        Create a group (asynchronously)
        +
        +
        Parameters:
        +
        createGroupOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        deleteGroupCall

        +
        public okhttp3.Call deleteGroupCall(UUID groupId,
        +                                    ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for deleteGroup
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteGroup

        +
        public void deleteGroup(UUID groupId)
        +                 throws ApiException
        +
        Delete group
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteGroupWithHttpInfo

        +
        public ApiResponse<Void> deleteGroupWithHttpInfo(UUID groupId)
        +                                          throws ApiException
        +
        Delete group
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteGroupAsync

        +
        public okhttp3.Call deleteGroupAsync(UUID groupId,
        +                                     ApiCallback<Void> _callback)
        +                              throws ApiException
        +
        Delete group (asynchronously)
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getAllGroupsCall

        +
        public okhttp3.Call getAllGroupsCall(Integer page,
        +                                     Integer size,
        +                                     String sort,
        +                                     OffsetDateTime since,
        +                                     OffsetDateTime before,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for getAllGroups
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllGroups

        +
        public PageGroupProjection getAllGroups(Integer page,
        +                                        Integer size,
        +                                        String sort,
        +                                        OffsetDateTime since,
        +                                        OffsetDateTime before)
        +                                 throws ApiException
        +
        Get all Contact Groups in paginated format
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageGroupProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllGroupsWithHttpInfo

        +
        public ApiResponse<PageGroupProjection> getAllGroupsWithHttpInfo(Integer page,
        +                                                                 Integer size,
        +                                                                 String sort,
        +                                                                 OffsetDateTime since,
        +                                                                 OffsetDateTime before)
        +                                                          throws ApiException
        +
        Get all Contact Groups in paginated format
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageGroupProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllGroupsAsync

        +
        public okhttp3.Call getAllGroupsAsync(Integer page,
        +                                      Integer size,
        +                                      String sort,
        +                                      OffsetDateTime since,
        +                                      OffsetDateTime before,
        +                                      ApiCallback<PageGroupProjection> _callback)
        +                               throws ApiException
        +
        Get all Contact Groups in paginated format (asynchronously)
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupCall

        +
        public okhttp3.Call getGroupCall(UUID groupId,
        +                                 ApiCallback _callback)
        +                          throws ApiException
        +
        Build call for getGroup
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroup

        +
        public GroupDto getGroup(UUID groupId)
        +                  throws ApiException
        +
        Get group
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        Returns:
        +
        GroupDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupWithHttpInfo

        +
        public ApiResponse<GroupDto> getGroupWithHttpInfo(UUID groupId)
        +                                           throws ApiException
        +
        Get group
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        Returns:
        +
        ApiResponse<GroupDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupAsync

        +
        public okhttp3.Call getGroupAsync(UUID groupId,
        +                                  ApiCallback<GroupDto> _callback)
        +                           throws ApiException
        +
        Get group (asynchronously)
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupWithContactsCall

        +
        public okhttp3.Call getGroupWithContactsCall(UUID groupId,
        +                                             ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for getGroupWithContacts
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupWithContacts

        +
        public GroupContactsDto getGroupWithContacts(UUID groupId)
        +                                      throws ApiException
        +
        Get group and contacts belonging to it
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        Returns:
        +
        GroupContactsDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupWithContactsWithHttpInfo

        +
        public ApiResponse<GroupContactsDto> getGroupWithContactsWithHttpInfo(UUID groupId)
        +                                                               throws ApiException
        +
        Get group and contacts belonging to it
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        Returns:
        +
        ApiResponse<GroupContactsDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupWithContactsAsync

        +
        public okhttp3.Call getGroupWithContactsAsync(UUID groupId,
        +                                              ApiCallback<GroupContactsDto> _callback)
        +                                       throws ApiException
        +
        Get group and contacts belonging to it (asynchronously)
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupWithContactsPaginatedCall

        +
        public okhttp3.Call getGroupWithContactsPaginatedCall(UUID groupId,
        +                                                      Integer page,
        +                                                      Integer size,
        +                                                      String sort,
        +                                                      OffsetDateTime since,
        +                                                      OffsetDateTime before,
        +                                                      ApiCallback _callback)
        +                                               throws ApiException
        +
        Build call for getGroupWithContactsPaginated
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        page - Optional page index in group contact pagination (optional, default to 0)
        +
        size - Optional page size in group contact pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupWithContactsPaginated

        +
        public PageContactProjection getGroupWithContactsPaginated(UUID groupId,
        +                                                           Integer page,
        +                                                           Integer size,
        +                                                           String sort,
        +                                                           OffsetDateTime since,
        +                                                           OffsetDateTime before)
        +                                                    throws ApiException
        +
        Get group and paginated contacts belonging to it
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        page - Optional page index in group contact pagination (optional, default to 0)
        +
        size - Optional page size in group contact pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageContactProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupWithContactsPaginatedWithHttpInfo

        +
        public ApiResponse<PageContactProjection> getGroupWithContactsPaginatedWithHttpInfo(UUID groupId,
        +                                                                                    Integer page,
        +                                                                                    Integer size,
        +                                                                                    String sort,
        +                                                                                    OffsetDateTime since,
        +                                                                                    OffsetDateTime before)
        +                                                                             throws ApiException
        +
        Get group and paginated contacts belonging to it
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        page - Optional page index in group contact pagination (optional, default to 0)
        +
        size - Optional page size in group contact pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageContactProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupWithContactsPaginatedAsync

        +
        public okhttp3.Call getGroupWithContactsPaginatedAsync(UUID groupId,
        +                                                       Integer page,
        +                                                       Integer size,
        +                                                       String sort,
        +                                                       OffsetDateTime since,
        +                                                       OffsetDateTime before,
        +                                                       ApiCallback<PageContactProjection> _callback)
        +                                                throws ApiException
        +
        (asynchronously) + Get group and paginated contacts belonging to it
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        page - Optional page index in group contact pagination (optional, default to 0)
        +
        size - Optional page size in group contact pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupsCall

        +
        public okhttp3.Call getGroupsCall(ApiCallback _callback)
        +                           throws ApiException
        +
        Build call for getGroups
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroups

        +
        public List<GroupProjection> getGroups()
        +                                throws ApiException
        +
        Get all groups
        +
        +
        Returns:
        +
        List<GroupProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupsWithHttpInfo

        +
        public ApiResponse<List<GroupProjection>> getGroupsWithHttpInfo()
        +                                                         throws ApiException
        +
        Get all groups
        +
        +
        Returns:
        +
        ApiResponse<List<GroupProjection>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getGroupsAsync

        +
        public okhttp3.Call getGroupsAsync(ApiCallback<List<GroupProjection>> _callback)
        +                            throws ApiException
        +
        Get all groups (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        removeContactsFromGroupCall

        +
        public okhttp3.Call removeContactsFromGroupCall(UUID groupId,
        +                                                UpdateGroupContacts updateGroupContacts,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for removeContactsFromGroup
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        updateGroupContacts - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        removeContactsFromGroup

        +
        public GroupContactsDto removeContactsFromGroup(UUID groupId,
        +                                                UpdateGroupContacts updateGroupContacts)
        +                                         throws ApiException
        +
        Remove contacts from a group
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        updateGroupContacts - (required)
        +
        Returns:
        +
        GroupContactsDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        removeContactsFromGroupWithHttpInfo

        +
        public ApiResponse<GroupContactsDto> removeContactsFromGroupWithHttpInfo(UUID groupId,
        +                                                                         UpdateGroupContacts updateGroupContacts)
        +                                                                  throws ApiException
        +
        Remove contacts from a group
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        updateGroupContacts - (required)
        +
        Returns:
        +
        ApiResponse<GroupContactsDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        removeContactsFromGroupAsync

        +
        public okhttp3.Call removeContactsFromGroupAsync(UUID groupId,
        +                                                 UpdateGroupContacts updateGroupContacts,
        +                                                 ApiCallback<GroupContactsDto> _callback)
        +                                          throws ApiException
        +
        Remove contacts from a group (asynchronously)
        +
        +
        Parameters:
        +
        groupId - (required)
        +
        updateGroupContacts - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/InboxControllerApi.html b/site/com/mailslurp/apis/InboxControllerApi.html new file mode 100644 index 000000000..cf1f0c60e --- /dev/null +++ b/site/com/mailslurp/apis/InboxControllerApi.html @@ -0,0 +1,6498 @@ + + + + + + +InboxControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class InboxControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class InboxControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxControllerApi

        +
        public InboxControllerApi()
        +
      • +
      + + + +
        +
      • +

        InboxControllerApi

        +
        public InboxControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        cancelScheduledJobCall

        +
        public okhttp3.Call cancelScheduledJobCall(UUID jobId,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for cancelScheduledJob
        +
        +
        Parameters:
        +
        jobId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        cancelScheduledJob

        +
        public ScheduledJobDto cancelScheduledJob(UUID jobId)
        +                                   throws ApiException
        +
        Cancel a scheduled email job + Get a scheduled email job and cancel it. Will fail if status of job is already cancelled, failed, or complete.
        +
        +
        Parameters:
        +
        jobId - (required)
        +
        Returns:
        +
        ScheduledJobDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        cancelScheduledJobWithHttpInfo

        +
        public ApiResponse<ScheduledJobDto> cancelScheduledJobWithHttpInfo(UUID jobId)
        +                                                            throws ApiException
        +
        Cancel a scheduled email job + Get a scheduled email job and cancel it. Will fail if status of job is already cancelled, failed, or complete.
        +
        +
        Parameters:
        +
        jobId - (required)
        +
        Returns:
        +
        ApiResponse<ScheduledJobDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        cancelScheduledJobAsync

        +
        public okhttp3.Call cancelScheduledJobAsync(UUID jobId,
        +                                            ApiCallback<ScheduledJobDto> _callback)
        +                                     throws ApiException
        +
        Cancel a scheduled email job (asynchronously) + Get a scheduled email job and cancel it. Will fail if status of job is already cancelled, failed, or complete.
        +
        +
        Parameters:
        +
        jobId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxCall

        +
        public okhttp3.Call createInboxCall(String emailAddress,
        +                                    List<String> tags,
        +                                    String name,
        +                                    String description,
        +                                    Boolean useDomainPool,
        +                                    Boolean favourite,
        +                                    OffsetDateTime expiresAt,
        +                                    Long expiresIn,
        +                                    Boolean allowTeamAccess,
        +                                    String inboxType,
        +                                    Boolean virtualInbox,
        +                                    Boolean useShortAddress,
        +                                    UUID domainId,
        +                                    String domainName,
        +                                    ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for createInbox
        +
        +
        Parameters:
        +
        emailAddress - A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. (optional)
        +
        tags - Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. (optional)
        +
        name - Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. (optional)
        +
        description - Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with (optional)
        +
        useDomainPool - Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. (optional)
        +
        favourite - Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering (optional)
        +
        expiresAt - Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. (optional)
        +
        expiresIn - Number of milliseconds that inbox should exist for (optional)
        +
        allowTeamAccess - DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. (optional)
        +
        inboxType - HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at `mx.mailslurp.com`. (optional)
        +
        virtualInbox - Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. (optional)
        +
        useShortAddress - Use a shorter email address under 31 characters (optional)
        +
        domainId - ID of custom domain to use for email address. (optional)
        +
        domainName - FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createInbox

        +
        public InboxDto createInbox(String emailAddress,
        +                            List<String> tags,
        +                            String name,
        +                            String description,
        +                            Boolean useDomainPool,
        +                            Boolean favourite,
        +                            OffsetDateTime expiresAt,
        +                            Long expiresIn,
        +                            Boolean allowTeamAccess,
        +                            String inboxType,
        +                            Boolean virtualInbox,
        +                            Boolean useShortAddress,
        +                            UUID domainId,
        +                            String domainName)
        +                     throws ApiException
        +
        Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes. + Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty.
        +
        +
        Parameters:
        +
        emailAddress - A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. (optional)
        +
        tags - Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. (optional)
        +
        name - Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. (optional)
        +
        description - Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with (optional)
        +
        useDomainPool - Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. (optional)
        +
        favourite - Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering (optional)
        +
        expiresAt - Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. (optional)
        +
        expiresIn - Number of milliseconds that inbox should exist for (optional)
        +
        allowTeamAccess - DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. (optional)
        +
        inboxType - HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at `mx.mailslurp.com`. (optional)
        +
        virtualInbox - Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. (optional)
        +
        useShortAddress - Use a shorter email address under 31 characters (optional)
        +
        domainId - ID of custom domain to use for email address. (optional)
        +
        domainName - FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. (optional)
        +
        Returns:
        +
        InboxDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxWithHttpInfo

        +
        public ApiResponse<InboxDto> createInboxWithHttpInfo(String emailAddress,
        +                                                     List<String> tags,
        +                                                     String name,
        +                                                     String description,
        +                                                     Boolean useDomainPool,
        +                                                     Boolean favourite,
        +                                                     OffsetDateTime expiresAt,
        +                                                     Long expiresIn,
        +                                                     Boolean allowTeamAccess,
        +                                                     String inboxType,
        +                                                     Boolean virtualInbox,
        +                                                     Boolean useShortAddress,
        +                                                     UUID domainId,
        +                                                     String domainName)
        +                                              throws ApiException
        +
        Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes. + Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty.
        +
        +
        Parameters:
        +
        emailAddress - A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. (optional)
        +
        tags - Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. (optional)
        +
        name - Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. (optional)
        +
        description - Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with (optional)
        +
        useDomainPool - Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. (optional)
        +
        favourite - Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering (optional)
        +
        expiresAt - Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. (optional)
        +
        expiresIn - Number of milliseconds that inbox should exist for (optional)
        +
        allowTeamAccess - DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. (optional)
        +
        inboxType - HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at `mx.mailslurp.com`. (optional)
        +
        virtualInbox - Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. (optional)
        +
        useShortAddress - Use a shorter email address under 31 characters (optional)
        +
        domainId - ID of custom domain to use for email address. (optional)
        +
        domainName - FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. (optional)
        +
        Returns:
        +
        ApiResponse<InboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxAsync

        +
        public okhttp3.Call createInboxAsync(String emailAddress,
        +                                     List<String> tags,
        +                                     String name,
        +                                     String description,
        +                                     Boolean useDomainPool,
        +                                     Boolean favourite,
        +                                     OffsetDateTime expiresAt,
        +                                     Long expiresIn,
        +                                     Boolean allowTeamAccess,
        +                                     String inboxType,
        +                                     Boolean virtualInbox,
        +                                     Boolean useShortAddress,
        +                                     UUID domainId,
        +                                     String domainName,
        +                                     ApiCallback<InboxDto> _callback)
        +                              throws ApiException
        +
        Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes. (asynchronously) + Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty.
        +
        +
        Parameters:
        +
        emailAddress - A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. (optional)
        +
        tags - Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. (optional)
        +
        name - Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. (optional)
        +
        description - Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with (optional)
        +
        useDomainPool - Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. (optional)
        +
        favourite - Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering (optional)
        +
        expiresAt - Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. (optional)
        +
        expiresIn - Number of milliseconds that inbox should exist for (optional)
        +
        allowTeamAccess - DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. (optional)
        +
        inboxType - HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at `mx.mailslurp.com`. (optional)
        +
        virtualInbox - Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. (optional)
        +
        useShortAddress - Use a shorter email address under 31 characters (optional)
        +
        domainId - ID of custom domain to use for email address. (optional)
        +
        domainName - FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxRulesetCall

        +
        public okhttp3.Call createInboxRulesetCall(UUID inboxId,
        +                                           CreateInboxRulesetOptions createInboxRulesetOptions,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for createInboxRuleset
        +
        +
        Parameters:
        +
        inboxId - inboxId (required)
        +
        createInboxRulesetOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxRuleset

        +
        public InboxRulesetDto createInboxRuleset(UUID inboxId,
        +                                          CreateInboxRulesetOptions createInboxRulesetOptions)
        +                                   throws ApiException
        +
        Create an inbox ruleset + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        inboxId - inboxId (required)
        +
        createInboxRulesetOptions - (required)
        +
        Returns:
        +
        InboxRulesetDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxRulesetWithHttpInfo

        +
        public ApiResponse<InboxRulesetDto> createInboxRulesetWithHttpInfo(UUID inboxId,
        +                                                                   CreateInboxRulesetOptions createInboxRulesetOptions)
        +                                                            throws ApiException
        +
        Create an inbox ruleset + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        inboxId - inboxId (required)
        +
        createInboxRulesetOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxRulesetDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxRulesetAsync

        +
        public okhttp3.Call createInboxRulesetAsync(UUID inboxId,
        +                                            CreateInboxRulesetOptions createInboxRulesetOptions,
        +                                            ApiCallback<InboxRulesetDto> _callback)
        +                                     throws ApiException
        +
        Create an inbox ruleset (asynchronously) + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        inboxId - inboxId (required)
        +
        createInboxRulesetOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxWithDefaultsCall

        +
        public okhttp3.Call createInboxWithDefaultsCall(ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for createInboxWithDefaults
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxWithDefaults

        +
        public InboxDto createInboxWithDefaults()
        +                                 throws ApiException
        +
        Create an inbox with default options. Uses MailSlurp domain pool address and is private.
        +
        +
        Returns:
        +
        InboxDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxWithDefaultsWithHttpInfo

        +
        public ApiResponse<InboxDto> createInboxWithDefaultsWithHttpInfo()
        +                                                          throws ApiException
        +
        Create an inbox with default options. Uses MailSlurp domain pool address and is private.
        +
        +
        Returns:
        +
        ApiResponse<InboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxWithDefaultsAsync

        +
        public okhttp3.Call createInboxWithDefaultsAsync(ApiCallback<InboxDto> _callback)
        +                                          throws ApiException
        +
        Create an inbox with default options. Uses MailSlurp domain pool address and is private. (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxWithOptionsCall

        +
        public okhttp3.Call createInboxWithOptionsCall(CreateInboxDto createInboxDto,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for createInboxWithOptions
        +
        +
        Parameters:
        +
        createInboxDto - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxWithOptions

        +
        public InboxDto createInboxWithOptions(CreateInboxDto createInboxDto)
        +                                throws ApiException
        +
        Create an inbox with options. Extended options for inbox creation. + Additional endpoint that allows inbox creation with request body options. Can be more flexible that other methods for some clients.
        +
        +
        Parameters:
        +
        createInboxDto - (required)
        +
        Returns:
        +
        InboxDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxWithOptionsWithHttpInfo

        +
        public ApiResponse<InboxDto> createInboxWithOptionsWithHttpInfo(CreateInboxDto createInboxDto)
        +                                                         throws ApiException
        +
        Create an inbox with options. Extended options for inbox creation. + Additional endpoint that allows inbox creation with request body options. Can be more flexible that other methods for some clients.
        +
        +
        Parameters:
        +
        createInboxDto - (required)
        +
        Returns:
        +
        ApiResponse<InboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createInboxWithOptionsAsync

        +
        public okhttp3.Call createInboxWithOptionsAsync(CreateInboxDto createInboxDto,
        +                                                ApiCallback<InboxDto> _callback)
        +                                         throws ApiException
        +
        Create an inbox with options. Extended options for inbox creation. (asynchronously) + Additional endpoint that allows inbox creation with request body options. Can be more flexible that other methods for some clients.
        +
        +
        Parameters:
        +
        createInboxDto - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllInboxEmailsCall

        +
        public okhttp3.Call deleteAllInboxEmailsCall(UUID inboxId,
        +                                             ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for deleteAllInboxEmails
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllInboxEmails

        +
        public void deleteAllInboxEmails(UUID inboxId)
        +                          throws ApiException
        +
        Delete all emails in a given inboxes. + Deletes all emails in an inbox. Be careful as emails cannot be recovered
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllInboxEmailsWithHttpInfo

        +
        public ApiResponse<Void> deleteAllInboxEmailsWithHttpInfo(UUID inboxId)
        +                                                   throws ApiException
        +
        Delete all emails in a given inboxes. + Deletes all emails in an inbox. Be careful as emails cannot be recovered
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllInboxEmailsAsync

        +
        public okhttp3.Call deleteAllInboxEmailsAsync(UUID inboxId,
        +                                              ApiCallback<Void> _callback)
        +                                       throws ApiException
        +
        Delete all emails in a given inboxes. (asynchronously) + Deletes all emails in an inbox. Be careful as emails cannot be recovered
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllInboxesCall

        +
        public okhttp3.Call deleteAllInboxesCall(ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for deleteAllInboxes
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllInboxes

        +
        public void deleteAllInboxes()
        +                      throws ApiException
        +
        Delete all inboxes + Permanently delete all inboxes and associated email addresses. This will also delete all emails within the inboxes. Be careful as inboxes cannot be recovered once deleted. Note: deleting inboxes will not impact your usage limits. Monthly inbox creation limits are based on how many inboxes were created in the last 30 days, not how many inboxes you currently have.
        +
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllInboxesWithHttpInfo

        +
        public ApiResponse<Void> deleteAllInboxesWithHttpInfo()
        +                                               throws ApiException
        +
        Delete all inboxes + Permanently delete all inboxes and associated email addresses. This will also delete all emails within the inboxes. Be careful as inboxes cannot be recovered once deleted. Note: deleting inboxes will not impact your usage limits. Monthly inbox creation limits are based on how many inboxes were created in the last 30 days, not how many inboxes you currently have.
        +
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllInboxesAsync

        +
        public okhttp3.Call deleteAllInboxesAsync(ApiCallback<Void> _callback)
        +                                   throws ApiException
        +
        Delete all inboxes (asynchronously) + Permanently delete all inboxes and associated email addresses. This will also delete all emails within the inboxes. Be careful as inboxes cannot be recovered once deleted. Note: deleting inboxes will not impact your usage limits. Monthly inbox creation limits are based on how many inboxes were created in the last 30 days, not how many inboxes you currently have.
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxCall

        +
        public okhttp3.Call deleteInboxCall(UUID inboxId,
        +                                    ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for deleteInbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInbox

        +
        public void deleteInbox(UUID inboxId)
        +                 throws ApiException
        +
        Delete inbox + Permanently delete an inbox and associated email address as well as all emails within the given inbox. This action cannot be undone. Note: deleting an inbox will not affect your account usage. Monthly inbox usage is based on how many inboxes you create within 30 days, not how many exist at time of request.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxWithHttpInfo

        +
        public ApiResponse<Void> deleteInboxWithHttpInfo(UUID inboxId)
        +                                          throws ApiException
        +
        Delete inbox + Permanently delete an inbox and associated email address as well as all emails within the given inbox. This action cannot be undone. Note: deleting an inbox will not affect your account usage. Monthly inbox usage is based on how many inboxes you create within 30 days, not how many exist at time of request.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxAsync

        +
        public okhttp3.Call deleteInboxAsync(UUID inboxId,
        +                                     ApiCallback<Void> _callback)
        +                              throws ApiException
        +
        Delete inbox (asynchronously) + Permanently delete an inbox and associated email address as well as all emails within the given inbox. This action cannot be undone. Note: deleting an inbox will not affect your account usage. Monthly inbox usage is based on how many inboxes you create within 30 days, not how many exist at time of request.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        doesInboxExistCall

        +
        public okhttp3.Call doesInboxExistCall(String emailAddress,
        +                                       Boolean allowCatchAll,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for doesInboxExist
        +
        +
        Parameters:
        +
        emailAddress - Email address (required)
        +
        allowCatchAll - (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        doesInboxExist

        +
        public InboxExistsDto doesInboxExist(String emailAddress,
        +                                     Boolean allowCatchAll)
        +                              throws ApiException
        +
        Does inbox exist + Check if inboxes exist by email address. Useful if you are sending emails to mailslurp addresses
        +
        +
        Parameters:
        +
        emailAddress - Email address (required)
        +
        allowCatchAll - (optional)
        +
        Returns:
        +
        InboxExistsDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        doesInboxExistWithHttpInfo

        +
        public ApiResponse<InboxExistsDto> doesInboxExistWithHttpInfo(String emailAddress,
        +                                                              Boolean allowCatchAll)
        +                                                       throws ApiException
        +
        Does inbox exist + Check if inboxes exist by email address. Useful if you are sending emails to mailslurp addresses
        +
        +
        Parameters:
        +
        emailAddress - Email address (required)
        +
        allowCatchAll - (optional)
        +
        Returns:
        +
        ApiResponse<InboxExistsDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        doesInboxExistAsync

        +
        public okhttp3.Call doesInboxExistAsync(String emailAddress,
        +                                        Boolean allowCatchAll,
        +                                        ApiCallback<InboxExistsDto> _callback)
        +                                 throws ApiException
        +
        Does inbox exist (asynchronously) + Check if inboxes exist by email address. Useful if you are sending emails to mailslurp addresses
        +
        +
        Parameters:
        +
        emailAddress - Email address (required)
        +
        allowCatchAll - (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        flushExpiredCall

        +
        public okhttp3.Call flushExpiredCall(OffsetDateTime before,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for flushExpired
        +
        +
        Parameters:
        +
        before - Optional expired at before flag to flush expired inboxes that have expired before the given time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        flushExpired

        +
        public FlushExpiredInboxesResult flushExpired(OffsetDateTime before)
        +                                       throws ApiException
        +
        Remove expired inboxes + Remove any expired inboxes for your account (instead of waiting for scheduled removal on server)
        +
        +
        Parameters:
        +
        before - Optional expired at before flag to flush expired inboxes that have expired before the given time (optional)
        +
        Returns:
        +
        FlushExpiredInboxesResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        flushExpiredWithHttpInfo

        +
        public ApiResponse<FlushExpiredInboxesResult> flushExpiredWithHttpInfo(OffsetDateTime before)
        +                                                                throws ApiException
        +
        Remove expired inboxes + Remove any expired inboxes for your account (instead of waiting for scheduled removal on server)
        +
        +
        Parameters:
        +
        before - Optional expired at before flag to flush expired inboxes that have expired before the given time (optional)
        +
        Returns:
        +
        ApiResponse<FlushExpiredInboxesResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        flushExpiredAsync

        +
        public okhttp3.Call flushExpiredAsync(OffsetDateTime before,
        +                                      ApiCallback<FlushExpiredInboxesResult> _callback)
        +                               throws ApiException
        +
        Remove expired inboxes (asynchronously) + Remove any expired inboxes for your account (instead of waiting for scheduled removal on server)
        +
        +
        Parameters:
        +
        before - Optional expired at before flag to flush expired inboxes that have expired before the given time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllInboxesCall

        +
        public okhttp3.Call getAllInboxesCall(Integer page,
        +                                      Integer size,
        +                                      String sort,
        +                                      Boolean favourite,
        +                                      String search,
        +                                      String tag,
        +                                      Boolean teamAccess,
        +                                      OffsetDateTime since,
        +                                      OffsetDateTime before,
        +                                      String inboxType,
        +                                      UUID domainId,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for getAllInboxes
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        favourite - Optionally filter results for favourites only (optional, default to false)
        +
        search - Optionally filter by search words partial matching ID, tags, name, and email address (optional)
        +
        tag - Optionally filter by tags. Will return inboxes that include given tags (optional)
        +
        teamAccess - DEPRECATED. Optionally filter by team access. (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        inboxType - Optional filter by inbox type (optional)
        +
        domainId - Optional domain ID filter (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllInboxes

        +
        public PageInboxProjection getAllInboxes(Integer page,
        +                                         Integer size,
        +                                         String sort,
        +                                         Boolean favourite,
        +                                         String search,
        +                                         String tag,
        +                                         Boolean teamAccess,
        +                                         OffsetDateTime since,
        +                                         OffsetDateTime before,
        +                                         String inboxType,
        +                                         UUID domainId)
        +                                  throws ApiException
        +
        List All Inboxes Paginated + List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        favourite - Optionally filter results for favourites only (optional, default to false)
        +
        search - Optionally filter by search words partial matching ID, tags, name, and email address (optional)
        +
        tag - Optionally filter by tags. Will return inboxes that include given tags (optional)
        +
        teamAccess - DEPRECATED. Optionally filter by team access. (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        inboxType - Optional filter by inbox type (optional)
        +
        domainId - Optional domain ID filter (optional)
        +
        Returns:
        +
        PageInboxProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllInboxesWithHttpInfo

        +
        public ApiResponse<PageInboxProjection> getAllInboxesWithHttpInfo(Integer page,
        +                                                                  Integer size,
        +                                                                  String sort,
        +                                                                  Boolean favourite,
        +                                                                  String search,
        +                                                                  String tag,
        +                                                                  Boolean teamAccess,
        +                                                                  OffsetDateTime since,
        +                                                                  OffsetDateTime before,
        +                                                                  String inboxType,
        +                                                                  UUID domainId)
        +                                                           throws ApiException
        +
        List All Inboxes Paginated + List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        favourite - Optionally filter results for favourites only (optional, default to false)
        +
        search - Optionally filter by search words partial matching ID, tags, name, and email address (optional)
        +
        tag - Optionally filter by tags. Will return inboxes that include given tags (optional)
        +
        teamAccess - DEPRECATED. Optionally filter by team access. (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        inboxType - Optional filter by inbox type (optional)
        +
        domainId - Optional domain ID filter (optional)
        +
        Returns:
        +
        ApiResponse<PageInboxProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllInboxesAsync

        +
        public okhttp3.Call getAllInboxesAsync(Integer page,
        +                                       Integer size,
        +                                       String sort,
        +                                       Boolean favourite,
        +                                       String search,
        +                                       String tag,
        +                                       Boolean teamAccess,
        +                                       OffsetDateTime since,
        +                                       OffsetDateTime before,
        +                                       String inboxType,
        +                                       UUID domainId,
        +                                       ApiCallback<PageInboxProjection> _callback)
        +                                throws ApiException
        +
        List All Inboxes Paginated (asynchronously) + List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        favourite - Optionally filter results for favourites only (optional, default to false)
        +
        search - Optionally filter by search words partial matching ID, tags, name, and email address (optional)
        +
        tag - Optionally filter by tags. Will return inboxes that include given tags (optional)
        +
        teamAccess - DEPRECATED. Optionally filter by team access. (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        inboxType - Optional filter by inbox type (optional)
        +
        domainId - Optional domain ID filter (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllScheduledJobsCall

        +
        public okhttp3.Call getAllScheduledJobsCall(Integer page,
        +                                            Integer size,
        +                                            String sort,
        +                                            OffsetDateTime since,
        +                                            OffsetDateTime before,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for getAllScheduledJobs
        +
        +
        Parameters:
        +
        page - Optional page index in scheduled job list pagination (optional, default to 0)
        +
        size - Optional page size in scheduled job list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllScheduledJobs

        +
        public PageScheduledJobs getAllScheduledJobs(Integer page,
        +                                             Integer size,
        +                                             String sort,
        +                                             OffsetDateTime since,
        +                                             OffsetDateTime before)
        +                                      throws ApiException
        +
        Get all scheduled email sending jobs for account + Schedule sending of emails using scheduled jobs. These can be inbox or account level.
        +
        +
        Parameters:
        +
        page - Optional page index in scheduled job list pagination (optional, default to 0)
        +
        size - Optional page size in scheduled job list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageScheduledJobs
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllScheduledJobsWithHttpInfo

        +
        public ApiResponse<PageScheduledJobs> getAllScheduledJobsWithHttpInfo(Integer page,
        +                                                                      Integer size,
        +                                                                      String sort,
        +                                                                      OffsetDateTime since,
        +                                                                      OffsetDateTime before)
        +                                                               throws ApiException
        +
        Get all scheduled email sending jobs for account + Schedule sending of emails using scheduled jobs. These can be inbox or account level.
        +
        +
        Parameters:
        +
        page - Optional page index in scheduled job list pagination (optional, default to 0)
        +
        size - Optional page size in scheduled job list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageScheduledJobs>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllScheduledJobsAsync

        +
        public okhttp3.Call getAllScheduledJobsAsync(Integer page,
        +                                             Integer size,
        +                                             String sort,
        +                                             OffsetDateTime since,
        +                                             OffsetDateTime before,
        +                                             ApiCallback<PageScheduledJobs> _callback)
        +                                      throws ApiException
        +
        Get all scheduled email sending jobs for account (asynchronously) + Schedule sending of emails using scheduled jobs. These can be inbox or account level.
        +
        +
        Parameters:
        +
        page - Optional page index in scheduled job list pagination (optional, default to 0)
        +
        size - Optional page size in scheduled job list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDeliveryStatusesByInboxIdCall

        +
        public okhttp3.Call getDeliveryStatusesByInboxIdCall(UUID inboxId,
        +                                                     Integer page,
        +                                                     Integer size,
        +                                                     String sort,
        +                                                     OffsetDateTime since,
        +                                                     OffsetDateTime before,
        +                                                     ApiCallback _callback)
        +                                              throws ApiException
        +
        Build call for getDeliveryStatusesByInboxId
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDeliveryStatusesByInboxId

        +
        public PageDeliveryStatus getDeliveryStatusesByInboxId(UUID inboxId,
        +                                                       Integer page,
        +                                                       Integer size,
        +                                                       String sort,
        +                                                       OffsetDateTime since,
        +                                                       OffsetDateTime before)
        +                                                throws ApiException
        +
        Get all email delivery statuses for an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageDeliveryStatus
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDeliveryStatusesByInboxIdWithHttpInfo

        +
        public ApiResponse<PageDeliveryStatus> getDeliveryStatusesByInboxIdWithHttpInfo(UUID inboxId,
        +                                                                                Integer page,
        +                                                                                Integer size,
        +                                                                                String sort,
        +                                                                                OffsetDateTime since,
        +                                                                                OffsetDateTime before)
        +                                                                         throws ApiException
        +
        Get all email delivery statuses for an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageDeliveryStatus>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDeliveryStatusesByInboxIdAsync

        +
        public okhttp3.Call getDeliveryStatusesByInboxIdAsync(UUID inboxId,
        +                                                      Integer page,
        +                                                      Integer size,
        +                                                      String sort,
        +                                                      OffsetDateTime since,
        +                                                      OffsetDateTime before,
        +                                                      ApiCallback<PageDeliveryStatus> _callback)
        +                                               throws ApiException
        +
        (asynchronously) + Get all email delivery statuses for an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailsCall

        +
        public okhttp3.Call getEmailsCall(UUID inboxId,
        +                                  Integer size,
        +                                  Integer limit,
        +                                  String sort,
        +                                  Long retryTimeout,
        +                                  Long delayTimeout,
        +                                  Long minCount,
        +                                  Boolean unreadOnly,
        +                                  OffsetDateTime before,
        +                                  OffsetDateTime since,
        +                                  ApiCallback _callback)
        +                           throws ApiException
        +
        Build call for getEmails
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        size - Alias for limit. Assessed first before assessing any passed limit. (optional)
        +
        limit - Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller (optional)
        +
        sort - Sort the results by received date and direction ASC or DESC (optional)
        +
        retryTimeout - Maximum milliseconds to spend retrying inbox database until minCount emails are returned (optional)
        +
        delayTimeout - (optional)
        +
        minCount - Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached. (optional)
        +
        unreadOnly - (optional)
        +
        before - Exclude emails received after this ISO 8601 date time (optional)
        +
        since - Exclude emails received before this ISO 8601 date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmails

        +
        public List<EmailPreview> getEmails(UUID inboxId,
        +                                    Integer size,
        +                                    Integer limit,
        +                                    String sort,
        +                                    Long retryTimeout,
        +                                    Long delayTimeout,
        +                                    Long minCount,
        +                                    Boolean unreadOnly,
        +                                    OffsetDateTime before,
        +                                    OffsetDateTime since)
        +                             throws ApiException
        +
        Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead. + List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        size - Alias for limit. Assessed first before assessing any passed limit. (optional)
        +
        limit - Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller (optional)
        +
        sort - Sort the results by received date and direction ASC or DESC (optional)
        +
        retryTimeout - Maximum milliseconds to spend retrying inbox database until minCount emails are returned (optional)
        +
        delayTimeout - (optional)
        +
        minCount - Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached. (optional)
        +
        unreadOnly - (optional)
        +
        before - Exclude emails received after this ISO 8601 date time (optional)
        +
        since - Exclude emails received before this ISO 8601 date time (optional)
        +
        Returns:
        +
        List<EmailPreview>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailsWithHttpInfo

        +
        public ApiResponse<List<EmailPreview>> getEmailsWithHttpInfo(UUID inboxId,
        +                                                             Integer size,
        +                                                             Integer limit,
        +                                                             String sort,
        +                                                             Long retryTimeout,
        +                                                             Long delayTimeout,
        +                                                             Long minCount,
        +                                                             Boolean unreadOnly,
        +                                                             OffsetDateTime before,
        +                                                             OffsetDateTime since)
        +                                                      throws ApiException
        +
        Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead. + List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        size - Alias for limit. Assessed first before assessing any passed limit. (optional)
        +
        limit - Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller (optional)
        +
        sort - Sort the results by received date and direction ASC or DESC (optional)
        +
        retryTimeout - Maximum milliseconds to spend retrying inbox database until minCount emails are returned (optional)
        +
        delayTimeout - (optional)
        +
        minCount - Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached. (optional)
        +
        unreadOnly - (optional)
        +
        before - Exclude emails received after this ISO 8601 date time (optional)
        +
        since - Exclude emails received before this ISO 8601 date time (optional)
        +
        Returns:
        +
        ApiResponse<List<EmailPreview>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmailsAsync

        +
        public okhttp3.Call getEmailsAsync(UUID inboxId,
        +                                   Integer size,
        +                                   Integer limit,
        +                                   String sort,
        +                                   Long retryTimeout,
        +                                   Long delayTimeout,
        +                                   Long minCount,
        +                                   Boolean unreadOnly,
        +                                   OffsetDateTime before,
        +                                   OffsetDateTime since,
        +                                   ApiCallback<List<EmailPreview>> _callback)
        +                            throws ApiException
        +
        Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead. (asynchronously) + List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        size - Alias for limit. Assessed first before assessing any passed limit. (optional)
        +
        limit - Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller (optional)
        +
        sort - Sort the results by received date and direction ASC or DESC (optional)
        +
        retryTimeout - Maximum milliseconds to spend retrying inbox database until minCount emails are returned (optional)
        +
        delayTimeout - (optional)
        +
        minCount - Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached. (optional)
        +
        unreadOnly - (optional)
        +
        before - Exclude emails received after this ISO 8601 date time (optional)
        +
        since - Exclude emails received before this ISO 8601 date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getImapSmtpAccessCall

        +
        public okhttp3.Call getImapSmtpAccessCall(UUID inboxId,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for getImapSmtpAccess
        +
        +
        Parameters:
        +
        inboxId - Inbox ID (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getImapSmtpAccess

        +
        public ImapSmtpAccessDetails getImapSmtpAccess(UUID inboxId)
        +                                        throws ApiException
        +
        Get IMAP and SMTP access usernames and passwords
        +
        +
        Parameters:
        +
        inboxId - Inbox ID (optional)
        +
        Returns:
        +
        ImapSmtpAccessDetails
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getImapSmtpAccessWithHttpInfo

        +
        public ApiResponse<ImapSmtpAccessDetails> getImapSmtpAccessWithHttpInfo(UUID inboxId)
        +                                                                 throws ApiException
        +
        Get IMAP and SMTP access usernames and passwords
        +
        +
        Parameters:
        +
        inboxId - Inbox ID (optional)
        +
        Returns:
        +
        ApiResponse<ImapSmtpAccessDetails>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getImapSmtpAccessAsync

        +
        public okhttp3.Call getImapSmtpAccessAsync(UUID inboxId,
        +                                           ApiCallback<ImapSmtpAccessDetails> _callback)
        +                                    throws ApiException
        +
        (asynchronously) + Get IMAP and SMTP access usernames and passwords
        +
        +
        Parameters:
        +
        inboxId - Inbox ID (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxCall

        +
        public okhttp3.Call getInboxCall(UUID inboxId,
        +                                 ApiCallback _callback)
        +                          throws ApiException
        +
        Build call for getInbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInbox

        +
        public InboxDto getInbox(UUID inboxId)
        +                  throws ApiException
        +
        Get Inbox. Returns properties of an inbox. + Returns an inbox's properties, including its email address and ID.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Returns:
        +
        InboxDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxWithHttpInfo

        +
        public ApiResponse<InboxDto> getInboxWithHttpInfo(UUID inboxId)
        +                                           throws ApiException
        +
        Get Inbox. Returns properties of an inbox. + Returns an inbox's properties, including its email address and ID.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Returns:
        +
        ApiResponse<InboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxAsync

        +
        public okhttp3.Call getInboxAsync(UUID inboxId,
        +                                  ApiCallback<InboxDto> _callback)
        +                           throws ApiException
        +
        Get Inbox. Returns properties of an inbox. (asynchronously) + Returns an inbox's properties, including its email address and ID.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxByEmailAddressCall

        +
        public okhttp3.Call getInboxByEmailAddressCall(String emailAddress,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for getInboxByEmailAddress
        +
        +
        Parameters:
        +
        emailAddress - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxByEmailAddress

        +
        public InboxByEmailAddressResult getInboxByEmailAddress(String emailAddress)
        +                                                 throws ApiException
        +
        Search for an inbox with the provided email address + Get a inbox result by email address
        +
        +
        Parameters:
        +
        emailAddress - (required)
        +
        Returns:
        +
        InboxByEmailAddressResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxByEmailAddressWithHttpInfo

        +
        public ApiResponse<InboxByEmailAddressResult> getInboxByEmailAddressWithHttpInfo(String emailAddress)
        +                                                                          throws ApiException
        +
        Search for an inbox with the provided email address + Get a inbox result by email address
        +
        +
        Parameters:
        +
        emailAddress - (required)
        +
        Returns:
        +
        ApiResponse<InboxByEmailAddressResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxByEmailAddressAsync

        +
        public okhttp3.Call getInboxByEmailAddressAsync(String emailAddress,
        +                                                ApiCallback<InboxByEmailAddressResult> _callback)
        +                                         throws ApiException
        +
        Search for an inbox with the provided email address (asynchronously) + Get a inbox result by email address
        +
        +
        Parameters:
        +
        emailAddress - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxByNameCall

        +
        public okhttp3.Call getInboxByNameCall(String name,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for getInboxByName
        +
        +
        Parameters:
        +
        name - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxByName

        +
        public InboxByNameResult getInboxByName(String name)
        +                                 throws ApiException
        +
        Search for an inbox with the given name + Get a inbox result by name
        +
        +
        Parameters:
        +
        name - (required)
        +
        Returns:
        +
        InboxByNameResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxByNameWithHttpInfo

        +
        public ApiResponse<InboxByNameResult> getInboxByNameWithHttpInfo(String name)
        +                                                          throws ApiException
        +
        Search for an inbox with the given name + Get a inbox result by name
        +
        +
        Parameters:
        +
        name - (required)
        +
        Returns:
        +
        ApiResponse<InboxByNameResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxByNameAsync

        +
        public okhttp3.Call getInboxByNameAsync(String name,
        +                                        ApiCallback<InboxByNameResult> _callback)
        +                                 throws ApiException
        +
        Search for an inbox with the given name (asynchronously) + Get a inbox result by name
        +
        +
        Parameters:
        +
        name - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxCountCall

        +
        public okhttp3.Call getInboxCountCall(ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for getInboxCount
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxCount

        +
        public CountDto getInboxCount()
        +                       throws ApiException
        +
        Get total inbox count
        +
        +
        Returns:
        +
        CountDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxCountWithHttpInfo

        +
        public ApiResponse<CountDto> getInboxCountWithHttpInfo()
        +                                                throws ApiException
        +
        Get total inbox count
        +
        +
        Returns:
        +
        ApiResponse<CountDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxCountAsync

        +
        public okhttp3.Call getInboxCountAsync(ApiCallback<CountDto> _callback)
        +                                throws ApiException
        +
        Get total inbox count (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxEmailCountCall

        +
        public okhttp3.Call getInboxEmailCountCall(UUID inboxId,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for getInboxEmailCount
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxEmailCount

        +
        public CountDto getInboxEmailCount(UUID inboxId)
        +                            throws ApiException
        +
        Get email count in inbox
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        Returns:
        +
        CountDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxEmailCountWithHttpInfo

        +
        public ApiResponse<CountDto> getInboxEmailCountWithHttpInfo(UUID inboxId)
        +                                                     throws ApiException
        +
        Get email count in inbox
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        Returns:
        +
        ApiResponse<CountDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxEmailCountAsync

        +
        public okhttp3.Call getInboxEmailCountAsync(UUID inboxId,
        +                                            ApiCallback<CountDto> _callback)
        +                                     throws ApiException
        +
        Get email count in inbox (asynchronously)
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxEmailsPaginatedCall

        +
        public okhttp3.Call getInboxEmailsPaginatedCall(UUID inboxId,
        +                                                Integer page,
        +                                                Integer size,
        +                                                String sort,
        +                                                OffsetDateTime since,
        +                                                OffsetDateTime before,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for getInboxEmailsPaginated
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        page - Optional page index in inbox emails list pagination (optional, default to 0)
        +
        size - Optional page size in inbox emails list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by received after given date time (optional)
        +
        before - Optional filter by received before given date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxEmailsPaginated

        +
        public PageEmailPreview getInboxEmailsPaginated(UUID inboxId,
        +                                                Integer page,
        +                                                Integer size,
        +                                                String sort,
        +                                                OffsetDateTime since,
        +                                                OffsetDateTime before)
        +                                         throws ApiException
        +
        Get inbox emails paginated + Get a paginated list of emails in an inbox. Does not hold connections open.
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        page - Optional page index in inbox emails list pagination (optional, default to 0)
        +
        size - Optional page size in inbox emails list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by received after given date time (optional)
        +
        before - Optional filter by received before given date time (optional)
        +
        Returns:
        +
        PageEmailPreview
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxEmailsPaginatedWithHttpInfo

        +
        public ApiResponse<PageEmailPreview> getInboxEmailsPaginatedWithHttpInfo(UUID inboxId,
        +                                                                         Integer page,
        +                                                                         Integer size,
        +                                                                         String sort,
        +                                                                         OffsetDateTime since,
        +                                                                         OffsetDateTime before)
        +                                                                  throws ApiException
        +
        Get inbox emails paginated + Get a paginated list of emails in an inbox. Does not hold connections open.
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        page - Optional page index in inbox emails list pagination (optional, default to 0)
        +
        size - Optional page size in inbox emails list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by received after given date time (optional)
        +
        before - Optional filter by received before given date time (optional)
        +
        Returns:
        +
        ApiResponse<PageEmailPreview>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxEmailsPaginatedAsync

        +
        public okhttp3.Call getInboxEmailsPaginatedAsync(UUID inboxId,
        +                                                 Integer page,
        +                                                 Integer size,
        +                                                 String sort,
        +                                                 OffsetDateTime since,
        +                                                 OffsetDateTime before,
        +                                                 ApiCallback<PageEmailPreview> _callback)
        +                                          throws ApiException
        +
        Get inbox emails paginated (asynchronously) + Get a paginated list of emails in an inbox. Does not hold connections open.
        +
        +
        Parameters:
        +
        inboxId - Id of inbox that emails belongs to (required)
        +
        page - Optional page index in inbox emails list pagination (optional, default to 0)
        +
        size - Optional page size in inbox emails list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by received after given date time (optional)
        +
        before - Optional filter by received before given date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxIdsCall

        +
        public okhttp3.Call getInboxIdsCall(ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for getInboxIds
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxIds

        +
        public InboxIdsResult getInboxIds()
        +                           throws ApiException
        +
        Get all inbox IDs + Get list of inbox IDs
        +
        +
        Returns:
        +
        InboxIdsResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxIdsWithHttpInfo

        +
        public ApiResponse<InboxIdsResult> getInboxIdsWithHttpInfo()
        +                                                    throws ApiException
        +
        Get all inbox IDs + Get list of inbox IDs
        +
        +
        Returns:
        +
        ApiResponse<InboxIdsResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxIdsAsync

        +
        public okhttp3.Call getInboxIdsAsync(ApiCallback<InboxIdsResult> _callback)
        +                              throws ApiException
        +
        Get all inbox IDs (asynchronously) + Get list of inbox IDs
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxSentEmailsCall

        +
        public okhttp3.Call getInboxSentEmailsCall(UUID inboxId,
        +                                           Integer page,
        +                                           Integer size,
        +                                           String sort,
        +                                           String searchFilter,
        +                                           OffsetDateTime since,
        +                                           OffsetDateTime before,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for getInboxSentEmails
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional sent email search (optional)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxSentEmails

        +
        public PageSentEmailProjection getInboxSentEmails(UUID inboxId,
        +                                                  Integer page,
        +                                                  Integer size,
        +                                                  String sort,
        +                                                  String searchFilter,
        +                                                  OffsetDateTime since,
        +                                                  OffsetDateTime before)
        +                                           throws ApiException
        +
        Get Inbox Sent Emails + Returns an inbox's sent email receipts. Call individual sent email endpoints for more details. Note for privacy reasons the full body of sent emails is never stored. An MD5 hash hex is available for comparison instead.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional sent email search (optional)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        Returns:
        +
        PageSentEmailProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxSentEmailsWithHttpInfo

        +
        public ApiResponse<PageSentEmailProjection> getInboxSentEmailsWithHttpInfo(UUID inboxId,
        +                                                                           Integer page,
        +                                                                           Integer size,
        +                                                                           String sort,
        +                                                                           String searchFilter,
        +                                                                           OffsetDateTime since,
        +                                                                           OffsetDateTime before)
        +                                                                    throws ApiException
        +
        Get Inbox Sent Emails + Returns an inbox's sent email receipts. Call individual sent email endpoints for more details. Note for privacy reasons the full body of sent emails is never stored. An MD5 hash hex is available for comparison instead.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional sent email search (optional)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        Returns:
        +
        ApiResponse<PageSentEmailProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxSentEmailsAsync

        +
        public okhttp3.Call getInboxSentEmailsAsync(UUID inboxId,
        +                                            Integer page,
        +                                            Integer size,
        +                                            String sort,
        +                                            String searchFilter,
        +                                            OffsetDateTime since,
        +                                            OffsetDateTime before,
        +                                            ApiCallback<PageSentEmailProjection> _callback)
        +                                     throws ApiException
        +
        Get Inbox Sent Emails (asynchronously) + Returns an inbox's sent email receipts. Call individual sent email endpoints for more details. Note for privacy reasons the full body of sent emails is never stored. An MD5 hash hex is available for comparison instead.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional sent email search (optional)
        +
        since - Optional filter by sent after given date time (optional)
        +
        before - Optional filter by sent before given date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxTagsCall

        +
        public okhttp3.Call getInboxTagsCall(ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for getInboxTags
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxTags

        +
        public List<String> getInboxTags()
        +                          throws ApiException
        +
        Get inbox tags + Get all inbox tags
        +
        +
        Returns:
        +
        List<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxTagsWithHttpInfo

        +
        public ApiResponse<List<String>> getInboxTagsWithHttpInfo()
        +                                                   throws ApiException
        +
        Get inbox tags + Get all inbox tags
        +
        +
        Returns:
        +
        ApiResponse<List<String>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxTagsAsync

        +
        public okhttp3.Call getInboxTagsAsync(ApiCallback<List<String>> _callback)
        +                               throws ApiException
        +
        Get inbox tags (asynchronously) + Get all inbox tags
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxesCall

        +
        @Deprecated
        +public okhttp3.Call getInboxesCall(Integer size,
        +                                               String sort,
        +                                               OffsetDateTime since,
        +                                               Boolean excludeCatchAllInboxes,
        +                                               OffsetDateTime before,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Deprecated. 
        +
        Build call for getInboxes
        +
        +
        Parameters:
        +
        size - Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries. (optional, default to 100)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by created after given date time (optional)
        +
        excludeCatchAllInboxes - Optional exclude catch all inboxes (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxes

        +
        @Deprecated
        +public List<InboxDto> getInboxes(Integer size,
        +                                             String sort,
        +                                             OffsetDateTime since,
        +                                             Boolean excludeCatchAllInboxes,
        +                                             OffsetDateTime before)
        +                                      throws ApiException
        +
        Deprecated. 
        +
        List Inboxes and email addresses + List the inboxes you have created. Note use of the more advanced `getAllInboxes` is recommended and allows paginated access using a limit and sort parameter.
        +
        +
        Parameters:
        +
        size - Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries. (optional, default to 100)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by created after given date time (optional)
        +
        excludeCatchAllInboxes - Optional exclude catch all inboxes (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        Returns:
        +
        List<InboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxesWithHttpInfo

        +
        @Deprecated
        +public ApiResponse<List<InboxDto>> getInboxesWithHttpInfo(Integer size,
        +                                                                      String sort,
        +                                                                      OffsetDateTime since,
        +                                                                      Boolean excludeCatchAllInboxes,
        +                                                                      OffsetDateTime before)
        +                                                               throws ApiException
        +
        Deprecated. 
        +
        List Inboxes and email addresses + List the inboxes you have created. Note use of the more advanced `getAllInboxes` is recommended and allows paginated access using a limit and sort parameter.
        +
        +
        Parameters:
        +
        size - Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries. (optional, default to 100)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by created after given date time (optional)
        +
        excludeCatchAllInboxes - Optional exclude catch all inboxes (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        Returns:
        +
        ApiResponse<List<InboxDto>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxesAsync

        +
        @Deprecated
        +public okhttp3.Call getInboxesAsync(Integer size,
        +                                                String sort,
        +                                                OffsetDateTime since,
        +                                                Boolean excludeCatchAllInboxes,
        +                                                OffsetDateTime before,
        +                                                ApiCallback<List<InboxDto>> _callback)
        +                                         throws ApiException
        +
        Deprecated. 
        +
        List Inboxes and email addresses (asynchronously) + List the inboxes you have created. Note use of the more advanced `getAllInboxes` is recommended and allows paginated access using a limit and sort parameter.
        +
        +
        Parameters:
        +
        size - Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries. (optional, default to 100)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Optional filter by created after given date time (optional)
        +
        excludeCatchAllInboxes - Optional exclude catch all inboxes (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmailInInboxCall

        +
        public okhttp3.Call getLatestEmailInInboxCall(UUID inboxId,
        +                                              Long timeoutMillis,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for getLatestEmailInInbox
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to get the latest email from (required)
        +
        timeoutMillis - Timeout milliseconds to wait for latest email (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmailInInbox

        +
        public Email getLatestEmailInInbox(UUID inboxId,
        +                                   Long timeoutMillis)
        +                            throws ApiException
        +
        Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + Get the newest email in an inbox or wait for one to arrive
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to get the latest email from (required)
        +
        timeoutMillis - Timeout milliseconds to wait for latest email (required)
        +
        Returns:
        +
        Email
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmailInInboxWithHttpInfo

        +
        public ApiResponse<Email> getLatestEmailInInboxWithHttpInfo(UUID inboxId,
        +                                                            Long timeoutMillis)
        +                                                     throws ApiException
        +
        Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + Get the newest email in an inbox or wait for one to arrive
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to get the latest email from (required)
        +
        timeoutMillis - Timeout milliseconds to wait for latest email (required)
        +
        Returns:
        +
        ApiResponse<Email>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getLatestEmailInInboxAsync

        +
        public okhttp3.Call getLatestEmailInInboxAsync(UUID inboxId,
        +                                               Long timeoutMillis,
        +                                               ApiCallback<Email> _callback)
        +                                        throws ApiException
        +
        Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. (asynchronously) + Get the newest email in an inbox or wait for one to arrive
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to get the latest email from (required)
        +
        timeoutMillis - Timeout milliseconds to wait for latest email (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getOrganizationInboxesCall

        +
        public okhttp3.Call getOrganizationInboxesCall(Integer page,
        +                                               Integer size,
        +                                               String sort,
        +                                               String searchFilter,
        +                                               OffsetDateTime since,
        +                                               OffsetDateTime before,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for getOrganizationInboxes
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getOrganizationInboxes

        +
        public PageOrganizationInboxProjection getOrganizationInboxes(Integer page,
        +                                                              Integer size,
        +                                                              String sort,
        +                                                              String searchFilter,
        +                                                              OffsetDateTime since,
        +                                                              OffsetDateTime before)
        +                                                       throws ApiException
        +
        List Organization Inboxes Paginated + List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time).
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        Returns:
        +
        PageOrganizationInboxProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getOrganizationInboxesWithHttpInfo

        +
        public ApiResponse<PageOrganizationInboxProjection> getOrganizationInboxesWithHttpInfo(Integer page,
        +                                                                                       Integer size,
        +                                                                                       String sort,
        +                                                                                       String searchFilter,
        +                                                                                       OffsetDateTime since,
        +                                                                                       OffsetDateTime before)
        +                                                                                throws ApiException
        +
        List Organization Inboxes Paginated + List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time).
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        Returns:
        +
        ApiResponse<PageOrganizationInboxProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getOrganizationInboxesAsync

        +
        public okhttp3.Call getOrganizationInboxesAsync(Integer page,
        +                                                Integer size,
        +                                                String sort,
        +                                                String searchFilter,
        +                                                OffsetDateTime since,
        +                                                OffsetDateTime before,
        +                                                ApiCallback<PageOrganizationInboxProjection> _callback)
        +                                         throws ApiException
        +
        List Organization Inboxes Paginated (asynchronously) + List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time).
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getScheduledJobCall

        +
        public okhttp3.Call getScheduledJobCall(UUID jobId,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for getScheduledJob
        +
        +
        Parameters:
        +
        jobId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getScheduledJob

        +
        public ScheduledJobDto getScheduledJob(UUID jobId)
        +                                throws ApiException
        +
        Get a scheduled email job + Get a scheduled email job details.
        +
        +
        Parameters:
        +
        jobId - (required)
        +
        Returns:
        +
        ScheduledJobDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getScheduledJobWithHttpInfo

        +
        public ApiResponse<ScheduledJobDto> getScheduledJobWithHttpInfo(UUID jobId)
        +                                                         throws ApiException
        +
        Get a scheduled email job + Get a scheduled email job details.
        +
        +
        Parameters:
        +
        jobId - (required)
        +
        Returns:
        +
        ApiResponse<ScheduledJobDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getScheduledJobAsync

        +
        public okhttp3.Call getScheduledJobAsync(UUID jobId,
        +                                         ApiCallback<ScheduledJobDto> _callback)
        +                                  throws ApiException
        +
        Get a scheduled email job (asynchronously) + Get a scheduled email job details.
        +
        +
        Parameters:
        +
        jobId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getScheduledJobsByInboxIdCall

        +
        public okhttp3.Call getScheduledJobsByInboxIdCall(UUID inboxId,
        +                                                  Integer page,
        +                                                  Integer size,
        +                                                  String sort,
        +                                                  OffsetDateTime since,
        +                                                  OffsetDateTime before,
        +                                                  ApiCallback _callback)
        +                                           throws ApiException
        +
        Build call for getScheduledJobsByInboxId
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in scheduled job list pagination (optional, default to 0)
        +
        size - Optional page size in scheduled job list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getScheduledJobsByInboxId

        +
        public PageScheduledJobs getScheduledJobsByInboxId(UUID inboxId,
        +                                                   Integer page,
        +                                                   Integer size,
        +                                                   String sort,
        +                                                   OffsetDateTime since,
        +                                                   OffsetDateTime before)
        +                                            throws ApiException
        +
        Get all scheduled email sending jobs for the inbox + Schedule sending of emails using scheduled jobs.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in scheduled job list pagination (optional, default to 0)
        +
        size - Optional page size in scheduled job list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageScheduledJobs
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getScheduledJobsByInboxIdWithHttpInfo

        +
        public ApiResponse<PageScheduledJobs> getScheduledJobsByInboxIdWithHttpInfo(UUID inboxId,
        +                                                                            Integer page,
        +                                                                            Integer size,
        +                                                                            String sort,
        +                                                                            OffsetDateTime since,
        +                                                                            OffsetDateTime before)
        +                                                                     throws ApiException
        +
        Get all scheduled email sending jobs for the inbox + Schedule sending of emails using scheduled jobs.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in scheduled job list pagination (optional, default to 0)
        +
        size - Optional page size in scheduled job list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageScheduledJobs>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getScheduledJobsByInboxIdAsync

        +
        public okhttp3.Call getScheduledJobsByInboxIdAsync(UUID inboxId,
        +                                                   Integer page,
        +                                                   Integer size,
        +                                                   String sort,
        +                                                   OffsetDateTime since,
        +                                                   OffsetDateTime before,
        +                                                   ApiCallback<PageScheduledJobs> _callback)
        +                                            throws ApiException
        +
        Get all scheduled email sending jobs for the inbox (asynchronously) + Schedule sending of emails using scheduled jobs.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in scheduled job list pagination (optional, default to 0)
        +
        size - Optional page size in scheduled job list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        listInboxRulesetsCall

        +
        public okhttp3.Call listInboxRulesetsCall(UUID inboxId,
        +                                          Integer page,
        +                                          Integer size,
        +                                          String sort,
        +                                          String searchFilter,
        +                                          OffsetDateTime since,
        +                                          OffsetDateTime before,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for listInboxRulesets
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox ruleset list pagination (optional, default to 0)
        +
        size - Optional page size in inbox ruleset list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        listInboxRulesets

        +
        public PageInboxRulesetDto listInboxRulesets(UUID inboxId,
        +                                             Integer page,
        +                                             Integer size,
        +                                             String sort,
        +                                             String searchFilter,
        +                                             OffsetDateTime since,
        +                                             OffsetDateTime before)
        +                                      throws ApiException
        +
        List inbox rulesets + List all rulesets attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox ruleset list pagination (optional, default to 0)
        +
        size - Optional page size in inbox ruleset list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        Returns:
        +
        PageInboxRulesetDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        listInboxRulesetsWithHttpInfo

        +
        public ApiResponse<PageInboxRulesetDto> listInboxRulesetsWithHttpInfo(UUID inboxId,
        +                                                                      Integer page,
        +                                                                      Integer size,
        +                                                                      String sort,
        +                                                                      String searchFilter,
        +                                                                      OffsetDateTime since,
        +                                                                      OffsetDateTime before)
        +                                                               throws ApiException
        +
        List inbox rulesets + List all rulesets attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox ruleset list pagination (optional, default to 0)
        +
        size - Optional page size in inbox ruleset list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        Returns:
        +
        ApiResponse<PageInboxRulesetDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        listInboxRulesetsAsync

        +
        public okhttp3.Call listInboxRulesetsAsync(UUID inboxId,
        +                                           Integer page,
        +                                           Integer size,
        +                                           String sort,
        +                                           String searchFilter,
        +                                           OffsetDateTime since,
        +                                           OffsetDateTime before,
        +                                           ApiCallback<PageInboxRulesetDto> _callback)
        +                                    throws ApiException
        +
        List inbox rulesets (asynchronously) + List all rulesets attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox ruleset list pagination (optional, default to 0)
        +
        size - Optional page size in inbox ruleset list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        listInboxTrackingPixelsCall

        +
        public okhttp3.Call listInboxTrackingPixelsCall(UUID inboxId,
        +                                                Integer page,
        +                                                Integer size,
        +                                                String sort,
        +                                                String searchFilter,
        +                                                OffsetDateTime since,
        +                                                OffsetDateTime before,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for listInboxTrackingPixels
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in inbox tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        listInboxTrackingPixels

        +
        public PageTrackingPixelProjection listInboxTrackingPixels(UUID inboxId,
        +                                                           Integer page,
        +                                                           Integer size,
        +                                                           String sort,
        +                                                           String searchFilter,
        +                                                           OffsetDateTime since,
        +                                                           OffsetDateTime before)
        +                                                    throws ApiException
        +
        List inbox tracking pixels + List all tracking pixels sent from an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in inbox tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        Returns:
        +
        PageTrackingPixelProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        listInboxTrackingPixelsWithHttpInfo

        +
        public ApiResponse<PageTrackingPixelProjection> listInboxTrackingPixelsWithHttpInfo(UUID inboxId,
        +                                                                                    Integer page,
        +                                                                                    Integer size,
        +                                                                                    String sort,
        +                                                                                    String searchFilter,
        +                                                                                    OffsetDateTime since,
        +                                                                                    OffsetDateTime before)
        +                                                                             throws ApiException
        +
        List inbox tracking pixels + List all tracking pixels sent from an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in inbox tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        Returns:
        +
        ApiResponse<PageTrackingPixelProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        listInboxTrackingPixelsAsync

        +
        public okhttp3.Call listInboxTrackingPixelsAsync(UUID inboxId,
        +                                                 Integer page,
        +                                                 Integer size,
        +                                                 String sort,
        +                                                 String searchFilter,
        +                                                 OffsetDateTime since,
        +                                                 OffsetDateTime before,
        +                                                 ApiCallback<PageTrackingPixelProjection> _callback)
        +                                          throws ApiException
        +
        List inbox tracking pixels (asynchronously) + List all tracking pixels sent from an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in inbox tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in inbox tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Optional filter by created after given date time (optional)
        +
        before - Optional filter by created before given date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailCall

        +
        public okhttp3.Call sendEmailCall(UUID inboxId,
        +                                  SendEmailOptions sendEmailOptions,
        +                                  ApiCallback _callback)
        +                           throws ApiException
        +
        Build call for sendEmail
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmail

        +
        public void sendEmail(UUID inboxId,
        +                      SendEmailOptions sendEmailOptions)
        +               throws ApiException
        +
        Send Email + Send an email from an inbox's email address. The request body should contain the `SendEmailOptions` that include recipients, attachments, body etc. See `SendEmailOptions` for all available properties. Note the `inboxId` refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method `sendEmailAndConfirm`.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailWithHttpInfo

        +
        public ApiResponse<Void> sendEmailWithHttpInfo(UUID inboxId,
        +                                               SendEmailOptions sendEmailOptions)
        +                                        throws ApiException
        +
        Send Email + Send an email from an inbox's email address. The request body should contain the `SendEmailOptions` that include recipients, attachments, body etc. See `SendEmailOptions` for all available properties. Note the `inboxId` refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method `sendEmailAndConfirm`.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailAsync

        +
        public okhttp3.Call sendEmailAsync(UUID inboxId,
        +                                   SendEmailOptions sendEmailOptions,
        +                                   ApiCallback<Void> _callback)
        +                            throws ApiException
        +
        Send Email (asynchronously) + Send an email from an inbox's email address. The request body should contain the `SendEmailOptions` that include recipients, attachments, body etc. See `SendEmailOptions` for all available properties. Note the `inboxId` refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method `sendEmailAndConfirm`.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailAndConfirmCall

        +
        public okhttp3.Call sendEmailAndConfirmCall(UUID inboxId,
        +                                            SendEmailOptions sendEmailOptions,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for sendEmailAndConfirm
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailAndConfirm

        +
        public SentEmailDto sendEmailAndConfirm(UUID inboxId,
        +                                        SendEmailOptions sendEmailOptions)
        +                                 throws ApiException
        +
        Send email and return sent confirmation + Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        Returns:
        +
        SentEmailDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailAndConfirmWithHttpInfo

        +
        public ApiResponse<SentEmailDto> sendEmailAndConfirmWithHttpInfo(UUID inboxId,
        +                                                                 SendEmailOptions sendEmailOptions)
        +                                                          throws ApiException
        +
        Send email and return sent confirmation + Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        Returns:
        +
        ApiResponse<SentEmailDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailAndConfirmAsync

        +
        public okhttp3.Call sendEmailAndConfirmAsync(UUID inboxId,
        +                                             SendEmailOptions sendEmailOptions,
        +                                             ApiCallback<SentEmailDto> _callback)
        +                                      throws ApiException
        +
        Send email and return sent confirmation (asynchronously) + Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailWithQueueCall

        +
        public okhttp3.Call sendEmailWithQueueCall(UUID inboxId,
        +                                           Boolean validateBeforeEnqueue,
        +                                           SendEmailOptions sendEmailOptions,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for sendEmailWithQueue
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        validateBeforeEnqueue - Validate before adding to queue (required)
        +
        sendEmailOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailWithQueue

        +
        public void sendEmailWithQueue(UUID inboxId,
        +                               Boolean validateBeforeEnqueue,
        +                               SendEmailOptions sendEmailOptions)
        +                        throws ApiException
        +
        Send email with queue + Send an email using a queue. Will place the email onto a queue that will then be processed and sent. Use this queue method to enable any failed email sending to be recovered. This will prevent lost emails when sending if your account encounters a block or payment issue.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        validateBeforeEnqueue - Validate before adding to queue (required)
        +
        sendEmailOptions - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailWithQueueWithHttpInfo

        +
        public ApiResponse<Void> sendEmailWithQueueWithHttpInfo(UUID inboxId,
        +                                                        Boolean validateBeforeEnqueue,
        +                                                        SendEmailOptions sendEmailOptions)
        +                                                 throws ApiException
        +
        Send email with queue + Send an email using a queue. Will place the email onto a queue that will then be processed and sent. Use this queue method to enable any failed email sending to be recovered. This will prevent lost emails when sending if your account encounters a block or payment issue.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        validateBeforeEnqueue - Validate before adding to queue (required)
        +
        sendEmailOptions - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendEmailWithQueueAsync

        +
        public okhttp3.Call sendEmailWithQueueAsync(UUID inboxId,
        +                                            Boolean validateBeforeEnqueue,
        +                                            SendEmailOptions sendEmailOptions,
        +                                            ApiCallback<Void> _callback)
        +                                     throws ApiException
        +
        Send email with queue (asynchronously) + Send an email using a queue. Will place the email onto a queue that will then be processed and sent. Use this queue method to enable any failed email sending to be recovered. This will prevent lost emails when sending if your account encounters a block or payment issue.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        validateBeforeEnqueue - Validate before adding to queue (required)
        +
        sendEmailOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendSmtpEnvelopeCall

        +
        public okhttp3.Call sendSmtpEnvelopeCall(UUID inboxId,
        +                                         SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for sendSmtpEnvelope
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendSMTPEnvelopeOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendSmtpEnvelope

        +
        public SentEmailDto sendSmtpEnvelope(UUID inboxId,
        +                                     SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions)
        +                              throws ApiException
        +
        Send email using an SMTP mail envelope and message body and return sent confirmation + Send email using an SMTP envelope containing RCPT TO, MAIL FROM, and a SMTP BODY.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendSMTPEnvelopeOptions - (required)
        +
        Returns:
        +
        SentEmailDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendSmtpEnvelopeWithHttpInfo

        +
        public ApiResponse<SentEmailDto> sendSmtpEnvelopeWithHttpInfo(UUID inboxId,
        +                                                              SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions)
        +                                                       throws ApiException
        +
        Send email using an SMTP mail envelope and message body and return sent confirmation + Send email using an SMTP envelope containing RCPT TO, MAIL FROM, and a SMTP BODY.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendSMTPEnvelopeOptions - (required)
        +
        Returns:
        +
        ApiResponse<SentEmailDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendSmtpEnvelopeAsync

        +
        public okhttp3.Call sendSmtpEnvelopeAsync(UUID inboxId,
        +                                          SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions,
        +                                          ApiCallback<SentEmailDto> _callback)
        +                                   throws ApiException
        +
        Send email using an SMTP mail envelope and message body and return sent confirmation (asynchronously) + Send email using an SMTP envelope containing RCPT TO, MAIL FROM, and a SMTP BODY.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendSMTPEnvelopeOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendTestEmailCall

        +
        public okhttp3.Call sendTestEmailCall(UUID inboxId,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for sendTestEmail
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        sendTestEmail

        +
        public void sendTestEmail(UUID inboxId)
        +                   throws ApiException
        +
        Send a test email to inbox + Send an inbox a test email to test email receiving is working
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        sendTestEmailWithHttpInfo

        +
        public ApiResponse<Void> sendTestEmailWithHttpInfo(UUID inboxId)
        +                                            throws ApiException
        +
        Send a test email to inbox + Send an inbox a test email to test email receiving is working
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        sendTestEmailAsync

        +
        public okhttp3.Call sendTestEmailAsync(UUID inboxId,
        +                                       ApiCallback<Void> _callback)
        +                                throws ApiException
        +
        Send a test email to inbox (asynchronously) + Send an inbox a test email to test email receiving is working
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        sendWithScheduleCall

        +
        public okhttp3.Call sendWithScheduleCall(UUID inboxId,
        +                                         SendEmailOptions sendEmailOptions,
        +                                         OffsetDateTime sendAtTimestamp,
        +                                         Long sendAtNowPlusSeconds,
        +                                         Boolean validateBeforeEnqueue,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for sendWithSchedule
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        sendAtTimestamp - Sending timestamp (optional)
        +
        sendAtNowPlusSeconds - Send after n seconds (optional)
        +
        validateBeforeEnqueue - Validate before adding to queue (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendWithSchedule

        +
        public ScheduledJobDto sendWithSchedule(UUID inboxId,
        +                                        SendEmailOptions sendEmailOptions,
        +                                        OffsetDateTime sendAtTimestamp,
        +                                        Long sendAtNowPlusSeconds,
        +                                        Boolean validateBeforeEnqueue)
        +                                 throws ApiException
        +
        Send email with with delay or schedule + Send an email using a delay. Will place the email onto a scheduler that will then be processed and sent. Use delays to schedule email sending.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        sendAtTimestamp - Sending timestamp (optional)
        +
        sendAtNowPlusSeconds - Send after n seconds (optional)
        +
        validateBeforeEnqueue - Validate before adding to queue (optional)
        +
        Returns:
        +
        ScheduledJobDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendWithScheduleWithHttpInfo

        +
        public ApiResponse<ScheduledJobDto> sendWithScheduleWithHttpInfo(UUID inboxId,
        +                                                                 SendEmailOptions sendEmailOptions,
        +                                                                 OffsetDateTime sendAtTimestamp,
        +                                                                 Long sendAtNowPlusSeconds,
        +                                                                 Boolean validateBeforeEnqueue)
        +                                                          throws ApiException
        +
        Send email with with delay or schedule + Send an email using a delay. Will place the email onto a scheduler that will then be processed and sent. Use delays to schedule email sending.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        sendAtTimestamp - Sending timestamp (optional)
        +
        sendAtNowPlusSeconds - Send after n seconds (optional)
        +
        validateBeforeEnqueue - Validate before adding to queue (optional)
        +
        Returns:
        +
        ApiResponse<ScheduledJobDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendWithScheduleAsync

        +
        public okhttp3.Call sendWithScheduleAsync(UUID inboxId,
        +                                          SendEmailOptions sendEmailOptions,
        +                                          OffsetDateTime sendAtTimestamp,
        +                                          Long sendAtNowPlusSeconds,
        +                                          Boolean validateBeforeEnqueue,
        +                                          ApiCallback<ScheduledJobDto> _callback)
        +                                   throws ApiException
        +
        Send email with with delay or schedule (asynchronously) + Send an email using a delay. Will place the email onto a scheduler that will then be processed and sent. Use delays to schedule email sending.
        +
        +
        Parameters:
        +
        inboxId - ID of the inbox you want to send the email from (required)
        +
        sendEmailOptions - (required)
        +
        sendAtTimestamp - Sending timestamp (optional)
        +
        sendAtNowPlusSeconds - Send after n seconds (optional)
        +
        validateBeforeEnqueue - Validate before adding to queue (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        setInboxFavouritedCall

        +
        public okhttp3.Call setInboxFavouritedCall(UUID inboxId,
        +                                           SetInboxFavouritedOptions setInboxFavouritedOptions,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for setInboxFavourited
        +
        +
        Parameters:
        +
        inboxId - ID of inbox to set favourite state (required)
        +
        setInboxFavouritedOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        setInboxFavourited

        +
        public InboxDto setInboxFavourited(UUID inboxId,
        +                                   SetInboxFavouritedOptions setInboxFavouritedOptions)
        +                            throws ApiException
        +
        Set inbox favourited state + Set and return new favourite state for an inbox
        +
        +
        Parameters:
        +
        inboxId - ID of inbox to set favourite state (required)
        +
        setInboxFavouritedOptions - (required)
        +
        Returns:
        +
        InboxDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        setInboxFavouritedWithHttpInfo

        +
        public ApiResponse<InboxDto> setInboxFavouritedWithHttpInfo(UUID inboxId,
        +                                                            SetInboxFavouritedOptions setInboxFavouritedOptions)
        +                                                     throws ApiException
        +
        Set inbox favourited state + Set and return new favourite state for an inbox
        +
        +
        Parameters:
        +
        inboxId - ID of inbox to set favourite state (required)
        +
        setInboxFavouritedOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        setInboxFavouritedAsync

        +
        public okhttp3.Call setInboxFavouritedAsync(UUID inboxId,
        +                                            SetInboxFavouritedOptions setInboxFavouritedOptions,
        +                                            ApiCallback<InboxDto> _callback)
        +                                     throws ApiException
        +
        Set inbox favourited state (asynchronously) + Set and return new favourite state for an inbox
        +
        +
        Parameters:
        +
        inboxId - ID of inbox to set favourite state (required)
        +
        setInboxFavouritedOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInboxCall

        +
        public okhttp3.Call updateInboxCall(UUID inboxId,
        +                                    UpdateInboxOptions updateInboxOptions,
        +                                    ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for updateInbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        updateInboxOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInbox

        +
        public InboxDto updateInbox(UUID inboxId,
        +                            UpdateInboxOptions updateInboxOptions)
        +                     throws ApiException
        +
        Update Inbox. Change name and description. Email address is not editable. + Update editable fields on an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        updateInboxOptions - (required)
        +
        Returns:
        +
        InboxDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInboxWithHttpInfo

        +
        public ApiResponse<InboxDto> updateInboxWithHttpInfo(UUID inboxId,
        +                                                     UpdateInboxOptions updateInboxOptions)
        +                                              throws ApiException
        +
        Update Inbox. Change name and description. Email address is not editable. + Update editable fields on an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        updateInboxOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInboxAsync

        +
        public okhttp3.Call updateInboxAsync(UUID inboxId,
        +                                     UpdateInboxOptions updateInboxOptions,
        +                                     ApiCallback<InboxDto> _callback)
        +                              throws ApiException
        +
        Update Inbox. Change name and description. Email address is not editable. (asynchronously) + Update editable fields on an inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        updateInboxOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/InboxForwarderControllerApi.html b/site/com/mailslurp/apis/InboxForwarderControllerApi.html new file mode 100644 index 000000000..078b6677e --- /dev/null +++ b/site/com/mailslurp/apis/InboxForwarderControllerApi.html @@ -0,0 +1,1822 @@ + + + + + + +InboxForwarderControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class InboxForwarderControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class InboxForwarderControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxForwarderControllerApi

        +
        public InboxForwarderControllerApi()
        +
      • +
      + + + +
        +
      • +

        InboxForwarderControllerApi

        +
        public InboxForwarderControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        createNewInboxForwarderCall

        +
        public okhttp3.Call createNewInboxForwarderCall(UUID inboxId,
        +                                                CreateInboxForwarderOptions createInboxForwarderOptions,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for createNewInboxForwarder
        +
        +
        Parameters:
        +
        inboxId - Inbox id to attach forwarder to (required)
        +
        createInboxForwarderOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createNewInboxForwarder

        +
        public InboxForwarderDto createNewInboxForwarder(UUID inboxId,
        +                                                 CreateInboxForwarderOptions createInboxForwarderOptions)
        +                                          throws ApiException
        +
        Create an inbox forwarder + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        inboxId - Inbox id to attach forwarder to (required)
        +
        createInboxForwarderOptions - (required)
        +
        Returns:
        +
        InboxForwarderDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createNewInboxForwarderWithHttpInfo

        +
        public ApiResponse<InboxForwarderDto> createNewInboxForwarderWithHttpInfo(UUID inboxId,
        +                                                                          CreateInboxForwarderOptions createInboxForwarderOptions)
        +                                                                   throws ApiException
        +
        Create an inbox forwarder + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        inboxId - Inbox id to attach forwarder to (required)
        +
        createInboxForwarderOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxForwarderDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createNewInboxForwarderAsync

        +
        public okhttp3.Call createNewInboxForwarderAsync(UUID inboxId,
        +                                                 CreateInboxForwarderOptions createInboxForwarderOptions,
        +                                                 ApiCallback<InboxForwarderDto> _callback)
        +                                          throws ApiException
        +
        Create an inbox forwarder (asynchronously) + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        inboxId - Inbox id to attach forwarder to (required)
        +
        createInboxForwarderOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxForwarderCall

        +
        public okhttp3.Call deleteInboxForwarderCall(UUID id,
        +                                             ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for deleteInboxForwarder
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxForwarder

        +
        public void deleteInboxForwarder(UUID id)
        +                          throws ApiException
        +
        Delete an inbox forwarder + Delete inbox forwarder
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxForwarderWithHttpInfo

        +
        public ApiResponse<Void> deleteInboxForwarderWithHttpInfo(UUID id)
        +                                                   throws ApiException
        +
        Delete an inbox forwarder + Delete inbox forwarder
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxForwarderAsync

        +
        public okhttp3.Call deleteInboxForwarderAsync(UUID id,
        +                                              ApiCallback<Void> _callback)
        +                                       throws ApiException
        +
        Delete an inbox forwarder (asynchronously) + Delete inbox forwarder
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxForwardersCall

        +
        public okhttp3.Call deleteInboxForwardersCall(UUID inboxId,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for deleteInboxForwarders
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach forwarder to (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxForwarders

        +
        public void deleteInboxForwarders(UUID inboxId)
        +                           throws ApiException
        +
        Delete inbox forwarders + Delete inbox forwarders. Accepts optional inboxId filter.
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach forwarder to (optional)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxForwardersWithHttpInfo

        +
        public ApiResponse<Void> deleteInboxForwardersWithHttpInfo(UUID inboxId)
        +                                                    throws ApiException
        +
        Delete inbox forwarders + Delete inbox forwarders. Accepts optional inboxId filter.
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach forwarder to (optional)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxForwardersAsync

        +
        public okhttp3.Call deleteInboxForwardersAsync(UUID inboxId,
        +                                               ApiCallback<Void> _callback)
        +                                        throws ApiException
        +
        Delete inbox forwarders (asynchronously) + Delete inbox forwarders. Accepts optional inboxId filter.
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach forwarder to (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwarderCall

        +
        public okhttp3.Call getInboxForwarderCall(UUID id,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for getInboxForwarder
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwarder

        +
        public InboxForwarderDto getInboxForwarder(UUID id)
        +                                    throws ApiException
        +
        Get an inbox forwarder + Get inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        Returns:
        +
        InboxForwarderDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwarderWithHttpInfo

        +
        public ApiResponse<InboxForwarderDto> getInboxForwarderWithHttpInfo(UUID id)
        +                                                             throws ApiException
        +
        Get an inbox forwarder + Get inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        Returns:
        +
        ApiResponse<InboxForwarderDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwarderAsync

        +
        public okhttp3.Call getInboxForwarderAsync(UUID id,
        +                                           ApiCallback<InboxForwarderDto> _callback)
        +                                    throws ApiException
        +
        Get an inbox forwarder (asynchronously) + Get inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwarderEventsCall

        +
        public okhttp3.Call getInboxForwarderEventsCall(UUID id,
        +                                                Integer page,
        +                                                Integer size,
        +                                                String sort,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for getInboxForwarderEvents
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        page - Optional page index in inbox forwarder event list pagination (optional, default to 0)
        +
        size - Optional page size in inbox forwarder event list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwarderEvents

        +
        public PageInboxForwarderEvents getInboxForwarderEvents(UUID id,
        +                                                        Integer page,
        +                                                        Integer size,
        +                                                        String sort)
        +                                                 throws ApiException
        +
        Get an inbox forwarder event list + Get inbox ruleset events
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        page - Optional page index in inbox forwarder event list pagination (optional, default to 0)
        +
        size - Optional page size in inbox forwarder event list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        Returns:
        +
        PageInboxForwarderEvents
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwarderEventsWithHttpInfo

        +
        public ApiResponse<PageInboxForwarderEvents> getInboxForwarderEventsWithHttpInfo(UUID id,
        +                                                                                 Integer page,
        +                                                                                 Integer size,
        +                                                                                 String sort)
        +                                                                          throws ApiException
        +
        Get an inbox forwarder event list + Get inbox ruleset events
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        page - Optional page index in inbox forwarder event list pagination (optional, default to 0)
        +
        size - Optional page size in inbox forwarder event list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        Returns:
        +
        ApiResponse<PageInboxForwarderEvents>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwarderEventsAsync

        +
        public okhttp3.Call getInboxForwarderEventsAsync(UUID id,
        +                                                 Integer page,
        +                                                 Integer size,
        +                                                 String sort,
        +                                                 ApiCallback<PageInboxForwarderEvents> _callback)
        +                                          throws ApiException
        +
        Get an inbox forwarder event list (asynchronously) + Get inbox ruleset events
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        page - Optional page index in inbox forwarder event list pagination (optional, default to 0)
        +
        size - Optional page size in inbox forwarder event list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwardersCall

        +
        public okhttp3.Call getInboxForwardersCall(UUID inboxId,
        +                                           Integer page,
        +                                           Integer size,
        +                                           String sort,
        +                                           String searchFilter,
        +                                           OffsetDateTime since,
        +                                           OffsetDateTime before,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for getInboxForwarders
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get forwarders from (optional)
        +
        page - Optional page index in inbox forwarder list pagination (optional, default to 0)
        +
        size - Optional page size in inbox forwarder list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwarders

        +
        public PageInboxForwarderDto getInboxForwarders(UUID inboxId,
        +                                                Integer page,
        +                                                Integer size,
        +                                                String sort,
        +                                                String searchFilter,
        +                                                OffsetDateTime since,
        +                                                OffsetDateTime before)
        +                                         throws ApiException
        +
        List inbox forwarders + List all forwarders attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get forwarders from (optional)
        +
        page - Optional page index in inbox forwarder list pagination (optional, default to 0)
        +
        size - Optional page size in inbox forwarder list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageInboxForwarderDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwardersWithHttpInfo

        +
        public ApiResponse<PageInboxForwarderDto> getInboxForwardersWithHttpInfo(UUID inboxId,
        +                                                                         Integer page,
        +                                                                         Integer size,
        +                                                                         String sort,
        +                                                                         String searchFilter,
        +                                                                         OffsetDateTime since,
        +                                                                         OffsetDateTime before)
        +                                                                  throws ApiException
        +
        List inbox forwarders + List all forwarders attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get forwarders from (optional)
        +
        page - Optional page index in inbox forwarder list pagination (optional, default to 0)
        +
        size - Optional page size in inbox forwarder list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageInboxForwarderDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxForwardersAsync

        +
        public okhttp3.Call getInboxForwardersAsync(UUID inboxId,
        +                                            Integer page,
        +                                            Integer size,
        +                                            String sort,
        +                                            String searchFilter,
        +                                            OffsetDateTime since,
        +                                            OffsetDateTime before,
        +                                            ApiCallback<PageInboxForwarderDto> _callback)
        +                                     throws ApiException
        +
        List inbox forwarders (asynchronously) + List all forwarders attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get forwarders from (optional)
        +
        page - Optional page index in inbox forwarder list pagination (optional, default to 0)
        +
        size - Optional page size in inbox forwarder list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxForwarderCall

        +
        public okhttp3.Call testInboxForwarderCall(UUID id,
        +                                           InboxForwarderTestOptions inboxForwarderTestOptions,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for testInboxForwarder
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        inboxForwarderTestOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxForwarder

        +
        public InboxForwarderTestResult testInboxForwarder(UUID id,
        +                                                   InboxForwarderTestOptions inboxForwarderTestOptions)
        +                                            throws ApiException
        +
        Test an inbox forwarder + Test an inbox forwarder
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        inboxForwarderTestOptions - (required)
        +
        Returns:
        +
        InboxForwarderTestResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxForwarderWithHttpInfo

        +
        public ApiResponse<InboxForwarderTestResult> testInboxForwarderWithHttpInfo(UUID id,
        +                                                                            InboxForwarderTestOptions inboxForwarderTestOptions)
        +                                                                     throws ApiException
        +
        Test an inbox forwarder + Test an inbox forwarder
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        inboxForwarderTestOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxForwarderTestResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxForwarderAsync

        +
        public okhttp3.Call testInboxForwarderAsync(UUID id,
        +                                            InboxForwarderTestOptions inboxForwarderTestOptions,
        +                                            ApiCallback<InboxForwarderTestResult> _callback)
        +                                     throws ApiException
        +
        Test an inbox forwarder (asynchronously) + Test an inbox forwarder
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        inboxForwarderTestOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxForwardersForInboxCall

        +
        public okhttp3.Call testInboxForwardersForInboxCall(UUID inboxId,
        +                                                    InboxForwarderTestOptions inboxForwarderTestOptions,
        +                                                    ApiCallback _callback)
        +                                             throws ApiException
        +
        Build call for testInboxForwardersForInbox
        +
        +
        Parameters:
        +
        inboxId - ID of inbox (required)
        +
        inboxForwarderTestOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxForwardersForInbox

        +
        public InboxForwarderTestResult testInboxForwardersForInbox(UUID inboxId,
        +                                                            InboxForwarderTestOptions inboxForwarderTestOptions)
        +                                                     throws ApiException
        +
        Test inbox forwarders for inbox + Test inbox forwarders for inbox
        +
        +
        Parameters:
        +
        inboxId - ID of inbox (required)
        +
        inboxForwarderTestOptions - (required)
        +
        Returns:
        +
        InboxForwarderTestResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxForwardersForInboxWithHttpInfo

        +
        public ApiResponse<InboxForwarderTestResult> testInboxForwardersForInboxWithHttpInfo(UUID inboxId,
        +                                                                                     InboxForwarderTestOptions inboxForwarderTestOptions)
        +                                                                              throws ApiException
        +
        Test inbox forwarders for inbox + Test inbox forwarders for inbox
        +
        +
        Parameters:
        +
        inboxId - ID of inbox (required)
        +
        inboxForwarderTestOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxForwarderTestResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxForwardersForInboxAsync

        +
        public okhttp3.Call testInboxForwardersForInboxAsync(UUID inboxId,
        +                                                     InboxForwarderTestOptions inboxForwarderTestOptions,
        +                                                     ApiCallback<InboxForwarderTestResult> _callback)
        +                                              throws ApiException
        +
        Test inbox forwarders for inbox (asynchronously) + Test inbox forwarders for inbox
        +
        +
        Parameters:
        +
        inboxId - ID of inbox (required)
        +
        inboxForwarderTestOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testNewInboxForwarderCall

        +
        public okhttp3.Call testNewInboxForwarderCall(TestNewInboxForwarderOptions testNewInboxForwarderOptions,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for testNewInboxForwarder
        +
        +
        Parameters:
        +
        testNewInboxForwarderOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testNewInboxForwarder

        +
        public InboxForwarderTestResult testNewInboxForwarder(TestNewInboxForwarderOptions testNewInboxForwarderOptions)
        +                                               throws ApiException
        +
        Test new inbox forwarder + Test new inbox forwarder
        +
        +
        Parameters:
        +
        testNewInboxForwarderOptions - (required)
        +
        Returns:
        +
        InboxForwarderTestResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testNewInboxForwarderWithHttpInfo

        +
        public ApiResponse<InboxForwarderTestResult> testNewInboxForwarderWithHttpInfo(TestNewInboxForwarderOptions testNewInboxForwarderOptions)
        +                                                                        throws ApiException
        +
        Test new inbox forwarder + Test new inbox forwarder
        +
        +
        Parameters:
        +
        testNewInboxForwarderOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxForwarderTestResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testNewInboxForwarderAsync

        +
        public okhttp3.Call testNewInboxForwarderAsync(TestNewInboxForwarderOptions testNewInboxForwarderOptions,
        +                                               ApiCallback<InboxForwarderTestResult> _callback)
        +                                        throws ApiException
        +
        Test new inbox forwarder (asynchronously) + Test new inbox forwarder
        +
        +
        Parameters:
        +
        testNewInboxForwarderOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInboxForwarderCall

        +
        public okhttp3.Call updateInboxForwarderCall(UUID id,
        +                                             CreateInboxForwarderOptions createInboxForwarderOptions,
        +                                             ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for updateInboxForwarder
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        createInboxForwarderOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInboxForwarder

        +
        public InboxForwarderDto updateInboxForwarder(UUID id,
        +                                              CreateInboxForwarderOptions createInboxForwarderOptions)
        +                                       throws ApiException
        +
        Update an inbox forwarder + Update inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        createInboxForwarderOptions - (required)
        +
        Returns:
        +
        InboxForwarderDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInboxForwarderWithHttpInfo

        +
        public ApiResponse<InboxForwarderDto> updateInboxForwarderWithHttpInfo(UUID id,
        +                                                                       CreateInboxForwarderOptions createInboxForwarderOptions)
        +                                                                throws ApiException
        +
        Update an inbox forwarder + Update inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        createInboxForwarderOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxForwarderDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInboxForwarderAsync

        +
        public okhttp3.Call updateInboxForwarderAsync(UUID id,
        +                                              CreateInboxForwarderOptions createInboxForwarderOptions,
        +                                              ApiCallback<InboxForwarderDto> _callback)
        +                                       throws ApiException
        +
        Update an inbox forwarder (asynchronously) + Update inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox forwarder (required)
        +
        createInboxForwarderOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/InboxReplierControllerApi.html b/site/com/mailslurp/apis/InboxReplierControllerApi.html new file mode 100644 index 000000000..b3f3a9013 --- /dev/null +++ b/site/com/mailslurp/apis/InboxReplierControllerApi.html @@ -0,0 +1,1378 @@ + + + + + + +InboxReplierControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class InboxReplierControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class InboxReplierControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxReplierControllerApi

        +
        public InboxReplierControllerApi()
        +
      • +
      + + + +
        +
      • +

        InboxReplierControllerApi

        +
        public InboxReplierControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        createNewInboxReplierCall

        +
        public okhttp3.Call createNewInboxReplierCall(CreateInboxReplierOptions createInboxReplierOptions,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for createNewInboxReplier
        +
        +
        Parameters:
        +
        createInboxReplierOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createNewInboxReplier

        +
        public InboxReplierDto createNewInboxReplier(CreateInboxReplierOptions createInboxReplierOptions)
        +                                      throws ApiException
        +
        Create an inbox replier + Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        createInboxReplierOptions - (required)
        +
        Returns:
        +
        InboxReplierDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createNewInboxReplierWithHttpInfo

        +
        public ApiResponse<InboxReplierDto> createNewInboxReplierWithHttpInfo(CreateInboxReplierOptions createInboxReplierOptions)
        +                                                               throws ApiException
        +
        Create an inbox replier + Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        createInboxReplierOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxReplierDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createNewInboxReplierAsync

        +
        public okhttp3.Call createNewInboxReplierAsync(CreateInboxReplierOptions createInboxReplierOptions,
        +                                               ApiCallback<InboxReplierDto> _callback)
        +                                        throws ApiException
        +
        Create an inbox replier (asynchronously) + Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        createInboxReplierOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxReplierCall

        +
        public okhttp3.Call deleteInboxReplierCall(UUID id,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for deleteInboxReplier
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxReplier

        +
        public void deleteInboxReplier(UUID id)
        +                        throws ApiException
        +
        Delete an inbox replier + Delete inbox replier
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxReplierWithHttpInfo

        +
        public ApiResponse<Void> deleteInboxReplierWithHttpInfo(UUID id)
        +                                                 throws ApiException
        +
        Delete an inbox replier + Delete inbox replier
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxReplierAsync

        +
        public okhttp3.Call deleteInboxReplierAsync(UUID id,
        +                                            ApiCallback<Void> _callback)
        +                                     throws ApiException
        +
        Delete an inbox replier (asynchronously) + Delete inbox replier
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRepliersCall

        +
        public okhttp3.Call deleteInboxRepliersCall(UUID inboxId,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for deleteInboxRepliers
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach replier to (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRepliers

        +
        public void deleteInboxRepliers(UUID inboxId)
        +                         throws ApiException
        +
        Delete inbox repliers + Delete inbox repliers. Accepts optional inboxId filter.
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach replier to (optional)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRepliersWithHttpInfo

        +
        public ApiResponse<Void> deleteInboxRepliersWithHttpInfo(UUID inboxId)
        +                                                  throws ApiException
        +
        Delete inbox repliers + Delete inbox repliers. Accepts optional inboxId filter.
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach replier to (optional)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRepliersAsync

        +
        public okhttp3.Call deleteInboxRepliersAsync(UUID inboxId,
        +                                             ApiCallback<Void> _callback)
        +                                      throws ApiException
        +
        Delete inbox repliers (asynchronously) + Delete inbox repliers. Accepts optional inboxId filter.
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach replier to (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxReplierCall

        +
        public okhttp3.Call getInboxReplierCall(UUID id,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for getInboxReplier
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxReplier

        +
        public InboxReplierDto getInboxReplier(UUID id)
        +                                throws ApiException
        +
        Get an inbox replier + Get inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        Returns:
        +
        InboxReplierDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxReplierWithHttpInfo

        +
        public ApiResponse<InboxReplierDto> getInboxReplierWithHttpInfo(UUID id)
        +                                                         throws ApiException
        +
        Get an inbox replier + Get inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        Returns:
        +
        ApiResponse<InboxReplierDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxReplierAsync

        +
        public okhttp3.Call getInboxReplierAsync(UUID id,
        +                                         ApiCallback<InboxReplierDto> _callback)
        +                                  throws ApiException
        +
        Get an inbox replier (asynchronously) + Get inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxReplierEventsCall

        +
        public okhttp3.Call getInboxReplierEventsCall(UUID id,
        +                                              Integer page,
        +                                              Integer size,
        +                                              String sort,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for getInboxReplierEvents
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        page - Optional page index in inbox replier event list pagination (optional, default to 0)
        +
        size - Optional page size in inbox replier event list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxReplierEvents

        +
        public PageInboxReplierEvents getInboxReplierEvents(UUID id,
        +                                                    Integer page,
        +                                                    Integer size,
        +                                                    String sort)
        +                                             throws ApiException
        +
        Get an inbox replier event list + Get inbox ruleset events
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        page - Optional page index in inbox replier event list pagination (optional, default to 0)
        +
        size - Optional page size in inbox replier event list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        Returns:
        +
        PageInboxReplierEvents
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxReplierEventsWithHttpInfo

        +
        public ApiResponse<PageInboxReplierEvents> getInboxReplierEventsWithHttpInfo(UUID id,
        +                                                                             Integer page,
        +                                                                             Integer size,
        +                                                                             String sort)
        +                                                                      throws ApiException
        +
        Get an inbox replier event list + Get inbox ruleset events
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        page - Optional page index in inbox replier event list pagination (optional, default to 0)
        +
        size - Optional page size in inbox replier event list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        Returns:
        +
        ApiResponse<PageInboxReplierEvents>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxReplierEventsAsync

        +
        public okhttp3.Call getInboxReplierEventsAsync(UUID id,
        +                                               Integer page,
        +                                               Integer size,
        +                                               String sort,
        +                                               ApiCallback<PageInboxReplierEvents> _callback)
        +                                        throws ApiException
        +
        Get an inbox replier event list (asynchronously) + Get inbox ruleset events
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        page - Optional page index in inbox replier event list pagination (optional, default to 0)
        +
        size - Optional page size in inbox replier event list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRepliersCall

        +
        public okhttp3.Call getInboxRepliersCall(UUID inboxId,
        +                                         Integer page,
        +                                         Integer size,
        +                                         String sort,
        +                                         OffsetDateTime since,
        +                                         OffsetDateTime before,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for getInboxRepliers
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get repliers from (optional)
        +
        page - Optional page index in inbox replier list pagination (optional, default to 0)
        +
        size - Optional page size in inbox replier list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRepliers

        +
        public PageInboxReplierDto getInboxRepliers(UUID inboxId,
        +                                            Integer page,
        +                                            Integer size,
        +                                            String sort,
        +                                            OffsetDateTime since,
        +                                            OffsetDateTime before)
        +                                     throws ApiException
        +
        List inbox repliers + List all repliers attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get repliers from (optional)
        +
        page - Optional page index in inbox replier list pagination (optional, default to 0)
        +
        size - Optional page size in inbox replier list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageInboxReplierDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRepliersWithHttpInfo

        +
        public ApiResponse<PageInboxReplierDto> getInboxRepliersWithHttpInfo(UUID inboxId,
        +                                                                     Integer page,
        +                                                                     Integer size,
        +                                                                     String sort,
        +                                                                     OffsetDateTime since,
        +                                                                     OffsetDateTime before)
        +                                                              throws ApiException
        +
        List inbox repliers + List all repliers attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get repliers from (optional)
        +
        page - Optional page index in inbox replier list pagination (optional, default to 0)
        +
        size - Optional page size in inbox replier list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageInboxReplierDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRepliersAsync

        +
        public okhttp3.Call getInboxRepliersAsync(UUID inboxId,
        +                                          Integer page,
        +                                          Integer size,
        +                                          String sort,
        +                                          OffsetDateTime since,
        +                                          OffsetDateTime before,
        +                                          ApiCallback<PageInboxReplierDto> _callback)
        +                                   throws ApiException
        +
        List inbox repliers (asynchronously) + List all repliers attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get repliers from (optional)
        +
        page - Optional page index in inbox replier list pagination (optional, default to 0)
        +
        size - Optional page size in inbox replier list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInboxReplierCall

        +
        public okhttp3.Call updateInboxReplierCall(UUID id,
        +                                           UpdateInboxReplierOptions updateInboxReplierOptions,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for updateInboxReplier
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        updateInboxReplierOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInboxReplier

        +
        public InboxReplierDto updateInboxReplier(UUID id,
        +                                          UpdateInboxReplierOptions updateInboxReplierOptions)
        +                                   throws ApiException
        +
        Update an inbox replier + Update inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        updateInboxReplierOptions - (required)
        +
        Returns:
        +
        InboxReplierDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInboxReplierWithHttpInfo

        +
        public ApiResponse<InboxReplierDto> updateInboxReplierWithHttpInfo(UUID id,
        +                                                                   UpdateInboxReplierOptions updateInboxReplierOptions)
        +                                                            throws ApiException
        +
        Update an inbox replier + Update inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        updateInboxReplierOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxReplierDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateInboxReplierAsync

        +
        public okhttp3.Call updateInboxReplierAsync(UUID id,
        +                                            UpdateInboxReplierOptions updateInboxReplierOptions,
        +                                            ApiCallback<InboxReplierDto> _callback)
        +                                     throws ApiException
        +
        Update an inbox replier (asynchronously) + Update inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox replier (required)
        +
        updateInboxReplierOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/InboxRulesetControllerApi.html b/site/com/mailslurp/apis/InboxRulesetControllerApi.html new file mode 100644 index 000000000..74947e433 --- /dev/null +++ b/site/com/mailslurp/apis/InboxRulesetControllerApi.html @@ -0,0 +1,1510 @@ + + + + + + +InboxRulesetControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class InboxRulesetControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class InboxRulesetControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxRulesetControllerApi

        +
        public InboxRulesetControllerApi()
        +
      • +
      + + + +
        +
      • +

        InboxRulesetControllerApi

        +
        public InboxRulesetControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        createNewInboxRulesetCall

        +
        public okhttp3.Call createNewInboxRulesetCall(CreateInboxRulesetOptions createInboxRulesetOptions,
        +                                              UUID inboxId,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for createNewInboxRuleset
        +
        +
        Parameters:
        +
        createInboxRulesetOptions - (required)
        +
        inboxId - Inbox id to attach ruleset to (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createNewInboxRuleset

        +
        public InboxRulesetDto createNewInboxRuleset(CreateInboxRulesetOptions createInboxRulesetOptions,
        +                                             UUID inboxId)
        +                                      throws ApiException
        +
        Create an inbox ruleset + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        createInboxRulesetOptions - (required)
        +
        inboxId - Inbox id to attach ruleset to (optional)
        +
        Returns:
        +
        InboxRulesetDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createNewInboxRulesetWithHttpInfo

        +
        public ApiResponse<InboxRulesetDto> createNewInboxRulesetWithHttpInfo(CreateInboxRulesetOptions createInboxRulesetOptions,
        +                                                                      UUID inboxId)
        +                                                               throws ApiException
        +
        Create an inbox ruleset + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        createInboxRulesetOptions - (required)
        +
        inboxId - Inbox id to attach ruleset to (optional)
        +
        Returns:
        +
        ApiResponse<InboxRulesetDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createNewInboxRulesetAsync

        +
        public okhttp3.Call createNewInboxRulesetAsync(CreateInboxRulesetOptions createInboxRulesetOptions,
        +                                               UUID inboxId,
        +                                               ApiCallback<InboxRulesetDto> _callback)
        +                                        throws ApiException
        +
        Create an inbox ruleset (asynchronously) + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
        +
        +
        Parameters:
        +
        createInboxRulesetOptions - (required)
        +
        inboxId - Inbox id to attach ruleset to (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRulesetCall

        +
        public okhttp3.Call deleteInboxRulesetCall(UUID id,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for deleteInboxRuleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRuleset

        +
        public void deleteInboxRuleset(UUID id)
        +                        throws ApiException
        +
        Delete an inbox ruleset + Delete inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRulesetWithHttpInfo

        +
        public ApiResponse<Void> deleteInboxRulesetWithHttpInfo(UUID id)
        +                                                 throws ApiException
        +
        Delete an inbox ruleset + Delete inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRulesetAsync

        +
        public okhttp3.Call deleteInboxRulesetAsync(UUID id,
        +                                            ApiCallback<Void> _callback)
        +                                     throws ApiException
        +
        Delete an inbox ruleset (asynchronously) + Delete inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRulesetsCall

        +
        public okhttp3.Call deleteInboxRulesetsCall(UUID inboxId,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for deleteInboxRulesets
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach ruleset to (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRulesets

        +
        public void deleteInboxRulesets(UUID inboxId)
        +                         throws ApiException
        +
        Delete inbox rulesets + Delete inbox rulesets. Accepts optional inboxId filter.
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach ruleset to (optional)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRulesetsWithHttpInfo

        +
        public ApiResponse<Void> deleteInboxRulesetsWithHttpInfo(UUID inboxId)
        +                                                  throws ApiException
        +
        Delete inbox rulesets + Delete inbox rulesets. Accepts optional inboxId filter.
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach ruleset to (optional)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteInboxRulesetsAsync

        +
        public okhttp3.Call deleteInboxRulesetsAsync(UUID inboxId,
        +                                             ApiCallback<Void> _callback)
        +                                      throws ApiException
        +
        Delete inbox rulesets (asynchronously) + Delete inbox rulesets. Accepts optional inboxId filter.
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to attach ruleset to (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRulesetCall

        +
        public okhttp3.Call getInboxRulesetCall(UUID id,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for getInboxRuleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRuleset

        +
        public InboxRulesetDto getInboxRuleset(UUID id)
        +                                throws ApiException
        +
        Get an inbox ruleset + Get inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        Returns:
        +
        InboxRulesetDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRulesetWithHttpInfo

        +
        public ApiResponse<InboxRulesetDto> getInboxRulesetWithHttpInfo(UUID id)
        +                                                         throws ApiException
        +
        Get an inbox ruleset + Get inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        Returns:
        +
        ApiResponse<InboxRulesetDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRulesetAsync

        +
        public okhttp3.Call getInboxRulesetAsync(UUID id,
        +                                         ApiCallback<InboxRulesetDto> _callback)
        +                                  throws ApiException
        +
        Get an inbox ruleset (asynchronously) + Get inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRulesetsCall

        +
        public okhttp3.Call getInboxRulesetsCall(UUID inboxId,
        +                                         Integer page,
        +                                         Integer size,
        +                                         String sort,
        +                                         String searchFilter,
        +                                         OffsetDateTime since,
        +                                         OffsetDateTime before,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for getInboxRulesets
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get rulesets from (optional)
        +
        page - Optional page index in inbox ruleset list pagination (optional, default to 0)
        +
        size - Optional page size in inbox ruleset list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRulesets

        +
        public PageInboxRulesetDto getInboxRulesets(UUID inboxId,
        +                                            Integer page,
        +                                            Integer size,
        +                                            String sort,
        +                                            String searchFilter,
        +                                            OffsetDateTime since,
        +                                            OffsetDateTime before)
        +                                     throws ApiException
        +
        List inbox rulesets + List all rulesets attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get rulesets from (optional)
        +
        page - Optional page index in inbox ruleset list pagination (optional, default to 0)
        +
        size - Optional page size in inbox ruleset list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageInboxRulesetDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRulesetsWithHttpInfo

        +
        public ApiResponse<PageInboxRulesetDto> getInboxRulesetsWithHttpInfo(UUID inboxId,
        +                                                                     Integer page,
        +                                                                     Integer size,
        +                                                                     String sort,
        +                                                                     String searchFilter,
        +                                                                     OffsetDateTime since,
        +                                                                     OffsetDateTime before)
        +                                                              throws ApiException
        +
        List inbox rulesets + List all rulesets attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get rulesets from (optional)
        +
        page - Optional page index in inbox ruleset list pagination (optional, default to 0)
        +
        size - Optional page size in inbox ruleset list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageInboxRulesetDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxRulesetsAsync

        +
        public okhttp3.Call getInboxRulesetsAsync(UUID inboxId,
        +                                          Integer page,
        +                                          Integer size,
        +                                          String sort,
        +                                          String searchFilter,
        +                                          OffsetDateTime since,
        +                                          OffsetDateTime before,
        +                                          ApiCallback<PageInboxRulesetDto> _callback)
        +                                   throws ApiException
        +
        List inbox rulesets (asynchronously) + List all rulesets attached to an inbox
        +
        +
        Parameters:
        +
        inboxId - Optional inbox id to get rulesets from (optional)
        +
        page - Optional page index in inbox ruleset list pagination (optional, default to 0)
        +
        size - Optional page size in inbox ruleset list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxRulesetCall

        +
        public okhttp3.Call testInboxRulesetCall(UUID id,
        +                                         InboxRulesetTestOptions inboxRulesetTestOptions,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for testInboxRuleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        inboxRulesetTestOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxRuleset

        +
        public InboxRulesetTestResult testInboxRuleset(UUID id,
        +                                               InboxRulesetTestOptions inboxRulesetTestOptions)
        +                                        throws ApiException
        +
        Test an inbox ruleset + Test an inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        inboxRulesetTestOptions - (required)
        +
        Returns:
        +
        InboxRulesetTestResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxRulesetWithHttpInfo

        +
        public ApiResponse<InboxRulesetTestResult> testInboxRulesetWithHttpInfo(UUID id,
        +                                                                        InboxRulesetTestOptions inboxRulesetTestOptions)
        +                                                                 throws ApiException
        +
        Test an inbox ruleset + Test an inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        inboxRulesetTestOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxRulesetTestResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxRulesetAsync

        +
        public okhttp3.Call testInboxRulesetAsync(UUID id,
        +                                          InboxRulesetTestOptions inboxRulesetTestOptions,
        +                                          ApiCallback<InboxRulesetTestResult> _callback)
        +                                   throws ApiException
        +
        Test an inbox ruleset (asynchronously) + Test an inbox ruleset
        +
        +
        Parameters:
        +
        id - ID of inbox ruleset (required)
        +
        inboxRulesetTestOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxRulesetsForInboxCall

        +
        public okhttp3.Call testInboxRulesetsForInboxCall(UUID inboxId,
        +                                                  InboxRulesetTestOptions inboxRulesetTestOptions,
        +                                                  ApiCallback _callback)
        +                                           throws ApiException
        +
        Build call for testInboxRulesetsForInbox
        +
        +
        Parameters:
        +
        inboxId - ID of inbox (required)
        +
        inboxRulesetTestOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxRulesetsForInbox

        +
        public InboxRulesetTestResult testInboxRulesetsForInbox(UUID inboxId,
        +                                                        InboxRulesetTestOptions inboxRulesetTestOptions)
        +                                                 throws ApiException
        +
        Test inbox rulesets for inbox + Test inbox rulesets for inbox
        +
        +
        Parameters:
        +
        inboxId - ID of inbox (required)
        +
        inboxRulesetTestOptions - (required)
        +
        Returns:
        +
        InboxRulesetTestResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxRulesetsForInboxWithHttpInfo

        +
        public ApiResponse<InboxRulesetTestResult> testInboxRulesetsForInboxWithHttpInfo(UUID inboxId,
        +                                                                                 InboxRulesetTestOptions inboxRulesetTestOptions)
        +                                                                          throws ApiException
        +
        Test inbox rulesets for inbox + Test inbox rulesets for inbox
        +
        +
        Parameters:
        +
        inboxId - ID of inbox (required)
        +
        inboxRulesetTestOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxRulesetTestResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testInboxRulesetsForInboxAsync

        +
        public okhttp3.Call testInboxRulesetsForInboxAsync(UUID inboxId,
        +                                                   InboxRulesetTestOptions inboxRulesetTestOptions,
        +                                                   ApiCallback<InboxRulesetTestResult> _callback)
        +                                            throws ApiException
        +
        Test inbox rulesets for inbox (asynchronously) + Test inbox rulesets for inbox
        +
        +
        Parameters:
        +
        inboxId - ID of inbox (required)
        +
        inboxRulesetTestOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testNewInboxRulesetCall

        +
        public okhttp3.Call testNewInboxRulesetCall(TestNewInboxRulesetOptions testNewInboxRulesetOptions,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for testNewInboxRuleset
        +
        +
        Parameters:
        +
        testNewInboxRulesetOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testNewInboxRuleset

        +
        public InboxRulesetTestResult testNewInboxRuleset(TestNewInboxRulesetOptions testNewInboxRulesetOptions)
        +                                           throws ApiException
        +
        Test new inbox ruleset + Test new inbox ruleset
        +
        +
        Parameters:
        +
        testNewInboxRulesetOptions - (required)
        +
        Returns:
        +
        InboxRulesetTestResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testNewInboxRulesetWithHttpInfo

        +
        public ApiResponse<InboxRulesetTestResult> testNewInboxRulesetWithHttpInfo(TestNewInboxRulesetOptions testNewInboxRulesetOptions)
        +                                                                    throws ApiException
        +
        Test new inbox ruleset + Test new inbox ruleset
        +
        +
        Parameters:
        +
        testNewInboxRulesetOptions - (required)
        +
        Returns:
        +
        ApiResponse<InboxRulesetTestResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testNewInboxRulesetAsync

        +
        public okhttp3.Call testNewInboxRulesetAsync(TestNewInboxRulesetOptions testNewInboxRulesetOptions,
        +                                             ApiCallback<InboxRulesetTestResult> _callback)
        +                                      throws ApiException
        +
        Test new inbox ruleset (asynchronously) + Test new inbox ruleset
        +
        +
        Parameters:
        +
        testNewInboxRulesetOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/MailServerControllerApi.html b/site/com/mailslurp/apis/MailServerControllerApi.html new file mode 100644 index 000000000..75d16a301 --- /dev/null +++ b/site/com/mailslurp/apis/MailServerControllerApi.html @@ -0,0 +1,862 @@ + + + + + + +MailServerControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class MailServerControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class MailServerControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MailServerControllerApi

        +
        public MailServerControllerApi()
        +
      • +
      + + + +
        +
      • +

        MailServerControllerApi

        +
        public MailServerControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        describeMailServerDomainCall

        +
        public okhttp3.Call describeMailServerDomainCall(DescribeDomainOptions describeDomainOptions,
        +                                                 ApiCallback _callback)
        +                                          throws ApiException
        +
        Build call for describeMailServerDomain
        +
        +
        Parameters:
        +
        describeDomainOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        describeMailServerDomain

        +
        public DescribeMailServerDomainResult describeMailServerDomain(DescribeDomainOptions describeDomainOptions)
        +                                                        throws ApiException
        +
        Get DNS Mail Server records for a domain
        +
        +
        Parameters:
        +
        describeDomainOptions - (required)
        +
        Returns:
        +
        DescribeMailServerDomainResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        describeMailServerDomainWithHttpInfo

        +
        public ApiResponse<DescribeMailServerDomainResult> describeMailServerDomainWithHttpInfo(DescribeDomainOptions describeDomainOptions)
        +                                                                                 throws ApiException
        +
        Get DNS Mail Server records for a domain
        +
        +
        Parameters:
        +
        describeDomainOptions - (required)
        +
        Returns:
        +
        ApiResponse<DescribeMailServerDomainResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        describeMailServerDomainAsync

        +
        public okhttp3.Call describeMailServerDomainAsync(DescribeDomainOptions describeDomainOptions,
        +                                                  ApiCallback<DescribeMailServerDomainResult> _callback)
        +                                           throws ApiException
        +
        Get DNS Mail Server records for a domain (asynchronously)
        +
        +
        Parameters:
        +
        describeDomainOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDnsLookupCall

        +
        public okhttp3.Call getDnsLookupCall(DNSLookupOptions dnSLookupOptions,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for getDnsLookup
        +
        +
        Parameters:
        +
        dnSLookupOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDnsLookup

        +
        public DNSLookupResults getDnsLookup(DNSLookupOptions dnSLookupOptions)
        +                              throws ApiException
        +
        Lookup DNS records for a domain
        +
        +
        Parameters:
        +
        dnSLookupOptions - (required)
        +
        Returns:
        +
        DNSLookupResults
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDnsLookupWithHttpInfo

        +
        public ApiResponse<DNSLookupResults> getDnsLookupWithHttpInfo(DNSLookupOptions dnSLookupOptions)
        +                                                       throws ApiException
        +
        Lookup DNS records for a domain
        +
        +
        Parameters:
        +
        dnSLookupOptions - (required)
        +
        Returns:
        +
        ApiResponse<DNSLookupResults>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getDnsLookupAsync

        +
        public okhttp3.Call getDnsLookupAsync(DNSLookupOptions dnSLookupOptions,
        +                                      ApiCallback<DNSLookupResults> _callback)
        +                               throws ApiException
        +
        Lookup DNS records for a domain (asynchronously)
        +
        +
        Parameters:
        +
        dnSLookupOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getIpAddressCall

        +
        public okhttp3.Call getIpAddressCall(String name,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for getIpAddress
        +
        +
        Parameters:
        +
        name - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getIpAddress

        +
        public IPAddressResult getIpAddress(String name)
        +                             throws ApiException
        +
        Get IP address for a domain
        +
        +
        Parameters:
        +
        name - (required)
        +
        Returns:
        +
        IPAddressResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getIpAddressWithHttpInfo

        +
        public ApiResponse<IPAddressResult> getIpAddressWithHttpInfo(String name)
        +                                                      throws ApiException
        +
        Get IP address for a domain
        +
        +
        Parameters:
        +
        name - (required)
        +
        Returns:
        +
        ApiResponse<IPAddressResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getIpAddressAsync

        +
        public okhttp3.Call getIpAddressAsync(String name,
        +                                      ApiCallback<IPAddressResult> _callback)
        +                               throws ApiException
        +
        Get IP address for a domain (asynchronously)
        +
        +
        Parameters:
        +
        name - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        verifyEmailAddressCall

        +
        @Deprecated
        +public okhttp3.Call verifyEmailAddressCall(VerifyEmailAddressOptions verifyEmailAddressOptions,
        +                                                       ApiCallback _callback)
        +                                                throws ApiException
        +
        Deprecated. 
        +
        Build call for verifyEmailAddress
        +
        +
        Parameters:
        +
        verifyEmailAddressOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        verifyEmailAddress

        +
        @Deprecated
        +public EmailVerificationResult verifyEmailAddress(VerifyEmailAddressOptions verifyEmailAddressOptions)
        +                                                       throws ApiException
        +
        Deprecated. 
        +
        Deprecated. Use the EmailVerificationController methods for more accurate and reliable functionality. Verify the existence of an email address at a given mail server.
        +
        +
        Parameters:
        +
        verifyEmailAddressOptions - (required)
        +
        Returns:
        +
        EmailVerificationResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        verifyEmailAddressWithHttpInfo

        +
        @Deprecated
        +public ApiResponse<EmailVerificationResult> verifyEmailAddressWithHttpInfo(VerifyEmailAddressOptions verifyEmailAddressOptions)
        +                                                                                throws ApiException
        +
        Deprecated. 
        +
        Deprecated. Use the EmailVerificationController methods for more accurate and reliable functionality. Verify the existence of an email address at a given mail server.
        +
        +
        Parameters:
        +
        verifyEmailAddressOptions - (required)
        +
        Returns:
        +
        ApiResponse<EmailVerificationResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        verifyEmailAddressAsync

        +
        @Deprecated
        +public okhttp3.Call verifyEmailAddressAsync(VerifyEmailAddressOptions verifyEmailAddressOptions,
        +                                                        ApiCallback<EmailVerificationResult> _callback)
        +                                                 throws ApiException
        +
        Deprecated. 
        +
        Deprecated. Use the EmailVerificationController methods for more accurate and reliable functionality. Verify the existence of an email address at a given mail server. (asynchronously)
        +
        +
        Parameters:
        +
        verifyEmailAddressOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/MissedEmailControllerApi.html b/site/com/mailslurp/apis/MissedEmailControllerApi.html new file mode 100644 index 000000000..33c27be3b --- /dev/null +++ b/site/com/mailslurp/apis/MissedEmailControllerApi.html @@ -0,0 +1,1184 @@ + + + + + + +MissedEmailControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class MissedEmailControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class MissedEmailControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MissedEmailControllerApi

        +
        public MissedEmailControllerApi()
        +
      • +
      + + + +
        +
      • +

        MissedEmailControllerApi

        +
        public MissedEmailControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        getAllMissedEmailsCall

        +
        public okhttp3.Call getAllMissedEmailsCall(Integer page,
        +                                           Integer size,
        +                                           String sort,
        +                                           String searchFilter,
        +                                           OffsetDateTime since,
        +                                           OffsetDateTime before,
        +                                           UUID inboxId,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for getAllMissedEmails
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllMissedEmails

        +
        public PageMissedEmailProjection getAllMissedEmails(Integer page,
        +                                                    Integer size,
        +                                                    String sort,
        +                                                    String searchFilter,
        +                                                    OffsetDateTime since,
        +                                                    OffsetDateTime before,
        +                                                    UUID inboxId)
        +                                             throws ApiException
        +
        Get all MissedEmails in paginated format
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        Returns:
        +
        PageMissedEmailProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllMissedEmailsWithHttpInfo

        +
        public ApiResponse<PageMissedEmailProjection> getAllMissedEmailsWithHttpInfo(Integer page,
        +                                                                             Integer size,
        +                                                                             String sort,
        +                                                                             String searchFilter,
        +                                                                             OffsetDateTime since,
        +                                                                             OffsetDateTime before,
        +                                                                             UUID inboxId)
        +                                                                      throws ApiException
        +
        Get all MissedEmails in paginated format
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        Returns:
        +
        ApiResponse<PageMissedEmailProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllMissedEmailsAsync

        +
        public okhttp3.Call getAllMissedEmailsAsync(Integer page,
        +                                            Integer size,
        +                                            String sort,
        +                                            String searchFilter,
        +                                            OffsetDateTime since,
        +                                            OffsetDateTime before,
        +                                            UUID inboxId,
        +                                            ApiCallback<PageMissedEmailProjection> _callback)
        +                                     throws ApiException
        +
        Get all MissedEmails in paginated format (asynchronously)
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllUnknownMissedEmailsCall

        +
        public okhttp3.Call getAllUnknownMissedEmailsCall(Integer page,
        +                                                  Integer size,
        +                                                  String sort,
        +                                                  String searchFilter,
        +                                                  OffsetDateTime since,
        +                                                  OffsetDateTime before,
        +                                                  UUID inboxId,
        +                                                  ApiCallback _callback)
        +                                           throws ApiException
        +
        Build call for getAllUnknownMissedEmails
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllUnknownMissedEmails

        +
        public PageUnknownMissedEmailProjection getAllUnknownMissedEmails(Integer page,
        +                                                                  Integer size,
        +                                                                  String sort,
        +                                                                  String searchFilter,
        +                                                                  OffsetDateTime since,
        +                                                                  OffsetDateTime before,
        +                                                                  UUID inboxId)
        +                                                           throws ApiException
        +
        Get all unknown missed emails in paginated format + Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        Returns:
        +
        PageUnknownMissedEmailProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllUnknownMissedEmailsWithHttpInfo

        +
        public ApiResponse<PageUnknownMissedEmailProjection> getAllUnknownMissedEmailsWithHttpInfo(Integer page,
        +                                                                                           Integer size,
        +                                                                                           String sort,
        +                                                                                           String searchFilter,
        +                                                                                           OffsetDateTime since,
        +                                                                                           OffsetDateTime before,
        +                                                                                           UUID inboxId)
        +                                                                                    throws ApiException
        +
        Get all unknown missed emails in paginated format + Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        Returns:
        +
        ApiResponse<PageUnknownMissedEmailProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllUnknownMissedEmailsAsync

        +
        public okhttp3.Call getAllUnknownMissedEmailsAsync(Integer page,
        +                                                   Integer size,
        +                                                   String sort,
        +                                                   String searchFilter,
        +                                                   OffsetDateTime since,
        +                                                   OffsetDateTime before,
        +                                                   UUID inboxId,
        +                                                   ApiCallback<PageUnknownMissedEmailProjection> _callback)
        +                                            throws ApiException
        +
        Get all unknown missed emails in paginated format (asynchronously) + Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getMissedEmailCall

        +
        public okhttp3.Call getMissedEmailCall(UUID missedEmailId,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for getMissedEmail
        +
        +
        Parameters:
        +
        missedEmailId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getMissedEmail

        +
        public MissedEmailDto getMissedEmail(UUID missedEmailId)
        +                              throws ApiException
        +
        Get MissedEmail + List emails that were missed due to plan limits.
        +
        +
        Parameters:
        +
        missedEmailId - (required)
        +
        Returns:
        +
        MissedEmailDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getMissedEmailWithHttpInfo

        +
        public ApiResponse<MissedEmailDto> getMissedEmailWithHttpInfo(UUID missedEmailId)
        +                                                       throws ApiException
        +
        Get MissedEmail + List emails that were missed due to plan limits.
        +
        +
        Parameters:
        +
        missedEmailId - (required)
        +
        Returns:
        +
        ApiResponse<MissedEmailDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getMissedEmailAsync

        +
        public okhttp3.Call getMissedEmailAsync(UUID missedEmailId,
        +                                        ApiCallback<MissedEmailDto> _callback)
        +                                 throws ApiException
        +
        Get MissedEmail (asynchronously) + List emails that were missed due to plan limits.
        +
        +
        Parameters:
        +
        missedEmailId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        restoreMissedEmailsCall

        +
        public okhttp3.Call restoreMissedEmailsCall(ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for restoreMissedEmails
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        restoreMissedEmails

        +
        public void restoreMissedEmails()
        +                         throws ApiException
        +
        Restore missed emails + If emails were missed due to a plan limit they are saved as missed emails. If support team enables the canRestore flag these emails can be reload into your account using this method.
        +
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        restoreMissedEmailsWithHttpInfo

        +
        public ApiResponse<Void> restoreMissedEmailsWithHttpInfo()
        +                                                  throws ApiException
        +
        Restore missed emails + If emails were missed due to a plan limit they are saved as missed emails. If support team enables the canRestore flag these emails can be reload into your account using this method.
        +
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        restoreMissedEmailsAsync

        +
        public okhttp3.Call restoreMissedEmailsAsync(ApiCallback<Void> _callback)
        +                                      throws ApiException
        +
        Restore missed emails (asynchronously) + If emails were missed due to a plan limit they are saved as missed emails. If support team enables the canRestore flag these emails can be reload into your account using this method.
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForNthMissedEmailCall

        +
        public okhttp3.Call waitForNthMissedEmailCall(Integer index,
        +                                              UUID inboxId,
        +                                              Long timeout,
        +                                              OffsetDateTime since,
        +                                              OffsetDateTime before,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for waitForNthMissedEmail
        +
        +
        Parameters:
        +
        index - Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1 (required)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        timeout - Optional timeout milliseconds (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForNthMissedEmail

        +
        public MissedEmailDto waitForNthMissedEmail(Integer index,
        +                                            UUID inboxId,
        +                                            Long timeout,
        +                                            OffsetDateTime since,
        +                                            OffsetDateTime before)
        +                                     throws ApiException
        +
        Wait for Nth missed email + Wait for 0 based index missed email
        +
        +
        Parameters:
        +
        index - Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1 (required)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        timeout - Optional timeout milliseconds (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        MissedEmailDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForNthMissedEmailWithHttpInfo

        +
        public ApiResponse<MissedEmailDto> waitForNthMissedEmailWithHttpInfo(Integer index,
        +                                                                     UUID inboxId,
        +                                                                     Long timeout,
        +                                                                     OffsetDateTime since,
        +                                                                     OffsetDateTime before)
        +                                                              throws ApiException
        +
        Wait for Nth missed email + Wait for 0 based index missed email
        +
        +
        Parameters:
        +
        index - Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1 (required)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        timeout - Optional timeout milliseconds (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<MissedEmailDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForNthMissedEmailAsync

        +
        public okhttp3.Call waitForNthMissedEmailAsync(Integer index,
        +                                               UUID inboxId,
        +                                               Long timeout,
        +                                               OffsetDateTime since,
        +                                               OffsetDateTime before,
        +                                               ApiCallback<MissedEmailDto> _callback)
        +                                        throws ApiException
        +
        Wait for Nth missed email (asynchronously) + Wait for 0 based index missed email
        +
        +
        Parameters:
        +
        index - Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1 (required)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        timeout - Optional timeout milliseconds (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/PhoneControllerApi.html b/site/com/mailslurp/apis/PhoneControllerApi.html new file mode 100644 index 000000000..53e0cb2a5 --- /dev/null +++ b/site/com/mailslurp/apis/PhoneControllerApi.html @@ -0,0 +1,1490 @@ + + + + + + +PhoneControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class PhoneControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class PhoneControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneControllerApi

        +
        public PhoneControllerApi()
        +
      • +
      + + + +
        +
      • +

        PhoneControllerApi

        +
        public PhoneControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        createEmergencyAddressCall

        +
        public okhttp3.Call createEmergencyAddressCall(CreateEmergencyAddressOptions createEmergencyAddressOptions,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for createEmergencyAddress
        +
        +
        Parameters:
        +
        createEmergencyAddressOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createEmergencyAddress

        +
        public EmergencyAddress createEmergencyAddress(CreateEmergencyAddressOptions createEmergencyAddressOptions)
        +                                        throws ApiException
        +
        +
        Parameters:
        +
        createEmergencyAddressOptions - (required)
        +
        Returns:
        +
        EmergencyAddress
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createEmergencyAddressWithHttpInfo

        +
        public ApiResponse<EmergencyAddress> createEmergencyAddressWithHttpInfo(CreateEmergencyAddressOptions createEmergencyAddressOptions)
        +                                                                 throws ApiException
        +
        +
        Parameters:
        +
        createEmergencyAddressOptions - (required)
        +
        Returns:
        +
        ApiResponse<EmergencyAddress>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        createEmergencyAddressAsync

        +
        public okhttp3.Call createEmergencyAddressAsync(CreateEmergencyAddressOptions createEmergencyAddressOptions,
        +                                                ApiCallback<EmergencyAddress> _callback)
        +                                         throws ApiException
        +
        (asynchronously)
        +
        +
        Parameters:
        +
        createEmergencyAddressOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmergencyAddressCall

        +
        public okhttp3.Call deleteEmergencyAddressCall(UUID addressId,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for deleteEmergencyAddress
        +
        +
        Parameters:
        +
        addressId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmergencyAddress

        +
        public EmptyResponseDto deleteEmergencyAddress(UUID addressId)
        +                                        throws ApiException
        +
        +
        Parameters:
        +
        addressId - (required)
        +
        Returns:
        +
        EmptyResponseDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmergencyAddressWithHttpInfo

        +
        public ApiResponse<EmptyResponseDto> deleteEmergencyAddressWithHttpInfo(UUID addressId)
        +                                                                 throws ApiException
        +
        +
        Parameters:
        +
        addressId - (required)
        +
        Returns:
        +
        ApiResponse<EmptyResponseDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deleteEmergencyAddressAsync

        +
        public okhttp3.Call deleteEmergencyAddressAsync(UUID addressId,
        +                                                ApiCallback<EmptyResponseDto> _callback)
        +                                         throws ApiException
        +
        (asynchronously)
        +
        +
        Parameters:
        +
        addressId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deletePhoneNumberCall

        +
        public okhttp3.Call deletePhoneNumberCall(UUID phoneNumberId,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for deletePhoneNumber
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deletePhoneNumber

        +
        public void deletePhoneNumber(UUID phoneNumberId)
        +                       throws ApiException
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deletePhoneNumberWithHttpInfo

        +
        public ApiResponse<Void> deletePhoneNumberWithHttpInfo(UUID phoneNumberId)
        +                                                throws ApiException
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deletePhoneNumberAsync

        +
        public okhttp3.Call deletePhoneNumberAsync(UUID phoneNumberId,
        +                                           ApiCallback<Void> _callback)
        +                                    throws ApiException
        +
        (asynchronously)
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getEmergencyAddressCall

        +
        public okhttp3.Call getEmergencyAddressCall(UUID addressId,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for getEmergencyAddress
        +
        +
        Parameters:
        +
        addressId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmergencyAddress

        +
        public EmergencyAddress getEmergencyAddress(UUID addressId)
        +                                     throws ApiException
        +
        +
        Parameters:
        +
        addressId - (required)
        +
        Returns:
        +
        EmergencyAddress
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmergencyAddressWithHttpInfo

        +
        public ApiResponse<EmergencyAddress> getEmergencyAddressWithHttpInfo(UUID addressId)
        +                                                              throws ApiException
        +
        +
        Parameters:
        +
        addressId - (required)
        +
        Returns:
        +
        ApiResponse<EmergencyAddress>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmergencyAddressAsync

        +
        public okhttp3.Call getEmergencyAddressAsync(UUID addressId,
        +                                             ApiCallback<EmergencyAddress> _callback)
        +                                      throws ApiException
        +
        (asynchronously)
        +
        +
        Parameters:
        +
        addressId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmergencyAddressesCall

        +
        public okhttp3.Call getEmergencyAddressesCall(ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for getEmergencyAddresses
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmergencyAddresses

        +
        public List<EmergencyAddressDto> getEmergencyAddresses()
        +                                                throws ApiException
        +
        +
        Returns:
        +
        List<EmergencyAddressDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmergencyAddressesWithHttpInfo

        +
        public ApiResponse<List<EmergencyAddressDto>> getEmergencyAddressesWithHttpInfo()
        +                                                                         throws ApiException
        +
        +
        Returns:
        +
        ApiResponse<List<EmergencyAddressDto>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getEmergencyAddressesAsync

        +
        public okhttp3.Call getEmergencyAddressesAsync(ApiCallback<List<EmergencyAddressDto>> _callback)
        +                                        throws ApiException
        +
        (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumberCall

        +
        public okhttp3.Call getPhoneNumberCall(UUID phoneNumberId,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for getPhoneNumber
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumber

        +
        public PhoneNumberDto getPhoneNumber(UUID phoneNumberId)
        +                              throws ApiException
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        Returns:
        +
        PhoneNumberDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumberWithHttpInfo

        +
        public ApiResponse<PhoneNumberDto> getPhoneNumberWithHttpInfo(UUID phoneNumberId)
        +                                                       throws ApiException
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        Returns:
        +
        ApiResponse<PhoneNumberDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumberAsync

        +
        public okhttp3.Call getPhoneNumberAsync(UUID phoneNumberId,
        +                                        ApiCallback<PhoneNumberDto> _callback)
        +                                 throws ApiException
        +
        (asynchronously)
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumbersCall

        +
        public okhttp3.Call getPhoneNumbersCall(String phoneCountry,
        +                                        Integer page,
        +                                        Integer size,
        +                                        String sort,
        +                                        OffsetDateTime since,
        +                                        OffsetDateTime before,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for getPhoneNumbers
        +
        +
        Parameters:
        +
        phoneCountry - Optional phone country (optional)
        +
        page - Optional page index for list pagination (optional, default to 0)
        +
        size - Optional page size for list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumbers

        +
        public PagePhoneNumberProjection getPhoneNumbers(String phoneCountry,
        +                                                 Integer page,
        +                                                 Integer size,
        +                                                 String sort,
        +                                                 OffsetDateTime since,
        +                                                 OffsetDateTime before)
        +                                          throws ApiException
        +
        +
        Parameters:
        +
        phoneCountry - Optional phone country (optional)
        +
        page - Optional page index for list pagination (optional, default to 0)
        +
        size - Optional page size for list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PagePhoneNumberProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumbersWithHttpInfo

        +
        public ApiResponse<PagePhoneNumberProjection> getPhoneNumbersWithHttpInfo(String phoneCountry,
        +                                                                          Integer page,
        +                                                                          Integer size,
        +                                                                          String sort,
        +                                                                          OffsetDateTime since,
        +                                                                          OffsetDateTime before)
        +                                                                   throws ApiException
        +
        +
        Parameters:
        +
        phoneCountry - Optional phone country (optional)
        +
        page - Optional page index for list pagination (optional, default to 0)
        +
        size - Optional page size for list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PagePhoneNumberProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumbersAsync

        +
        public okhttp3.Call getPhoneNumbersAsync(String phoneCountry,
        +                                         Integer page,
        +                                         Integer size,
        +                                         String sort,
        +                                         OffsetDateTime since,
        +                                         OffsetDateTime before,
        +                                         ApiCallback<PagePhoneNumberProjection> _callback)
        +                                  throws ApiException
        +
        (asynchronously)
        +
        +
        Parameters:
        +
        phoneCountry - Optional phone country (optional)
        +
        page - Optional page index for list pagination (optional, default to 0)
        +
        size - Optional page size for list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhonePlansCall

        +
        public okhttp3.Call getPhonePlansCall(ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for getPhonePlans
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhonePlans

        +
        public List<PhonePlanDto> getPhonePlans()
        +                                 throws ApiException
        +
        +
        Returns:
        +
        List<PhonePlanDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhonePlansWithHttpInfo

        +
        public ApiResponse<List<PhonePlanDto>> getPhonePlansWithHttpInfo()
        +                                                          throws ApiException
        +
        +
        Returns:
        +
        ApiResponse<List<PhonePlanDto>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhonePlansAsync

        +
        public okhttp3.Call getPhonePlansAsync(ApiCallback<List<PhonePlanDto>> _callback)
        +                                throws ApiException
        +
        (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testPhoneNumberSendSmsCall

        +
        public okhttp3.Call testPhoneNumberSendSmsCall(UUID phoneNumberId,
        +                                               TestPhoneNumberOptions testPhoneNumberOptions,
        +                                               String xTestId,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for testPhoneNumberSendSms
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        testPhoneNumberOptions - (required)
        +
        xTestId - (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testPhoneNumberSendSms

        +
        public void testPhoneNumberSendSms(UUID phoneNumberId,
        +                                   TestPhoneNumberOptions testPhoneNumberOptions,
        +                                   String xTestId)
        +                            throws ApiException
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        testPhoneNumberOptions - (required)
        +
        xTestId - (optional)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testPhoneNumberSendSmsWithHttpInfo

        +
        public ApiResponse<Void> testPhoneNumberSendSmsWithHttpInfo(UUID phoneNumberId,
        +                                                            TestPhoneNumberOptions testPhoneNumberOptions,
        +                                                            String xTestId)
        +                                                     throws ApiException
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        testPhoneNumberOptions - (required)
        +
        xTestId - (optional)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        testPhoneNumberSendSmsAsync

        +
        public okhttp3.Call testPhoneNumberSendSmsAsync(UUID phoneNumberId,
        +                                                TestPhoneNumberOptions testPhoneNumberOptions,
        +                                                String xTestId,
        +                                                ApiCallback<Void> _callback)
        +                                         throws ApiException
        +
        (asynchronously)
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        testPhoneNumberOptions - (required)
        +
        xTestId - (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/SentEmailsControllerApi.html b/site/com/mailslurp/apis/SentEmailsControllerApi.html new file mode 100644 index 000000000..54fa29a1e --- /dev/null +++ b/site/com/mailslurp/apis/SentEmailsControllerApi.html @@ -0,0 +1,2870 @@ + + + + + + +SentEmailsControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class SentEmailsControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class SentEmailsControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SentEmailsControllerApi

        +
        public SentEmailsControllerApi()
        +
      • +
      + + + +
        +
      • +

        SentEmailsControllerApi

        +
        public SentEmailsControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        deleteAllSentEmailsCall

        +
        public okhttp3.Call deleteAllSentEmailsCall(ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for deleteAllSentEmails
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllSentEmails

        +
        public void deleteAllSentEmails()
        +                         throws ApiException
        +
        Delete all sent email receipts
        +
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllSentEmailsWithHttpInfo

        +
        public ApiResponse<Void> deleteAllSentEmailsWithHttpInfo()
        +                                                  throws ApiException
        +
        Delete all sent email receipts
        +
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllSentEmailsAsync

        +
        public okhttp3.Call deleteAllSentEmailsAsync(ApiCallback<Void> _callback)
        +                                      throws ApiException
        +
        Delete all sent email receipts (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteSentEmailCall

        +
        public okhttp3.Call deleteSentEmailCall(UUID id,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for deleteSentEmail
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteSentEmail

        +
        public void deleteSentEmail(UUID id)
        +                     throws ApiException
        +
        Delete sent email receipt
        +
        +
        Parameters:
        +
        id - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteSentEmailWithHttpInfo

        +
        public ApiResponse<Void> deleteSentEmailWithHttpInfo(UUID id)
        +                                              throws ApiException
        +
        Delete sent email receipt
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteSentEmailAsync

        +
        public okhttp3.Call deleteSentEmailAsync(UUID id,
        +                                         ApiCallback<Void> _callback)
        +                                  throws ApiException
        +
        Delete sent email receipt (asynchronously)
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getAllSentTrackingPixelsCall

        +
        public okhttp3.Call getAllSentTrackingPixelsCall(Integer page,
        +                                                 Integer size,
        +                                                 String sort,
        +                                                 String searchFilter,
        +                                                 OffsetDateTime since,
        +                                                 OffsetDateTime before,
        +                                                 ApiCallback _callback)
        +                                          throws ApiException
        +
        Build call for getAllSentTrackingPixels
        +
        +
        Parameters:
        +
        page - Optional page index in sent email tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in sent email tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllSentTrackingPixels

        +
        public PageTrackingPixelProjection getAllSentTrackingPixels(Integer page,
        +                                                            Integer size,
        +                                                            String sort,
        +                                                            String searchFilter,
        +                                                            OffsetDateTime since,
        +                                                            OffsetDateTime before)
        +                                                     throws ApiException
        +
        Get all sent email tracking pixels in paginated form
        +
        +
        Parameters:
        +
        page - Optional page index in sent email tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in sent email tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageTrackingPixelProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllSentTrackingPixelsWithHttpInfo

        +
        public ApiResponse<PageTrackingPixelProjection> getAllSentTrackingPixelsWithHttpInfo(Integer page,
        +                                                                                     Integer size,
        +                                                                                     String sort,
        +                                                                                     String searchFilter,
        +                                                                                     OffsetDateTime since,
        +                                                                                     OffsetDateTime before)
        +                                                                              throws ApiException
        +
        Get all sent email tracking pixels in paginated form
        +
        +
        Parameters:
        +
        page - Optional page index in sent email tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in sent email tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageTrackingPixelProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllSentTrackingPixelsAsync

        +
        public okhttp3.Call getAllSentTrackingPixelsAsync(Integer page,
        +                                                  Integer size,
        +                                                  String sort,
        +                                                  String searchFilter,
        +                                                  OffsetDateTime since,
        +                                                  OffsetDateTime before,
        +                                                  ApiCallback<PageTrackingPixelProjection> _callback)
        +                                           throws ApiException
        +
        (asynchronously) + Get all sent email tracking pixels in paginated form
        +
        +
        Parameters:
        +
        page - Optional page index in sent email tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in sent email tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawSentEmailContentsCall

        +
        public okhttp3.Call getRawSentEmailContentsCall(UUID emailId,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for getRawSentEmailContents
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawSentEmailContents

        +
        public String getRawSentEmailContents(UUID emailId)
        +                               throws ApiException
        +
        Get raw sent email string. Returns unparsed raw SMTP message with headers and body. + Returns a raw, unparsed, and unprocessed sent email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawSentEmailJson endpoint
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        String
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawSentEmailContentsWithHttpInfo

        +
        public ApiResponse<String> getRawSentEmailContentsWithHttpInfo(UUID emailId)
        +                                                        throws ApiException
        +
        Get raw sent email string. Returns unparsed raw SMTP message with headers and body. + Returns a raw, unparsed, and unprocessed sent email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawSentEmailJson endpoint
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        ApiResponse<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawSentEmailContentsAsync

        +
        public okhttp3.Call getRawSentEmailContentsAsync(UUID emailId,
        +                                                 ApiCallback<String> _callback)
        +                                          throws ApiException
        +
        Get raw sent email string. Returns unparsed raw SMTP message with headers and body. (asynchronously) + Returns a raw, unparsed, and unprocessed sent email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawSentEmailJson endpoint
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawSentEmailJsonCall

        +
        public okhttp3.Call getRawSentEmailJsonCall(UUID emailId,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for getRawSentEmailJson
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawSentEmailJson

        +
        public RawEmailJson getRawSentEmailJson(UUID emailId)
        +                                 throws ApiException
        +
        Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format. + Returns a raw, unparsed, and unprocessed sent email wrapped in a JSON response object for easier handling when compared with the getRawSentEmail text/plain response
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        RawEmailJson
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawSentEmailJsonWithHttpInfo

        +
        public ApiResponse<RawEmailJson> getRawSentEmailJsonWithHttpInfo(UUID emailId)
        +                                                          throws ApiException
        +
        Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format. + Returns a raw, unparsed, and unprocessed sent email wrapped in a JSON response object for easier handling when compared with the getRawSentEmail text/plain response
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        Returns:
        +
        ApiResponse<RawEmailJson>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getRawSentEmailJsonAsync

        +
        public okhttp3.Call getRawSentEmailJsonAsync(UUID emailId,
        +                                             ApiCallback<RawEmailJson> _callback)
        +                                      throws ApiException
        +
        Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format. (asynchronously) + Returns a raw, unparsed, and unprocessed sent email wrapped in a JSON response object for easier handling when compared with the getRawSentEmail text/plain response
        +
        +
        Parameters:
        +
        emailId - ID of email (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatusCall

        +
        public okhttp3.Call getSentDeliveryStatusCall(UUID deliveryId,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for getSentDeliveryStatus
        +
        +
        Parameters:
        +
        deliveryId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatus

        +
        public DeliveryStatusDto getSentDeliveryStatus(UUID deliveryId)
        +                                        throws ApiException
        +
        Get a sent email delivery status
        +
        +
        Parameters:
        +
        deliveryId - (required)
        +
        Returns:
        +
        DeliveryStatusDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatusWithHttpInfo

        +
        public ApiResponse<DeliveryStatusDto> getSentDeliveryStatusWithHttpInfo(UUID deliveryId)
        +                                                                 throws ApiException
        +
        Get a sent email delivery status
        +
        +
        Parameters:
        +
        deliveryId - (required)
        +
        Returns:
        +
        ApiResponse<DeliveryStatusDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatusAsync

        +
        public okhttp3.Call getSentDeliveryStatusAsync(UUID deliveryId,
        +                                               ApiCallback<DeliveryStatusDto> _callback)
        +                                        throws ApiException
        +
        (asynchronously) + Get a sent email delivery status
        +
        +
        Parameters:
        +
        deliveryId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatusesCall

        +
        public okhttp3.Call getSentDeliveryStatusesCall(Integer page,
        +                                                Integer size,
        +                                                String sort,
        +                                                OffsetDateTime since,
        +                                                OffsetDateTime before,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for getSentDeliveryStatuses
        +
        +
        Parameters:
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatuses

        +
        public PageDeliveryStatus getSentDeliveryStatuses(Integer page,
        +                                                  Integer size,
        +                                                  String sort,
        +                                                  OffsetDateTime since,
        +                                                  OffsetDateTime before)
        +                                           throws ApiException
        +
        Get all sent email delivery statuses
        +
        +
        Parameters:
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageDeliveryStatus
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatusesWithHttpInfo

        +
        public ApiResponse<PageDeliveryStatus> getSentDeliveryStatusesWithHttpInfo(Integer page,
        +                                                                           Integer size,
        +                                                                           String sort,
        +                                                                           OffsetDateTime since,
        +                                                                           OffsetDateTime before)
        +                                                                    throws ApiException
        +
        Get all sent email delivery statuses
        +
        +
        Parameters:
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageDeliveryStatus>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatusesAsync

        +
        public okhttp3.Call getSentDeliveryStatusesAsync(Integer page,
        +                                                 Integer size,
        +                                                 String sort,
        +                                                 OffsetDateTime since,
        +                                                 OffsetDateTime before,
        +                                                 ApiCallback<PageDeliveryStatus> _callback)
        +                                          throws ApiException
        +
        (asynchronously) + Get all sent email delivery statuses
        +
        +
        Parameters:
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatusesBySentIdCall

        +
        public okhttp3.Call getSentDeliveryStatusesBySentIdCall(UUID sentId,
        +                                                        Integer page,
        +                                                        Integer size,
        +                                                        String sort,
        +                                                        OffsetDateTime since,
        +                                                        OffsetDateTime before,
        +                                                        ApiCallback _callback)
        +                                                 throws ApiException
        +
        Build call for getSentDeliveryStatusesBySentId
        +
        +
        Parameters:
        +
        sentId - ID of the sent email that you want to get the delivery status of. Sent email object is returned when sending an email (required)
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatusesBySentId

        +
        public PageDeliveryStatus getSentDeliveryStatusesBySentId(UUID sentId,
        +                                                          Integer page,
        +                                                          Integer size,
        +                                                          String sort,
        +                                                          OffsetDateTime since,
        +                                                          OffsetDateTime before)
        +                                                   throws ApiException
        +
        Get all sent email delivery statuses
        +
        +
        Parameters:
        +
        sentId - ID of the sent email that you want to get the delivery status of. Sent email object is returned when sending an email (required)
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageDeliveryStatus
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatusesBySentIdWithHttpInfo

        +
        public ApiResponse<PageDeliveryStatus> getSentDeliveryStatusesBySentIdWithHttpInfo(UUID sentId,
        +                                                                                   Integer page,
        +                                                                                   Integer size,
        +                                                                                   String sort,
        +                                                                                   OffsetDateTime since,
        +                                                                                   OffsetDateTime before)
        +                                                                            throws ApiException
        +
        Get all sent email delivery statuses
        +
        +
        Parameters:
        +
        sentId - ID of the sent email that you want to get the delivery status of. Sent email object is returned when sending an email (required)
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageDeliveryStatus>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentDeliveryStatusesBySentIdAsync

        +
        public okhttp3.Call getSentDeliveryStatusesBySentIdAsync(UUID sentId,
        +                                                         Integer page,
        +                                                         Integer size,
        +                                                         String sort,
        +                                                         OffsetDateTime since,
        +                                                         OffsetDateTime before,
        +                                                         ApiCallback<PageDeliveryStatus> _callback)
        +                                                  throws ApiException
        +
        (asynchronously) + Get all sent email delivery statuses
        +
        +
        Parameters:
        +
        sentId - ID of the sent email that you want to get the delivery status of. Sent email object is returned when sending an email (required)
        +
        page - Optional page index in delivery status list pagination (optional, default to 0)
        +
        size - Optional page size in delivery status list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailCall

        +
        public okhttp3.Call getSentEmailCall(UUID id,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for getSentEmail
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmail

        +
        public SentEmailDto getSentEmail(UUID id)
        +                          throws ApiException
        +
        Get sent email receipt
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        SentEmailDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailWithHttpInfo

        +
        public ApiResponse<SentEmailDto> getSentEmailWithHttpInfo(UUID id)
        +                                                   throws ApiException
        +
        Get sent email receipt
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<SentEmailDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailAsync

        +
        public okhttp3.Call getSentEmailAsync(UUID id,
        +                                      ApiCallback<SentEmailDto> _callback)
        +                               throws ApiException
        +
        Get sent email receipt (asynchronously)
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailHTMLContentCall

        +
        public okhttp3.Call getSentEmailHTMLContentCall(UUID id,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for getSentEmailHTMLContent
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailHTMLContent

        +
        public String getSentEmailHTMLContent(UUID id)
        +                               throws ApiException
        +
        Get sent email HTML content
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        String
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailHTMLContentWithHttpInfo

        +
        public ApiResponse<String> getSentEmailHTMLContentWithHttpInfo(UUID id)
        +                                                        throws ApiException
        +
        Get sent email HTML content
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailHTMLContentAsync

        +
        public okhttp3.Call getSentEmailHTMLContentAsync(UUID id,
        +                                                 ApiCallback<String> _callback)
        +                                          throws ApiException
        +
        Get sent email HTML content (asynchronously)
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailPreviewURLsCall

        +
        public okhttp3.Call getSentEmailPreviewURLsCall(UUID id,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for getSentEmailPreviewURLs
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailPreviewURLs

        +
        public EmailPreviewUrls getSentEmailPreviewURLs(UUID id)
        +                                         throws ApiException
        +
        Get sent email URL for viewing in browser or downloading + Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser.
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        EmailPreviewUrls
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailPreviewURLsWithHttpInfo

        +
        public ApiResponse<EmailPreviewUrls> getSentEmailPreviewURLsWithHttpInfo(UUID id)
        +                                                                  throws ApiException
        +
        Get sent email URL for viewing in browser or downloading + Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser.
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<EmailPreviewUrls>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailPreviewURLsAsync

        +
        public okhttp3.Call getSentEmailPreviewURLsAsync(UUID id,
        +                                                 ApiCallback<EmailPreviewUrls> _callback)
        +                                          throws ApiException
        +
        Get sent email URL for viewing in browser or downloading (asynchronously) + Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser.
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailTrackingPixelsCall

        +
        public okhttp3.Call getSentEmailTrackingPixelsCall(UUID id,
        +                                                   Integer page,
        +                                                   Integer size,
        +                                                   String sort,
        +                                                   String searchFilter,
        +                                                   OffsetDateTime since,
        +                                                   OffsetDateTime before,
        +                                                   ApiCallback _callback)
        +                                            throws ApiException
        +
        Build call for getSentEmailTrackingPixels
        +
        +
        Parameters:
        +
        id - (required)
        +
        page - Optional page index in sent email tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in sent email tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailTrackingPixels

        +
        public PageTrackingPixelProjection getSentEmailTrackingPixels(UUID id,
        +                                                              Integer page,
        +                                                              Integer size,
        +                                                              String sort,
        +                                                              String searchFilter,
        +                                                              OffsetDateTime since,
        +                                                              OffsetDateTime before)
        +                                                       throws ApiException
        +
        Get all tracking pixels for a sent email in paginated form
        +
        +
        Parameters:
        +
        id - (required)
        +
        page - Optional page index in sent email tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in sent email tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageTrackingPixelProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailTrackingPixelsWithHttpInfo

        +
        public ApiResponse<PageTrackingPixelProjection> getSentEmailTrackingPixelsWithHttpInfo(UUID id,
        +                                                                                       Integer page,
        +                                                                                       Integer size,
        +                                                                                       String sort,
        +                                                                                       String searchFilter,
        +                                                                                       OffsetDateTime since,
        +                                                                                       OffsetDateTime before)
        +                                                                                throws ApiException
        +
        Get all tracking pixels for a sent email in paginated form
        +
        +
        Parameters:
        +
        id - (required)
        +
        page - Optional page index in sent email tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in sent email tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageTrackingPixelProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailTrackingPixelsAsync

        +
        public okhttp3.Call getSentEmailTrackingPixelsAsync(UUID id,
        +                                                    Integer page,
        +                                                    Integer size,
        +                                                    String sort,
        +                                                    String searchFilter,
        +                                                    OffsetDateTime since,
        +                                                    OffsetDateTime before,
        +                                                    ApiCallback<PageTrackingPixelProjection> _callback)
        +                                             throws ApiException
        +
        (asynchronously) + Get all tracking pixels for a sent email in paginated form
        +
        +
        Parameters:
        +
        id - (required)
        +
        page - Optional page index in sent email tracking pixel list pagination (optional, default to 0)
        +
        size - Optional page size in sent email tracking pixel list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailsCall

        +
        public okhttp3.Call getSentEmailsCall(UUID inboxId,
        +                                      Integer page,
        +                                      Integer size,
        +                                      String sort,
        +                                      String searchFilter,
        +                                      OffsetDateTime since,
        +                                      OffsetDateTime before,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for getSentEmails
        +
        +
        Parameters:
        +
        inboxId - Optional inboxId to filter sender of sent emails by (optional)
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmails

        +
        public PageSentEmailProjection getSentEmails(UUID inboxId,
        +                                             Integer page,
        +                                             Integer size,
        +                                             String sort,
        +                                             String searchFilter,
        +                                             OffsetDateTime since,
        +                                             OffsetDateTime before)
        +                                      throws ApiException
        +
        Get all sent emails in paginated form
        +
        +
        Parameters:
        +
        inboxId - Optional inboxId to filter sender of sent emails by (optional)
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageSentEmailProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailsWithHttpInfo

        +
        public ApiResponse<PageSentEmailProjection> getSentEmailsWithHttpInfo(UUID inboxId,
        +                                                                      Integer page,
        +                                                                      Integer size,
        +                                                                      String sort,
        +                                                                      String searchFilter,
        +                                                                      OffsetDateTime since,
        +                                                                      OffsetDateTime before)
        +                                                               throws ApiException
        +
        Get all sent emails in paginated form
        +
        +
        Parameters:
        +
        inboxId - Optional inboxId to filter sender of sent emails by (optional)
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageSentEmailProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailsAsync

        +
        public okhttp3.Call getSentEmailsAsync(UUID inboxId,
        +                                       Integer page,
        +                                       Integer size,
        +                                       String sort,
        +                                       String searchFilter,
        +                                       OffsetDateTime since,
        +                                       OffsetDateTime before,
        +                                       ApiCallback<PageSentEmailProjection> _callback)
        +                                throws ApiException
        +
        Get all sent emails in paginated form (asynchronously)
        +
        +
        Parameters:
        +
        inboxId - Optional inboxId to filter sender of sent emails by (optional)
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailsWithQueueResultsCall

        +
        public okhttp3.Call getSentEmailsWithQueueResultsCall(Integer page,
        +                                                      Integer size,
        +                                                      String sort,
        +                                                      OffsetDateTime since,
        +                                                      OffsetDateTime before,
        +                                                      ApiCallback _callback)
        +                                               throws ApiException
        +
        Build call for getSentEmailsWithQueueResults
        +
        +
        Parameters:
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailsWithQueueResults

        +
        public PageSentEmailWithQueueProjection getSentEmailsWithQueueResults(Integer page,
        +                                                                      Integer size,
        +                                                                      String sort,
        +                                                                      OffsetDateTime since,
        +                                                                      OffsetDateTime before)
        +                                                               throws ApiException
        +
        Get results of email sent with queues in paginated form
        +
        +
        Parameters:
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageSentEmailWithQueueProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailsWithQueueResultsWithHttpInfo

        +
        public ApiResponse<PageSentEmailWithQueueProjection> getSentEmailsWithQueueResultsWithHttpInfo(Integer page,
        +                                                                                               Integer size,
        +                                                                                               String sort,
        +                                                                                               OffsetDateTime since,
        +                                                                                               OffsetDateTime before)
        +                                                                                        throws ApiException
        +
        Get results of email sent with queues in paginated form
        +
        +
        Parameters:
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageSentEmailWithQueueProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentEmailsWithQueueResultsAsync

        +
        public okhttp3.Call getSentEmailsWithQueueResultsAsync(Integer page,
        +                                                       Integer size,
        +                                                       String sort,
        +                                                       OffsetDateTime since,
        +                                                       OffsetDateTime before,
        +                                                       ApiCallback<PageSentEmailWithQueueProjection> _callback)
        +                                                throws ApiException
        +
        Get results of email sent with queues in paginated form (asynchronously)
        +
        +
        Parameters:
        +
        page - Optional page index in inbox sent email list pagination (optional, default to 0)
        +
        size - Optional page size in inbox sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentOrganizationEmailsCall

        +
        public okhttp3.Call getSentOrganizationEmailsCall(UUID inboxId,
        +                                                  Integer page,
        +                                                  Integer size,
        +                                                  String sort,
        +                                                  String searchFilter,
        +                                                  OffsetDateTime since,
        +                                                  OffsetDateTime before,
        +                                                  ApiCallback _callback)
        +                                           throws ApiException
        +
        Build call for getSentOrganizationEmails
        +
        +
        Parameters:
        +
        inboxId - Optional inboxId to filter sender of sent emails by (optional)
        +
        page - Optional page index in sent email list pagination (optional, default to 0)
        +
        size - Optional page size in sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentOrganizationEmails

        +
        public PageSentEmailProjection getSentOrganizationEmails(UUID inboxId,
        +                                                         Integer page,
        +                                                         Integer size,
        +                                                         String sort,
        +                                                         String searchFilter,
        +                                                         OffsetDateTime since,
        +                                                         OffsetDateTime before)
        +                                                  throws ApiException
        +
        Get all sent organization emails in paginated form
        +
        +
        Parameters:
        +
        inboxId - Optional inboxId to filter sender of sent emails by (optional)
        +
        page - Optional page index in sent email list pagination (optional, default to 0)
        +
        size - Optional page size in sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageSentEmailProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentOrganizationEmailsWithHttpInfo

        +
        public ApiResponse<PageSentEmailProjection> getSentOrganizationEmailsWithHttpInfo(UUID inboxId,
        +                                                                                  Integer page,
        +                                                                                  Integer size,
        +                                                                                  String sort,
        +                                                                                  String searchFilter,
        +                                                                                  OffsetDateTime since,
        +                                                                                  OffsetDateTime before)
        +                                                                           throws ApiException
        +
        Get all sent organization emails in paginated form
        +
        +
        Parameters:
        +
        inboxId - Optional inboxId to filter sender of sent emails by (optional)
        +
        page - Optional page index in sent email list pagination (optional, default to 0)
        +
        size - Optional page size in sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageSentEmailProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSentOrganizationEmailsAsync

        +
        public okhttp3.Call getSentOrganizationEmailsAsync(UUID inboxId,
        +                                                   Integer page,
        +                                                   Integer size,
        +                                                   String sort,
        +                                                   String searchFilter,
        +                                                   OffsetDateTime since,
        +                                                   OffsetDateTime before,
        +                                                   ApiCallback<PageSentEmailProjection> _callback)
        +                                            throws ApiException
        +
        (asynchronously) + Get all sent organization emails in paginated form
        +
        +
        Parameters:
        +
        inboxId - Optional inboxId to filter sender of sent emails by (optional)
        +
        page - Optional page index in sent email list pagination (optional, default to 0)
        +
        size - Optional page size in sent email list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForDeliveryStatusesCall

        +
        public okhttp3.Call waitForDeliveryStatusesCall(UUID sentId,
        +                                                UUID inboxId,
        +                                                Long timeout,
        +                                                Integer index,
        +                                                OffsetDateTime since,
        +                                                OffsetDateTime before,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for waitForDeliveryStatuses
        +
        +
        Parameters:
        +
        sentId - Optional sent email ID filter (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        timeout - Optional timeout milliseconds (optional)
        +
        index - Zero based index of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass index=1 (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForDeliveryStatuses

        +
        public DeliveryStatusDto waitForDeliveryStatuses(UUID sentId,
        +                                                 UUID inboxId,
        +                                                 Long timeout,
        +                                                 Integer index,
        +                                                 OffsetDateTime since,
        +                                                 OffsetDateTime before)
        +                                          throws ApiException
        +
        Wait for delivery statuses
        +
        +
        Parameters:
        +
        sentId - Optional sent email ID filter (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        timeout - Optional timeout milliseconds (optional)
        +
        index - Zero based index of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass index=1 (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        DeliveryStatusDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForDeliveryStatusesWithHttpInfo

        +
        public ApiResponse<DeliveryStatusDto> waitForDeliveryStatusesWithHttpInfo(UUID sentId,
        +                                                                          UUID inboxId,
        +                                                                          Long timeout,
        +                                                                          Integer index,
        +                                                                          OffsetDateTime since,
        +                                                                          OffsetDateTime before)
        +                                                                   throws ApiException
        +
        Wait for delivery statuses
        +
        +
        Parameters:
        +
        sentId - Optional sent email ID filter (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        timeout - Optional timeout milliseconds (optional)
        +
        index - Zero based index of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass index=1 (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<DeliveryStatusDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForDeliveryStatusesAsync

        +
        public okhttp3.Call waitForDeliveryStatusesAsync(UUID sentId,
        +                                                 UUID inboxId,
        +                                                 Long timeout,
        +                                                 Integer index,
        +                                                 OffsetDateTime since,
        +                                                 OffsetDateTime before,
        +                                                 ApiCallback<DeliveryStatusDto> _callback)
        +                                          throws ApiException
        +
        (asynchronously) + Wait for delivery statuses
        +
        +
        Parameters:
        +
        sentId - Optional sent email ID filter (optional)
        +
        inboxId - Optional inbox ID filter (optional)
        +
        timeout - Optional timeout milliseconds (optional)
        +
        index - Zero based index of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass index=1 (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/SmsControllerApi.html b/site/com/mailslurp/apis/SmsControllerApi.html new file mode 100644 index 000000000..7acbc76af --- /dev/null +++ b/site/com/mailslurp/apis/SmsControllerApi.html @@ -0,0 +1,1059 @@ + + + + + + +SmsControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class SmsControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class SmsControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SmsControllerApi

        +
        public SmsControllerApi()
        +
      • +
      + + + +
        +
      • +

        SmsControllerApi

        +
        public SmsControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        deleteSmsMessageCall

        +
        public okhttp3.Call deleteSmsMessageCall(UUID smsId,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for deleteSmsMessage
        +
        +
        Parameters:
        +
        smsId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteSmsMessage

        +
        public void deleteSmsMessage(UUID smsId)
        +                      throws ApiException
        +
        Delete SMS message. + Delete an SMS message
        +
        +
        Parameters:
        +
        smsId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteSmsMessageWithHttpInfo

        +
        public ApiResponse<Void> deleteSmsMessageWithHttpInfo(UUID smsId)
        +                                               throws ApiException
        +
        Delete SMS message. + Delete an SMS message
        +
        +
        Parameters:
        +
        smsId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteSmsMessageAsync

        +
        public okhttp3.Call deleteSmsMessageAsync(UUID smsId,
        +                                          ApiCallback<Void> _callback)
        +                                   throws ApiException
        +
        Delete SMS message. (asynchronously) + Delete an SMS message
        +
        +
        Parameters:
        +
        smsId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteSmsMessagesCall

        +
        public okhttp3.Call deleteSmsMessagesCall(UUID phoneNumberId,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for deleteSmsMessages
        +
        +
        Parameters:
        +
        phoneNumberId - (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteSmsMessages

        +
        public void deleteSmsMessages(UUID phoneNumberId)
        +                       throws ApiException
        +
        Delete all SMS messages + Delete all SMS messages or all messages for a given phone number
        +
        +
        Parameters:
        +
        phoneNumberId - (optional)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteSmsMessagesWithHttpInfo

        +
        public ApiResponse<Void> deleteSmsMessagesWithHttpInfo(UUID phoneNumberId)
        +                                                throws ApiException
        +
        Delete all SMS messages + Delete all SMS messages or all messages for a given phone number
        +
        +
        Parameters:
        +
        phoneNumberId - (optional)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteSmsMessagesAsync

        +
        public okhttp3.Call deleteSmsMessagesAsync(UUID phoneNumberId,
        +                                           ApiCallback<Void> _callback)
        +                                    throws ApiException
        +
        Delete all SMS messages (asynchronously) + Delete all SMS messages or all messages for a given phone number
        +
        +
        Parameters:
        +
        phoneNumberId - (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getSmsMessageCall

        +
        public okhttp3.Call getSmsMessageCall(UUID smsId,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for getSmsMessage
        +
        +
        Parameters:
        +
        smsId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSmsMessage

        +
        public SmsDto getSmsMessage(UUID smsId)
        +                     throws ApiException
        +
        Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController. + Returns a SMS summary object with content.
        +
        +
        Parameters:
        +
        smsId - (required)
        +
        Returns:
        +
        SmsDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSmsMessageWithHttpInfo

        +
        public ApiResponse<SmsDto> getSmsMessageWithHttpInfo(UUID smsId)
        +                                              throws ApiException
        +
        Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController. + Returns a SMS summary object with content.
        +
        +
        Parameters:
        +
        smsId - (required)
        +
        Returns:
        +
        ApiResponse<SmsDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSmsMessageAsync

        +
        public okhttp3.Call getSmsMessageAsync(UUID smsId,
        +                                       ApiCallback<SmsDto> _callback)
        +                                throws ApiException
        +
        Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController. (asynchronously) + Returns a SMS summary object with content.
        +
        +
        Parameters:
        +
        smsId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSmsMessagesPaginatedCall

        +
        public okhttp3.Call getSmsMessagesPaginatedCall(UUID phoneNumber,
        +                                                Integer page,
        +                                                Integer size,
        +                                                String sort,
        +                                                Boolean unreadOnly,
        +                                                OffsetDateTime since,
        +                                                OffsetDateTime before,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for getSmsMessagesPaginated
        +
        +
        Parameters:
        +
        phoneNumber - Optional receiving phone number to filter SMS messages for (optional)
        +
        page - Optional page index in SMS list pagination (optional, default to 0)
        +
        size - Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        since - Optional filter SMSs received after given date time (optional)
        +
        before - Optional filter SMSs received before given date time (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSmsMessagesPaginated

        +
        public PageSmsProjection getSmsMessagesPaginated(UUID phoneNumber,
        +                                                 Integer page,
        +                                                 Integer size,
        +                                                 String sort,
        +                                                 Boolean unreadOnly,
        +                                                 OffsetDateTime since,
        +                                                 OffsetDateTime before)
        +                                          throws ApiException
        +
        Get all SMS messages in all phone numbers in paginated form. . + By default returns all SMS messages across all phone numbers sorted by ascending created at date. Responses are paginated. You can restrict results to a list of phone number IDs. You can also filter out read messages
        +
        +
        Parameters:
        +
        phoneNumber - Optional receiving phone number to filter SMS messages for (optional)
        +
        page - Optional page index in SMS list pagination (optional, default to 0)
        +
        size - Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        since - Optional filter SMSs received after given date time (optional)
        +
        before - Optional filter SMSs received before given date time (optional)
        +
        Returns:
        +
        PageSmsProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSmsMessagesPaginatedWithHttpInfo

        +
        public ApiResponse<PageSmsProjection> getSmsMessagesPaginatedWithHttpInfo(UUID phoneNumber,
        +                                                                          Integer page,
        +                                                                          Integer size,
        +                                                                          String sort,
        +                                                                          Boolean unreadOnly,
        +                                                                          OffsetDateTime since,
        +                                                                          OffsetDateTime before)
        +                                                                   throws ApiException
        +
        Get all SMS messages in all phone numbers in paginated form. . + By default returns all SMS messages across all phone numbers sorted by ascending created at date. Responses are paginated. You can restrict results to a list of phone number IDs. You can also filter out read messages
        +
        +
        Parameters:
        +
        phoneNumber - Optional receiving phone number to filter SMS messages for (optional)
        +
        page - Optional page index in SMS list pagination (optional, default to 0)
        +
        size - Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        since - Optional filter SMSs received after given date time (optional)
        +
        before - Optional filter SMSs received before given date time (optional)
        +
        Returns:
        +
        ApiResponse<PageSmsProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getSmsMessagesPaginatedAsync

        +
        public okhttp3.Call getSmsMessagesPaginatedAsync(UUID phoneNumber,
        +                                                 Integer page,
        +                                                 Integer size,
        +                                                 String sort,
        +                                                 Boolean unreadOnly,
        +                                                 OffsetDateTime since,
        +                                                 OffsetDateTime before,
        +                                                 ApiCallback<PageSmsProjection> _callback)
        +                                          throws ApiException
        +
        Get all SMS messages in all phone numbers in paginated form. . (asynchronously) + By default returns all SMS messages across all phone numbers sorted by ascending created at date. Responses are paginated. You can restrict results to a list of phone number IDs. You can also filter out read messages
        +
        +
        Parameters:
        +
        phoneNumber - Optional receiving phone number to filter SMS messages for (optional)
        +
        page - Optional page index in SMS list pagination (optional, default to 0)
        +
        size - Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        unreadOnly - Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)
        +
        since - Optional filter SMSs received after given date time (optional)
        +
        before - Optional filter SMSs received before given date time (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUnreadSmsCountCall

        +
        public okhttp3.Call getUnreadSmsCountCall(ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for getUnreadSmsCount
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUnreadSmsCount

        +
        public UnreadCount getUnreadSmsCount()
        +                              throws ApiException
        +
        Get unread SMS count + Get number of SMS unread. Unread means has not been viewed in dashboard or returned in an email API response
        +
        +
        Returns:
        +
        UnreadCount
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUnreadSmsCountWithHttpInfo

        +
        public ApiResponse<UnreadCount> getUnreadSmsCountWithHttpInfo()
        +                                                       throws ApiException
        +
        Get unread SMS count + Get number of SMS unread. Unread means has not been viewed in dashboard or returned in an email API response
        +
        +
        Returns:
        +
        ApiResponse<UnreadCount>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUnreadSmsCountAsync

        +
        public okhttp3.Call getUnreadSmsCountAsync(ApiCallback<UnreadCount> _callback)
        +                                    throws ApiException
        +
        Get unread SMS count (asynchronously) + Get number of SMS unread. Unread means has not been viewed in dashboard or returned in an email API response
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/TemplateControllerApi.html b/site/com/mailslurp/apis/TemplateControllerApi.html new file mode 100644 index 000000000..216a6e0c7 --- /dev/null +++ b/site/com/mailslurp/apis/TemplateControllerApi.html @@ -0,0 +1,1454 @@ + + + + + + +TemplateControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class TemplateControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class TemplateControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TemplateControllerApi

        +
        public TemplateControllerApi()
        +
      • +
      + + + +
        +
      • +

        TemplateControllerApi

        +
        public TemplateControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        createTemplateCall

        +
        public okhttp3.Call createTemplateCall(CreateTemplateOptions createTemplateOptions,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for createTemplate
        +
        +
        Parameters:
        +
        createTemplateOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createTemplate

        +
        public TemplateDto createTemplate(CreateTemplateOptions createTemplateOptions)
        +                           throws ApiException
        +
        Create a Template + Create an email template with variables for use with templated transactional emails.
        +
        +
        Parameters:
        +
        createTemplateOptions - (required)
        +
        Returns:
        +
        TemplateDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createTemplateWithHttpInfo

        +
        public ApiResponse<TemplateDto> createTemplateWithHttpInfo(CreateTemplateOptions createTemplateOptions)
        +                                                    throws ApiException
        +
        Create a Template + Create an email template with variables for use with templated transactional emails.
        +
        +
        Parameters:
        +
        createTemplateOptions - (required)
        +
        Returns:
        +
        ApiResponse<TemplateDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createTemplateAsync

        +
        public okhttp3.Call createTemplateAsync(CreateTemplateOptions createTemplateOptions,
        +                                        ApiCallback<TemplateDto> _callback)
        +                                 throws ApiException
        +
        Create a Template (asynchronously) + Create an email template with variables for use with templated transactional emails.
        +
        +
        Parameters:
        +
        createTemplateOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        deleteTemplateCall

        +
        public okhttp3.Call deleteTemplateCall(UUID templateId,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for deleteTemplate
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteTemplate

        +
        public void deleteTemplate(UUID templateId)
        +                    throws ApiException
        +
        Delete email template + Delete template
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteTemplateWithHttpInfo

        +
        public ApiResponse<Void> deleteTemplateWithHttpInfo(UUID templateId)
        +                                             throws ApiException
        +
        Delete email template + Delete template
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteTemplateAsync

        +
        public okhttp3.Call deleteTemplateAsync(UUID templateId,
        +                                        ApiCallback<Void> _callback)
        +                                 throws ApiException
        +
        Delete email template (asynchronously) + Delete template
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        getAllTemplatesCall

        +
        public okhttp3.Call getAllTemplatesCall(Integer page,
        +                                        Integer size,
        +                                        String sort,
        +                                        OffsetDateTime since,
        +                                        OffsetDateTime before,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for getAllTemplates
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllTemplates

        +
        public PageTemplateProjection getAllTemplates(Integer page,
        +                                              Integer size,
        +                                              String sort,
        +                                              OffsetDateTime since,
        +                                              OffsetDateTime before)
        +                                       throws ApiException
        +
        List templates + Get all templates in paginated format
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageTemplateProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllTemplatesWithHttpInfo

        +
        public ApiResponse<PageTemplateProjection> getAllTemplatesWithHttpInfo(Integer page,
        +                                                                       Integer size,
        +                                                                       String sort,
        +                                                                       OffsetDateTime since,
        +                                                                       OffsetDateTime before)
        +                                                                throws ApiException
        +
        List templates + Get all templates in paginated format
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageTemplateProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllTemplatesAsync

        +
        public okhttp3.Call getAllTemplatesAsync(Integer page,
        +                                         Integer size,
        +                                         String sort,
        +                                         OffsetDateTime since,
        +                                         OffsetDateTime before,
        +                                         ApiCallback<PageTemplateProjection> _callback)
        +                                  throws ApiException
        +
        List templates (asynchronously) + Get all templates in paginated format
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplateCall

        +
        public okhttp3.Call getTemplateCall(UUID templateId,
        +                                    ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for getTemplate
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplate

        +
        public TemplateDto getTemplate(UUID templateId)
        +                        throws ApiException
        +
        Get template + Get email template
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        Returns:
        +
        TemplateDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplateWithHttpInfo

        +
        public ApiResponse<TemplateDto> getTemplateWithHttpInfo(UUID templateId)
        +                                                 throws ApiException
        +
        Get template + Get email template
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        Returns:
        +
        ApiResponse<TemplateDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplateAsync

        +
        public okhttp3.Call getTemplateAsync(UUID templateId,
        +                                     ApiCallback<TemplateDto> _callback)
        +                              throws ApiException
        +
        Get template (asynchronously) + Get email template
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplatePreviewHtmlCall

        +
        public okhttp3.Call getTemplatePreviewHtmlCall(UUID templateId,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for getTemplatePreviewHtml
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplatePreviewHtml

        +
        public String getTemplatePreviewHtml(UUID templateId)
        +                              throws ApiException
        +
        Get template preview HTML + Get email template preview with passed template variables in HTML format for browsers. Pass template variables as query params.
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        Returns:
        +
        String
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplatePreviewHtmlWithHttpInfo

        +
        public ApiResponse<String> getTemplatePreviewHtmlWithHttpInfo(UUID templateId)
        +                                                       throws ApiException
        +
        Get template preview HTML + Get email template preview with passed template variables in HTML format for browsers. Pass template variables as query params.
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        Returns:
        +
        ApiResponse<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplatePreviewHtmlAsync

        +
        public okhttp3.Call getTemplatePreviewHtmlAsync(UUID templateId,
        +                                                ApiCallback<String> _callback)
        +                                         throws ApiException
        +
        Get template preview HTML (asynchronously) + Get email template preview with passed template variables in HTML format for browsers. Pass template variables as query params.
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplatePreviewJsonCall

        +
        public okhttp3.Call getTemplatePreviewJsonCall(UUID templateId,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for getTemplatePreviewJson
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplatePreviewJson

        +
        public TemplatePreview getTemplatePreviewJson(UUID templateId)
        +                                       throws ApiException
        +
        Get template preview Json + Get email template preview with passed template variables in JSON format. Pass template variables as query params.
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        Returns:
        +
        TemplatePreview
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplatePreviewJsonWithHttpInfo

        +
        public ApiResponse<TemplatePreview> getTemplatePreviewJsonWithHttpInfo(UUID templateId)
        +                                                                throws ApiException
        +
        Get template preview Json + Get email template preview with passed template variables in JSON format. Pass template variables as query params.
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        Returns:
        +
        ApiResponse<TemplatePreview>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplatePreviewJsonAsync

        +
        public okhttp3.Call getTemplatePreviewJsonAsync(UUID templateId,
        +                                                ApiCallback<TemplatePreview> _callback)
        +                                         throws ApiException
        +
        Get template preview Json (asynchronously) + Get email template preview with passed template variables in JSON format. Pass template variables as query params.
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplatesCall

        +
        public okhttp3.Call getTemplatesCall(ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for getTemplates
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplates

        +
        public List<TemplateProjection> getTemplates()
        +                                      throws ApiException
        +
        List templates + Get all templates
        +
        +
        Returns:
        +
        List<TemplateProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplatesWithHttpInfo

        +
        public ApiResponse<List<TemplateProjection>> getTemplatesWithHttpInfo()
        +                                                               throws ApiException
        +
        List templates + Get all templates
        +
        +
        Returns:
        +
        ApiResponse<List<TemplateProjection>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTemplatesAsync

        +
        public okhttp3.Call getTemplatesAsync(ApiCallback<List<TemplateProjection>> _callback)
        +                               throws ApiException
        +
        List templates (asynchronously) + Get all templates
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateTemplateCall

        +
        public okhttp3.Call updateTemplateCall(UUID templateId,
        +                                       CreateTemplateOptions createTemplateOptions,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for updateTemplate
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        createTemplateOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        updateTemplate

        +
        public TemplateDto updateTemplate(UUID templateId,
        +                                  CreateTemplateOptions createTemplateOptions)
        +                           throws ApiException
        +
        Update template + Update email template
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        createTemplateOptions - (required)
        +
        Returns:
        +
        TemplateDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        updateTemplateWithHttpInfo

        +
        public ApiResponse<TemplateDto> updateTemplateWithHttpInfo(UUID templateId,
        +                                                           CreateTemplateOptions createTemplateOptions)
        +                                                    throws ApiException
        +
        Update template + Update email template
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        createTemplateOptions - (required)
        +
        Returns:
        +
        ApiResponse<TemplateDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        updateTemplateAsync

        +
        public okhttp3.Call updateTemplateAsync(UUID templateId,
        +                                        CreateTemplateOptions createTemplateOptions,
        +                                        ApiCallback<TemplateDto> _callback)
        +                                 throws ApiException
        +
        Update template (asynchronously) + Update email template
        +
        +
        Parameters:
        +
        templateId - Template ID (required)
        +
        createTemplateOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/TrackingControllerApi.html b/site/com/mailslurp/apis/TrackingControllerApi.html new file mode 100644 index 000000000..5b0d769c4 --- /dev/null +++ b/site/com/mailslurp/apis/TrackingControllerApi.html @@ -0,0 +1,800 @@ + + + + + + +TrackingControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class TrackingControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class TrackingControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TrackingControllerApi

        +
        public TrackingControllerApi()
        +
      • +
      + + + +
        +
      • +

        TrackingControllerApi

        +
        public TrackingControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        createTrackingPixelCall

        +
        public okhttp3.Call createTrackingPixelCall(CreateTrackingPixelOptions createTrackingPixelOptions,
        +                                            ApiCallback _callback)
        +                                     throws ApiException
        +
        Build call for createTrackingPixel
        +
        +
        Parameters:
        +
        createTrackingPixelOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createTrackingPixel

        +
        public TrackingPixelDto createTrackingPixel(CreateTrackingPixelOptions createTrackingPixelOptions)
        +                                     throws ApiException
        +
        Create tracking pixel + Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel.
        +
        +
        Parameters:
        +
        createTrackingPixelOptions - (required)
        +
        Returns:
        +
        TrackingPixelDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createTrackingPixelWithHttpInfo

        +
        public ApiResponse<TrackingPixelDto> createTrackingPixelWithHttpInfo(CreateTrackingPixelOptions createTrackingPixelOptions)
        +                                                              throws ApiException
        +
        Create tracking pixel + Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel.
        +
        +
        Parameters:
        +
        createTrackingPixelOptions - (required)
        +
        Returns:
        +
        ApiResponse<TrackingPixelDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createTrackingPixelAsync

        +
        public okhttp3.Call createTrackingPixelAsync(CreateTrackingPixelOptions createTrackingPixelOptions,
        +                                             ApiCallback<TrackingPixelDto> _callback)
        +                                      throws ApiException
        +
        Create tracking pixel (asynchronously) + Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel.
        +
        +
        Parameters:
        +
        createTrackingPixelOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        getAllTrackingPixelsCall

        +
        public okhttp3.Call getAllTrackingPixelsCall(Integer page,
        +                                             Integer size,
        +                                             String sort,
        +                                             String searchFilter,
        +                                             OffsetDateTime since,
        +                                             OffsetDateTime before,
        +                                             ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for getAllTrackingPixels
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllTrackingPixels

        +
        public PageTrackingPixelProjection getAllTrackingPixels(Integer page,
        +                                                        Integer size,
        +                                                        String sort,
        +                                                        String searchFilter,
        +                                                        OffsetDateTime since,
        +                                                        OffsetDateTime before)
        +                                                 throws ApiException
        +
        Get tracking pixels + List tracking pixels in paginated form
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageTrackingPixelProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllTrackingPixelsWithHttpInfo

        +
        public ApiResponse<PageTrackingPixelProjection> getAllTrackingPixelsWithHttpInfo(Integer page,
        +                                                                                 Integer size,
        +                                                                                 String sort,
        +                                                                                 String searchFilter,
        +                                                                                 OffsetDateTime since,
        +                                                                                 OffsetDateTime before)
        +                                                                          throws ApiException
        +
        Get tracking pixels + List tracking pixels in paginated form
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageTrackingPixelProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllTrackingPixelsAsync

        +
        public okhttp3.Call getAllTrackingPixelsAsync(Integer page,
        +                                              Integer size,
        +                                              String sort,
        +                                              String searchFilter,
        +                                              OffsetDateTime since,
        +                                              OffsetDateTime before,
        +                                              ApiCallback<PageTrackingPixelProjection> _callback)
        +                                       throws ApiException
        +
        Get tracking pixels (asynchronously) + List tracking pixels in paginated form
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTrackingPixelCall

        +
        public okhttp3.Call getTrackingPixelCall(UUID id,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for getTrackingPixel
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTrackingPixel

        +
        public TrackingPixelDto getTrackingPixel(UUID id)
        +                                  throws ApiException
        +
        Get pixel
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        TrackingPixelDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTrackingPixelWithHttpInfo

        +
        public ApiResponse<TrackingPixelDto> getTrackingPixelWithHttpInfo(UUID id)
        +                                                           throws ApiException
        +
        Get pixel
        +
        +
        Parameters:
        +
        id - (required)
        +
        Returns:
        +
        ApiResponse<TrackingPixelDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTrackingPixelAsync

        +
        public okhttp3.Call getTrackingPixelAsync(UUID id,
        +                                          ApiCallback<TrackingPixelDto> _callback)
        +                                   throws ApiException
        +
        Get pixel (asynchronously)
        +
        +
        Parameters:
        +
        id - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/UserControllerApi.html b/site/com/mailslurp/apis/UserControllerApi.html new file mode 100644 index 000000000..df961e259 --- /dev/null +++ b/site/com/mailslurp/apis/UserControllerApi.html @@ -0,0 +1,608 @@ + + + + + + +UserControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class UserControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class UserControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UserControllerApi

        +
        public UserControllerApi()
        +
      • +
      + + + +
        +
      • +

        UserControllerApi

        +
        public UserControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        getJsonPropertyAsStringCall

        +
        public okhttp3.Call getJsonPropertyAsStringCall(String property,
        +                                                Object body,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Build call for getJsonPropertyAsString
        +
        +
        Parameters:
        +
        property - JSON property name or dot separated path selector such as `a.b.c` (required)
        +
        body - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getJsonPropertyAsString

        +
        public String getJsonPropertyAsString(String property,
        +                                      Object body)
        +                               throws ApiException
        +
        Utility function to extract properties from JSON objects in language where this is cumbersome.
        +
        +
        Parameters:
        +
        property - JSON property name or dot separated path selector such as `a.b.c` (required)
        +
        body - (required)
        +
        Returns:
        +
        String
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getJsonPropertyAsStringWithHttpInfo

        +
        public ApiResponse<String> getJsonPropertyAsStringWithHttpInfo(String property,
        +                                                               Object body)
        +                                                        throws ApiException
        +
        Utility function to extract properties from JSON objects in language where this is cumbersome.
        +
        +
        Parameters:
        +
        property - JSON property name or dot separated path selector such as `a.b.c` (required)
        +
        body - (required)
        +
        Returns:
        +
        ApiResponse<String>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getJsonPropertyAsStringAsync

        +
        public okhttp3.Call getJsonPropertyAsStringAsync(String property,
        +                                                 Object body,
        +                                                 ApiCallback<String> _callback)
        +                                          throws ApiException
        +
        (asynchronously) + Utility function to extract properties from JSON objects in language where this is cumbersome.
        +
        +
        Parameters:
        +
        property - JSON property name or dot separated path selector such as `a.b.c` (required)
        +
        body - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUserInfoCall

        +
        public okhttp3.Call getUserInfoCall(ApiCallback _callback)
        +                             throws ApiException
        +
        Build call for getUserInfo
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUserInfo

        +
        public UserInfoDto getUserInfo()
        +                        throws ApiException
        +
        Get account information for your user
        +
        +
        Returns:
        +
        UserInfoDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUserInfoWithHttpInfo

        +
        public ApiResponse<UserInfoDto> getUserInfoWithHttpInfo()
        +                                                 throws ApiException
        +
        Get account information for your user
        +
        +
        Returns:
        +
        ApiResponse<UserInfoDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getUserInfoAsync

        +
        public okhttp3.Call getUserInfoAsync(ApiCallback<UserInfoDto> _callback)
        +                              throws ApiException
        +
        (asynchronously) + Get account information for your user
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/WaitForControllerApi.html b/site/com/mailslurp/apis/WaitForControllerApi.html new file mode 100644 index 000000000..db000c6c6 --- /dev/null +++ b/site/com/mailslurp/apis/WaitForControllerApi.html @@ -0,0 +1,1811 @@ + + + + + + +WaitForControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class WaitForControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class WaitForControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WaitForControllerApi

        +
        public WaitForControllerApi()
        +
      • +
      + + + +
        +
      • +

        WaitForControllerApi

        +
        public WaitForControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        waitForCall

        +
        public okhttp3.Call waitForCall(WaitForConditions waitForConditions,
        +                                ApiCallback _callback)
        +                         throws ApiException
        +
        Build call for waitFor
        +
        +
        Parameters:
        +
        waitForConditions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitFor

        +
        public List<EmailPreview> waitFor(WaitForConditions waitForConditions)
        +                           throws ApiException
        +
        Wait for an email to match the provided filter conditions such as subject contains keyword. + Generic waitFor method that will wait until an inbox meets given conditions or return immediately if already met
        +
        +
        Parameters:
        +
        waitForConditions - (required)
        +
        Returns:
        +
        List<EmailPreview>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForWithHttpInfo

        +
        public ApiResponse<List<EmailPreview>> waitForWithHttpInfo(WaitForConditions waitForConditions)
        +                                                    throws ApiException
        +
        Wait for an email to match the provided filter conditions such as subject contains keyword. + Generic waitFor method that will wait until an inbox meets given conditions or return immediately if already met
        +
        +
        Parameters:
        +
        waitForConditions - (required)
        +
        Returns:
        +
        ApiResponse<List<EmailPreview>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForAsync

        +
        public okhttp3.Call waitForAsync(WaitForConditions waitForConditions,
        +                                 ApiCallback<List<EmailPreview>> _callback)
        +                          throws ApiException
        +
        Wait for an email to match the provided filter conditions such as subject contains keyword. (asynchronously) + Generic waitFor method that will wait until an inbox meets given conditions or return immediately if already met
        +
        +
        Parameters:
        +
        waitForConditions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForEmailCountCall

        +
        public okhttp3.Call waitForEmailCountCall(UUID inboxId,
        +                                          Integer count,
        +                                          Long timeout,
        +                                          Boolean unreadOnly,
        +                                          OffsetDateTime before,
        +                                          OffsetDateTime since,
        +                                          String sort,
        +                                          Long delay,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for waitForEmailCount
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (required)
        +
        count - Number of emails to wait for. Must be greater that 1 (required)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForEmailCount

        +
        public List<EmailPreview> waitForEmailCount(UUID inboxId,
        +                                            Integer count,
        +                                            Long timeout,
        +                                            Boolean unreadOnly,
        +                                            OffsetDateTime before,
        +                                            OffsetDateTime since,
        +                                            String sort,
        +                                            Long delay)
        +                                     throws ApiException
        +
        Wait for and return count number of emails. Hold connection until inbox count matches expected or timeout occurs + If inbox contains count or more emails at time of request then return count worth of emails. If not wait until the count is reached and return those or return an error if timeout is exceeded.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (required)
        +
        count - Number of emails to wait for. Must be greater that 1 (required)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        Returns:
        +
        List<EmailPreview>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForEmailCountWithHttpInfo

        +
        public ApiResponse<List<EmailPreview>> waitForEmailCountWithHttpInfo(UUID inboxId,
        +                                                                     Integer count,
        +                                                                     Long timeout,
        +                                                                     Boolean unreadOnly,
        +                                                                     OffsetDateTime before,
        +                                                                     OffsetDateTime since,
        +                                                                     String sort,
        +                                                                     Long delay)
        +                                                              throws ApiException
        +
        Wait for and return count number of emails. Hold connection until inbox count matches expected or timeout occurs + If inbox contains count or more emails at time of request then return count worth of emails. If not wait until the count is reached and return those or return an error if timeout is exceeded.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (required)
        +
        count - Number of emails to wait for. Must be greater that 1 (required)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        Returns:
        +
        ApiResponse<List<EmailPreview>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForEmailCountAsync

        +
        public okhttp3.Call waitForEmailCountAsync(UUID inboxId,
        +                                           Integer count,
        +                                           Long timeout,
        +                                           Boolean unreadOnly,
        +                                           OffsetDateTime before,
        +                                           OffsetDateTime since,
        +                                           String sort,
        +                                           Long delay,
        +                                           ApiCallback<List<EmailPreview>> _callback)
        +                                    throws ApiException
        +
        Wait for and return count number of emails. Hold connection until inbox count matches expected or timeout occurs (asynchronously) + If inbox contains count or more emails at time of request then return count worth of emails. If not wait until the count is reached and return those or return an error if timeout is exceeded.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (required)
        +
        count - Number of emails to wait for. Must be greater that 1 (required)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForLatestEmailCall

        +
        public okhttp3.Call waitForLatestEmailCall(UUID inboxId,
        +                                           Long timeout,
        +                                           Boolean unreadOnly,
        +                                           OffsetDateTime before,
        +                                           OffsetDateTime since,
        +                                           String sort,
        +                                           Long delay,
        +                                           ApiCallback _callback)
        +                                    throws ApiException
        +
        Build call for waitForLatestEmail
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (optional)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only. (optional, default to false)
        +
        before - Filter for emails that were before after the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForLatestEmail

        +
        public Email waitForLatestEmail(UUID inboxId,
        +                                Long timeout,
        +                                Boolean unreadOnly,
        +                                OffsetDateTime before,
        +                                OffsetDateTime since,
        +                                String sort,
        +                                Long delay)
        +                         throws ApiException
        +
        Fetch inbox's latest email or if empty wait for an email to arrive + Will return either the last received email or wait for an email to arrive and return that. If you need to wait for an email for a non-empty inbox set `unreadOnly=true` or see the other receive methods such as `waitForNthEmail` or `waitForEmailCount`.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (optional)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only. (optional, default to false)
        +
        before - Filter for emails that were before after the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        Returns:
        +
        Email
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForLatestEmailWithHttpInfo

        +
        public ApiResponse<Email> waitForLatestEmailWithHttpInfo(UUID inboxId,
        +                                                         Long timeout,
        +                                                         Boolean unreadOnly,
        +                                                         OffsetDateTime before,
        +                                                         OffsetDateTime since,
        +                                                         String sort,
        +                                                         Long delay)
        +                                                  throws ApiException
        +
        Fetch inbox's latest email or if empty wait for an email to arrive + Will return either the last received email or wait for an email to arrive and return that. If you need to wait for an email for a non-empty inbox set `unreadOnly=true` or see the other receive methods such as `waitForNthEmail` or `waitForEmailCount`.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (optional)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only. (optional, default to false)
        +
        before - Filter for emails that were before after the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        Returns:
        +
        ApiResponse<Email>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForLatestEmailAsync

        +
        public okhttp3.Call waitForLatestEmailAsync(UUID inboxId,
        +                                            Long timeout,
        +                                            Boolean unreadOnly,
        +                                            OffsetDateTime before,
        +                                            OffsetDateTime since,
        +                                            String sort,
        +                                            Long delay,
        +                                            ApiCallback<Email> _callback)
        +                                     throws ApiException
        +
        Fetch inbox's latest email or if empty wait for an email to arrive (asynchronously) + Will return either the last received email or wait for an email to arrive and return that. If you need to wait for an email for a non-empty inbox set `unreadOnly=true` or see the other receive methods such as `waitForNthEmail` or `waitForEmailCount`.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (optional)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only. (optional, default to false)
        +
        before - Filter for emails that were before after the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForLatestSmsCall

        +
        public okhttp3.Call waitForLatestSmsCall(WaitForSingleSmsOptions waitForSingleSmsOptions,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for waitForLatestSms
        +
        +
        Parameters:
        +
        waitForSingleSmsOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForLatestSms

        +
        public SmsDto waitForLatestSms(WaitForSingleSmsOptions waitForSingleSmsOptions)
        +                        throws ApiException
        +
        Wait for the latest SMS message to match the provided filter conditions such as body contains keyword. + Wait until a phone number meets given conditions or return immediately if already met
        +
        +
        Parameters:
        +
        waitForSingleSmsOptions - (required)
        +
        Returns:
        +
        SmsDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForLatestSmsWithHttpInfo

        +
        public ApiResponse<SmsDto> waitForLatestSmsWithHttpInfo(WaitForSingleSmsOptions waitForSingleSmsOptions)
        +                                                 throws ApiException
        +
        Wait for the latest SMS message to match the provided filter conditions such as body contains keyword. + Wait until a phone number meets given conditions or return immediately if already met
        +
        +
        Parameters:
        +
        waitForSingleSmsOptions - (required)
        +
        Returns:
        +
        ApiResponse<SmsDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForLatestSmsAsync

        +
        public okhttp3.Call waitForLatestSmsAsync(WaitForSingleSmsOptions waitForSingleSmsOptions,
        +                                          ApiCallback<SmsDto> _callback)
        +                                   throws ApiException
        +
        Wait for the latest SMS message to match the provided filter conditions such as body contains keyword. (asynchronously) + Wait until a phone number meets given conditions or return immediately if already met
        +
        +
        Parameters:
        +
        waitForSingleSmsOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForMatchingEmailsCall

        +
        public okhttp3.Call waitForMatchingEmailsCall(UUID inboxId,
        +                                              Integer count,
        +                                              MatchOptions matchOptions,
        +                                              OffsetDateTime before,
        +                                              OffsetDateTime since,
        +                                              String sort,
        +                                              Long delay,
        +                                              Long timeout,
        +                                              Boolean unreadOnly,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for waitForMatchingEmails
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (required)
        +
        count - Number of emails to wait for. Must be greater or equal to 1 (required)
        +
        matchOptions - (required)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForMatchingEmails

        +
        public List<EmailPreview> waitForMatchingEmails(UUID inboxId,
        +                                                Integer count,
        +                                                MatchOptions matchOptions,
        +                                                OffsetDateTime before,
        +                                                OffsetDateTime since,
        +                                                String sort,
        +                                                Long delay,
        +                                                Long timeout,
        +                                                Boolean unreadOnly)
        +                                         throws ApiException
        +
        Wait or return list of emails that match simple matching patterns + Perform a search of emails in an inbox with the given patterns. If results match expected count then return or else retry the search until results are found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (required)
        +
        count - Number of emails to wait for. Must be greater or equal to 1 (required)
        +
        matchOptions - (required)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        Returns:
        +
        List<EmailPreview>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForMatchingEmailsWithHttpInfo

        +
        public ApiResponse<List<EmailPreview>> waitForMatchingEmailsWithHttpInfo(UUID inboxId,
        +                                                                         Integer count,
        +                                                                         MatchOptions matchOptions,
        +                                                                         OffsetDateTime before,
        +                                                                         OffsetDateTime since,
        +                                                                         String sort,
        +                                                                         Long delay,
        +                                                                         Long timeout,
        +                                                                         Boolean unreadOnly)
        +                                                                  throws ApiException
        +
        Wait or return list of emails that match simple matching patterns + Perform a search of emails in an inbox with the given patterns. If results match expected count then return or else retry the search until results are found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (required)
        +
        count - Number of emails to wait for. Must be greater or equal to 1 (required)
        +
        matchOptions - (required)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        Returns:
        +
        ApiResponse<List<EmailPreview>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForMatchingEmailsAsync

        +
        public okhttp3.Call waitForMatchingEmailsAsync(UUID inboxId,
        +                                               Integer count,
        +                                               MatchOptions matchOptions,
        +                                               OffsetDateTime before,
        +                                               OffsetDateTime since,
        +                                               String sort,
        +                                               Long delay,
        +                                               Long timeout,
        +                                               Boolean unreadOnly,
        +                                               ApiCallback<List<EmailPreview>> _callback)
        +                                        throws ApiException
        +
        Wait or return list of emails that match simple matching patterns (asynchronously) + Perform a search of emails in an inbox with the given patterns. If results match expected count then return or else retry the search until results are found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are fetching emails from (required)
        +
        count - Number of emails to wait for. Must be greater or equal to 1 (required)
        +
        matchOptions - (required)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForMatchingFirstEmailCall

        +
        public okhttp3.Call waitForMatchingFirstEmailCall(UUID inboxId,
        +                                                  MatchOptions matchOptions,
        +                                                  Long timeout,
        +                                                  Boolean unreadOnly,
        +                                                  OffsetDateTime since,
        +                                                  OffsetDateTime before,
        +                                                  String sort,
        +                                                  Long delay,
        +                                                  ApiCallback _callback)
        +                                           throws ApiException
        +
        Build call for waitForMatchingFirstEmail
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are matching an email for (required)
        +
        matchOptions - (required)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForMatchingFirstEmail

        +
        public Email waitForMatchingFirstEmail(UUID inboxId,
        +                                       MatchOptions matchOptions,
        +                                       Long timeout,
        +                                       Boolean unreadOnly,
        +                                       OffsetDateTime since,
        +                                       OffsetDateTime before,
        +                                       String sort,
        +                                       Long delay)
        +                                throws ApiException
        +
        Wait for or return the first email that matches provided MatchOptions array + Perform a search of emails in an inbox with the given patterns. If a result if found then return or else retry the search until a result is found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are matching an email for (required)
        +
        matchOptions - (required)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        Returns:
        +
        Email
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForMatchingFirstEmailWithHttpInfo

        +
        public ApiResponse<Email> waitForMatchingFirstEmailWithHttpInfo(UUID inboxId,
        +                                                                MatchOptions matchOptions,
        +                                                                Long timeout,
        +                                                                Boolean unreadOnly,
        +                                                                OffsetDateTime since,
        +                                                                OffsetDateTime before,
        +                                                                String sort,
        +                                                                Long delay)
        +                                                         throws ApiException
        +
        Wait for or return the first email that matches provided MatchOptions array + Perform a search of emails in an inbox with the given patterns. If a result if found then return or else retry the search until a result is found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are matching an email for (required)
        +
        matchOptions - (required)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        Returns:
        +
        ApiResponse<Email>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForMatchingFirstEmailAsync

        +
        public okhttp3.Call waitForMatchingFirstEmailAsync(UUID inboxId,
        +                                                   MatchOptions matchOptions,
        +                                                   Long timeout,
        +                                                   Boolean unreadOnly,
        +                                                   OffsetDateTime since,
        +                                                   OffsetDateTime before,
        +                                                   String sort,
        +                                                   Long delay,
        +                                                   ApiCallback<Email> _callback)
        +                                            throws ApiException
        +
        Wait for or return the first email that matches provided MatchOptions array (asynchronously) + Perform a search of emails in an inbox with the given patterns. If a result if found then return or else retry the search until a result is found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox we are matching an email for (required)
        +
        matchOptions - (required)
        +
        timeout - Max milliseconds to wait (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForNthEmailCall

        +
        public okhttp3.Call waitForNthEmailCall(UUID inboxId,
        +                                        Integer index,
        +                                        Long timeout,
        +                                        Boolean unreadOnly,
        +                                        OffsetDateTime since,
        +                                        OffsetDateTime before,
        +                                        String sort,
        +                                        Long delay,
        +                                        ApiCallback _callback)
        +                                 throws ApiException
        +
        Build call for waitForNthEmail
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox you are fetching emails from (optional)
        +
        index - Zero based index of the email to wait for. If an inbox has 1 email already and you want to wait for the 2nd email pass index=1 (optional, default to 0)
        +
        timeout - Max milliseconds to wait for the nth email if not already present (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForNthEmail

        +
        public Email waitForNthEmail(UUID inboxId,
        +                             Integer index,
        +                             Long timeout,
        +                             Boolean unreadOnly,
        +                             OffsetDateTime since,
        +                             OffsetDateTime before,
        +                             String sort,
        +                             Long delay)
        +                      throws ApiException
        +
        Wait for or fetch the email with a given index in the inbox specified. If index doesn't exist waits for it to exist or timeout to occur. + If nth email is already present in inbox then return it. If not hold the connection open until timeout expires or the nth email is received and returned.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox you are fetching emails from (optional)
        +
        index - Zero based index of the email to wait for. If an inbox has 1 email already and you want to wait for the 2nd email pass index=1 (optional, default to 0)
        +
        timeout - Max milliseconds to wait for the nth email if not already present (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        Returns:
        +
        Email
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForNthEmailWithHttpInfo

        +
        public ApiResponse<Email> waitForNthEmailWithHttpInfo(UUID inboxId,
        +                                                      Integer index,
        +                                                      Long timeout,
        +                                                      Boolean unreadOnly,
        +                                                      OffsetDateTime since,
        +                                                      OffsetDateTime before,
        +                                                      String sort,
        +                                                      Long delay)
        +                                               throws ApiException
        +
        Wait for or fetch the email with a given index in the inbox specified. If index doesn't exist waits for it to exist or timeout to occur. + If nth email is already present in inbox then return it. If not hold the connection open until timeout expires or the nth email is received and returned.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox you are fetching emails from (optional)
        +
        index - Zero based index of the email to wait for. If an inbox has 1 email already and you want to wait for the 2nd email pass index=1 (optional, default to 0)
        +
        timeout - Max milliseconds to wait for the nth email if not already present (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        Returns:
        +
        ApiResponse<Email>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForNthEmailAsync

        +
        public okhttp3.Call waitForNthEmailAsync(UUID inboxId,
        +                                         Integer index,
        +                                         Long timeout,
        +                                         Boolean unreadOnly,
        +                                         OffsetDateTime since,
        +                                         OffsetDateTime before,
        +                                         String sort,
        +                                         Long delay,
        +                                         ApiCallback<Email> _callback)
        +                                  throws ApiException
        +
        Wait for or fetch the email with a given index in the inbox specified. If index doesn't exist waits for it to exist or timeout to occur. (asynchronously) + If nth email is already present in inbox then return it. If not hold the connection open until timeout expires or the nth email is received and returned.
        +
        +
        Parameters:
        +
        inboxId - Id of the inbox you are fetching emails from (optional)
        +
        index - Zero based index of the email to wait for. If an inbox has 1 email already and you want to wait for the 2nd email pass index=1 (optional, default to 0)
        +
        timeout - Max milliseconds to wait for the nth email if not already present (optional)
        +
        unreadOnly - Optional filter for unread only (optional, default to false)
        +
        since - Filter for emails that were received after the given timestamp (optional)
        +
        before - Filter for emails that were received before the given timestamp (optional)
        +
        sort - Sort direction (optional)
        +
        delay - Max milliseconds delay between calls (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForSmsCall

        +
        public okhttp3.Call waitForSmsCall(WaitForSmsConditions waitForSmsConditions,
        +                                   ApiCallback _callback)
        +                            throws ApiException
        +
        Build call for waitForSms
        +
        +
        Parameters:
        +
        waitForSmsConditions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForSms

        +
        public List<SmsPreview> waitForSms(WaitForSmsConditions waitForSmsConditions)
        +                            throws ApiException
        +
        Wait for an SMS message to match the provided filter conditions such as body contains keyword. + Generic waitFor method that will wait until a phone number meets given conditions or return immediately if already met
        +
        +
        Parameters:
        +
        waitForSmsConditions - (required)
        +
        Returns:
        +
        List<SmsPreview>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForSmsWithHttpInfo

        +
        public ApiResponse<List<SmsPreview>> waitForSmsWithHttpInfo(WaitForSmsConditions waitForSmsConditions)
        +                                                     throws ApiException
        +
        Wait for an SMS message to match the provided filter conditions such as body contains keyword. + Generic waitFor method that will wait until a phone number meets given conditions or return immediately if already met
        +
        +
        Parameters:
        +
        waitForSmsConditions - (required)
        +
        Returns:
        +
        ApiResponse<List<SmsPreview>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        waitForSmsAsync

        +
        public okhttp3.Call waitForSmsAsync(WaitForSmsConditions waitForSmsConditions,
        +                                    ApiCallback<List<SmsPreview>> _callback)
        +                             throws ApiException
        +
        Wait for an SMS message to match the provided filter conditions such as body contains keyword. (asynchronously) + Generic waitFor method that will wait until a phone number meets given conditions or return immediately if already met
        +
        +
        Parameters:
        +
        waitForSmsConditions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/WebhookControllerApi.html b/site/com/mailslurp/apis/WebhookControllerApi.html new file mode 100644 index 000000000..90a1d0f29 --- /dev/null +++ b/site/com/mailslurp/apis/WebhookControllerApi.html @@ -0,0 +1,4948 @@ + + + + + + +WebhookControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.apis
+

Class WebhookControllerApi

+
+
+ +
+
    +
  • +
    +
    +
    public class WebhookControllerApi
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WebhookControllerApi

        +
        public WebhookControllerApi()
        +
      • +
      + + + +
        +
      • +

        WebhookControllerApi

        +
        public WebhookControllerApi(ApiClient apiClient)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApiClient

        +
        public ApiClient getApiClient()
        +
      • +
      + + + +
        +
      • +

        setApiClient

        +
        public void setApiClient(ApiClient apiClient)
        +
      • +
      + + + +
        +
      • +

        getHostIndex

        +
        public int getHostIndex()
        +
      • +
      + + + +
        +
      • +

        setHostIndex

        +
        public void setHostIndex(int hostIndex)
        +
      • +
      + + + +
        +
      • +

        getCustomBaseUrl

        +
        public String getCustomBaseUrl()
        +
      • +
      + + + +
        +
      • +

        setCustomBaseUrl

        +
        public void setCustomBaseUrl(String customBaseUrl)
        +
      • +
      + + + +
        +
      • +

        createAccountWebhookCall

        +
        public okhttp3.Call createAccountWebhookCall(CreateWebhookOptions createWebhookOptions,
        +                                             ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for createAccountWebhook
        +
        +
        Parameters:
        +
        createWebhookOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createAccountWebhook

        +
        public WebhookDto createAccountWebhook(CreateWebhookOptions createWebhookOptions)
        +                                throws ApiException
        +
        Attach a WebHook URL to an inbox + Get notified of account level events such as bounce and bounce recipient.
        +
        +
        Parameters:
        +
        createWebhookOptions - (required)
        +
        Returns:
        +
        WebhookDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createAccountWebhookWithHttpInfo

        +
        public ApiResponse<WebhookDto> createAccountWebhookWithHttpInfo(CreateWebhookOptions createWebhookOptions)
        +                                                         throws ApiException
        +
        Attach a WebHook URL to an inbox + Get notified of account level events such as bounce and bounce recipient.
        +
        +
        Parameters:
        +
        createWebhookOptions - (required)
        +
        Returns:
        +
        ApiResponse<WebhookDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createAccountWebhookAsync

        +
        public okhttp3.Call createAccountWebhookAsync(CreateWebhookOptions createWebhookOptions,
        +                                              ApiCallback<WebhookDto> _callback)
        +                                       throws ApiException
        +
        Attach a WebHook URL to an inbox (asynchronously) + Get notified of account level events such as bounce and bounce recipient.
        +
        +
        Parameters:
        +
        createWebhookOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createWebhookCall

        +
        public okhttp3.Call createWebhookCall(UUID inboxId,
        +                                      CreateWebhookOptions createWebhookOptions,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for createWebhook
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        createWebhookOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createWebhook

        +
        public WebhookDto createWebhook(UUID inboxId,
        +                                CreateWebhookOptions createWebhookOptions)
        +                         throws ApiException
        +
        Attach a WebHook URL to an inbox + Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        createWebhookOptions - (required)
        +
        Returns:
        +
        WebhookDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createWebhookWithHttpInfo

        +
        public ApiResponse<WebhookDto> createWebhookWithHttpInfo(UUID inboxId,
        +                                                         CreateWebhookOptions createWebhookOptions)
        +                                                  throws ApiException
        +
        Attach a WebHook URL to an inbox + Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        createWebhookOptions - (required)
        +
        Returns:
        +
        ApiResponse<WebhookDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createWebhookAsync

        +
        public okhttp3.Call createWebhookAsync(UUID inboxId,
        +                                       CreateWebhookOptions createWebhookOptions,
        +                                       ApiCallback<WebhookDto> _callback)
        +                                throws ApiException
        +
        Attach a WebHook URL to an inbox (asynchronously) + Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint.
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        createWebhookOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createWebhookForPhoneNumberCall

        +
        public okhttp3.Call createWebhookForPhoneNumberCall(UUID phoneNumberId,
        +                                                    CreateWebhookOptions createWebhookOptions,
        +                                                    ApiCallback _callback)
        +                                             throws ApiException
        +
        Build call for createWebhookForPhoneNumber
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        createWebhookOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createWebhookForPhoneNumber

        +
        public WebhookDto createWebhookForPhoneNumber(UUID phoneNumberId,
        +                                              CreateWebhookOptions createWebhookOptions)
        +                                       throws ApiException
        +
        Attach a WebHook URL to a phone number + Get notified whenever a phone number receives an SMS via a WebHook URL.
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        createWebhookOptions - (required)
        +
        Returns:
        +
        WebhookDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createWebhookForPhoneNumberWithHttpInfo

        +
        public ApiResponse<WebhookDto> createWebhookForPhoneNumberWithHttpInfo(UUID phoneNumberId,
        +                                                                       CreateWebhookOptions createWebhookOptions)
        +                                                                throws ApiException
        +
        Attach a WebHook URL to a phone number + Get notified whenever a phone number receives an SMS via a WebHook URL.
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        createWebhookOptions - (required)
        +
        Returns:
        +
        ApiResponse<WebhookDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        createWebhookForPhoneNumberAsync

        +
        public okhttp3.Call createWebhookForPhoneNumberAsync(UUID phoneNumberId,
        +                                                     CreateWebhookOptions createWebhookOptions,
        +                                                     ApiCallback<WebhookDto> _callback)
        +                                              throws ApiException
        +
        Attach a WebHook URL to a phone number (asynchronously) + Get notified whenever a phone number receives an SMS via a WebHook URL.
        +
        +
        Parameters:
        +
        phoneNumberId - (required)
        +
        createWebhookOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllWebhooksCall

        +
        public okhttp3.Call deleteAllWebhooksCall(OffsetDateTime before,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for deleteAllWebhooks
        +
        +
        Parameters:
        +
        before - before (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllWebhooks

        +
        public void deleteAllWebhooks(OffsetDateTime before)
        +                       throws ApiException
        +
        Delete all webhooks
        +
        +
        Parameters:
        +
        before - before (optional)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllWebhooksWithHttpInfo

        +
        public ApiResponse<Void> deleteAllWebhooksWithHttpInfo(OffsetDateTime before)
        +                                                throws ApiException
        +
        Delete all webhooks
        +
        +
        Parameters:
        +
        before - before (optional)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteAllWebhooksAsync

        +
        public okhttp3.Call deleteAllWebhooksAsync(OffsetDateTime before,
        +                                           ApiCallback<Void> _callback)
        +                                    throws ApiException
        +
        Delete all webhooks (asynchronously)
        +
        +
        Parameters:
        +
        before - before (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteWebhookCall

        +
        public okhttp3.Call deleteWebhookCall(UUID inboxId,
        +                                      UUID webhookId,
        +                                      ApiCallback _callback)
        +                               throws ApiException
        +
        Build call for deleteWebhook
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        webhookId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteWebhook

        +
        public void deleteWebhook(UUID inboxId,
        +                          UUID webhookId)
        +                   throws ApiException
        +
        Delete and disable a Webhook for an Inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        webhookId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteWebhookWithHttpInfo

        +
        public ApiResponse<Void> deleteWebhookWithHttpInfo(UUID inboxId,
        +                                                   UUID webhookId)
        +                                            throws ApiException
        +
        Delete and disable a Webhook for an Inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        webhookId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteWebhookAsync

        +
        public okhttp3.Call deleteWebhookAsync(UUID inboxId,
        +                                       UUID webhookId,
        +                                       ApiCallback<Void> _callback)
        +                                throws ApiException
        +
        Delete and disable a Webhook for an Inbox (asynchronously)
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        webhookId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        204 No Content -
        +
        +
      • +
      + + + +
        +
      • +

        deleteWebhookByIdCall

        +
        public okhttp3.Call deleteWebhookByIdCall(UUID webhookId,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for deleteWebhookById
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deleteWebhookById

        +
        public void deleteWebhookById(UUID webhookId)
        +                       throws ApiException
        +
        Delete a webhook
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deleteWebhookByIdWithHttpInfo

        +
        public ApiResponse<Void> deleteWebhookByIdWithHttpInfo(UUID webhookId)
        +                                                throws ApiException
        +
        Delete a webhook
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        Returns:
        +
        ApiResponse<Void>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        deleteWebhookByIdAsync

        +
        public okhttp3.Call deleteWebhookByIdAsync(UUID webhookId,
        +                                           ApiCallback<Void> _callback)
        +                                    throws ApiException
        +
        Delete a webhook (asynchronously)
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllAccountWebhooksCall

        +
        public okhttp3.Call getAllAccountWebhooksCall(Integer page,
        +                                              Integer size,
        +                                              String sort,
        +                                              String eventType,
        +                                              OffsetDateTime since,
        +                                              OffsetDateTime before,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for getAllAccountWebhooks
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        eventType - Optional event type (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllAccountWebhooks

        +
        public PageWebhookProjection getAllAccountWebhooks(Integer page,
        +                                                   Integer size,
        +                                                   String sort,
        +                                                   String eventType,
        +                                                   OffsetDateTime since,
        +                                                   OffsetDateTime before)
        +                                            throws ApiException
        +
        List account webhooks Paginated + List account webhooks in paginated form. Allows for page index, page size, and sort direction.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        eventType - Optional event type (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageWebhookProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllAccountWebhooksWithHttpInfo

        +
        public ApiResponse<PageWebhookProjection> getAllAccountWebhooksWithHttpInfo(Integer page,
        +                                                                            Integer size,
        +                                                                            String sort,
        +                                                                            String eventType,
        +                                                                            OffsetDateTime since,
        +                                                                            OffsetDateTime before)
        +                                                                     throws ApiException
        +
        List account webhooks Paginated + List account webhooks in paginated form. Allows for page index, page size, and sort direction.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        eventType - Optional event type (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageWebhookProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllAccountWebhooksAsync

        +
        public okhttp3.Call getAllAccountWebhooksAsync(Integer page,
        +                                               Integer size,
        +                                               String sort,
        +                                               String eventType,
        +                                               OffsetDateTime since,
        +                                               OffsetDateTime before,
        +                                               ApiCallback<PageWebhookProjection> _callback)
        +                                        throws ApiException
        +
        List account webhooks Paginated (asynchronously) + List account webhooks in paginated form. Allows for page index, page size, and sort direction.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        eventType - Optional event type (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllWebhookResultsCall

        +
        public okhttp3.Call getAllWebhookResultsCall(Integer page,
        +                                             Integer size,
        +                                             String sort,
        +                                             String searchFilter,
        +                                             OffsetDateTime since,
        +                                             OffsetDateTime before,
        +                                             Boolean unseenOnly,
        +                                             ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for getAllWebhookResults
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        unseenOnly - Filter for unseen exceptions only (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllWebhookResults

        +
        public PageWebhookResult getAllWebhookResults(Integer page,
        +                                              Integer size,
        +                                              String sort,
        +                                              String searchFilter,
        +                                              OffsetDateTime since,
        +                                              OffsetDateTime before,
        +                                              Boolean unseenOnly)
        +                                       throws ApiException
        +
        Get results for all webhooks
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        unseenOnly - Filter for unseen exceptions only (optional)
        +
        Returns:
        +
        PageWebhookResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllWebhookResultsWithHttpInfo

        +
        public ApiResponse<PageWebhookResult> getAllWebhookResultsWithHttpInfo(Integer page,
        +                                                                       Integer size,
        +                                                                       String sort,
        +                                                                       String searchFilter,
        +                                                                       OffsetDateTime since,
        +                                                                       OffsetDateTime before,
        +                                                                       Boolean unseenOnly)
        +                                                                throws ApiException
        +
        Get results for all webhooks
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        unseenOnly - Filter for unseen exceptions only (optional)
        +
        Returns:
        +
        ApiResponse<PageWebhookResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllWebhookResultsAsync

        +
        public okhttp3.Call getAllWebhookResultsAsync(Integer page,
        +                                              Integer size,
        +                                              String sort,
        +                                              String searchFilter,
        +                                              OffsetDateTime since,
        +                                              OffsetDateTime before,
        +                                              Boolean unseenOnly,
        +                                              ApiCallback<PageWebhookResult> _callback)
        +                                       throws ApiException
        +
        Get results for all webhooks (asynchronously)
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        unseenOnly - Filter for unseen exceptions only (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllWebhooksCall

        +
        public okhttp3.Call getAllWebhooksCall(Integer page,
        +                                       Integer size,
        +                                       String sort,
        +                                       String searchFilter,
        +                                       OffsetDateTime since,
        +                                       UUID inboxId,
        +                                       UUID phoneId,
        +                                       OffsetDateTime before,
        +                                       ApiCallback _callback)
        +                                throws ApiException
        +
        Build call for getAllWebhooks
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        inboxId - Filter by inboxId (optional)
        +
        phoneId - Filter by phoneId (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllWebhooks

        +
        public PageWebhookProjection getAllWebhooks(Integer page,
        +                                            Integer size,
        +                                            String sort,
        +                                            String searchFilter,
        +                                            OffsetDateTime since,
        +                                            UUID inboxId,
        +                                            UUID phoneId,
        +                                            OffsetDateTime before)
        +                                     throws ApiException
        +
        List Webhooks Paginated + List webhooks in paginated form. Allows for page index, page size, and sort direction.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        inboxId - Filter by inboxId (optional)
        +
        phoneId - Filter by phoneId (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageWebhookProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllWebhooksWithHttpInfo

        +
        public ApiResponse<PageWebhookProjection> getAllWebhooksWithHttpInfo(Integer page,
        +                                                                     Integer size,
        +                                                                     String sort,
        +                                                                     String searchFilter,
        +                                                                     OffsetDateTime since,
        +                                                                     UUID inboxId,
        +                                                                     UUID phoneId,
        +                                                                     OffsetDateTime before)
        +                                                              throws ApiException
        +
        List Webhooks Paginated + List webhooks in paginated form. Allows for page index, page size, and sort direction.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        inboxId - Filter by inboxId (optional)
        +
        phoneId - Filter by phoneId (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageWebhookProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getAllWebhooksAsync

        +
        public okhttp3.Call getAllWebhooksAsync(Integer page,
        +                                        Integer size,
        +                                        String sort,
        +                                        String searchFilter,
        +                                        OffsetDateTime since,
        +                                        UUID inboxId,
        +                                        UUID phoneId,
        +                                        OffsetDateTime before,
        +                                        ApiCallback<PageWebhookProjection> _callback)
        +                                 throws ApiException
        +
        List Webhooks Paginated (asynchronously) + List webhooks in paginated form. Allows for page index, page size, and sort direction.
        +
        +
        Parameters:
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size for paginated result list. (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to DESC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        inboxId - Filter by inboxId (optional)
        +
        phoneId - Filter by phoneId (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxWebhooksPaginatedCall

        +
        public okhttp3.Call getInboxWebhooksPaginatedCall(UUID inboxId,
        +                                                  Integer page,
        +                                                  Integer size,
        +                                                  String sort,
        +                                                  String searchFilter,
        +                                                  OffsetDateTime since,
        +                                                  OffsetDateTime before,
        +                                                  ApiCallback _callback)
        +                                           throws ApiException
        +
        Build call for getInboxWebhooksPaginated
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxWebhooksPaginated

        +
        public PageWebhookProjection getInboxWebhooksPaginated(UUID inboxId,
        +                                                       Integer page,
        +                                                       Integer size,
        +                                                       String sort,
        +                                                       String searchFilter,
        +                                                       OffsetDateTime since,
        +                                                       OffsetDateTime before)
        +                                                throws ApiException
        +
        Get paginated webhooks for an Inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageWebhookProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxWebhooksPaginatedWithHttpInfo

        +
        public ApiResponse<PageWebhookProjection> getInboxWebhooksPaginatedWithHttpInfo(UUID inboxId,
        +                                                                                Integer page,
        +                                                                                Integer size,
        +                                                                                String sort,
        +                                                                                String searchFilter,
        +                                                                                OffsetDateTime since,
        +                                                                                OffsetDateTime before)
        +                                                                         throws ApiException
        +
        Get paginated webhooks for an Inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageWebhookProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getInboxWebhooksPaginatedAsync

        +
        public okhttp3.Call getInboxWebhooksPaginatedAsync(UUID inboxId,
        +                                                   Integer page,
        +                                                   Integer size,
        +                                                   String sort,
        +                                                   String searchFilter,
        +                                                   OffsetDateTime since,
        +                                                   OffsetDateTime before,
        +                                                   ApiCallback<PageWebhookProjection> _callback)
        +                                            throws ApiException
        +
        Get paginated webhooks for an Inbox (asynchronously)
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getJsonSchemaForWebhookEventCall

        +
        public okhttp3.Call getJsonSchemaForWebhookEventCall(String event,
        +                                                     ApiCallback _callback)
        +                                              throws ApiException
        +
        Build call for getJsonSchemaForWebhookEvent
        +
        +
        Parameters:
        +
        event - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getJsonSchemaForWebhookEvent

        +
        public JSONSchemaDto getJsonSchemaForWebhookEvent(String event)
        +                                           throws ApiException
        +
        Get JSON Schema definition for webhook payload by event
        +
        +
        Parameters:
        +
        event - (required)
        +
        Returns:
        +
        JSONSchemaDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getJsonSchemaForWebhookEventWithHttpInfo

        +
        public ApiResponse<JSONSchemaDto> getJsonSchemaForWebhookEventWithHttpInfo(String event)
        +                                                                    throws ApiException
        +
        Get JSON Schema definition for webhook payload by event
        +
        +
        Parameters:
        +
        event - (required)
        +
        Returns:
        +
        ApiResponse<JSONSchemaDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getJsonSchemaForWebhookEventAsync

        +
        public okhttp3.Call getJsonSchemaForWebhookEventAsync(String event,
        +                                                      ApiCallback<JSONSchemaDto> _callback)
        +                                               throws ApiException
        +
        (asynchronously) + Get JSON Schema definition for webhook payload by event
        +
        +
        Parameters:
        +
        event - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getJsonSchemaForWebhookPayloadCall

        +
        public okhttp3.Call getJsonSchemaForWebhookPayloadCall(UUID webhookId,
        +                                                       ApiCallback _callback)
        +                                                throws ApiException
        +
        Build call for getJsonSchemaForWebhookPayload
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getJsonSchemaForWebhookPayload

        +
        public JSONSchemaDto getJsonSchemaForWebhookPayload(UUID webhookId)
        +                                             throws ApiException
        +
        Get JSON Schema definition for webhook payload
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        Returns:
        +
        JSONSchemaDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getJsonSchemaForWebhookPayloadWithHttpInfo

        +
        public ApiResponse<JSONSchemaDto> getJsonSchemaForWebhookPayloadWithHttpInfo(UUID webhookId)
        +                                                                      throws ApiException
        +
        Get JSON Schema definition for webhook payload
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        Returns:
        +
        ApiResponse<JSONSchemaDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getJsonSchemaForWebhookPayloadAsync

        +
        public okhttp3.Call getJsonSchemaForWebhookPayloadAsync(UUID webhookId,
        +                                                        ApiCallback<JSONSchemaDto> _callback)
        +                                                 throws ApiException
        +
        (asynchronously) + Get JSON Schema definition for webhook payload
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumberWebhooksPaginatedCall

        +
        public okhttp3.Call getPhoneNumberWebhooksPaginatedCall(UUID phoneId,
        +                                                        Integer page,
        +                                                        Integer size,
        +                                                        String sort,
        +                                                        OffsetDateTime since,
        +                                                        OffsetDateTime before,
        +                                                        ApiCallback _callback)
        +                                                 throws ApiException
        +
        Build call for getPhoneNumberWebhooksPaginated
        +
        +
        Parameters:
        +
        phoneId - (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumberWebhooksPaginated

        +
        public PageWebhookProjection getPhoneNumberWebhooksPaginated(UUID phoneId,
        +                                                             Integer page,
        +                                                             Integer size,
        +                                                             String sort,
        +                                                             OffsetDateTime since,
        +                                                             OffsetDateTime before)
        +                                                      throws ApiException
        +
        Get paginated webhooks for a phone number
        +
        +
        Parameters:
        +
        phoneId - (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        PageWebhookProjection
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumberWebhooksPaginatedWithHttpInfo

        +
        public ApiResponse<PageWebhookProjection> getPhoneNumberWebhooksPaginatedWithHttpInfo(UUID phoneId,
        +                                                                                      Integer page,
        +                                                                                      Integer size,
        +                                                                                      String sort,
        +                                                                                      OffsetDateTime since,
        +                                                                                      OffsetDateTime before)
        +                                                                               throws ApiException
        +
        Get paginated webhooks for a phone number
        +
        +
        Parameters:
        +
        phoneId - (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        Returns:
        +
        ApiResponse<PageWebhookProjection>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getPhoneNumberWebhooksPaginatedAsync

        +
        public okhttp3.Call getPhoneNumberWebhooksPaginatedAsync(UUID phoneId,
        +                                                         Integer page,
        +                                                         Integer size,
        +                                                         String sort,
        +                                                         OffsetDateTime since,
        +                                                         OffsetDateTime before,
        +                                                         ApiCallback<PageWebhookProjection> _callback)
        +                                                  throws ApiException
        +
        Get paginated webhooks for a phone number (asynchronously)
        +
        +
        Parameters:
        +
        phoneId - (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadCall

        +
        public okhttp3.Call getTestWebhookPayloadCall(String eventName,
        +                                              ApiCallback _callback)
        +                                       throws ApiException
        +
        Build call for getTestWebhookPayload
        +
        +
        Parameters:
        +
        eventName - (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayload

        +
        public AbstractWebhookPayload getTestWebhookPayload(String eventName)
        +                                             throws ApiException
        +
        Get test webhook payload example. Response content depends on eventName passed. Uses `EMAIL_RECEIVED` as default.
        +
        +
        Parameters:
        +
        eventName - (optional)
        +
        Returns:
        +
        AbstractWebhookPayload
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadWithHttpInfo

        +
        public ApiResponse<AbstractWebhookPayload> getTestWebhookPayloadWithHttpInfo(String eventName)
        +                                                                      throws ApiException
        +
        Get test webhook payload example. Response content depends on eventName passed. Uses `EMAIL_RECEIVED` as default.
        +
        +
        Parameters:
        +
        eventName - (optional)
        +
        Returns:
        +
        ApiResponse<AbstractWebhookPayload>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadAsync

        +
        public okhttp3.Call getTestWebhookPayloadAsync(String eventName,
        +                                               ApiCallback<AbstractWebhookPayload> _callback)
        +                                        throws ApiException
        +
        (asynchronously) + Get test webhook payload example. Response content depends on eventName passed. Uses `EMAIL_RECEIVED` as default.
        +
        +
        Parameters:
        +
        eventName - (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadBounceCall

        +
        public okhttp3.Call getTestWebhookPayloadBounceCall(ApiCallback _callback)
        +                                             throws ApiException
        +
        Build call for getTestWebhookPayloadBounce
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadBounce

        +
        public WebhookBouncePayload getTestWebhookPayloadBounce()
        +                                                 throws ApiException
        +
        Get webhook test payload for bounce
        +
        +
        Returns:
        +
        WebhookBouncePayload
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadBounceWithHttpInfo

        +
        public ApiResponse<WebhookBouncePayload> getTestWebhookPayloadBounceWithHttpInfo()
        +                                                                          throws ApiException
        +
        Get webhook test payload for bounce
        +
        +
        Returns:
        +
        ApiResponse<WebhookBouncePayload>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadBounceAsync

        +
        public okhttp3.Call getTestWebhookPayloadBounceAsync(ApiCallback<WebhookBouncePayload> _callback)
        +                                              throws ApiException
        +
        (asynchronously) + Get webhook test payload for bounce
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadBounceRecipientCall

        +
        public okhttp3.Call getTestWebhookPayloadBounceRecipientCall(ApiCallback _callback)
        +                                                      throws ApiException
        +
        Build call for getTestWebhookPayloadBounceRecipient
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadBounceRecipient

        +
        public WebhookBounceRecipientPayload getTestWebhookPayloadBounceRecipient()
        +                                                                   throws ApiException
        +
        Get webhook test payload for bounce recipient
        +
        +
        Returns:
        +
        WebhookBounceRecipientPayload
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadBounceRecipientWithHttpInfo

        +
        public ApiResponse<WebhookBounceRecipientPayload> getTestWebhookPayloadBounceRecipientWithHttpInfo()
        +                                                                                            throws ApiException
        +
        Get webhook test payload for bounce recipient
        +
        +
        Returns:
        +
        ApiResponse<WebhookBounceRecipientPayload>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadBounceRecipientAsync

        +
        public okhttp3.Call getTestWebhookPayloadBounceRecipientAsync(ApiCallback<WebhookBounceRecipientPayload> _callback)
        +                                                       throws ApiException
        +
        (asynchronously) + Get webhook test payload for bounce recipient
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadDeliveryStatusCall

        +
        public okhttp3.Call getTestWebhookPayloadDeliveryStatusCall(ApiCallback _callback)
        +                                                     throws ApiException
        +
        Build call for getTestWebhookPayloadDeliveryStatus
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadDeliveryStatus

        +
        public WebhookDeliveryStatusPayload getTestWebhookPayloadDeliveryStatus()
        +                                                                 throws ApiException
        +
        Get webhook test payload for delivery status event
        +
        +
        Returns:
        +
        WebhookDeliveryStatusPayload
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadDeliveryStatusWithHttpInfo

        +
        public ApiResponse<WebhookDeliveryStatusPayload> getTestWebhookPayloadDeliveryStatusWithHttpInfo()
        +                                                                                          throws ApiException
        +
        Get webhook test payload for delivery status event
        +
        +
        Returns:
        +
        ApiResponse<WebhookDeliveryStatusPayload>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadDeliveryStatusAsync

        +
        public okhttp3.Call getTestWebhookPayloadDeliveryStatusAsync(ApiCallback<WebhookDeliveryStatusPayload> _callback)
        +                                                      throws ApiException
        +
        Get webhook test payload for delivery status event (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadEmailOpenedCall

        +
        public okhttp3.Call getTestWebhookPayloadEmailOpenedCall(ApiCallback _callback)
        +                                                  throws ApiException
        +
        Build call for getTestWebhookPayloadEmailOpened
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadEmailOpened

        +
        public WebhookEmailOpenedPayload getTestWebhookPayloadEmailOpened()
        +                                                           throws ApiException
        +
        Get webhook test payload for email opened event
        +
        +
        Returns:
        +
        WebhookEmailOpenedPayload
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadEmailOpenedWithHttpInfo

        +
        public ApiResponse<WebhookEmailOpenedPayload> getTestWebhookPayloadEmailOpenedWithHttpInfo()
        +                                                                                    throws ApiException
        +
        Get webhook test payload for email opened event
        +
        +
        Returns:
        +
        ApiResponse<WebhookEmailOpenedPayload>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadEmailOpenedAsync

        +
        public okhttp3.Call getTestWebhookPayloadEmailOpenedAsync(ApiCallback<WebhookEmailOpenedPayload> _callback)
        +                                                   throws ApiException
        +
        (asynchronously) + Get webhook test payload for email opened event
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadEmailReadCall

        +
        public okhttp3.Call getTestWebhookPayloadEmailReadCall(ApiCallback _callback)
        +                                                throws ApiException
        +
        Build call for getTestWebhookPayloadEmailRead
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadEmailRead

        +
        public WebhookEmailReadPayload getTestWebhookPayloadEmailRead()
        +                                                       throws ApiException
        +
        Get webhook test payload for email opened event
        +
        +
        Returns:
        +
        WebhookEmailReadPayload
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadEmailReadWithHttpInfo

        +
        public ApiResponse<WebhookEmailReadPayload> getTestWebhookPayloadEmailReadWithHttpInfo()
        +                                                                                throws ApiException
        +
        Get webhook test payload for email opened event
        +
        +
        Returns:
        +
        ApiResponse<WebhookEmailReadPayload>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadEmailReadAsync

        +
        public okhttp3.Call getTestWebhookPayloadEmailReadAsync(ApiCallback<WebhookEmailReadPayload> _callback)
        +                                                 throws ApiException
        +
        (asynchronously) + Get webhook test payload for email opened event
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadForWebhookCall

        +
        public okhttp3.Call getTestWebhookPayloadForWebhookCall(UUID webhookId,
        +                                                        ApiCallback _callback)
        +                                                 throws ApiException
        +
        Build call for getTestWebhookPayloadForWebhook
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadForWebhook

        +
        public AbstractWebhookPayload getTestWebhookPayloadForWebhook(UUID webhookId)
        +                                                       throws ApiException
        +
        Get example payload for webhook
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        Returns:
        +
        AbstractWebhookPayload
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadForWebhookWithHttpInfo

        +
        public ApiResponse<AbstractWebhookPayload> getTestWebhookPayloadForWebhookWithHttpInfo(UUID webhookId)
        +                                                                                throws ApiException
        +
        Get example payload for webhook
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        Returns:
        +
        ApiResponse<AbstractWebhookPayload>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadForWebhookAsync

        +
        public okhttp3.Call getTestWebhookPayloadForWebhookAsync(UUID webhookId,
        +                                                         ApiCallback<AbstractWebhookPayload> _callback)
        +                                                  throws ApiException
        +
        (asynchronously) + Get example payload for webhook
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewAttachmentCall

        +
        public okhttp3.Call getTestWebhookPayloadNewAttachmentCall(ApiCallback _callback)
        +                                                    throws ApiException
        +
        Build call for getTestWebhookPayloadNewAttachment
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewAttachment

        +
        public WebhookNewAttachmentPayload getTestWebhookPayloadNewAttachment()
        +                                                               throws ApiException
        +
        Get webhook test payload for new attachment event
        +
        +
        Returns:
        +
        WebhookNewAttachmentPayload
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewAttachmentWithHttpInfo

        +
        public ApiResponse<WebhookNewAttachmentPayload> getTestWebhookPayloadNewAttachmentWithHttpInfo()
        +                                                                                        throws ApiException
        +
        Get webhook test payload for new attachment event
        +
        +
        Returns:
        +
        ApiResponse<WebhookNewAttachmentPayload>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewAttachmentAsync

        +
        public okhttp3.Call getTestWebhookPayloadNewAttachmentAsync(ApiCallback<WebhookNewAttachmentPayload> _callback)
        +                                                     throws ApiException
        +
        Get webhook test payload for new attachment event (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewContactCall

        +
        public okhttp3.Call getTestWebhookPayloadNewContactCall(ApiCallback _callback)
        +                                                 throws ApiException
        +
        Build call for getTestWebhookPayloadNewContact
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewContact

        +
        public WebhookNewContactPayload getTestWebhookPayloadNewContact()
        +                                                         throws ApiException
        +
        Get webhook test payload for new contact event
        +
        +
        Returns:
        +
        WebhookNewContactPayload
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewContactWithHttpInfo

        +
        public ApiResponse<WebhookNewContactPayload> getTestWebhookPayloadNewContactWithHttpInfo()
        +                                                                                  throws ApiException
        +
        Get webhook test payload for new contact event
        +
        +
        Returns:
        +
        ApiResponse<WebhookNewContactPayload>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewContactAsync

        +
        public okhttp3.Call getTestWebhookPayloadNewContactAsync(ApiCallback<WebhookNewContactPayload> _callback)
        +                                                  throws ApiException
        +
        Get webhook test payload for new contact event (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewEmailCall

        +
        public okhttp3.Call getTestWebhookPayloadNewEmailCall(ApiCallback _callback)
        +                                               throws ApiException
        +
        Build call for getTestWebhookPayloadNewEmail
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewEmail

        +
        public WebhookNewEmailPayload getTestWebhookPayloadNewEmail()
        +                                                     throws ApiException
        +
        Get webhook test payload for new email event
        +
        +
        Returns:
        +
        WebhookNewEmailPayload
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewEmailWithHttpInfo

        +
        public ApiResponse<WebhookNewEmailPayload> getTestWebhookPayloadNewEmailWithHttpInfo()
        +                                                                              throws ApiException
        +
        Get webhook test payload for new email event
        +
        +
        Returns:
        +
        ApiResponse<WebhookNewEmailPayload>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewEmailAsync

        +
        public okhttp3.Call getTestWebhookPayloadNewEmailAsync(ApiCallback<WebhookNewEmailPayload> _callback)
        +                                                throws ApiException
        +
        Get webhook test payload for new email event (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewSmsCall

        +
        public okhttp3.Call getTestWebhookPayloadNewSmsCall(ApiCallback _callback)
        +                                             throws ApiException
        +
        Build call for getTestWebhookPayloadNewSms
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewSms

        +
        public WebhookNewSmsPayload getTestWebhookPayloadNewSms()
        +                                                 throws ApiException
        +
        Get webhook test payload for new sms event
        +
        +
        Returns:
        +
        WebhookNewSmsPayload
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewSmsWithHttpInfo

        +
        public ApiResponse<WebhookNewSmsPayload> getTestWebhookPayloadNewSmsWithHttpInfo()
        +                                                                          throws ApiException
        +
        Get webhook test payload for new sms event
        +
        +
        Returns:
        +
        ApiResponse<WebhookNewSmsPayload>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getTestWebhookPayloadNewSmsAsync

        +
        public okhttp3.Call getTestWebhookPayloadNewSmsAsync(ApiCallback<WebhookNewSmsPayload> _callback)
        +                                              throws ApiException
        +
        Get webhook test payload for new sms event (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookCall

        +
        public okhttp3.Call getWebhookCall(UUID webhookId,
        +                                   ApiCallback _callback)
        +                            throws ApiException
        +
        Build call for getWebhook
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhook

        +
        public WebhookDto getWebhook(UUID webhookId)
        +                      throws ApiException
        +
        Get a webhook
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        Returns:
        +
        WebhookDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookWithHttpInfo

        +
        public ApiResponse<WebhookDto> getWebhookWithHttpInfo(UUID webhookId)
        +                                               throws ApiException
        +
        Get a webhook
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        Returns:
        +
        ApiResponse<WebhookDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookAsync

        +
        public okhttp3.Call getWebhookAsync(UUID webhookId,
        +                                    ApiCallback<WebhookDto> _callback)
        +                             throws ApiException
        +
        Get a webhook (asynchronously)
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResultCall

        +
        public okhttp3.Call getWebhookResultCall(UUID webhookResultId,
        +                                         ApiCallback _callback)
        +                                  throws ApiException
        +
        Build call for getWebhookResult
        +
        +
        Parameters:
        +
        webhookResultId - Webhook Result ID (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResult

        +
        public WebhookResultDto getWebhookResult(UUID webhookResultId)
        +                                  throws ApiException
        +
        Get a webhook result for a webhook
        +
        +
        Parameters:
        +
        webhookResultId - Webhook Result ID (required)
        +
        Returns:
        +
        WebhookResultDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResultWithHttpInfo

        +
        public ApiResponse<WebhookResultDto> getWebhookResultWithHttpInfo(UUID webhookResultId)
        +                                                           throws ApiException
        +
        Get a webhook result for a webhook
        +
        +
        Parameters:
        +
        webhookResultId - Webhook Result ID (required)
        +
        Returns:
        +
        ApiResponse<WebhookResultDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResultAsync

        +
        public okhttp3.Call getWebhookResultAsync(UUID webhookResultId,
        +                                          ApiCallback<WebhookResultDto> _callback)
        +                                   throws ApiException
        +
        Get a webhook result for a webhook (asynchronously)
        +
        +
        Parameters:
        +
        webhookResultId - Webhook Result ID (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResultsCall

        +
        public okhttp3.Call getWebhookResultsCall(UUID webhookId,
        +                                          Integer page,
        +                                          Integer size,
        +                                          String sort,
        +                                          String searchFilter,
        +                                          OffsetDateTime since,
        +                                          OffsetDateTime before,
        +                                          Boolean unseenOnly,
        +                                          ApiCallback _callback)
        +                                   throws ApiException
        +
        Build call for getWebhookResults
        +
        +
        Parameters:
        +
        webhookId - ID of webhook to get results for (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        unseenOnly - Filter for unseen exceptions only (optional)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResults

        +
        public PageWebhookResult getWebhookResults(UUID webhookId,
        +                                           Integer page,
        +                                           Integer size,
        +                                           String sort,
        +                                           String searchFilter,
        +                                           OffsetDateTime since,
        +                                           OffsetDateTime before,
        +                                           Boolean unseenOnly)
        +                                    throws ApiException
        +
        Get a webhook results for a webhook
        +
        +
        Parameters:
        +
        webhookId - ID of webhook to get results for (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        unseenOnly - Filter for unseen exceptions only (optional)
        +
        Returns:
        +
        PageWebhookResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResultsWithHttpInfo

        +
        public ApiResponse<PageWebhookResult> getWebhookResultsWithHttpInfo(UUID webhookId,
        +                                                                    Integer page,
        +                                                                    Integer size,
        +                                                                    String sort,
        +                                                                    String searchFilter,
        +                                                                    OffsetDateTime since,
        +                                                                    OffsetDateTime before,
        +                                                                    Boolean unseenOnly)
        +                                                             throws ApiException
        +
        Get a webhook results for a webhook
        +
        +
        Parameters:
        +
        webhookId - ID of webhook to get results for (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        unseenOnly - Filter for unseen exceptions only (optional)
        +
        Returns:
        +
        ApiResponse<PageWebhookResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResultsAsync

        +
        public okhttp3.Call getWebhookResultsAsync(UUID webhookId,
        +                                           Integer page,
        +                                           Integer size,
        +                                           String sort,
        +                                           String searchFilter,
        +                                           OffsetDateTime since,
        +                                           OffsetDateTime before,
        +                                           Boolean unseenOnly,
        +                                           ApiCallback<PageWebhookResult> _callback)
        +                                    throws ApiException
        +
        Get a webhook results for a webhook (asynchronously)
        +
        +
        Parameters:
        +
        webhookId - ID of webhook to get results for (required)
        +
        page - Optional page index in list pagination (optional, default to 0)
        +
        size - Optional page size in list pagination (optional, default to 20)
        +
        sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)
        +
        searchFilter - Optional search filter (optional)
        +
        since - Filter by created at after the given timestamp (optional)
        +
        before - Filter by created at before the given timestamp (optional)
        +
        unseenOnly - Filter for unseen exceptions only (optional)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResultsUnseenErrorCountCall

        +
        public okhttp3.Call getWebhookResultsUnseenErrorCountCall(ApiCallback _callback)
        +                                                   throws ApiException
        +
        Build call for getWebhookResultsUnseenErrorCount
        +
        +
        Parameters:
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResultsUnseenErrorCount

        +
        public UnseenErrorCountDto getWebhookResultsUnseenErrorCount()
        +                                                      throws ApiException
        +
        Get count of unseen webhook results with error status
        +
        +
        Returns:
        +
        UnseenErrorCountDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResultsUnseenErrorCountWithHttpInfo

        +
        public ApiResponse<UnseenErrorCountDto> getWebhookResultsUnseenErrorCountWithHttpInfo()
        +                                                                               throws ApiException
        +
        Get count of unseen webhook results with error status
        +
        +
        Returns:
        +
        ApiResponse<UnseenErrorCountDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhookResultsUnseenErrorCountAsync

        +
        public okhttp3.Call getWebhookResultsUnseenErrorCountAsync(ApiCallback<UnseenErrorCountDto> _callback)
        +                                                    throws ApiException
        +
        Get count of unseen webhook results with error status (asynchronously)
        +
        +
        Parameters:
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhooksCall

        +
        @Deprecated
        +public okhttp3.Call getWebhooksCall(UUID inboxId,
        +                                                ApiCallback _callback)
        +                                         throws ApiException
        +
        Deprecated. 
        +
        Build call for getWebhooks
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhooks

        +
        @Deprecated
        +public List<WebhookDto> getWebhooks(UUID inboxId)
        +                                         throws ApiException
        +
        Deprecated. 
        +
        Get all webhooks for an Inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Returns:
        +
        List<WebhookDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhooksWithHttpInfo

        +
        @Deprecated
        +public ApiResponse<List<WebhookDto>> getWebhooksWithHttpInfo(UUID inboxId)
        +                                                                  throws ApiException
        +
        Deprecated. 
        +
        Get all webhooks for an Inbox
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        Returns:
        +
        ApiResponse<List<WebhookDto>>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        getWebhooksAsync

        +
        @Deprecated
        +public okhttp3.Call getWebhooksAsync(UUID inboxId,
        +                                                 ApiCallback<List<WebhookDto>> _callback)
        +                                          throws ApiException
        +
        Deprecated. 
        +
        Get all webhooks for an Inbox (asynchronously)
        +
        +
        Parameters:
        +
        inboxId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        redriveWebhookResultCall

        +
        public okhttp3.Call redriveWebhookResultCall(UUID webhookResultId,
        +                                             ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for redriveWebhookResult
        +
        +
        Parameters:
        +
        webhookResultId - Webhook Result ID (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        redriveWebhookResult

        +
        public WebhookRedriveResult redriveWebhookResult(UUID webhookResultId)
        +                                          throws ApiException
        +
        Get a webhook result and try to resend the original webhook payload + Allows you to resend a webhook payload that was already sent. Webhooks that fail are retried automatically for 24 hours and then put in a dead letter queue. You can retry results manually using this method.
        +
        +
        Parameters:
        +
        webhookResultId - Webhook Result ID (required)
        +
        Returns:
        +
        WebhookRedriveResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        redriveWebhookResultWithHttpInfo

        +
        public ApiResponse<WebhookRedriveResult> redriveWebhookResultWithHttpInfo(UUID webhookResultId)
        +                                                                   throws ApiException
        +
        Get a webhook result and try to resend the original webhook payload + Allows you to resend a webhook payload that was already sent. Webhooks that fail are retried automatically for 24 hours and then put in a dead letter queue. You can retry results manually using this method.
        +
        +
        Parameters:
        +
        webhookResultId - Webhook Result ID (required)
        +
        Returns:
        +
        ApiResponse<WebhookRedriveResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        redriveWebhookResultAsync

        +
        public okhttp3.Call redriveWebhookResultAsync(UUID webhookResultId,
        +                                              ApiCallback<WebhookRedriveResult> _callback)
        +                                       throws ApiException
        +
        Get a webhook result and try to resend the original webhook payload (asynchronously) + Allows you to resend a webhook payload that was already sent. Webhooks that fail are retried automatically for 24 hours and then put in a dead letter queue. You can retry results manually using this method.
        +
        +
        Parameters:
        +
        webhookResultId - Webhook Result ID (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        sendTestDataCall

        +
        public okhttp3.Call sendTestDataCall(UUID webhookId,
        +                                     ApiCallback _callback)
        +                              throws ApiException
        +
        Build call for sendTestData
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendTestData

        +
        public WebhookTestResult sendTestData(UUID webhookId)
        +                               throws ApiException
        +
        Send webhook test data
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        Returns:
        +
        WebhookTestResult
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendTestDataWithHttpInfo

        +
        public ApiResponse<WebhookTestResult> sendTestDataWithHttpInfo(UUID webhookId)
        +                                                        throws ApiException
        +
        Send webhook test data
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        Returns:
        +
        ApiResponse<WebhookTestResult>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        sendTestDataAsync

        +
        public okhttp3.Call sendTestDataAsync(UUID webhookId,
        +                                      ApiCallback<WebhookTestResult> _callback)
        +                               throws ApiException
        +
        Send webhook test data (asynchronously)
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        201 Created -
        +
        +
      • +
      + + + +
        +
      • +

        updateWebhookHeadersCall

        +
        public okhttp3.Call updateWebhookHeadersCall(UUID webhookId,
        +                                             WebhookHeaders webhookHeaders,
        +                                             ApiCallback _callback)
        +                                      throws ApiException
        +
        Build call for updateWebhookHeaders
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        webhookHeaders - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateWebhookHeaders

        +
        public WebhookDto updateWebhookHeaders(UUID webhookId,
        +                                       WebhookHeaders webhookHeaders)
        +                                throws ApiException
        +
        Update a webhook request headers
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        webhookHeaders - (required)
        +
        Returns:
        +
        WebhookDto
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateWebhookHeadersWithHttpInfo

        +
        public ApiResponse<WebhookDto> updateWebhookHeadersWithHttpInfo(UUID webhookId,
        +                                                                WebhookHeaders webhookHeaders)
        +                                                         throws ApiException
        +
        Update a webhook request headers
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        webhookHeaders - (required)
        +
        Returns:
        +
        ApiResponse<WebhookDto>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        updateWebhookHeadersAsync

        +
        public okhttp3.Call updateWebhookHeadersAsync(UUID webhookId,
        +                                              WebhookHeaders webhookHeaders,
        +                                              ApiCallback<WebhookDto> _callback)
        +                                       throws ApiException
        +
        Update a webhook request headers (asynchronously)
        +
        +
        Parameters:
        +
        webhookId - (required)
        +
        webhookHeaders - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        verifyWebhookSignatureCall

        +
        public okhttp3.Call verifyWebhookSignatureCall(VerifyWebhookSignatureOptions verifyWebhookSignatureOptions,
        +                                               ApiCallback _callback)
        +                                        throws ApiException
        +
        Build call for verifyWebhookSignature
        +
        +
        Parameters:
        +
        verifyWebhookSignatureOptions - (required)
        +
        _callback - Callback for upload/download progress
        +
        Returns:
        +
        Call to execute
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        verifyWebhookSignature

        +
        public VerifyWebhookSignatureResults verifyWebhookSignature(VerifyWebhookSignatureOptions verifyWebhookSignatureOptions)
        +                                                     throws ApiException
        +
        Verify a webhook payload signature + Verify a webhook payload using the messageId and signature. This allows you to be sure that MailSlurp sent the payload and not another server.
        +
        +
        Parameters:
        +
        verifyWebhookSignatureOptions - (required)
        +
        Returns:
        +
        VerifyWebhookSignatureResults
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        verifyWebhookSignatureWithHttpInfo

        +
        public ApiResponse<VerifyWebhookSignatureResults> verifyWebhookSignatureWithHttpInfo(VerifyWebhookSignatureOptions verifyWebhookSignatureOptions)
        +                                                                              throws ApiException
        +
        Verify a webhook payload signature + Verify a webhook payload using the messageId and signature. This allows you to be sure that MailSlurp sent the payload and not another server.
        +
        +
        Parameters:
        +
        verifyWebhookSignatureOptions - (required)
        +
        Returns:
        +
        ApiResponse<VerifyWebhookSignatureResults>
        +
        Throws:
        +
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      + + + +
        +
      • +

        verifyWebhookSignatureAsync

        +
        public okhttp3.Call verifyWebhookSignatureAsync(VerifyWebhookSignatureOptions verifyWebhookSignatureOptions,
        +                                                ApiCallback<VerifyWebhookSignatureResults> _callback)
        +                                         throws ApiException
        +
        Verify a webhook payload signature (asynchronously) + Verify a webhook payload using the messageId and signature. This allows you to be sure that MailSlurp sent the payload and not another server.
        +
        +
        Parameters:
        +
        verifyWebhookSignatureOptions - (required)
        +
        _callback - The callback to be executed when the API call finishes
        +
        Returns:
        +
        The request call
        +
        Throws:
        +
        ApiException - If fail to process the API call, e.g. serializing the request body object
        +
        Http Response Details:
        +
        + + +
        Status Code Description Response Headers
        200 OK -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/AliasControllerApi.html b/site/com/mailslurp/apis/class-use/AliasControllerApi.html new file mode 100644 index 000000000..67af5a801 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/AliasControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.AliasControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.AliasControllerApi

+
+
No usage of com.mailslurp.apis.AliasControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/AttachmentControllerApi.html b/site/com/mailslurp/apis/class-use/AttachmentControllerApi.html new file mode 100644 index 000000000..07134959a --- /dev/null +++ b/site/com/mailslurp/apis/class-use/AttachmentControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.AttachmentControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.AttachmentControllerApi

+
+
No usage of com.mailslurp.apis.AttachmentControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/BounceControllerApi.html b/site/com/mailslurp/apis/class-use/BounceControllerApi.html new file mode 100644 index 000000000..83c576723 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/BounceControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.BounceControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.BounceControllerApi

+
+
No usage of com.mailslurp.apis.BounceControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/BulkActionsControllerApi.html b/site/com/mailslurp/apis/class-use/BulkActionsControllerApi.html new file mode 100644 index 000000000..7b0d570e2 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/BulkActionsControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.BulkActionsControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.BulkActionsControllerApi

+
+
No usage of com.mailslurp.apis.BulkActionsControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/CommonActionsControllerApi.html b/site/com/mailslurp/apis/class-use/CommonActionsControllerApi.html new file mode 100644 index 000000000..871f950e8 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/CommonActionsControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.CommonActionsControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.CommonActionsControllerApi

+
+
No usage of com.mailslurp.apis.CommonActionsControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/ConnectorControllerApi.html b/site/com/mailslurp/apis/class-use/ConnectorControllerApi.html new file mode 100644 index 000000000..33d37b97e --- /dev/null +++ b/site/com/mailslurp/apis/class-use/ConnectorControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.ConnectorControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.ConnectorControllerApi

+
+
No usage of com.mailslurp.apis.ConnectorControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/ContactControllerApi.html b/site/com/mailslurp/apis/class-use/ContactControllerApi.html new file mode 100644 index 000000000..3e558dacd --- /dev/null +++ b/site/com/mailslurp/apis/class-use/ContactControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.ContactControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.ContactControllerApi

+
+
No usage of com.mailslurp.apis.ContactControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/DomainControllerApi.html b/site/com/mailslurp/apis/class-use/DomainControllerApi.html new file mode 100644 index 000000000..b617ae94a --- /dev/null +++ b/site/com/mailslurp/apis/class-use/DomainControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.DomainControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.DomainControllerApi

+
+
No usage of com.mailslurp.apis.DomainControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/EmailControllerApi.html b/site/com/mailslurp/apis/class-use/EmailControllerApi.html new file mode 100644 index 000000000..7c8102f69 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/EmailControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.EmailControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.EmailControllerApi

+
+
No usage of com.mailslurp.apis.EmailControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/EmailVerificationControllerApi.html b/site/com/mailslurp/apis/class-use/EmailVerificationControllerApi.html new file mode 100644 index 000000000..de4bab950 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/EmailVerificationControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.EmailVerificationControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.EmailVerificationControllerApi

+
+
No usage of com.mailslurp.apis.EmailVerificationControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/ExpiredControllerApi.html b/site/com/mailslurp/apis/class-use/ExpiredControllerApi.html new file mode 100644 index 000000000..7e8e0b874 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/ExpiredControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.ExpiredControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.ExpiredControllerApi

+
+
No usage of com.mailslurp.apis.ExpiredControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/ExportControllerApi.html b/site/com/mailslurp/apis/class-use/ExportControllerApi.html new file mode 100644 index 000000000..8a6db0f83 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/ExportControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.ExportControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.ExportControllerApi

+
+
No usage of com.mailslurp.apis.ExportControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/FormControllerApi.html b/site/com/mailslurp/apis/class-use/FormControllerApi.html new file mode 100644 index 000000000..9fdc23a6b --- /dev/null +++ b/site/com/mailslurp/apis/class-use/FormControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.FormControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.FormControllerApi

+
+
No usage of com.mailslurp.apis.FormControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/GroupControllerApi.html b/site/com/mailslurp/apis/class-use/GroupControllerApi.html new file mode 100644 index 000000000..318298dc3 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/GroupControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.GroupControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.GroupControllerApi

+
+
No usage of com.mailslurp.apis.GroupControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/InboxControllerApi.html b/site/com/mailslurp/apis/class-use/InboxControllerApi.html new file mode 100644 index 000000000..a5b379661 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/InboxControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.InboxControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.InboxControllerApi

+
+
No usage of com.mailslurp.apis.InboxControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/InboxForwarderControllerApi.html b/site/com/mailslurp/apis/class-use/InboxForwarderControllerApi.html new file mode 100644 index 000000000..4353b58ea --- /dev/null +++ b/site/com/mailslurp/apis/class-use/InboxForwarderControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.InboxForwarderControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.InboxForwarderControllerApi

+
+
No usage of com.mailslurp.apis.InboxForwarderControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/InboxReplierControllerApi.html b/site/com/mailslurp/apis/class-use/InboxReplierControllerApi.html new file mode 100644 index 000000000..8f67be186 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/InboxReplierControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.InboxReplierControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.InboxReplierControllerApi

+
+
No usage of com.mailslurp.apis.InboxReplierControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/InboxRulesetControllerApi.html b/site/com/mailslurp/apis/class-use/InboxRulesetControllerApi.html new file mode 100644 index 000000000..bec7ca3ee --- /dev/null +++ b/site/com/mailslurp/apis/class-use/InboxRulesetControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.InboxRulesetControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.InboxRulesetControllerApi

+
+
No usage of com.mailslurp.apis.InboxRulesetControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/MailServerControllerApi.html b/site/com/mailslurp/apis/class-use/MailServerControllerApi.html new file mode 100644 index 000000000..e1fb60155 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/MailServerControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.MailServerControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.MailServerControllerApi

+
+
No usage of com.mailslurp.apis.MailServerControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/MissedEmailControllerApi.html b/site/com/mailslurp/apis/class-use/MissedEmailControllerApi.html new file mode 100644 index 000000000..dfb591ed8 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/MissedEmailControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.MissedEmailControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.MissedEmailControllerApi

+
+
No usage of com.mailslurp.apis.MissedEmailControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/PhoneControllerApi.html b/site/com/mailslurp/apis/class-use/PhoneControllerApi.html new file mode 100644 index 000000000..a6f994e69 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/PhoneControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.PhoneControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.PhoneControllerApi

+
+
No usage of com.mailslurp.apis.PhoneControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/SentEmailsControllerApi.html b/site/com/mailslurp/apis/class-use/SentEmailsControllerApi.html new file mode 100644 index 000000000..655135762 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/SentEmailsControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.SentEmailsControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.SentEmailsControllerApi

+
+
No usage of com.mailslurp.apis.SentEmailsControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/SmsControllerApi.html b/site/com/mailslurp/apis/class-use/SmsControllerApi.html new file mode 100644 index 000000000..13a4b5583 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/SmsControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.SmsControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.SmsControllerApi

+
+
No usage of com.mailslurp.apis.SmsControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/TemplateControllerApi.html b/site/com/mailslurp/apis/class-use/TemplateControllerApi.html new file mode 100644 index 000000000..b8a62c775 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/TemplateControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.TemplateControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.TemplateControllerApi

+
+
No usage of com.mailslurp.apis.TemplateControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/TrackingControllerApi.html b/site/com/mailslurp/apis/class-use/TrackingControllerApi.html new file mode 100644 index 000000000..5be5cb20e --- /dev/null +++ b/site/com/mailslurp/apis/class-use/TrackingControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.TrackingControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.TrackingControllerApi

+
+
No usage of com.mailslurp.apis.TrackingControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/UserControllerApi.html b/site/com/mailslurp/apis/class-use/UserControllerApi.html new file mode 100644 index 000000000..c2d4dd4dc --- /dev/null +++ b/site/com/mailslurp/apis/class-use/UserControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.UserControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.UserControllerApi

+
+
No usage of com.mailslurp.apis.UserControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/WaitForControllerApi.html b/site/com/mailslurp/apis/class-use/WaitForControllerApi.html new file mode 100644 index 000000000..ee0ff17aa --- /dev/null +++ b/site/com/mailslurp/apis/class-use/WaitForControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.WaitForControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.WaitForControllerApi

+
+
No usage of com.mailslurp.apis.WaitForControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/class-use/WebhookControllerApi.html b/site/com/mailslurp/apis/class-use/WebhookControllerApi.html new file mode 100644 index 000000000..d46834dd6 --- /dev/null +++ b/site/com/mailslurp/apis/class-use/WebhookControllerApi.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.apis.WebhookControllerApi (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.apis.WebhookControllerApi

+
+
No usage of com.mailslurp.apis.WebhookControllerApi
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/package-frame.html b/site/com/mailslurp/apis/package-frame.html new file mode 100644 index 000000000..3973f07f8 --- /dev/null +++ b/site/com/mailslurp/apis/package-frame.html @@ -0,0 +1,48 @@ + + + + + + +com.mailslurp.apis (mailslurp-client-java 15.17.17 API) + + + + + +

com.mailslurp.apis

+ + + diff --git a/site/com/mailslurp/apis/package-summary.html b/site/com/mailslurp/apis/package-summary.html new file mode 100644 index 000000000..81bdb75f8 --- /dev/null +++ b/site/com/mailslurp/apis/package-summary.html @@ -0,0 +1,252 @@ + + + + + + +com.mailslurp.apis (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Package com.mailslurp.apis

+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/package-tree.html b/site/com/mailslurp/apis/package-tree.html new file mode 100644 index 000000000..3796a03ae --- /dev/null +++ b/site/com/mailslurp/apis/package-tree.html @@ -0,0 +1,166 @@ + + + + + + +com.mailslurp.apis Class Hierarchy (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Hierarchy For Package com.mailslurp.apis

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/apis/package-use.html b/site/com/mailslurp/apis/package-use.html new file mode 100644 index 000000000..50ff61896 --- /dev/null +++ b/site/com/mailslurp/apis/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package com.mailslurp.apis (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Package
com.mailslurp.apis

+
+
No usage of com.mailslurp.apis
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/ApiCallback.html b/site/com/mailslurp/clients/ApiCallback.html new file mode 100644 index 000000000..510dfb2f7 --- /dev/null +++ b/site/com/mailslurp/clients/ApiCallback.html @@ -0,0 +1,321 @@ + + + + + + +ApiCallback (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Interface ApiCallback<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - The return type
    +
    +
    +
    +
    public interface ApiCallback<T>
    +
    Callback for asynchronous API call.
    +
  • +
+
+
+
    +
  • + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onFailure

        +
        void onFailure(ApiException e,
        +               int statusCode,
        +               Map<String,List<String>> responseHeaders)
        +
        This is called when the API call fails.
        +
        +
        Parameters:
        +
        e - The exception causing the failure
        +
        statusCode - Status code of the response if available, otherwise it would be 0
        +
        responseHeaders - Headers of the response if available, otherwise it would be null
        +
        +
      • +
      + + + + + +
        +
      • +

        onSuccess

        +
        void onSuccess(T result,
        +               int statusCode,
        +               Map<String,List<String>> responseHeaders)
        +
        This is called when the API call succeeded.
        +
        +
        Parameters:
        +
        result - The result deserialized from response
        +
        statusCode - Status code of the response
        +
        responseHeaders - Headers of the response
        +
        +
      • +
      + + + +
        +
      • +

        onUploadProgress

        +
        void onUploadProgress(long bytesWritten,
        +                      long contentLength,
        +                      boolean done)
        +
        This is called when the API upload processing.
        +
        +
        Parameters:
        +
        bytesWritten - bytes Written
        +
        contentLength - content length of request body
        +
        done - write end
        +
        +
      • +
      + + + +
        +
      • +

        onDownloadProgress

        +
        void onDownloadProgress(long bytesRead,
        +                        long contentLength,
        +                        boolean done)
        +
        This is called when the API download processing.
        +
        +
        Parameters:
        +
        bytesRead - bytes Read
        +
        contentLength - content length of the response
        +
        done - Read end
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/ApiClient.html b/site/com/mailslurp/clients/ApiClient.html new file mode 100644 index 000000000..5be4fe8e7 --- /dev/null +++ b/site/com/mailslurp/clients/ApiClient.html @@ -0,0 +1,1891 @@ + + + + + + +ApiClient (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class ApiClient

+
+
+ +
+
    +
  • +
    +
    +
    public class ApiClient
    +extends Object
    +

    ApiClient class.

    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ApiClient

        +
        public ApiClient()
        +
        Basic constructor for ApiClient
        +
      • +
      + + + +
        +
      • +

        ApiClient

        +
        public ApiClient(okhttp3.OkHttpClient client)
        +
        Basic constructor with custom OkHttpClient
        +
        +
        Parameters:
        +
        client - a OkHttpClient object
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getBasePath

        +
        public String getBasePath()
        +
        Get base path
        +
        +
        Returns:
        +
        Base path
        +
        +
      • +
      + + + +
        +
      • +

        setBasePath

        +
        public ApiClient setBasePath(String basePath)
        +
        Set base path
        +
        +
        Parameters:
        +
        basePath - Base path of the URL (e.g https://java.api.mailslurp.com
        +
        Returns:
        +
        An instance of OkHttpClient
        +
        +
      • +
      + + + +
        +
      • +

        getHttpClient

        +
        public okhttp3.OkHttpClient getHttpClient()
        +
        Get HTTP client
        +
        +
        Returns:
        +
        An instance of OkHttpClient
        +
        +
      • +
      + + + +
        +
      • +

        setHttpClient

        +
        public ApiClient setHttpClient(okhttp3.OkHttpClient newHttpClient)
        +
        Set HTTP client, which must never be null.
        +
        +
        Parameters:
        +
        newHttpClient - An instance of OkHttpClient
        +
        Returns:
        +
        Api Client
        +
        Throws:
        +
        NullPointerException - when newHttpClient is null
        +
        +
      • +
      + + + +
        +
      • +

        getJSON

        +
        public JSON getJSON()
        +
        Get JSON
        +
        +
        Returns:
        +
        JSON object
        +
        +
      • +
      + + + +
        +
      • +

        setJSON

        +
        public ApiClient setJSON(JSON json)
        +
        Set JSON
        +
        +
        Parameters:
        +
        json - JSON object
        +
        Returns:
        +
        Api client
        +
        +
      • +
      + + + +
        +
      • +

        isVerifyingSsl

        +
        public boolean isVerifyingSsl()
        +
        True if isVerifyingSsl flag is on
        +
        +
        Returns:
        +
        True if isVerifySsl flag is on
        +
        +
      • +
      + + + +
        +
      • +

        setVerifyingSsl

        +
        public ApiClient setVerifyingSsl(boolean verifyingSsl)
        +
        Configure whether to verify certificate and hostname when making https requests. + Default to true. + NOTE: Do NOT set to false in production code, otherwise you would face multiple types of cryptographic attacks.
        +
        +
        Parameters:
        +
        verifyingSsl - True to verify TLS/SSL connection
        +
        Returns:
        +
        ApiClient
        +
        +
      • +
      + + + +
        +
      • +

        getSslCaCert

        +
        public InputStream getSslCaCert()
        +
        Get SSL CA cert.
        +
        +
        Returns:
        +
        Input stream to the SSL CA cert
        +
        +
      • +
      + + + +
        +
      • +

        setSslCaCert

        +
        public ApiClient setSslCaCert(InputStream sslCaCert)
        +
        Configure the CA certificate to be trusted when making https requests. + Use null to reset to default.
        +
        +
        Parameters:
        +
        sslCaCert - input stream for SSL CA cert
        +
        Returns:
        +
        ApiClient
        +
        +
      • +
      + + + +
        +
      • +

        getKeyManagers

        +
        public KeyManager[] getKeyManagers()
        +

        Getter for the field keyManagers.

        +
        +
        Returns:
        +
        an array of KeyManager objects
        +
        +
      • +
      + + + +
        +
      • +

        setKeyManagers

        +
        public ApiClient setKeyManagers(KeyManager[] managers)
        +
        Configure client keys to use for authorization in an SSL session. + Use null to reset to default.
        +
        +
        Parameters:
        +
        managers - The KeyManagers to use
        +
        Returns:
        +
        ApiClient
        +
        +
      • +
      + + + +
        +
      • +

        getDateFormat

        +
        public DateFormat getDateFormat()
        +

        Getter for the field dateFormat.

        +
        +
        Returns:
        +
        a DateFormat object
        +
        +
      • +
      + + + +
        +
      • +

        setDateFormat

        +
        public ApiClient setDateFormat(DateFormat dateFormat)
        +

        Setter for the field dateFormat.

        +
        +
        Parameters:
        +
        dateFormat - a DateFormat object
        +
        Returns:
        +
        a ApiClient object
        +
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        setLenientOnJson

        +
        public ApiClient setLenientOnJson(boolean lenientOnJson)
        +

        Set LenientOnJson.

        +
        +
        Parameters:
        +
        lenientOnJson - a boolean
        +
        Returns:
        +
        a ApiClient object
        +
        +
      • +
      + + + +
        +
      • +

        getAuthentications

        +
        public Map<String,Authentication> getAuthentications()
        +
        Get authentications (key: authentication name, value: authentication).
        +
        +
        Returns:
        +
        Map of authentication objects
        +
        +
      • +
      + + + +
        +
      • +

        getAuthentication

        +
        public Authentication getAuthentication(String authName)
        +
        Get authentication for the given name.
        +
        +
        Parameters:
        +
        authName - The authentication name
        +
        Returns:
        +
        The authentication, null if not found
        +
        +
      • +
      + + + +
        +
      • +

        setUsername

        +
        public void setUsername(String username)
        +
        Helper method to set username for the first HTTP basic authentication.
        +
        +
        Parameters:
        +
        username - Username
        +
        +
      • +
      + + + +
        +
      • +

        setPassword

        +
        public void setPassword(String password)
        +
        Helper method to set password for the first HTTP basic authentication.
        +
        +
        Parameters:
        +
        password - Password
        +
        +
      • +
      + + + +
        +
      • +

        setApiKey

        +
        public void setApiKey(String apiKey)
        +
        Helper method to set API key value for the first API key authentication.
        +
        +
        Parameters:
        +
        apiKey - API key
        +
        +
      • +
      + + + +
        +
      • +

        setApiKeyPrefix

        +
        public void setApiKeyPrefix(String apiKeyPrefix)
        +
        Helper method to set API key prefix for the first API key authentication.
        +
        +
        Parameters:
        +
        apiKeyPrefix - API key prefix
        +
        +
      • +
      + + + +
        +
      • +

        setAccessToken

        +
        public void setAccessToken(String accessToken)
        +
        Helper method to set access token for the first OAuth2 authentication.
        +
        +
        Parameters:
        +
        accessToken - Access token
        +
        +
      • +
      + + + +
        +
      • +

        setUserAgent

        +
        public ApiClient setUserAgent(String userAgent)
        +
        Set the User-Agent header's value (by adding to the default header map).
        +
        +
        Parameters:
        +
        userAgent - HTTP request's user agent
        +
        Returns:
        +
        ApiClient
        +
        +
      • +
      + + + +
        +
      • +

        addDefaultHeader

        +
        public ApiClient addDefaultHeader(String key,
        +                                  String value)
        +
        Add a default header.
        +
        +
        Parameters:
        +
        key - The header's key
        +
        value - The header's value
        +
        Returns:
        +
        ApiClient
        +
        +
      • +
      + + + +
        +
      • +

        addDefaultCookie

        +
        public ApiClient addDefaultCookie(String key,
        +                                  String value)
        +
        Add a default cookie.
        +
        +
        Parameters:
        +
        key - The cookie's key
        +
        value - The cookie's value
        +
        Returns:
        +
        ApiClient
        +
        +
      • +
      + + + +
        +
      • +

        isDebugging

        +
        public boolean isDebugging()
        +
        Check that whether debugging is enabled for this API client.
        +
        +
        Returns:
        +
        True if debugging is enabled, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        setDebugging

        +
        public ApiClient setDebugging(boolean debugging)
        +
        Enable/disable debugging for this API client.
        +
        +
        Parameters:
        +
        debugging - To enable (true) or disable (false) debugging
        +
        Returns:
        +
        ApiClient
        +
        +
      • +
      + + + +
        +
      • +

        getTempFolderPath

        +
        public String getTempFolderPath()
        +
        The path of temporary folder used to store downloaded files from endpoints + with file response. The default value is null, i.e. using + the system's default temporary folder.
        +
        +
        Returns:
        +
        Temporary folder path
        +
        See Also:
        +
        createTempFile
        +
        +
      • +
      + + + +
        +
      • +

        setTempFolderPath

        +
        public ApiClient setTempFolderPath(String tempFolderPath)
        +
        Set the temporary folder path (for downloading files)
        +
        +
        Parameters:
        +
        tempFolderPath - Temporary folder path
        +
        Returns:
        +
        ApiClient
        +
        +
      • +
      + + + +
        +
      • +

        getConnectTimeout

        +
        public int getConnectTimeout()
        +
        Get connection timeout (in milliseconds).
        +
        +
        Returns:
        +
        Timeout in milliseconds
        +
        +
      • +
      + + + +
        +
      • +

        setConnectTimeout

        +
        public ApiClient setConnectTimeout(int connectionTimeout)
        +
        Sets the connect timeout (in milliseconds). + A value of 0 means no timeout, otherwise values must be between 1 and + Integer.MAX_VALUE.
        +
        +
        Parameters:
        +
        connectionTimeout - connection timeout in milliseconds
        +
        Returns:
        +
        Api client
        +
        +
      • +
      + + + +
        +
      • +

        getReadTimeout

        +
        public int getReadTimeout()
        +
        Get read timeout (in milliseconds).
        +
        +
        Returns:
        +
        Timeout in milliseconds
        +
        +
      • +
      + + + +
        +
      • +

        setReadTimeout

        +
        public ApiClient setReadTimeout(int readTimeout)
        +
        Sets the read timeout (in milliseconds). + A value of 0 means no timeout, otherwise values must be between 1 and + Integer.MAX_VALUE.
        +
        +
        Parameters:
        +
        readTimeout - read timeout in milliseconds
        +
        Returns:
        +
        Api client
        +
        +
      • +
      + + + +
        +
      • +

        getWriteTimeout

        +
        public int getWriteTimeout()
        +
        Get write timeout (in milliseconds).
        +
        +
        Returns:
        +
        Timeout in milliseconds
        +
        +
      • +
      + + + +
        +
      • +

        setWriteTimeout

        +
        public ApiClient setWriteTimeout(int writeTimeout)
        +
        Sets the write timeout (in milliseconds). + A value of 0 means no timeout, otherwise values must be between 1 and + Integer.MAX_VALUE.
        +
        +
        Parameters:
        +
        writeTimeout - connection timeout in milliseconds
        +
        Returns:
        +
        Api client
        +
        +
      • +
      + + + +
        +
      • +

        parameterToString

        +
        public String parameterToString(Object param)
        +
        Format the given parameter object into string.
        +
        +
        Parameters:
        +
        param - Parameter
        +
        Returns:
        +
        String representation of the parameter
        +
        +
      • +
      + + + +
        +
      • +

        parameterToPair

        +
        public List<Pair> parameterToPair(String name,
        +                                  Object value)
        +
        Formats the specified query parameter to a list containing a single Pair object. + + Note that value must not be a collection.
        +
        +
        Parameters:
        +
        name - The name of the parameter.
        +
        value - The value of the parameter.
        +
        Returns:
        +
        A list containing a single Pair object.
        +
        +
      • +
      + + + +
        +
      • +

        parameterToPairs

        +
        public List<Pair> parameterToPairs(String collectionFormat,
        +                                   String name,
        +                                   Collection value)
        +
        Formats the specified collection query parameters to a list of Pair objects. + + Note that the values of each of the returned Pair objects are percent-encoded.
        +
        +
        Parameters:
        +
        collectionFormat - The collection format of the parameter.
        +
        name - The name of the parameter.
        +
        value - The value of the parameter.
        +
        Returns:
        +
        A list of Pair objects.
        +
        +
      • +
      + + + +
        +
      • +

        collectionPathParameterToString

        +
        public String collectionPathParameterToString(String collectionFormat,
        +                                              Collection value)
        +
        Formats the specified collection path parameter to a string value.
        +
        +
        Parameters:
        +
        collectionFormat - The collection format of the parameter.
        +
        value - The value of the parameter.
        +
        Returns:
        +
        String representation of the parameter
        +
        +
      • +
      + + + +
        +
      • +

        sanitizeFilename

        +
        public String sanitizeFilename(String filename)
        +
        Sanitize filename by removing path. + e.g. ../../sun.gif becomes sun.gif
        +
        +
        Parameters:
        +
        filename - The filename to be sanitized
        +
        Returns:
        +
        The sanitized filename
        +
        +
      • +
      + + + +
        +
      • +

        isJsonMime

        +
        public boolean isJsonMime(String mime)
        +
        Check if the given MIME is a JSON MIME. + JSON MIME examples: + application/json + application/json; charset=UTF8 + APPLICATION/JSON + application/vnd.company+json + "* / *" is also default to JSON
        +
        +
        Parameters:
        +
        mime - MIME (Multipurpose Internet Mail Extensions)
        +
        Returns:
        +
        True if the given MIME is JSON, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        selectHeaderAccept

        +
        public String selectHeaderAccept(String[] accepts)
        +
        Select the Accept header's value from the given accepts array: + if JSON exists in the given array, use it; + otherwise use all of them (joining into a string)
        +
        +
        Parameters:
        +
        accepts - The accepts array to select from
        +
        Returns:
        +
        The Accept header to use. If the given array is empty, + null will be returned (not to set the Accept header explicitly).
        +
        +
      • +
      + + + +
        +
      • +

        selectHeaderContentType

        +
        public String selectHeaderContentType(String[] contentTypes)
        +
        Select the Content-Type header's value from the given array: + if JSON exists in the given array, use it; + otherwise use the first one of the array.
        +
        +
        Parameters:
        +
        contentTypes - The Content-Type array to select from
        +
        Returns:
        +
        The Content-Type header to use. If the given array is empty, + returns null. If it matches "any", JSON will be used.
        +
        +
      • +
      + + + +
        +
      • +

        escapeString

        +
        public String escapeString(String str)
        +
        Escape the given string to be used as URL query value.
        +
        +
        Parameters:
        +
        str - String to be escaped
        +
        Returns:
        +
        Escaped string
        +
        +
      • +
      + + + +
        +
      • +

        deserialize

        +
        public <T> T deserialize(okhttp3.Response response,
        +                         Type returnType)
        +                  throws ApiException
        +
        Deserialize response body to Java object, according to the return type and + the Content-Type response header.
        +
        +
        Type Parameters:
        +
        T - Type
        +
        Parameters:
        +
        response - HTTP response
        +
        returnType - The type of the Java object
        +
        Returns:
        +
        The deserialized Java object
        +
        Throws:
        +
        ApiException - If fail to deserialize response body, i.e. cannot read response body + or the Content-Type of the response is not supported.
        +
        +
      • +
      + + + +
        +
      • +

        serialize

        +
        public okhttp3.RequestBody serialize(Object obj,
        +                                     String contentType)
        +                              throws ApiException
        +
        Serialize the given Java object into request body according to the object's + class and the request Content-Type.
        +
        +
        Parameters:
        +
        obj - The Java object
        +
        contentType - The request Content-Type
        +
        Returns:
        +
        The serialized request body
        +
        Throws:
        +
        ApiException - If fail to serialize the given object
        +
        +
      • +
      + + + +
        +
      • +

        downloadFileFromResponse

        +
        public File downloadFileFromResponse(okhttp3.Response response)
        +                              throws ApiException
        +
        Download file from the given response.
        +
        +
        Parameters:
        +
        response - An instance of the Response object
        +
        Returns:
        +
        Downloaded file
        +
        Throws:
        +
        ApiException - If fail to read file content from response and write to disk
        +
        +
      • +
      + + + +
        +
      • +

        prepareDownloadFile

        +
        public File prepareDownloadFile(okhttp3.Response response)
        +                         throws IOException
        +
        Prepare file for download
        +
        +
        Parameters:
        +
        response - An instance of the Response object
        +
        Returns:
        +
        Prepared file for the download
        +
        Throws:
        +
        IOException - If fail to prepare file for download
        +
        +
      • +
      + + + +
        +
      • +

        execute

        +
        public <T> ApiResponse<T> execute(okhttp3.Call call)
        +                           throws ApiException
        + +
        +
        Type Parameters:
        +
        T - Type
        +
        Parameters:
        +
        call - An instance of the Call object
        +
        Returns:
        +
        ApiResponse<T>
        +
        Throws:
        +
        ApiException - If fail to execute the call
        +
        +
      • +
      + + + +
        +
      • +

        execute

        +
        public <T> ApiResponse<T> execute(okhttp3.Call call,
        +                                  Type returnType)
        +                           throws ApiException
        +
        Execute HTTP call and deserialize the HTTP response body into the given return type.
        +
        +
        Type Parameters:
        +
        T - The return type corresponding to (same with) returnType
        +
        Parameters:
        +
        returnType - The return type used to deserialize HTTP response body
        +
        call - Call
        +
        Returns:
        +
        ApiResponse object containing response status, headers and + data, which is a Java object deserialized from response body and would be null + when returnType is null.
        +
        Throws:
        +
        ApiException - If fail to execute the call
        +
        +
      • +
      + + + +
        +
      • +

        executeAsync

        +
        public <T> void executeAsync(okhttp3.Call call,
        +                             ApiCallback<T> callback)
        + +
        +
        Type Parameters:
        +
        T - Type
        +
        Parameters:
        +
        call - An instance of the Call object
        +
        callback - ApiCallback<T>
        +
        +
      • +
      + + + +
        +
      • +

        executeAsync

        +
        public <T> void executeAsync(okhttp3.Call call,
        +                             Type returnType,
        +                             ApiCallback<T> callback)
        +
        Execute HTTP call asynchronously.
        +
        +
        Type Parameters:
        +
        T - Type
        +
        Parameters:
        +
        call - The callback to be executed when the API call finishes
        +
        returnType - Return type
        +
        callback - ApiCallback
        +
        See Also:
        +
        execute(Call, Type)
        +
        +
      • +
      + + + +
        +
      • +

        handleResponse

        +
        public <T> T handleResponse(okhttp3.Response response,
        +                            Type returnType)
        +                     throws ApiException
        +
        Handle the given response, return the deserialized object when the response is successful.
        +
        +
        Type Parameters:
        +
        T - Type
        +
        Parameters:
        +
        response - Response
        +
        returnType - Return type
        +
        Returns:
        +
        Type
        +
        Throws:
        +
        ApiException - If the response has an unsuccessful status code or + fail to deserialize the response body
        +
        +
      • +
      + + + +
        +
      • +

        buildCall

        +
        public okhttp3.Call buildCall(String baseUrl,
        +                              String path,
        +                              String method,
        +                              List<Pair> queryParams,
        +                              List<Pair> collectionQueryParams,
        +                              Object body,
        +                              Map<String,String> headerParams,
        +                              Map<String,String> cookieParams,
        +                              Map<String,Object> formParams,
        +                              String[] authNames,
        +                              ApiCallback callback)
        +                       throws ApiException
        +
        Build HTTP call with the given options.
        +
        +
        Parameters:
        +
        baseUrl - The base URL
        +
        path - The sub-path of the HTTP URL
        +
        method - The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE"
        +
        queryParams - The query parameters
        +
        collectionQueryParams - The collection query parameters
        +
        body - The request body object
        +
        headerParams - The header parameters
        +
        cookieParams - The cookie parameters
        +
        formParams - The form parameters
        +
        authNames - The authentications to apply
        +
        callback - Callback for upload/download progress
        +
        Returns:
        +
        The HTTP call
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        +
      • +
      + + + +
        +
      • +

        buildRequest

        +
        public okhttp3.Request buildRequest(String baseUrl,
        +                                    String path,
        +                                    String method,
        +                                    List<Pair> queryParams,
        +                                    List<Pair> collectionQueryParams,
        +                                    Object body,
        +                                    Map<String,String> headerParams,
        +                                    Map<String,String> cookieParams,
        +                                    Map<String,Object> formParams,
        +                                    String[] authNames,
        +                                    ApiCallback callback)
        +                             throws ApiException
        +
        Build an HTTP request with the given options.
        +
        +
        Parameters:
        +
        baseUrl - The base URL
        +
        path - The sub-path of the HTTP URL
        +
        method - The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE"
        +
        queryParams - The query parameters
        +
        collectionQueryParams - The collection query parameters
        +
        body - The request body object
        +
        headerParams - The header parameters
        +
        cookieParams - The cookie parameters
        +
        formParams - The form parameters
        +
        authNames - The authentications to apply
        +
        callback - Callback for upload/download progress
        +
        Returns:
        +
        The HTTP request
        +
        Throws:
        +
        ApiException - If fail to serialize the request body object
        +
        +
      • +
      + + + +
        +
      • +

        buildUrl

        +
        public String buildUrl(String baseUrl,
        +                       String path,
        +                       List<Pair> queryParams,
        +                       List<Pair> collectionQueryParams)
        +
        Build full URL by concatenating base path, the given sub path and query parameters.
        +
        +
        Parameters:
        +
        baseUrl - The base URL
        +
        path - The sub path
        +
        queryParams - The query parameters
        +
        collectionQueryParams - The collection query parameters
        +
        Returns:
        +
        The full URL
        +
        +
      • +
      + + + +
        +
      • +

        processHeaderParams

        +
        public void processHeaderParams(Map<String,String> headerParams,
        +                                okhttp3.Request.Builder reqBuilder)
        +
        Set header parameters to the request builder, including default headers.
        +
        +
        Parameters:
        +
        headerParams - Header parameters in the form of Map
        +
        reqBuilder - Request.Builder
        +
        +
      • +
      + + + +
        +
      • +

        processCookieParams

        +
        public void processCookieParams(Map<String,String> cookieParams,
        +                                okhttp3.Request.Builder reqBuilder)
        +
        Set cookie parameters to the request builder, including default cookies.
        +
        +
        Parameters:
        +
        cookieParams - Cookie parameters in the form of Map
        +
        reqBuilder - Request.Builder
        +
        +
      • +
      + + + +
        +
      • +

        updateParamsForAuth

        +
        public void updateParamsForAuth(String[] authNames,
        +                                List<Pair> queryParams,
        +                                Map<String,String> headerParams,
        +                                Map<String,String> cookieParams,
        +                                String payload,
        +                                String method,
        +                                URI uri)
        +                         throws ApiException
        +
        Update query and header parameters based on authentication settings.
        +
        +
        Parameters:
        +
        authNames - The authentications to apply
        +
        queryParams - List of query parameters
        +
        headerParams - Map of header parameters
        +
        cookieParams - Map of cookie parameters
        +
        payload - HTTP request body
        +
        method - HTTP method
        +
        uri - URI
        +
        Throws:
        +
        ApiException - If fails to update the parameters
        +
        +
      • +
      + + + +
        +
      • +

        buildRequestBodyFormEncoding

        +
        public okhttp3.RequestBody buildRequestBodyFormEncoding(Map<String,Object> formParams)
        +
        Build a form-encoding request body with the given form parameters.
        +
        +
        Parameters:
        +
        formParams - Form parameters in the form of Map
        +
        Returns:
        +
        RequestBody
        +
        +
      • +
      + + + +
        +
      • +

        buildRequestBodyMultipart

        +
        public okhttp3.RequestBody buildRequestBodyMultipart(Map<String,Object> formParams)
        +
        Build a multipart (file uploading) request body with the given form parameters, + which could contain text fields and file fields.
        +
        +
        Parameters:
        +
        formParams - Form parameters in the form of Map
        +
        Returns:
        +
        RequestBody
        +
        +
      • +
      + + + +
        +
      • +

        guessContentTypeFromFile

        +
        public String guessContentTypeFromFile(File file)
        +
        Guess Content-Type header from the given file (defaults to "application/octet-stream").
        +
        +
        Parameters:
        +
        file - The given file
        +
        Returns:
        +
        The guessed Content-Type
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/ApiException.html b/site/com/mailslurp/clients/ApiException.html new file mode 100644 index 000000000..d3c924212 --- /dev/null +++ b/site/com/mailslurp/clients/ApiException.html @@ -0,0 +1,573 @@ + + + + + + +ApiException (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class ApiException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ApiException
    +extends Exception
    +

    ApiException class.

    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ApiException

        +
        public ApiException()
        +

        Constructor for ApiException.

        +
      • +
      + + + +
        +
      • +

        ApiException

        +
        public ApiException(Throwable throwable)
        +

        Constructor for ApiException.

        +
        +
        Parameters:
        +
        throwable - a Throwable object
        +
        +
      • +
      + + + +
        +
      • +

        ApiException

        +
        public ApiException(String message)
        +

        Constructor for ApiException.

        +
        +
        Parameters:
        +
        message - the error message
        +
        +
      • +
      + + + +
        +
      • +

        ApiException

        +
        public ApiException(String message,
        +                    Throwable throwable,
        +                    int code,
        +                    Map<String,List<String>> responseHeaders,
        +                    String responseBody)
        +

        Constructor for ApiException.

        +
        +
        Parameters:
        +
        message - the error message
        +
        throwable - a Throwable object
        +
        code - HTTP status code
        +
        responseHeaders - a Map of HTTP response headers
        +
        responseBody - the response body
        +
        +
      • +
      + + + +
        +
      • +

        ApiException

        +
        public ApiException(String message,
        +                    int code,
        +                    Map<String,List<String>> responseHeaders,
        +                    String responseBody)
        +

        Constructor for ApiException.

        +
        +
        Parameters:
        +
        message - the error message
        +
        code - HTTP status code
        +
        responseHeaders - a Map of HTTP response headers
        +
        responseBody - the response body
        +
        +
      • +
      + + + +
        +
      • +

        ApiException

        +
        public ApiException(String message,
        +                    Throwable throwable,
        +                    int code,
        +                    Map<String,List<String>> responseHeaders)
        +

        Constructor for ApiException.

        +
        +
        Parameters:
        +
        message - the error message
        +
        throwable - a Throwable object
        +
        code - HTTP status code
        +
        responseHeaders - a Map of HTTP response headers
        +
        +
      • +
      + + + +
        +
      • +

        ApiException

        +
        public ApiException(int code,
        +                    Map<String,List<String>> responseHeaders,
        +                    String responseBody)
        +

        Constructor for ApiException.

        +
        +
        Parameters:
        +
        code - HTTP status code
        +
        responseHeaders - a Map of HTTP response headers
        +
        responseBody - the response body
        +
        +
      • +
      + + + +
        +
      • +

        ApiException

        +
        public ApiException(int code,
        +                    String message)
        +

        Constructor for ApiException.

        +
        +
        Parameters:
        +
        code - HTTP status code
        +
        message - a String object
        +
        +
      • +
      + + + +
        +
      • +

        ApiException

        +
        public ApiException(int code,
        +                    String message,
        +                    Map<String,List<String>> responseHeaders,
        +                    String responseBody)
        +

        Constructor for ApiException.

        +
        +
        Parameters:
        +
        code - HTTP status code
        +
        message - the error message
        +
        responseHeaders - a Map of HTTP response headers
        +
        responseBody - the response body
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getCode

        +
        public int getCode()
        +
        Get the HTTP status code.
        +
        +
        Returns:
        +
        HTTP status code
        +
        +
      • +
      + + + +
        +
      • +

        getResponseHeaders

        +
        public Map<String,List<String>> getResponseHeaders()
        +
        Get the HTTP response headers.
        +
        +
        Returns:
        +
        A map of list of string
        +
        +
      • +
      + + + +
        +
      • +

        getResponseBody

        +
        public String getResponseBody()
        +
        Get the HTTP response body.
        +
        +
        Returns:
        +
        Response body in the form of string
        +
        +
      • +
      + + + +
        +
      • +

        getMessage

        +
        public String getMessage()
        +
        Get the exception message including HTTP response data.
        +
        +
        Overrides:
        +
        getMessage in class Throwable
        +
        Returns:
        +
        The exception message
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/ApiResponse.html b/site/com/mailslurp/clients/ApiResponse.html new file mode 100644 index 000000000..ce8cdefa4 --- /dev/null +++ b/site/com/mailslurp/clients/ApiResponse.html @@ -0,0 +1,358 @@ + + + + + + +ApiResponse (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class ApiResponse<T>

+
+
+ +
+
    +
  • +
    +
    +
    public class ApiResponse<T>
    +extends Object
    +
    API response returned by API call.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ApiResponse

        +
        public ApiResponse(int statusCode,
        +                   Map<String,List<String>> headers)
        +

        Constructor for ApiResponse.

        +
        +
        Parameters:
        +
        statusCode - The status code of HTTP response
        +
        headers - The headers of HTTP response
        +
        +
      • +
      + + + + + +
        +
      • +

        ApiResponse

        +
        public ApiResponse(int statusCode,
        +                   Map<String,List<String>> headers,
        +                   T data)
        +

        Constructor for ApiResponse.

        +
        +
        Parameters:
        +
        statusCode - The status code of HTTP response
        +
        headers - The headers of HTTP response
        +
        data - The object deserialized from response bod
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getStatusCode

        +
        public int getStatusCode()
        +

        Get the status code.

        +
        +
        Returns:
        +
        the status code
        +
        +
      • +
      + + + +
        +
      • +

        getHeaders

        +
        public Map<String,List<String>> getHeaders()
        +

        Get the headers.

        +
        +
        Returns:
        +
        a Map of headers
        +
        +
      • +
      + + + +
        +
      • +

        getData

        +
        public T getData()
        +

        Get the data.

        +
        +
        Returns:
        +
        the data
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/Configuration.html b/site/com/mailslurp/clients/Configuration.html new file mode 100644 index 000000000..e0397c70a --- /dev/null +++ b/site/com/mailslurp/clients/Configuration.html @@ -0,0 +1,306 @@ + + + + + + +Configuration (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class Configuration

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class Configuration
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Configuration

        +
        public Configuration()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getDefaultApiClient

        +
        public static ApiClient getDefaultApiClient()
        +
        Get the default API client, which would be used when creating API + instances without providing an API client.
        +
        +
        Returns:
        +
        Default API client
        +
        +
      • +
      + + + +
        +
      • +

        setDefaultApiClient

        +
        public static void setDefaultApiClient(ApiClient apiClient)
        +
        Set the default API client, which would be used when creating API + instances without providing an API client.
        +
        +
        Parameters:
        +
        apiClient - API client
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/JSON.ByteArrayAdapter.html b/site/com/mailslurp/clients/JSON.ByteArrayAdapter.html new file mode 100644 index 000000000..d581ca685 --- /dev/null +++ b/site/com/mailslurp/clients/JSON.ByteArrayAdapter.html @@ -0,0 +1,319 @@ + + + + + + +JSON.ByteArrayAdapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class JSON.ByteArrayAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.google.gson.TypeAdapter<byte[]>
    • +
    • +
        +
      • com.mailslurp.clients.JSON.ByteArrayAdapter
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    JSON
    +
    +
    +
    +
    public static class JSON.ByteArrayAdapter
    +extends com.google.gson.TypeAdapter<byte[]>
    +
    Gson TypeAdapter for Byte Array type
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ByteArrayAdapter

        +
        public ByteArrayAdapter()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        write

        +
        public void write(com.google.gson.stream.JsonWriter out,
        +                  byte[] value)
        +           throws IOException
        +
        +
        Specified by:
        +
        write in class com.google.gson.TypeAdapter<byte[]>
        +
        Throws:
        +
        IOException
        +
        +
      • +
      + + + +
        +
      • +

        read

        +
        public byte[] read(com.google.gson.stream.JsonReader in)
        +            throws IOException
        +
        +
        Specified by:
        +
        read in class com.google.gson.TypeAdapter<byte[]>
        +
        Throws:
        +
        IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/JSON.DateTypeAdapter.html b/site/com/mailslurp/clients/JSON.DateTypeAdapter.html new file mode 100644 index 000000000..718498115 --- /dev/null +++ b/site/com/mailslurp/clients/JSON.DateTypeAdapter.html @@ -0,0 +1,345 @@ + + + + + + +JSON.DateTypeAdapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class JSON.DateTypeAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.google.gson.TypeAdapter<Date>
    • +
    • +
        +
      • com.mailslurp.clients.JSON.DateTypeAdapter
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    JSON
    +
    +
    +
    +
    public static class JSON.DateTypeAdapter
    +extends com.google.gson.TypeAdapter<Date>
    +
    Gson TypeAdapter for java.util.Date type + If the dateFormat is null, ISO8601Utils will be used.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DateTypeAdapter

        +
        public DateTypeAdapter()
        +
      • +
      + + + +
        +
      • +

        DateTypeAdapter

        +
        public DateTypeAdapter(DateFormat dateFormat)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setFormat

        +
        public void setFormat(DateFormat dateFormat)
        +
      • +
      + + + +
        +
      • +

        write

        +
        public void write(com.google.gson.stream.JsonWriter out,
        +                  Date date)
        +           throws IOException
        +
        +
        Specified by:
        +
        write in class com.google.gson.TypeAdapter<Date>
        +
        Throws:
        +
        IOException
        +
        +
      • +
      + + + +
        +
      • +

        read

        +
        public Date read(com.google.gson.stream.JsonReader in)
        +          throws IOException
        +
        +
        Specified by:
        +
        read in class com.google.gson.TypeAdapter<Date>
        +
        Throws:
        +
        IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/JSON.LocalDateTypeAdapter.html b/site/com/mailslurp/clients/JSON.LocalDateTypeAdapter.html new file mode 100644 index 000000000..a69bf3373 --- /dev/null +++ b/site/com/mailslurp/clients/JSON.LocalDateTypeAdapter.html @@ -0,0 +1,344 @@ + + + + + + +JSON.LocalDateTypeAdapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class JSON.LocalDateTypeAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.google.gson.TypeAdapter<LocalDate>
    • +
    • +
        +
      • com.mailslurp.clients.JSON.LocalDateTypeAdapter
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    JSON
    +
    +
    +
    +
    public static class JSON.LocalDateTypeAdapter
    +extends com.google.gson.TypeAdapter<LocalDate>
    +
    Gson TypeAdapter for JSR310 LocalDate type
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LocalDateTypeAdapter

        +
        public LocalDateTypeAdapter()
        +
      • +
      + + + +
        +
      • +

        LocalDateTypeAdapter

        +
        public LocalDateTypeAdapter(DateTimeFormatter formatter)
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/JSON.OffsetDateTimeTypeAdapter.html b/site/com/mailslurp/clients/JSON.OffsetDateTimeTypeAdapter.html new file mode 100644 index 000000000..476b82802 --- /dev/null +++ b/site/com/mailslurp/clients/JSON.OffsetDateTimeTypeAdapter.html @@ -0,0 +1,344 @@ + + + + + + +JSON.OffsetDateTimeTypeAdapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class JSON.OffsetDateTimeTypeAdapter

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    JSON
    +
    +
    +
    +
    public static class JSON.OffsetDateTimeTypeAdapter
    +extends com.google.gson.TypeAdapter<OffsetDateTime>
    +
    Gson TypeAdapter for JSR310 OffsetDateTime type
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/JSON.SqlDateTypeAdapter.html b/site/com/mailslurp/clients/JSON.SqlDateTypeAdapter.html new file mode 100644 index 000000000..cbe4bc462 --- /dev/null +++ b/site/com/mailslurp/clients/JSON.SqlDateTypeAdapter.html @@ -0,0 +1,346 @@ + + + + + + +JSON.SqlDateTypeAdapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class JSON.SqlDateTypeAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.google.gson.TypeAdapter<Date>
    • +
    • +
        +
      • com.mailslurp.clients.JSON.SqlDateTypeAdapter
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    JSON
    +
    +
    +
    +
    public static class JSON.SqlDateTypeAdapter
    +extends com.google.gson.TypeAdapter<Date>
    +
    Gson TypeAdapter for java.sql.Date type + If the dateFormat is null, a simple "yyyy-MM-dd" format will be used + (more efficient than SimpleDateFormat).
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SqlDateTypeAdapter

        +
        public SqlDateTypeAdapter()
        +
      • +
      + + + +
        +
      • +

        SqlDateTypeAdapter

        +
        public SqlDateTypeAdapter(DateFormat dateFormat)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setFormat

        +
        public void setFormat(DateFormat dateFormat)
        +
      • +
      + + + +
        +
      • +

        write

        +
        public void write(com.google.gson.stream.JsonWriter out,
        +                  Date date)
        +           throws IOException
        +
        +
        Specified by:
        +
        write in class com.google.gson.TypeAdapter<Date>
        +
        Throws:
        +
        IOException
        +
        +
      • +
      + + + +
        +
      • +

        read

        +
        public Date read(com.google.gson.stream.JsonReader in)
        +          throws IOException
        +
        +
        Specified by:
        +
        read in class com.google.gson.TypeAdapter<Date>
        +
        Throws:
        +
        IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/JSON.html b/site/com/mailslurp/clients/JSON.html new file mode 100644 index 000000000..f68695adf --- /dev/null +++ b/site/com/mailslurp/clients/JSON.html @@ -0,0 +1,475 @@ + + + + + + +JSON (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class JSON

+
+
+ +
+
    +
  • +
    +
    +
    public class JSON
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JSON

        +
        public JSON()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        createGson

        +
        public static com.google.gson.GsonBuilder createGson()
        +
      • +
      + + + +
        +
      • +

        getGson

        +
        public static com.google.gson.Gson getGson()
        +
        Get Gson.
        +
        +
        Returns:
        +
        Gson
        +
        +
      • +
      + + + +
        +
      • +

        setGson

        +
        public static void setGson(com.google.gson.Gson gson)
        +
        Set Gson.
        +
        +
        Parameters:
        +
        gson - Gson
        +
        +
      • +
      + + + +
        +
      • +

        setLenientOnJson

        +
        public static void setLenientOnJson(boolean lenientOnJson)
        +
      • +
      + + + +
        +
      • +

        serialize

        +
        public static String serialize(Object obj)
        +
        Serialize the given Java object into JSON string.
        +
        +
        Parameters:
        +
        obj - Object
        +
        Returns:
        +
        String representation of the JSON
        +
        +
      • +
      + + + +
        +
      • +

        deserialize

        +
        public static <T> T deserialize(String body,
        +                                Type returnType)
        +
        Deserialize the given JSON string to Java object.
        +
        +
        Type Parameters:
        +
        T - Type
        +
        Parameters:
        +
        body - The JSON string
        +
        returnType - The type to deserialize into
        +
        Returns:
        +
        The deserialized Java object
        +
        +
      • +
      + + + +
        +
      • +

        setOffsetDateTimeFormat

        +
        public static void setOffsetDateTimeFormat(DateTimeFormatter dateFormat)
        +
      • +
      + + + +
        +
      • +

        setLocalDateFormat

        +
        public static void setLocalDateFormat(DateTimeFormatter dateFormat)
        +
      • +
      + + + +
        +
      • +

        setDateFormat

        +
        public static void setDateFormat(DateFormat dateFormat)
        +
      • +
      + + + +
        +
      • +

        setSqlDateFormat

        +
        public static void setSqlDateFormat(DateFormat dateFormat)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/Pair.html b/site/com/mailslurp/clients/Pair.html new file mode 100644 index 000000000..9e5e53025 --- /dev/null +++ b/site/com/mailslurp/clients/Pair.html @@ -0,0 +1,290 @@ + + + + + + +Pair (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class Pair

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class Pair
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/ProgressRequestBody.html b/site/com/mailslurp/clients/ProgressRequestBody.html new file mode 100644 index 000000000..c6a2bcd81 --- /dev/null +++ b/site/com/mailslurp/clients/ProgressRequestBody.html @@ -0,0 +1,361 @@ + + + + + + +ProgressRequestBody (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class ProgressRequestBody

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • okhttp3.RequestBody
    • +
    • +
        +
      • com.mailslurp.clients.ProgressRequestBody
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class ProgressRequestBody
    +extends okhttp3.RequestBody
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class okhttp3.RequestBody

        +okhttp3.RequestBody.Companion
      • +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class okhttp3.RequestBody

        +Companion
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ProgressRequestBody(okhttp3.RequestBody requestBody, + ApiCallback callback) 
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ProgressRequestBody

        +
        public ProgressRequestBody(okhttp3.RequestBody requestBody,
        +                           ApiCallback callback)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        contentType

        +
        public okhttp3.MediaType contentType()
        +
        +
        Specified by:
        +
        contentType in class okhttp3.RequestBody
        +
        +
      • +
      + + + +
        +
      • +

        contentLength

        +
        public long contentLength()
        +                   throws IOException
        +
        +
        Overrides:
        +
        contentLength in class okhttp3.RequestBody
        +
        Throws:
        +
        IOException
        +
        +
      • +
      + + + +
        +
      • +

        writeTo

        +
        public void writeTo(okio.BufferedSink sink)
        +             throws IOException
        +
        +
        Specified by:
        +
        writeTo in class okhttp3.RequestBody
        +
        Throws:
        +
        IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/ProgressResponseBody.html b/site/com/mailslurp/clients/ProgressResponseBody.html new file mode 100644 index 000000000..011885935 --- /dev/null +++ b/site/com/mailslurp/clients/ProgressResponseBody.html @@ -0,0 +1,359 @@ + + + + + + +ProgressResponseBody (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class ProgressResponseBody

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • okhttp3.ResponseBody
    • +
    • +
        +
      • com.mailslurp.clients.ProgressResponseBody
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Closeable, AutoCloseable
    +
    +
    +
    +
    public class ProgressResponseBody
    +extends okhttp3.ResponseBody
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class okhttp3.ResponseBody

        +okhttp3.ResponseBody.BomAwareReader, okhttp3.ResponseBody.Companion
      • +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class okhttp3.ResponseBody

        +Companion
      • +
      +
    • +
    + + + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ProgressResponseBody

        +
        public ProgressResponseBody(okhttp3.ResponseBody responseBody,
        +                            ApiCallback callback)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        contentType

        +
        public okhttp3.MediaType contentType()
        +
        +
        Specified by:
        +
        contentType in class okhttp3.ResponseBody
        +
        +
      • +
      + + + +
        +
      • +

        contentLength

        +
        public long contentLength()
        +
        +
        Specified by:
        +
        contentLength in class okhttp3.ResponseBody
        +
        +
      • +
      + + + +
        +
      • +

        source

        +
        public okio.BufferedSource source()
        +
        +
        Specified by:
        +
        source in class okhttp3.ResponseBody
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/ServerConfiguration.html b/site/com/mailslurp/clients/ServerConfiguration.html new file mode 100644 index 000000000..afc8dead0 --- /dev/null +++ b/site/com/mailslurp/clients/ServerConfiguration.html @@ -0,0 +1,375 @@ + + + + + + +ServerConfiguration (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class ServerConfiguration

+
+
+ +
+
    +
  • +
    +
    +
    public class ServerConfiguration
    +extends Object
    +
    Representing a Server configuration.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ServerConfiguration

        +
        public ServerConfiguration(String URL,
        +                           String description,
        +                           Map<String,ServerVariable> variables)
        +
        +
        Parameters:
        +
        URL - A URL to the target host.
        +
        description - A description of the host designated by the URL.
        +
        variables - A map between a variable name and its value. The value is used for substitution in the server's URL template.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        URL

        +
        public String URL(Map<String,String> variables)
        +
        Format URL template using given variables.
        +
        +
        Parameters:
        +
        variables - A map between a variable name and its value.
        +
        Returns:
        +
        Formatted URL.
        +
        +
      • +
      + + + +
        +
      • +

        URL

        +
        public String URL()
        +
        Format URL template using default server variables.
        +
        +
        Returns:
        +
        Formatted URL.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/ServerVariable.html b/site/com/mailslurp/clients/ServerVariable.html new file mode 100644 index 000000000..b1d1a0ff7 --- /dev/null +++ b/site/com/mailslurp/clients/ServerVariable.html @@ -0,0 +1,312 @@ + + + + + + +ServerVariable (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class ServerVariable

+
+
+ +
+
    +
  • +
    +
    +
    public class ServerVariable
    +extends Object
    +
    Representing a Server Variable for server URL template substitution.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ServerVariable

        +
        public ServerVariable(String description,
        +                      String defaultValue,
        +                      HashSet<String> enumValues)
        +
        +
        Parameters:
        +
        description - A description for the server variable.
        +
        defaultValue - The default value to use for substitution.
        +
        enumValues - An enumeration of string values to be used if the substitution options are from a limited set.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/StringUtil.html b/site/com/mailslurp/clients/StringUtil.html new file mode 100644 index 000000000..fa63701a1 --- /dev/null +++ b/site/com/mailslurp/clients/StringUtil.html @@ -0,0 +1,341 @@ + + + + + + +StringUtil (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients
+

Class StringUtil

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class StringUtil
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StringUtil

        +
        public StringUtil()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        containsIgnoreCase

        +
        public static boolean containsIgnoreCase(String[] array,
        +                                         String value)
        +
        Check if the given array contains the given value (with case-insensitive comparison).
        +
        +
        Parameters:
        +
        array - The array
        +
        value - The value to search
        +
        Returns:
        +
        true if the array contains the value
        +
        +
      • +
      + + + +
        +
      • +

        join

        +
        public static String join(String[] array,
        +                          String separator)
        +
        Join an array of strings with the given separator. +

        + Note: This might be replaced by utility method from commons-lang or guava someday + if one of those libraries is added as dependency. +

        +
        +
        Parameters:
        +
        array - The array of strings
        +
        separator - The separator
        +
        Returns:
        +
        the resulting string
        +
        +
      • +
      + + + +
        +
      • +

        join

        +
        public static String join(Collection<String> list,
        +                          String separator)
        +
        Join a list of strings with the given separator.
        +
        +
        Parameters:
        +
        list - The list of strings
        +
        separator - The separator
        +
        Returns:
        +
        the resulting string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/auth/ApiKeyAuth.html b/site/com/mailslurp/clients/auth/ApiKeyAuth.html new file mode 100644 index 000000000..d21f67652 --- /dev/null +++ b/site/com/mailslurp/clients/auth/ApiKeyAuth.html @@ -0,0 +1,388 @@ + + + + + + +ApiKeyAuth (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients.auth
+

Class ApiKeyAuth

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ApiKeyAuth

        +
        public ApiKeyAuth(String location,
        +                  String paramName)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getLocation

        +
        public String getLocation()
        +
      • +
      + + + +
        +
      • +

        getParamName

        +
        public String getParamName()
        +
      • +
      + + + +
        +
      • +

        getApiKey

        +
        public String getApiKey()
        +
      • +
      + + + +
        +
      • +

        setApiKey

        +
        public void setApiKey(String apiKey)
        +
      • +
      + + + +
        +
      • +

        getApiKeyPrefix

        +
        public String getApiKeyPrefix()
        +
      • +
      + + + +
        +
      • +

        setApiKeyPrefix

        +
        public void setApiKeyPrefix(String apiKeyPrefix)
        +
      • +
      + + + +
        +
      • +

        applyToParams

        +
        public void applyToParams(List<Pair> queryParams,
        +                          Map<String,String> headerParams,
        +                          Map<String,String> cookieParams,
        +                          String payload,
        +                          String method,
        +                          URI uri)
        +                   throws ApiException
        +
        Description copied from interface: Authentication
        +
        Apply authentication settings to header and query params.
        +
        +
        Specified by:
        +
        applyToParams in interface Authentication
        +
        Parameters:
        +
        queryParams - List of query parameters
        +
        headerParams - Map of header parameters
        +
        cookieParams - Map of cookie parameters
        +
        payload - HTTP request body
        +
        method - HTTP method
        +
        uri - URI
        +
        Throws:
        +
        ApiException - if failed to update the parameters
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/auth/Authentication.html b/site/com/mailslurp/clients/auth/Authentication.html new file mode 100644 index 000000000..862453ebf --- /dev/null +++ b/site/com/mailslurp/clients/auth/Authentication.html @@ -0,0 +1,252 @@ + + + + + + +Authentication (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients.auth
+

Interface Authentication

+
+
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        applyToParams

        +
        void applyToParams(List<Pair> queryParams,
        +                   Map<String,String> headerParams,
        +                   Map<String,String> cookieParams,
        +                   String payload,
        +                   String method,
        +                   URI uri)
        +            throws ApiException
        +
        Apply authentication settings to header and query params.
        +
        +
        Parameters:
        +
        queryParams - List of query parameters
        +
        headerParams - Map of header parameters
        +
        cookieParams - Map of cookie parameters
        +
        payload - HTTP request body
        +
        method - HTTP method
        +
        uri - URI
        +
        Throws:
        +
        ApiException - if failed to update the parameters
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/auth/HttpBasicAuth.html b/site/com/mailslurp/clients/auth/HttpBasicAuth.html new file mode 100644 index 000000000..50b6f057d --- /dev/null +++ b/site/com/mailslurp/clients/auth/HttpBasicAuth.html @@ -0,0 +1,358 @@ + + + + + + +HttpBasicAuth (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients.auth
+

Class HttpBasicAuth

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HttpBasicAuth

        +
        public HttpBasicAuth()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getUsername

        +
        public String getUsername()
        +
      • +
      + + + +
        +
      • +

        setUsername

        +
        public void setUsername(String username)
        +
      • +
      + + + +
        +
      • +

        getPassword

        +
        public String getPassword()
        +
      • +
      + + + +
        +
      • +

        setPassword

        +
        public void setPassword(String password)
        +
      • +
      + + + +
        +
      • +

        applyToParams

        +
        public void applyToParams(List<Pair> queryParams,
        +                          Map<String,String> headerParams,
        +                          Map<String,String> cookieParams,
        +                          String payload,
        +                          String method,
        +                          URI uri)
        +                   throws ApiException
        +
        Description copied from interface: Authentication
        +
        Apply authentication settings to header and query params.
        +
        +
        Specified by:
        +
        applyToParams in interface Authentication
        +
        Parameters:
        +
        queryParams - List of query parameters
        +
        headerParams - Map of header parameters
        +
        cookieParams - Map of cookie parameters
        +
        payload - HTTP request body
        +
        method - HTTP method
        +
        uri - URI
        +
        Throws:
        +
        ApiException - if failed to update the parameters
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/auth/HttpBearerAuth.html b/site/com/mailslurp/clients/auth/HttpBearerAuth.html new file mode 100644 index 000000000..249649895 --- /dev/null +++ b/site/com/mailslurp/clients/auth/HttpBearerAuth.html @@ -0,0 +1,348 @@ + + + + + + +HttpBearerAuth (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.clients.auth
+

Class HttpBearerAuth

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HttpBearerAuth

        +
        public HttpBearerAuth(String scheme)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getBearerToken

        +
        public String getBearerToken()
        +
        Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
        +
        +
        Returns:
        +
        The bearer token
        +
        +
      • +
      + + + +
        +
      • +

        setBearerToken

        +
        public void setBearerToken(String bearerToken)
        +
        Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
        +
        +
        Parameters:
        +
        bearerToken - The bearer token to send in the Authorization header
        +
        +
      • +
      + + + +
        +
      • +

        applyToParams

        +
        public void applyToParams(List<Pair> queryParams,
        +                          Map<String,String> headerParams,
        +                          Map<String,String> cookieParams,
        +                          String payload,
        +                          String method,
        +                          URI uri)
        +                   throws ApiException
        +
        Description copied from interface: Authentication
        +
        Apply authentication settings to header and query params.
        +
        +
        Specified by:
        +
        applyToParams in interface Authentication
        +
        Parameters:
        +
        queryParams - List of query parameters
        +
        headerParams - Map of header parameters
        +
        cookieParams - Map of cookie parameters
        +
        payload - HTTP request body
        +
        method - HTTP method
        +
        uri - URI
        +
        Throws:
        +
        ApiException - if failed to update the parameters
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/auth/class-use/ApiKeyAuth.html b/site/com/mailslurp/clients/auth/class-use/ApiKeyAuth.html new file mode 100644 index 000000000..6dba0d6a6 --- /dev/null +++ b/site/com/mailslurp/clients/auth/class-use/ApiKeyAuth.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.auth.ApiKeyAuth (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.auth.ApiKeyAuth

+
+
No usage of com.mailslurp.clients.auth.ApiKeyAuth
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/auth/class-use/Authentication.html b/site/com/mailslurp/clients/auth/class-use/Authentication.html new file mode 100644 index 000000000..03a465b05 --- /dev/null +++ b/site/com/mailslurp/clients/auth/class-use/Authentication.html @@ -0,0 +1,213 @@ + + + + + + +Uses of Interface com.mailslurp.clients.auth.Authentication (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Interface
com.mailslurp.clients.auth.Authentication

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/auth/class-use/HttpBasicAuth.html b/site/com/mailslurp/clients/auth/class-use/HttpBasicAuth.html new file mode 100644 index 000000000..fe4c5790c --- /dev/null +++ b/site/com/mailslurp/clients/auth/class-use/HttpBasicAuth.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.auth.HttpBasicAuth (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.auth.HttpBasicAuth

+
+
No usage of com.mailslurp.clients.auth.HttpBasicAuth
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/auth/class-use/HttpBearerAuth.html b/site/com/mailslurp/clients/auth/class-use/HttpBearerAuth.html new file mode 100644 index 000000000..fc36ecbc3 --- /dev/null +++ b/site/com/mailslurp/clients/auth/class-use/HttpBearerAuth.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.auth.HttpBearerAuth (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.auth.HttpBearerAuth

+
+
No usage of com.mailslurp.clients.auth.HttpBearerAuth
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/auth/package-frame.html b/site/com/mailslurp/clients/auth/package-frame.html new file mode 100644 index 000000000..558b8c3e1 --- /dev/null +++ b/site/com/mailslurp/clients/auth/package-frame.html @@ -0,0 +1,27 @@ + + + + + + +com.mailslurp.clients.auth (mailslurp-client-java 15.17.17 API) + + + + + +

com.mailslurp.clients.auth

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/site/com/mailslurp/clients/auth/package-summary.html b/site/com/mailslurp/clients/auth/package-summary.html new file mode 100644 index 000000000..f3e151692 --- /dev/null +++ b/site/com/mailslurp/clients/auth/package-summary.html @@ -0,0 +1,167 @@ + + + + + + +com.mailslurp.clients.auth (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Package com.mailslurp.clients.auth

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/auth/package-tree.html b/site/com/mailslurp/clients/auth/package-tree.html new file mode 100644 index 000000000..189f02f13 --- /dev/null +++ b/site/com/mailslurp/clients/auth/package-tree.html @@ -0,0 +1,145 @@ + + + + + + +com.mailslurp.clients.auth Class Hierarchy (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Hierarchy For Package com.mailslurp.clients.auth

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/auth/package-use.html b/site/com/mailslurp/clients/auth/package-use.html new file mode 100644 index 000000000..7b6cde2ef --- /dev/null +++ b/site/com/mailslurp/clients/auth/package-use.html @@ -0,0 +1,178 @@ + + + + + + +Uses of Package com.mailslurp.clients.auth (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Package
com.mailslurp.clients.auth

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/ApiCallback.html b/site/com/mailslurp/clients/class-use/ApiCallback.html new file mode 100644 index 000000000..fe3531902 --- /dev/null +++ b/site/com/mailslurp/clients/class-use/ApiCallback.html @@ -0,0 +1,4876 @@ + + + + + + +Uses of Interface com.mailslurp.clients.ApiCallback (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Interface
com.mailslurp.clients.ApiCallback

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/ApiClient.html b/site/com/mailslurp/clients/class-use/ApiClient.html new file mode 100644 index 000000000..b630854aa --- /dev/null +++ b/site/com/mailslurp/clients/class-use/ApiClient.html @@ -0,0 +1,644 @@ + + + + + + +Uses of Class com.mailslurp.clients.ApiClient (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.ApiClient

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/ApiException.html b/site/com/mailslurp/clients/class-use/ApiException.html new file mode 100644 index 000000000..617fe99de --- /dev/null +++ b/site/com/mailslurp/clients/class-use/ApiException.html @@ -0,0 +1,9202 @@ + + + + + + +Uses of Class com.mailslurp.clients.ApiException (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.ApiException

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/ApiResponse.html b/site/com/mailslurp/clients/class-use/ApiResponse.html new file mode 100644 index 000000000..81bbb24e0 --- /dev/null +++ b/site/com/mailslurp/clients/class-use/ApiResponse.html @@ -0,0 +1,2308 @@ + + + + + + +Uses of Class com.mailslurp.clients.ApiResponse (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.ApiResponse

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/Configuration.html b/site/com/mailslurp/clients/class-use/Configuration.html new file mode 100644 index 000000000..1d76f170d --- /dev/null +++ b/site/com/mailslurp/clients/class-use/Configuration.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.Configuration (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.Configuration

+
+
No usage of com.mailslurp.clients.Configuration
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/JSON.ByteArrayAdapter.html b/site/com/mailslurp/clients/class-use/JSON.ByteArrayAdapter.html new file mode 100644 index 000000000..ed4e315fc --- /dev/null +++ b/site/com/mailslurp/clients/class-use/JSON.ByteArrayAdapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.JSON.ByteArrayAdapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.JSON.ByteArrayAdapter

+
+
No usage of com.mailslurp.clients.JSON.ByteArrayAdapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/JSON.DateTypeAdapter.html b/site/com/mailslurp/clients/class-use/JSON.DateTypeAdapter.html new file mode 100644 index 000000000..6b240bd74 --- /dev/null +++ b/site/com/mailslurp/clients/class-use/JSON.DateTypeAdapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.JSON.DateTypeAdapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.JSON.DateTypeAdapter

+
+
No usage of com.mailslurp.clients.JSON.DateTypeAdapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/JSON.LocalDateTypeAdapter.html b/site/com/mailslurp/clients/class-use/JSON.LocalDateTypeAdapter.html new file mode 100644 index 000000000..e7a029bca --- /dev/null +++ b/site/com/mailslurp/clients/class-use/JSON.LocalDateTypeAdapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.JSON.LocalDateTypeAdapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.JSON.LocalDateTypeAdapter

+
+
No usage of com.mailslurp.clients.JSON.LocalDateTypeAdapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/JSON.OffsetDateTimeTypeAdapter.html b/site/com/mailslurp/clients/class-use/JSON.OffsetDateTimeTypeAdapter.html new file mode 100644 index 000000000..5aa55d98f --- /dev/null +++ b/site/com/mailslurp/clients/class-use/JSON.OffsetDateTimeTypeAdapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.JSON.OffsetDateTimeTypeAdapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.JSON.OffsetDateTimeTypeAdapter

+
+
No usage of com.mailslurp.clients.JSON.OffsetDateTimeTypeAdapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/JSON.SqlDateTypeAdapter.html b/site/com/mailslurp/clients/class-use/JSON.SqlDateTypeAdapter.html new file mode 100644 index 000000000..51de7ff1e --- /dev/null +++ b/site/com/mailslurp/clients/class-use/JSON.SqlDateTypeAdapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.JSON.SqlDateTypeAdapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.JSON.SqlDateTypeAdapter

+
+
No usage of com.mailslurp.clients.JSON.SqlDateTypeAdapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/JSON.html b/site/com/mailslurp/clients/class-use/JSON.html new file mode 100644 index 000000000..43afd55c3 --- /dev/null +++ b/site/com/mailslurp/clients/class-use/JSON.html @@ -0,0 +1,183 @@ + + + + + + +Uses of Class com.mailslurp.clients.JSON (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.JSON

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/Pair.html b/site/com/mailslurp/clients/class-use/Pair.html new file mode 100644 index 000000000..42b4a8a17 --- /dev/null +++ b/site/com/mailslurp/clients/class-use/Pair.html @@ -0,0 +1,336 @@ + + + + + + +Uses of Class com.mailslurp.clients.Pair (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.Pair

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/ProgressRequestBody.html b/site/com/mailslurp/clients/class-use/ProgressRequestBody.html new file mode 100644 index 000000000..0d3a874d8 --- /dev/null +++ b/site/com/mailslurp/clients/class-use/ProgressRequestBody.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.ProgressRequestBody (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.ProgressRequestBody

+
+
No usage of com.mailslurp.clients.ProgressRequestBody
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/ProgressResponseBody.html b/site/com/mailslurp/clients/class-use/ProgressResponseBody.html new file mode 100644 index 000000000..1de69d2d7 --- /dev/null +++ b/site/com/mailslurp/clients/class-use/ProgressResponseBody.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.ProgressResponseBody (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.ProgressResponseBody

+
+
No usage of com.mailslurp.clients.ProgressResponseBody
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/ServerConfiguration.html b/site/com/mailslurp/clients/class-use/ServerConfiguration.html new file mode 100644 index 000000000..939f1a9dd --- /dev/null +++ b/site/com/mailslurp/clients/class-use/ServerConfiguration.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.ServerConfiguration (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.ServerConfiguration

+
+
No usage of com.mailslurp.clients.ServerConfiguration
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/ServerVariable.html b/site/com/mailslurp/clients/class-use/ServerVariable.html new file mode 100644 index 000000000..a98009716 --- /dev/null +++ b/site/com/mailslurp/clients/class-use/ServerVariable.html @@ -0,0 +1,179 @@ + + + + + + +Uses of Class com.mailslurp.clients.ServerVariable (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.ServerVariable

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/class-use/StringUtil.html b/site/com/mailslurp/clients/class-use/StringUtil.html new file mode 100644 index 000000000..2973e4510 --- /dev/null +++ b/site/com/mailslurp/clients/class-use/StringUtil.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.clients.StringUtil (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.clients.StringUtil

+
+
No usage of com.mailslurp.clients.StringUtil
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/package-frame.html b/site/com/mailslurp/clients/package-frame.html new file mode 100644 index 000000000..5a19c0d07 --- /dev/null +++ b/site/com/mailslurp/clients/package-frame.html @@ -0,0 +1,43 @@ + + + + + + +com.mailslurp.clients (mailslurp-client-java 15.17.17 API) + + + + + +

com.mailslurp.clients

+ + + diff --git a/site/com/mailslurp/clients/package-summary.html b/site/com/mailslurp/clients/package-summary.html new file mode 100644 index 000000000..f77a7b0e4 --- /dev/null +++ b/site/com/mailslurp/clients/package-summary.html @@ -0,0 +1,255 @@ + + + + + + +com.mailslurp.clients (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Package com.mailslurp.clients

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/package-tree.html b/site/com/mailslurp/clients/package-tree.html new file mode 100644 index 000000000..405cea9fd --- /dev/null +++ b/site/com/mailslurp/clients/package-tree.html @@ -0,0 +1,178 @@ + + + + + + +com.mailslurp.clients Class Hierarchy (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Hierarchy For Package com.mailslurp.clients

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/clients/package-use.html b/site/com/mailslurp/clients/package-use.html new file mode 100644 index 000000000..399c192d8 --- /dev/null +++ b/site/com/mailslurp/clients/package-use.html @@ -0,0 +1,247 @@ + + + + + + +Uses of Package com.mailslurp.clients (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Package
com.mailslurp.clients

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AbstractOpenApiSchema.html b/site/com/mailslurp/models/AbstractOpenApiSchema.html new file mode 100644 index 000000000..32d4fb487 --- /dev/null +++ b/site/com/mailslurp/models/AbstractOpenApiSchema.html @@ -0,0 +1,436 @@ + + + + + + +AbstractOpenApiSchema (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AbstractOpenApiSchema

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public abstract class AbstractOpenApiSchema
    +extends Object
    +
    Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractOpenApiSchema

        +
        public AbstractOpenApiSchema(String schemaType,
        +                             Boolean isNullable)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSchemas

        +
        public abstract Map<String,javax.ws.rs.core.GenericType> getSchemas()
        +
        Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
        +
        +
        Returns:
        +
        an instance of the actual schema/object
        +
        +
      • +
      + + + +
        +
      • +

        getActualInstance

        +
        public Object getActualInstance()
        +
        Get the actual instance
        +
        +
        Returns:
        +
        an instance of the actual schema/object
        +
        +
      • +
      + + + +
        +
      • +

        setActualInstance

        +
        public void setActualInstance(Object instance)
        +
        Set the actual instance
        +
        +
        Parameters:
        +
        instance - the actual instance of the schema/object
        +
        +
      • +
      + + + +
        +
      • +

        getActualInstanceRecursively

        +
        public Object getActualInstanceRecursively()
        +
        Get the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf schema as well
        +
        +
        Returns:
        +
        an instance of the actual schema/object
        +
        +
      • +
      + + + +
        +
      • +

        getSchemaType

        +
        public String getSchemaType()
        +
        Get the schema type (e.g. anyOf, oneOf)
        +
        +
        Returns:
        +
        the schema type
        +
        +
      • +
      + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + +
        +
      • +

        isNullable

        +
        public Boolean isNullable()
        +
        Is nullable
        +
        +
        Returns:
        +
        true if it's nullable
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AbstractWebhookPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/AbstractWebhookPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3c911fcf7 --- /dev/null +++ b/site/com/mailslurp/models/AbstractWebhookPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +AbstractWebhookPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AbstractWebhookPayload.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.AbstractWebhookPayload.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    AbstractWebhookPayload
    +
    +
    +
    +
    public static class AbstractWebhookPayload.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AbstractWebhookPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/AbstractWebhookPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..56880461b --- /dev/null +++ b/site/com/mailslurp/models/AbstractWebhookPayload.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +AbstractWebhookPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AbstractWebhookPayload.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AbstractWebhookPayload.EventNameEnum.html b/site/com/mailslurp/models/AbstractWebhookPayload.EventNameEnum.html new file mode 100644 index 000000000..da5ad0fb7 --- /dev/null +++ b/site/com/mailslurp/models/AbstractWebhookPayload.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +AbstractWebhookPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum AbstractWebhookPayload.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AbstractWebhookPayload.html b/site/com/mailslurp/models/AbstractWebhookPayload.html new file mode 100644 index 000000000..d5dd349ad --- /dev/null +++ b/site/com/mailslurp/models/AbstractWebhookPayload.html @@ -0,0 +1,712 @@ + + + + + + +AbstractWebhookPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AbstractWebhookPayload

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class AbstractWebhookPayload
    +extends Object
    +
    Abstract webhook payload. Use the correct payload type for your webhook event type in order to access all the specific properties for that event. See the `NEW_EMAIL`,`NEW_CONTACT`, `NEW_ATTACHMENT` and `EMAIL_OPENED` payloads for the properties available for those events.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AliasDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/AliasDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..10d8632e9 --- /dev/null +++ b/site/com/mailslurp/models/AliasDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +AliasDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AliasDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.AliasDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    AliasDto
    +
    +
    +
    +
    public static class AliasDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AliasDto.html b/site/com/mailslurp/models/AliasDto.html new file mode 100644 index 000000000..8d0ea280c --- /dev/null +++ b/site/com/mailslurp/models/AliasDto.html @@ -0,0 +1,1090 @@ + + + + + + +AliasDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AliasDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class AliasDto
    +extends Object
    +
    Email alias representation
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AliasDto

        +
        public AliasDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + +
        +
      • +

        emailAddress

        +
        public AliasDto emailAddress(String emailAddress)
        +
      • +
      + + + +
        +
      • +

        getEmailAddress

        +
        @Nonnull
        +public String getEmailAddress()
        +
        The alias's email address for receiving email
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + +
        +
      • +

        maskedEmailAddress

        +
        public AliasDto maskedEmailAddress(String maskedEmailAddress)
        +
      • +
      + + + +
        +
      • +

        getMaskedEmailAddress

        +
        @Nullable
        +public String getMaskedEmailAddress()
        +
        The underlying email address that is hidden and will received forwarded email
        +
        +
        Returns:
        +
        maskedEmailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setMaskedEmailAddress

        +
        public void setMaskedEmailAddress(String maskedEmailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getUserId

        +
        @Nonnull
        +public UUID getUserId()
        +
        Get userId
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + + + + + +
        +
      • +

        getInboxId

        +
        @Nonnull
        +public UUID getInboxId()
        +
        Inbox that is associated with the alias
        +
        +
        Returns:
        +
        inboxId
        +
        +
      • +
      + + + +
        +
      • +

        setInboxId

        +
        public void setInboxId(UUID inboxId)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Get name
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getUseThreads

        +
        @Nullable
        +public Boolean getUseThreads()
        +
        If alias will generate response threads or not when email are received by it
        +
        +
        Returns:
        +
        useThreads
        +
        +
      • +
      + + + +
        +
      • +

        setUseThreads

        +
        public void setUseThreads(Boolean useThreads)
        +
      • +
      + + + + + + + +
        +
      • +

        getIsVerified

        +
        @Nonnull
        +public Boolean getIsVerified()
        +
        Has the alias been verified. You must verify an alias if the masked email address has not yet been verified by your account
        +
        +
        Returns:
        +
        isVerified
        +
        +
      • +
      + + + +
        +
      • +

        setIsVerified

        +
        public void setIsVerified(Boolean isVerified)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        setUpdatedAt

        +
        public void setUpdatedAt(OffsetDateTime updatedAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to AliasDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static AliasDto fromJson(String jsonString)
        +                         throws IOException
        +
        Create an instance of AliasDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of AliasDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to AliasDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of AliasDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AliasProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/AliasProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2f059943f --- /dev/null +++ b/site/com/mailslurp/models/AliasProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +AliasProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AliasProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.AliasProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    AliasProjection
    +
    +
    +
    +
    public static class AliasProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AliasProjection.html b/site/com/mailslurp/models/AliasProjection.html new file mode 100644 index 000000000..19286d3c2 --- /dev/null +++ b/site/com/mailslurp/models/AliasProjection.html @@ -0,0 +1,962 @@ + + + + + + +AliasProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AliasProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class AliasProjection
    +extends Object
    +
    Representation of a alias
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AttachmentEntity.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/AttachmentEntity.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5d3a6458e --- /dev/null +++ b/site/com/mailslurp/models/AttachmentEntity.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +AttachmentEntity.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AttachmentEntity.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.AttachmentEntity.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    AttachmentEntity
    +
    +
    +
    +
    public static class AttachmentEntity.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AttachmentEntity.html b/site/com/mailslurp/models/AttachmentEntity.html new file mode 100644 index 000000000..b2c3bde36 --- /dev/null +++ b/site/com/mailslurp/models/AttachmentEntity.html @@ -0,0 +1,1026 @@ + + + + + + +AttachmentEntity (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AttachmentEntity

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class AttachmentEntity
    +extends Object
    +
    AttachmentEntity
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AttachmentMetaData.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/AttachmentMetaData.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..c9dc3e58b --- /dev/null +++ b/site/com/mailslurp/models/AttachmentMetaData.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +AttachmentMetaData.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AttachmentMetaData.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.AttachmentMetaData.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    AttachmentMetaData
    +
    +
    +
    +
    public static class AttachmentMetaData.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AttachmentMetaData.html b/site/com/mailslurp/models/AttachmentMetaData.html new file mode 100644 index 000000000..bb63b8eea --- /dev/null +++ b/site/com/mailslurp/models/AttachmentMetaData.html @@ -0,0 +1,706 @@ + + + + + + +AttachmentMetaData (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AttachmentMetaData

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class AttachmentMetaData
    +extends Object
    +
    Meta data associated with an attachment. Attachments are stored as byte blobs so the meta data is stored separately.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AttachmentMetaData

        +
        public AttachmentMetaData()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getName

        +
        @Nonnull
        +public String getName()
        +
        Name of attachment if given
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getContentType

        +
        @Nonnull
        +public String getContentType()
        +
        Content type of attachment such as `image/png`
        +
        +
        Returns:
        +
        contentType
        +
        +
      • +
      + + + +
        +
      • +

        setContentType

        +
        public void setContentType(String contentType)
        +
      • +
      + + + + + + + +
        +
      • +

        getContentLength

        +
        @Nonnull
        +public Long getContentLength()
        +
        Size of attachment in bytes
        +
        +
        Returns:
        +
        contentLength
        +
        +
      • +
      + + + +
        +
      • +

        setContentLength

        +
        public void setContentLength(Long contentLength)
        +
      • +
      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public String getId()
        +
        ID of attachment. Can be used to with attachment controller endpoints to download attachment or with sending methods to attach to an email.
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(String id)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to AttachmentMetaData
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static AttachmentMetaData fromJson(String jsonString)
        +                                   throws IOException
        +
        Create an instance of AttachmentMetaData given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of AttachmentMetaData
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to AttachmentMetaData
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of AttachmentMetaData to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AttachmentProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/AttachmentProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a4ab3fe85 --- /dev/null +++ b/site/com/mailslurp/models/AttachmentProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +AttachmentProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AttachmentProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.AttachmentProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    AttachmentProjection
    +
    +
    +
    +
    public static class AttachmentProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/AttachmentProjection.html b/site/com/mailslurp/models/AttachmentProjection.html new file mode 100644 index 000000000..638ba5908 --- /dev/null +++ b/site/com/mailslurp/models/AttachmentProjection.html @@ -0,0 +1,898 @@ + + + + + + +AttachmentProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class AttachmentProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class AttachmentProjection
    +extends Object
    +
    Email attachment data
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AttachmentProjection

        +
        public AttachmentProjection()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Get name
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getContentLength

        +
        @Nullable
        +public Long getContentLength()
        +
        Content length of attachment in bytes
        +
        +
        Returns:
        +
        contentLength
        +
        +
      • +
      + + + +
        +
      • +

        setContentLength

        +
        public void setContentLength(Long contentLength)
        +
      • +
      + + + + + + + +
        +
      • +

        getUserId

        +
        @Nonnull
        +public UUID getUserId()
        +
        Get userId
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getUpdatedAt

        +
        @Nonnull
        +public OffsetDateTime getUpdatedAt()
        +
        Get updatedAt
        +
        +
        Returns:
        +
        updatedAt
        +
        +
      • +
      + + + +
        +
      • +

        setUpdatedAt

        +
        public void setUpdatedAt(OffsetDateTime updatedAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getAttachmentId

        +
        @Nonnull
        +public String getAttachmentId()
        +
        Attachment ID
        +
        +
        Returns:
        +
        attachmentId
        +
        +
      • +
      + + + +
        +
      • +

        setAttachmentId

        +
        public void setAttachmentId(String attachmentId)
        +
      • +
      + + + + + + + +
        +
      • +

        getContentType

        +
        @Nullable
        +public String getContentType()
        +
        Content type of attachment.
        +
        +
        Returns:
        +
        contentType
        +
        +
      • +
      + + + +
        +
      • +

        setContentType

        +
        public void setContentType(String contentType)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to AttachmentProjection
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static AttachmentProjection fromJson(String jsonString)
        +                                     throws IOException
        +
        Create an instance of AttachmentProjection given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of AttachmentProjection
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to AttachmentProjection
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of AttachmentProjection to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BasicAuthOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/BasicAuthOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..75509ff13 --- /dev/null +++ b/site/com/mailslurp/models/BasicAuthOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +BasicAuthOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BasicAuthOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.BasicAuthOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    BasicAuthOptions
    +
    +
    +
    +
    public static class BasicAuthOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BasicAuthOptions.html b/site/com/mailslurp/models/BasicAuthOptions.html new file mode 100644 index 000000000..7b5aa0495 --- /dev/null +++ b/site/com/mailslurp/models/BasicAuthOptions.html @@ -0,0 +1,578 @@ + + + + + + +BasicAuthOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BasicAuthOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class BasicAuthOptions
    +extends Object
    +
    Basic Authentication options for webhooks. Will be used is present when calling webhook endpoints.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BasicAuthOptions

        +
        public BasicAuthOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getUsername

        +
        @Nonnull
        +public String getUsername()
        +
        Get username
        +
        +
        Returns:
        +
        username
        +
        +
      • +
      + + + +
        +
      • +

        setUsername

        +
        public void setUsername(String username)
        +
      • +
      + + + + + + + +
        +
      • +

        getPassword

        +
        @Nonnull
        +public String getPassword()
        +
        Get password
        +
        +
        Returns:
        +
        password
        +
        +
      • +
      + + + +
        +
      • +

        setPassword

        +
        public void setPassword(String password)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to BasicAuthOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static BasicAuthOptions fromJson(String jsonString)
        +                                 throws IOException
        +
        Create an instance of BasicAuthOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of BasicAuthOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to BasicAuthOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of BasicAuthOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BounceProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/BounceProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..faeccadde --- /dev/null +++ b/site/com/mailslurp/models/BounceProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +BounceProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BounceProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.BounceProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    BounceProjection
    +
    +
    +
    +
    public static class BounceProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BounceProjection.html b/site/com/mailslurp/models/BounceProjection.html new file mode 100644 index 000000000..2c0a7976a --- /dev/null +++ b/site/com/mailslurp/models/BounceProjection.html @@ -0,0 +1,834 @@ + + + + + + +BounceProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BounceProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class BounceProjection
    +extends Object
    +
    Bounced email event
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BounceProjection

        +
        public BounceProjection()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nullable
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getSubject

        +
        @Nullable
        +public String getSubject()
        +
        Get subject
        +
        +
        Returns:
        +
        subject
        +
        +
      • +
      + + + +
        +
      • +

        setSubject

        +
        public void setSubject(String subject)
        +
      • +
      + + + + + + + +
        +
      • +

        getSender

        +
        @Nonnull
        +public String getSender()
        +
        Get sender
        +
        +
        Returns:
        +
        sender
        +
        +
      • +
      + + + +
        +
      • +

        setSender

        +
        public void setSender(String sender)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getBounceType

        +
        @Nullable
        +public String getBounceType()
        +
        Get bounceType
        +
        +
        Returns:
        +
        bounceType
        +
        +
      • +
      + + + +
        +
      • +

        setBounceType

        +
        public void setBounceType(String bounceType)
        +
      • +
      + + + + + + + +
        +
      • +

        getBounceMta

        +
        @Nullable
        +public String getBounceMta()
        +
        Get bounceMta
        +
        +
        Returns:
        +
        bounceMta
        +
        +
      • +
      + + + +
        +
      • +

        setBounceMta

        +
        public void setBounceMta(String bounceMta)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to BounceProjection
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static BounceProjection fromJson(String jsonString)
        +                                 throws IOException
        +
        Create an instance of BounceProjection given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of BounceProjection
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to BounceProjection
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of BounceProjection to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BounceRecipientProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/BounceRecipientProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d4dc496fd --- /dev/null +++ b/site/com/mailslurp/models/BounceRecipientProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +BounceRecipientProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BounceRecipientProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.BounceRecipientProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    BounceRecipientProjection
    +
    +
    +
    +
    public static class BounceRecipientProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BounceRecipientProjection.html b/site/com/mailslurp/models/BounceRecipientProjection.html new file mode 100644 index 000000000..09b5504ca --- /dev/null +++ b/site/com/mailslurp/models/BounceRecipientProjection.html @@ -0,0 +1,834 @@ + + + + + + +BounceRecipientProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BounceRecipientProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class BounceRecipientProjection
    +extends Object
    +
    Bounced recipient
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BouncedEmailDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/BouncedEmailDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6c70fa1c5 --- /dev/null +++ b/site/com/mailslurp/models/BouncedEmailDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +BouncedEmailDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BouncedEmailDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.BouncedEmailDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    BouncedEmailDto
    +
    +
    +
    +
    public static class BouncedEmailDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BouncedEmailDto.html b/site/com/mailslurp/models/BouncedEmailDto.html new file mode 100644 index 000000000..ea1f009f2 --- /dev/null +++ b/site/com/mailslurp/models/BouncedEmailDto.html @@ -0,0 +1,1244 @@ + + + + + + +BouncedEmailDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BouncedEmailDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class BouncedEmailDto
    +extends Object
    +
    Bounced email
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BouncedEmailDto

        +
        public BouncedEmailDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getUserId

        +
        @Nonnull
        +public UUID getUserId()
        +
        Get userId
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + + + + + +
        +
      • +

        getNotificationType

        +
        @Nonnull
        +public String getNotificationType()
        +
        Get notificationType
        +
        +
        Returns:
        +
        notificationType
        +
        +
      • +
      + + + +
        +
      • +

        setNotificationType

        +
        public void setNotificationType(String notificationType)
        +
      • +
      + + + + + + + +
        +
      • +

        addSentToRecipientsItem

        +
        public BouncedEmailDto addSentToRecipientsItem(String sentToRecipientsItem)
        +
      • +
      + + + +
        +
      • +

        getSentToRecipients

        +
        @Nullable
        +public List<String> getSentToRecipients()
        +
        Get sentToRecipients
        +
        +
        Returns:
        +
        sentToRecipients
        +
        +
      • +
      + + + +
        +
      • +

        setSentToRecipients

        +
        public void setSentToRecipients(List<String> sentToRecipients)
        +
      • +
      + + + + + + + +
        +
      • +

        getSender

        +
        @Nonnull
        +public String getSender()
        +
        Get sender
        +
        +
        Returns:
        +
        sender
        +
        +
      • +
      + + + +
        +
      • +

        setSender

        +
        public void setSender(String sender)
        +
      • +
      + + + + + + + +
        +
      • +

        getBounceMta

        +
        @Nullable
        +public String getBounceMta()
        +
        Get bounceMta
        +
        +
        Returns:
        +
        bounceMta
        +
        +
      • +
      + + + +
        +
      • +

        setBounceMta

        +
        public void setBounceMta(String bounceMta)
        +
      • +
      + + + + + + + +
        +
      • +

        getBounceType

        +
        @Nullable
        +public String getBounceType()
        +
        Get bounceType
        +
        +
        Returns:
        +
        bounceType
        +
        +
      • +
      + + + +
        +
      • +

        setBounceType

        +
        public void setBounceType(String bounceType)
        +
      • +
      + + + + + + + +
        +
      • +

        addBounceRecipientsItem

        +
        public BouncedEmailDto addBounceRecipientsItem(String bounceRecipientsItem)
        +
      • +
      + + + +
        +
      • +

        getBounceRecipients

        +
        @Nullable
        +public List<String> getBounceRecipients()
        +
        Get bounceRecipients
        +
        +
        Returns:
        +
        bounceRecipients
        +
        +
      • +
      + + + +
        +
      • +

        setBounceRecipients

        +
        public void setBounceRecipients(List<String> bounceRecipients)
        +
      • +
      + + + + + + + +
        +
      • +

        getBounceSubType

        +
        @Nullable
        +public String getBounceSubType()
        +
        Get bounceSubType
        +
        +
        Returns:
        +
        bounceSubType
        +
        +
      • +
      + + + +
        +
      • +

        setBounceSubType

        +
        public void setBounceSubType(String bounceSubType)
        +
      • +
      + + + + + + + +
        +
      • +

        getSentEmailId

        +
        @Nullable
        +public UUID getSentEmailId()
        +
        Get sentEmailId
        +
        +
        Returns:
        +
        sentEmailId
        +
        +
      • +
      + + + +
        +
      • +

        setSentEmailId

        +
        public void setSentEmailId(UUID sentEmailId)
        +
      • +
      + + + + + + + +
        +
      • +

        getSubject

        +
        @Nullable
        +public String getSubject()
        +
        Get subject
        +
        +
        Returns:
        +
        subject
        +
        +
      • +
      + + + +
        +
      • +

        setSubject

        +
        public void setSubject(String subject)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to BouncedEmailDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static BouncedEmailDto fromJson(String jsonString)
        +                                throws IOException
        +
        Create an instance of BouncedEmailDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of BouncedEmailDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to BouncedEmailDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of BouncedEmailDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BouncedRecipientDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/BouncedRecipientDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5c7df4155 --- /dev/null +++ b/site/com/mailslurp/models/BouncedRecipientDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +BouncedRecipientDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BouncedRecipientDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.BouncedRecipientDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    BouncedRecipientDto
    +
    +
    +
    +
    public static class BouncedRecipientDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BouncedRecipientDto.html b/site/com/mailslurp/models/BouncedRecipientDto.html new file mode 100644 index 000000000..8fed17ee9 --- /dev/null +++ b/site/com/mailslurp/models/BouncedRecipientDto.html @@ -0,0 +1,962 @@ + + + + + + +BouncedRecipientDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BouncedRecipientDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class BouncedRecipientDto
    +extends Object
    +
    Bounced recipient
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BulkSendEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/BulkSendEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..9d7ea4eb8 --- /dev/null +++ b/site/com/mailslurp/models/BulkSendEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +BulkSendEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BulkSendEmailOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.BulkSendEmailOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    BulkSendEmailOptions
    +
    +
    +
    +
    public static class BulkSendEmailOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/BulkSendEmailOptions.html b/site/com/mailslurp/models/BulkSendEmailOptions.html new file mode 100644 index 000000000..393f4dc6f --- /dev/null +++ b/site/com/mailslurp/models/BulkSendEmailOptions.html @@ -0,0 +1,591 @@ + + + + + + +BulkSendEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class BulkSendEmailOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class BulkSendEmailOptions
    +extends Object
    +
    Options for bulk sending an email from multiple addresses. See regular `sendEmail` methods for more information.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BulkSendEmailOptions

        +
        public BulkSendEmailOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getInboxIds

        +
        @Nonnull
        +public List<UUID> getInboxIds()
        +
        Inboxes to send the email from
        +
        +
        Returns:
        +
        inboxIds
        +
        +
      • +
      + + + +
        +
      • +

        setInboxIds

        +
        public void setInboxIds(List<UUID> inboxIds)
        +
      • +
      + + + + + + + +
        +
      • +

        getSendEmailOptions

        +
        @Nonnull
        +public SendEmailOptions getSendEmailOptions()
        +
        Get sendEmailOptions
        +
        +
        Returns:
        +
        sendEmailOptions
        +
        +
      • +
      + + + +
        +
      • +

        setSendEmailOptions

        +
        public void setSendEmailOptions(SendEmailOptions sendEmailOptions)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to BulkSendEmailOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static BulkSendEmailOptions fromJson(String jsonString)
        +                                     throws IOException
        +
        Create an instance of BulkSendEmailOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of BulkSendEmailOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to BulkSendEmailOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of BulkSendEmailOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/Complaint.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/Complaint.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a53a4eeb1 --- /dev/null +++ b/site/com/mailslurp/models/Complaint.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +Complaint.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class Complaint.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.Complaint.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    Complaint
    +
    +
    +
    +
    public static class Complaint.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/Complaint.html b/site/com/mailslurp/models/Complaint.html new file mode 100644 index 000000000..602ce0131 --- /dev/null +++ b/site/com/mailslurp/models/Complaint.html @@ -0,0 +1,962 @@ + + + + + + +Complaint (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class Complaint

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class Complaint
    +extends Object
    +
    Complaint
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Complaint

        +
        public Complaint()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getUserId

        +
        @Nullable
        +public UUID getUserId()
        +
        Get userId
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + + + + + +
        +
      • +

        getEventType

        +
        @Nullable
        +public String getEventType()
        +
        Get eventType
        +
        +
        Returns:
        +
        eventType
        +
        +
      • +
      + + + +
        +
      • +

        setEventType

        +
        public void setEventType(String eventType)
        +
      • +
      + + + + + + + +
        +
      • +

        getMailSource

        +
        @Nullable
        +public String getMailSource()
        +
        Get mailSource
        +
        +
        Returns:
        +
        mailSource
        +
        +
      • +
      + + + +
        +
      • +

        setMailSource

        +
        public void setMailSource(String mailSource)
        +
      • +
      + + + +
        +
      • +

        mailMessageId

        +
        public Complaint mailMessageId(String mailMessageId)
        +
      • +
      + + + +
        +
      • +

        getMailMessageId

        +
        @Nullable
        +public String getMailMessageId()
        +
        Get mailMessageId
        +
        +
        Returns:
        +
        mailMessageId
        +
        +
      • +
      + + + +
        +
      • +

        setMailMessageId

        +
        public void setMailMessageId(String mailMessageId)
        +
      • +
      + + + +
        +
      • +

        complaintRecipient

        +
        public Complaint complaintRecipient(String complaintRecipient)
        +
      • +
      + + + +
        +
      • +

        getComplaintRecipient

        +
        @Nonnull
        +public String getComplaintRecipient()
        +
        Get complaintRecipient
        +
        +
        Returns:
        +
        complaintRecipient
        +
        +
      • +
      + + + +
        +
      • +

        setComplaintRecipient

        +
        public void setComplaintRecipient(String complaintRecipient)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getUpdatedAt

        +
        @Nonnull
        +public OffsetDateTime getUpdatedAt()
        +
        Get updatedAt
        +
        +
        Returns:
        +
        updatedAt
        +
        +
      • +
      + + + +
        +
      • +

        setUpdatedAt

        +
        public void setUpdatedAt(OffsetDateTime updatedAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to Complaint
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static Complaint fromJson(String jsonString)
        +                          throws IOException
        +
        Create an instance of Complaint given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of Complaint
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to Complaint
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of Complaint to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConditionOption.ConditionEnum.Adapter.html b/site/com/mailslurp/models/ConditionOption.ConditionEnum.Adapter.html new file mode 100644 index 000000000..f3e184a9e --- /dev/null +++ b/site/com/mailslurp/models/ConditionOption.ConditionEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ConditionOption.ConditionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConditionOption.ConditionEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConditionOption.ConditionEnum.html b/site/com/mailslurp/models/ConditionOption.ConditionEnum.html new file mode 100644 index 000000000..a23761a7e --- /dev/null +++ b/site/com/mailslurp/models/ConditionOption.ConditionEnum.html @@ -0,0 +1,398 @@ + + + + + + +ConditionOption.ConditionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ConditionOption.ConditionEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ConditionOption.ConditionEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ConditionOption.ConditionEnum c : ConditionOption.ConditionEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ConditionOption.ConditionEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConditionOption.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ConditionOption.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..7f72cce0a --- /dev/null +++ b/site/com/mailslurp/models/ConditionOption.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ConditionOption.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConditionOption.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConditionOption.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ConditionOption
    +
    +
    +
    +
    public static class ConditionOption.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConditionOption.ValueEnum.Adapter.html b/site/com/mailslurp/models/ConditionOption.ValueEnum.Adapter.html new file mode 100644 index 000000000..a2e36ed7a --- /dev/null +++ b/site/com/mailslurp/models/ConditionOption.ValueEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ConditionOption.ValueEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConditionOption.ValueEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConditionOption.ValueEnum.html b/site/com/mailslurp/models/ConditionOption.ValueEnum.html new file mode 100644 index 000000000..f6c0228cc --- /dev/null +++ b/site/com/mailslurp/models/ConditionOption.ValueEnum.html @@ -0,0 +1,410 @@ + + + + + + +ConditionOption.ValueEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ConditionOption.ValueEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ConditionOption.ValueEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ConditionOption.ValueEnum c : ConditionOption.ValueEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ConditionOption.ValueEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConditionOption.html b/site/com/mailslurp/models/ConditionOption.html new file mode 100644 index 000000000..196234021 --- /dev/null +++ b/site/com/mailslurp/models/ConditionOption.html @@ -0,0 +1,590 @@ + + + + + + +ConditionOption (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConditionOption

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ConditionOption
    +extends Object
    +
    Options for matching emails in an inbox based on a condition such as `HAS_ATTACHMENTS=TRUE`
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorDto.ConnectorAuthTypeEnum.Adapter.html b/site/com/mailslurp/models/ConnectorDto.ConnectorAuthTypeEnum.Adapter.html new file mode 100644 index 000000000..fd58dc327 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorDto.ConnectorAuthTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ConnectorDto.ConnectorAuthTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorDto.ConnectorAuthTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorDto.ConnectorAuthTypeEnum.html b/site/com/mailslurp/models/ConnectorDto.ConnectorAuthTypeEnum.html new file mode 100644 index 000000000..837cc5a34 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorDto.ConnectorAuthTypeEnum.html @@ -0,0 +1,398 @@ + + + + + + +ConnectorDto.ConnectorAuthTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ConnectorDto.ConnectorAuthTypeEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ConnectorDto.ConnectorAuthTypeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ConnectorDto.ConnectorAuthTypeEnum c : ConnectorDto.ConnectorAuthTypeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ConnectorDto.ConnectorAuthTypeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorDto.ConnectorTypeEnum.Adapter.html b/site/com/mailslurp/models/ConnectorDto.ConnectorTypeEnum.Adapter.html new file mode 100644 index 000000000..b1d05aa03 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorDto.ConnectorTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ConnectorDto.ConnectorTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorDto.ConnectorTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorDto.ConnectorTypeEnum.html b/site/com/mailslurp/models/ConnectorDto.ConnectorTypeEnum.html new file mode 100644 index 000000000..82b6afefe --- /dev/null +++ b/site/com/mailslurp/models/ConnectorDto.ConnectorTypeEnum.html @@ -0,0 +1,398 @@ + + + + + + +ConnectorDto.ConnectorTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ConnectorDto.ConnectorTypeEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ConnectorDto.ConnectorTypeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ConnectorDto.ConnectorTypeEnum c : ConnectorDto.ConnectorTypeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ConnectorDto.ConnectorTypeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ConnectorDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..cfb4c5be2 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ConnectorDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ConnectorDto
    +
    +
    +
    +
    public static class ConnectorDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorDto.SyncScheduleTypeEnum.Adapter.html b/site/com/mailslurp/models/ConnectorDto.SyncScheduleTypeEnum.Adapter.html new file mode 100644 index 000000000..d161250d9 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorDto.SyncScheduleTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ConnectorDto.SyncScheduleTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorDto.SyncScheduleTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorDto.SyncScheduleTypeEnum.html b/site/com/mailslurp/models/ConnectorDto.SyncScheduleTypeEnum.html new file mode 100644 index 000000000..bc732852f --- /dev/null +++ b/site/com/mailslurp/models/ConnectorDto.SyncScheduleTypeEnum.html @@ -0,0 +1,398 @@ + + + + + + +ConnectorDto.SyncScheduleTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ConnectorDto.SyncScheduleTypeEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ConnectorDto.SyncScheduleTypeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ConnectorDto.SyncScheduleTypeEnum c : ConnectorDto.SyncScheduleTypeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ConnectorDto.SyncScheduleTypeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorDto.html b/site/com/mailslurp/models/ConnectorDto.html new file mode 100644 index 000000000..d773d4963 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorDto.html @@ -0,0 +1,1300 @@ + + + + + + +ConnectorDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ConnectorDto
    +extends Object
    +
    ConnectorDto
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorProjection.ConnectorTypeEnum.Adapter.html b/site/com/mailslurp/models/ConnectorProjection.ConnectorTypeEnum.Adapter.html new file mode 100644 index 000000000..122083540 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorProjection.ConnectorTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ConnectorProjection.ConnectorTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorProjection.ConnectorTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorProjection.ConnectorTypeEnum.html b/site/com/mailslurp/models/ConnectorProjection.ConnectorTypeEnum.html new file mode 100644 index 000000000..c18b542e0 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorProjection.ConnectorTypeEnum.html @@ -0,0 +1,398 @@ + + + + + + +ConnectorProjection.ConnectorTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ConnectorProjection.ConnectorTypeEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ConnectorProjection.ConnectorTypeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ConnectorProjection.ConnectorTypeEnum c : ConnectorProjection.ConnectorTypeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ConnectorProjection.ConnectorTypeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ConnectorProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..60b6e6a86 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ConnectorProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ConnectorProjection
    +
    +
    +
    +
    public static class ConnectorProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorProjection.SyncScheduleTypeEnum.Adapter.html b/site/com/mailslurp/models/ConnectorProjection.SyncScheduleTypeEnum.Adapter.html new file mode 100644 index 000000000..24f57935e --- /dev/null +++ b/site/com/mailslurp/models/ConnectorProjection.SyncScheduleTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ConnectorProjection.SyncScheduleTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorProjection.SyncScheduleTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorProjection.SyncScheduleTypeEnum.html b/site/com/mailslurp/models/ConnectorProjection.SyncScheduleTypeEnum.html new file mode 100644 index 000000000..29e9f2df4 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorProjection.SyncScheduleTypeEnum.html @@ -0,0 +1,398 @@ + + + + + + +ConnectorProjection.SyncScheduleTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ConnectorProjection.SyncScheduleTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorProjection.html b/site/com/mailslurp/models/ConnectorProjection.html new file mode 100644 index 000000000..aa1fc87c4 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorProjection.html @@ -0,0 +1,974 @@ + + + + + + +ConnectorProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ConnectorProjection
    +extends Object
    +
    Connector
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncEventDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ConnectorSyncEventDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a895c56a2 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncEventDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ConnectorSyncEventDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncEventDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncEventDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ConnectorSyncEventDto
    +
    +
    +
    +
    public static class ConnectorSyncEventDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncEventDto.SyncStatusEnum.Adapter.html b/site/com/mailslurp/models/ConnectorSyncEventDto.SyncStatusEnum.Adapter.html new file mode 100644 index 000000000..9f3753436 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncEventDto.SyncStatusEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ConnectorSyncEventDto.SyncStatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncEventDto.SyncStatusEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncEventDto.SyncStatusEnum.html b/site/com/mailslurp/models/ConnectorSyncEventDto.SyncStatusEnum.html new file mode 100644 index 000000000..b63329117 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncEventDto.SyncStatusEnum.html @@ -0,0 +1,446 @@ + + + + + + +ConnectorSyncEventDto.SyncStatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ConnectorSyncEventDto.SyncStatusEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncEventDto.html b/site/com/mailslurp/models/ConnectorSyncEventDto.html new file mode 100644 index 000000000..ac1168600 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncEventDto.html @@ -0,0 +1,840 @@ + + + + + + +ConnectorSyncEventDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncEventDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ConnectorSyncEventDto
    +extends Object
    +
    ConnectorSyncEventDto
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncEventProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ConnectorSyncEventProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..366ce812f --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncEventProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ConnectorSyncEventProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncEventProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncEventProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ConnectorSyncEventProjection
    +
    +
    +
    +
    public static class ConnectorSyncEventProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncEventProjection.SyncStatusEnum.Adapter.html b/site/com/mailslurp/models/ConnectorSyncEventProjection.SyncStatusEnum.Adapter.html new file mode 100644 index 000000000..eb21d059a --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncEventProjection.SyncStatusEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ConnectorSyncEventProjection.SyncStatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncEventProjection.SyncStatusEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncEventProjection.SyncStatusEnum.html b/site/com/mailslurp/models/ConnectorSyncEventProjection.SyncStatusEnum.html new file mode 100644 index 000000000..d0ae72867 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncEventProjection.SyncStatusEnum.html @@ -0,0 +1,446 @@ + + + + + + +ConnectorSyncEventProjection.SyncStatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ConnectorSyncEventProjection.SyncStatusEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncEventProjection.html b/site/com/mailslurp/models/ConnectorSyncEventProjection.html new file mode 100644 index 000000000..d540979ba --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncEventProjection.html @@ -0,0 +1,840 @@ + + + + + + +ConnectorSyncEventProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncEventProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ConnectorSyncEventProjection
    +extends Object
    +
    ConnectorSyncEventProjection
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncRequestResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ConnectorSyncRequestResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..91f4ea8ef --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncRequestResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ConnectorSyncRequestResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncRequestResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncRequestResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ConnectorSyncRequestResult
    +
    +
    +
    +
    public static class ConnectorSyncRequestResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncRequestResult.html b/site/com/mailslurp/models/ConnectorSyncRequestResult.html new file mode 100644 index 000000000..1976f3ece --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncRequestResult.html @@ -0,0 +1,642 @@ + + + + + + +ConnectorSyncRequestResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncRequestResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ConnectorSyncRequestResult
    +extends Object
    +
    ConnectorSyncRequestResult
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncRequestResultException.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ConnectorSyncRequestResultException.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0eed18be3 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncRequestResultException.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ConnectorSyncRequestResultException.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncRequestResultException.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncRequestResultException.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ConnectorSyncRequestResultException
    +
    +
    +
    +
    public static class ConnectorSyncRequestResultException.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncRequestResultException.html b/site/com/mailslurp/models/ConnectorSyncRequestResultException.html new file mode 100644 index 000000000..6c798fba3 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncRequestResultException.html @@ -0,0 +1,796 @@ + + + + + + +ConnectorSyncRequestResultException (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncRequestResultException

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncRequestResultException
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ConnectorSyncRequestResultException
    +extends Object
    +
    ConnectorSyncRequestResultException
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..acc8a681e --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ConnectorSyncRequestResultExceptionCause
    +
    +
    +
    +
    public static class ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.html b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.html new file mode 100644 index 000000000..19ce40b02 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.html @@ -0,0 +1,732 @@ + + + + + + +ConnectorSyncRequestResultExceptionCause (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncRequestResultExceptionCause

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ConnectorSyncRequestResultExceptionCause
    +extends Object
    +
    ConnectorSyncRequestResultExceptionCause
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..54a0364c1 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ConnectorSyncRequestResultExceptionCauseStackTraceInner
    +
    +
    +
    +
    public static class ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.html b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.html new file mode 100644 index 000000000..dabaade5c --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.html @@ -0,0 +1,962 @@ + + + + + + +ConnectorSyncRequestResultExceptionCauseStackTraceInner (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncRequestResultExceptionCauseStackTraceInner

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ConnectorSyncRequestResultExceptionCauseStackTraceInner
    +extends Object
    +
    ConnectorSyncRequestResultExceptionCauseStackTraceInner
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f28a05227 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ConnectorSyncRequestResultExceptionCauseSuppressedInner
    +
    +
    +
    +
    public static class ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.html b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.html new file mode 100644 index 000000000..76eed61bd --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.html @@ -0,0 +1,655 @@ + + + + + + +ConnectorSyncRequestResultExceptionCauseSuppressedInner (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncRequestResultExceptionCauseSuppressedInner

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ConnectorSyncRequestResultExceptionCauseSuppressedInner
    +extends Object
    +
    ConnectorSyncRequestResultExceptionCauseSuppressedInner
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ConnectorSyncResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..980014f70 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ConnectorSyncResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ConnectorSyncResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ConnectorSyncResult
    +
    +
    +
    +
    public static class ConnectorSyncResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ConnectorSyncResult.html b/site/com/mailslurp/models/ConnectorSyncResult.html new file mode 100644 index 000000000..2a38153f5 --- /dev/null +++ b/site/com/mailslurp/models/ConnectorSyncResult.html @@ -0,0 +1,591 @@ + + + + + + +ConnectorSyncResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ConnectorSyncResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ConnectorSyncResult
    +extends Object
    +
    ConnectorSyncResult
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ConnectorSyncResult

        +
        public ConnectorSyncResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getEmailSyncCount

        +
        @Nonnull
        +public Long getEmailSyncCount()
        +
        Get emailSyncCount
        +
        +
        Returns:
        +
        emailSyncCount
        +
        +
      • +
      + + + +
        +
      • +

        setEmailSyncCount

        +
        public void setEmailSyncCount(Long emailSyncCount)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getLogLines

        +
        @Nullable
        +public List<String> getLogLines()
        +
        Get logLines
        +
        +
        Returns:
        +
        logLines
        +
        +
      • +
      + + + +
        +
      • +

        setLogLines

        +
        public void setLogLines(List<String> logLines)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ConnectorSyncResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ConnectorSyncResult fromJson(String jsonString)
        +                                    throws IOException
        +
        Create an instance of ConnectorSyncResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ConnectorSyncResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ConnectorSyncResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ConnectorSyncResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ContactDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ContactDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..7cdb5a315 --- /dev/null +++ b/site/com/mailslurp/models/ContactDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ContactDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ContactDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ContactDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ContactDto
    +
    +
    +
    +
    public static class ContactDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ContactDto.html b/site/com/mailslurp/models/ContactDto.html new file mode 100644 index 000000000..c1264f5ff --- /dev/null +++ b/site/com/mailslurp/models/ContactDto.html @@ -0,0 +1,1180 @@ + + + + + + +ContactDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ContactDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ContactDto
    +extends Object
    +
    Contact object. For saving a user in contact book.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ContactDto

        +
        public ContactDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getGroupId

        +
        @Nullable
        +public UUID getGroupId()
        +
        Get groupId
        +
        +
        Returns:
        +
        groupId
        +
        +
      • +
      + + + +
        +
      • +

        setGroupId

        +
        public void setGroupId(UUID groupId)
        +
      • +
      + + + + + + + +
        +
      • +

        getFirstName

        +
        @Nullable
        +public String getFirstName()
        +
        Get firstName
        +
        +
        Returns:
        +
        firstName
        +
        +
      • +
      + + + +
        +
      • +

        setFirstName

        +
        public void setFirstName(String firstName)
        +
      • +
      + + + + + + + +
        +
      • +

        getLastName

        +
        @Nullable
        +public String getLastName()
        +
        Get lastName
        +
        +
        Returns:
        +
        lastName
        +
        +
      • +
      + + + +
        +
      • +

        setLastName

        +
        public void setLastName(String lastName)
        +
      • +
      + + + + + + + +
        +
      • +

        getCompany

        +
        @Nullable
        +public String getCompany()
        +
        Get company
        +
        +
        Returns:
        +
        company
        +
        +
      • +
      + + + +
        +
      • +

        setCompany

        +
        public void setCompany(String company)
        +
      • +
      + + + + + + + +
        +
      • +

        addEmailAddressesItem

        +
        public ContactDto addEmailAddressesItem(String emailAddressesItem)
        +
      • +
      + + + +
        +
      • +

        getEmailAddresses

        +
        @Nonnull
        +public List<String> getEmailAddresses()
        +
        Get emailAddresses
        +
        +
        Returns:
        +
        emailAddresses
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddresses

        +
        public void setEmailAddresses(List<String> emailAddresses)
        +
      • +
      + + + +
        +
      • +

        primaryEmailAddress

        +
        public ContactDto primaryEmailAddress(String primaryEmailAddress)
        +
      • +
      + + + +
        +
      • +

        getPrimaryEmailAddress

        +
        @Nullable
        +public String getPrimaryEmailAddress()
        +
        Get primaryEmailAddress
        +
        +
        Returns:
        +
        primaryEmailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setPrimaryEmailAddress

        +
        public void setPrimaryEmailAddress(String primaryEmailAddress)
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        setTags

        +
        public void setTags(List<String> tags)
        +
      • +
      + + + + + + + +
        +
      • +

        getMetaData

        +
        @Nullable
        +public Object getMetaData()
        +
        Get metaData
        +
        +
        Returns:
        +
        metaData
        +
        +
      • +
      + + + +
        +
      • +

        setMetaData

        +
        public void setMetaData(Object metaData)
        +
      • +
      + + + + + + + +
        +
      • +

        getOptOut

        +
        @Nullable
        +public Boolean getOptOut()
        +
        Get optOut
        +
        +
        Returns:
        +
        optOut
        +
        +
      • +
      + + + +
        +
      • +

        setOptOut

        +
        public void setOptOut(Boolean optOut)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ContactDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ContactDto fromJson(String jsonString)
        +                           throws IOException
        +
        Create an instance of ContactDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ContactDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ContactDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ContactDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ContactProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ContactProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..16c7a00c4 --- /dev/null +++ b/site/com/mailslurp/models/ContactProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ContactProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ContactProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ContactProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ContactProjection
    +
    +
    +
    +
    public static class ContactProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ContactProjection.html b/site/com/mailslurp/models/ContactProjection.html new file mode 100644 index 000000000..29c109fd4 --- /dev/null +++ b/site/com/mailslurp/models/ContactProjection.html @@ -0,0 +1,1039 @@ + + + + + + +ContactProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ContactProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ContactProjection
    +extends Object
    +
    Email contact for address book
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ContentMatchOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ContentMatchOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b17c00765 --- /dev/null +++ b/site/com/mailslurp/models/ContentMatchOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ContentMatchOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ContentMatchOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ContentMatchOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ContentMatchOptions
    +
    +
    +
    +
    public static class ContentMatchOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ContentMatchOptions.html b/site/com/mailslurp/models/ContentMatchOptions.html new file mode 100644 index 000000000..d462ddc8c --- /dev/null +++ b/site/com/mailslurp/models/ContentMatchOptions.html @@ -0,0 +1,514 @@ + + + + + + +ContentMatchOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ContentMatchOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ContentMatchOptions
    +extends Object
    +
    Options for matching content using regex patterns based on Java Pattern syntax
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ContentMatchOptions

        +
        public ContentMatchOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getPattern

        +
        @Nonnull
        +public String getPattern()
        +
        Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns.
        +
        +
        Returns:
        +
        pattern
        +
        +
      • +
      + + + +
        +
      • +

        setPattern

        +
        public void setPattern(String pattern)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ContentMatchOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ContentMatchOptions fromJson(String jsonString)
        +                                    throws IOException
        +
        Create an instance of ContentMatchOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ContentMatchOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ContentMatchOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ContentMatchOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CountDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CountDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8a2decf83 --- /dev/null +++ b/site/com/mailslurp/models/CountDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CountDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CountDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CountDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CountDto
    +
    +
    +
    +
    public static class CountDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CountDto.html b/site/com/mailslurp/models/CountDto.html new file mode 100644 index 000000000..927ea6f66 --- /dev/null +++ b/site/com/mailslurp/models/CountDto.html @@ -0,0 +1,514 @@ + + + + + + +CountDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CountDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CountDto
    +extends Object
    +
    Number of elements
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CountDto

        +
        public CountDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        totalElements

        +
        public CountDto totalElements(Long totalElements)
        +
      • +
      + + + +
        +
      • +

        getTotalElements

        +
        @Nonnull
        +public Long getTotalElements()
        +
        Get totalElements
        +
        +
        Returns:
        +
        totalElements
        +
        +
      • +
      + + + +
        +
      • +

        setTotalElements

        +
        public void setTotalElements(Long totalElements)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to CountDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static CountDto fromJson(String jsonString)
        +                         throws IOException
        +
        Create an instance of CountDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of CountDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to CountDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of CountDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateAliasOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateAliasOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..aff037e3a --- /dev/null +++ b/site/com/mailslurp/models/CreateAliasOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateAliasOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateAliasOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateAliasOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateAliasOptions
    +
    +
    +
    +
    public static class CreateAliasOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateAliasOptions.html b/site/com/mailslurp/models/CreateAliasOptions.html new file mode 100644 index 000000000..2da3ad65f --- /dev/null +++ b/site/com/mailslurp/models/CreateAliasOptions.html @@ -0,0 +1,706 @@ + + + + + + +CreateAliasOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateAliasOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateAliasOptions
    +extends Object
    +
    Create email alias options. Email aliases can be used to mask real email addresses behind an ID. You can also attach an inbox to an alias so that any email received by the inbox email address if forwarded to the alias email address.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateAliasOptions

        +
        public CreateAliasOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getEmailAddress

        +
        @Nonnull
        +public String getEmailAddress()
        +
        Email address to be hidden behind alias. Emails sent to the alias email address will be forwarded to this address. If you want to enable replies set useThreads true and the reply-to for the email will allow outbound communication via a thread. Some email addresses may require verification if they are not added as a contact first.
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getInboxId

        +
        @Nullable
        +public UUID getInboxId()
        +
        Optional inbox ID to attach to alias. Null by default means an a new inbox will be created for the alias. Use a custom inbox to control what email address the alias uses. To use custom email addresses create a domain and an inbox, the use the inbox ID with this call. Emails received by this inbox will be forwarded to the alias email address
        +
        +
        Returns:
        +
        inboxId
        +
        +
      • +
      + + + +
        +
      • +

        setInboxId

        +
        public void setInboxId(UUID inboxId)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Optional name for alias
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getUseThreads

        +
        @Nonnull
        +public Boolean getUseThreads()
        +
        Enable threads options. If true emails will be sent with a unique reply-to thread address. This means you can reply to the forwarded email and it will be sent to the recipients via your alias address. That way a thread conversation is preserved.
        +
        +
        Returns:
        +
        useThreads
        +
        +
      • +
      + + + +
        +
      • +

        setUseThreads

        +
        public void setUseThreads(Boolean useThreads)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to CreateAliasOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static CreateAliasOptions fromJson(String jsonString)
        +                                   throws IOException
        +
        Create an instance of CreateAliasOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of CreateAliasOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to CreateAliasOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of CreateAliasOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateConnectorImapOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateConnectorImapOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a2acd67e3 --- /dev/null +++ b/site/com/mailslurp/models/CreateConnectorImapOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateConnectorImapOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateConnectorImapOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateConnectorImapOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateConnectorImapOptions
    +
    +
    +
    +
    public static class CreateConnectorImapOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateConnectorImapOptions.html b/site/com/mailslurp/models/CreateConnectorImapOptions.html new file mode 100644 index 000000000..e72f05f36 --- /dev/null +++ b/site/com/mailslurp/models/CreateConnectorImapOptions.html @@ -0,0 +1,770 @@ + + + + + + +CreateConnectorImapOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateConnectorImapOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateConnectorImapOptions
    +extends Object
    +
    CreateConnectorImapOptions
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter.html b/site/com/mailslurp/models/CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter.html new file mode 100644 index 000000000..e607ec228 --- /dev/null +++ b/site/com/mailslurp/models/CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateConnectorOptions.ConnectorAuthTypeEnum.html b/site/com/mailslurp/models/CreateConnectorOptions.ConnectorAuthTypeEnum.html new file mode 100644 index 000000000..37bca4f41 --- /dev/null +++ b/site/com/mailslurp/models/CreateConnectorOptions.ConnectorAuthTypeEnum.html @@ -0,0 +1,398 @@ + + + + + + +CreateConnectorOptions.ConnectorAuthTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum CreateConnectorOptions.ConnectorAuthTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateConnectorOptions.ConnectorTypeEnum.Adapter.html b/site/com/mailslurp/models/CreateConnectorOptions.ConnectorTypeEnum.Adapter.html new file mode 100644 index 000000000..9313bddba --- /dev/null +++ b/site/com/mailslurp/models/CreateConnectorOptions.ConnectorTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +CreateConnectorOptions.ConnectorTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateConnectorOptions.ConnectorTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateConnectorOptions.ConnectorTypeEnum.html b/site/com/mailslurp/models/CreateConnectorOptions.ConnectorTypeEnum.html new file mode 100644 index 000000000..37fa36cb8 --- /dev/null +++ b/site/com/mailslurp/models/CreateConnectorOptions.ConnectorTypeEnum.html @@ -0,0 +1,398 @@ + + + + + + +CreateConnectorOptions.ConnectorTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum CreateConnectorOptions.ConnectorTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateConnectorOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateConnectorOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..871accd51 --- /dev/null +++ b/site/com/mailslurp/models/CreateConnectorOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateConnectorOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateConnectorOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateConnectorOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateConnectorOptions
    +
    +
    +
    +
    public static class CreateConnectorOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateConnectorOptions.SyncScheduleTypeEnum.Adapter.html b/site/com/mailslurp/models/CreateConnectorOptions.SyncScheduleTypeEnum.Adapter.html new file mode 100644 index 000000000..89d14e87d --- /dev/null +++ b/site/com/mailslurp/models/CreateConnectorOptions.SyncScheduleTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +CreateConnectorOptions.SyncScheduleTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateConnectorOptions.SyncScheduleTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateConnectorOptions.SyncScheduleTypeEnum.html b/site/com/mailslurp/models/CreateConnectorOptions.SyncScheduleTypeEnum.html new file mode 100644 index 000000000..5967a7823 --- /dev/null +++ b/site/com/mailslurp/models/CreateConnectorOptions.SyncScheduleTypeEnum.html @@ -0,0 +1,398 @@ + + + + + + +CreateConnectorOptions.SyncScheduleTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum CreateConnectorOptions.SyncScheduleTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateConnectorOptions.html b/site/com/mailslurp/models/CreateConnectorOptions.html new file mode 100644 index 000000000..1a99cce87 --- /dev/null +++ b/site/com/mailslurp/models/CreateConnectorOptions.html @@ -0,0 +1,916 @@ + + + + + + +CreateConnectorOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateConnectorOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateConnectorOptions
    +extends Object
    +
    CreateConnectorOptions
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateContactOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateContactOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..71a3674c8 --- /dev/null +++ b/site/com/mailslurp/models/CreateContactOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateContactOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateContactOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateContactOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateContactOptions
    +
    +
    +
    +
    public static class CreateContactOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateContactOptions.html b/site/com/mailslurp/models/CreateContactOptions.html new file mode 100644 index 000000000..366605580 --- /dev/null +++ b/site/com/mailslurp/models/CreateContactOptions.html @@ -0,0 +1,988 @@ + + + + + + +CreateContactOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateContactOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateContactOptions
    +extends Object
    +
    Options for creating an email contact in address book
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateContactOptions

        +
        public CreateContactOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getFirstName

        +
        @Nullable
        +public String getFirstName()
        +
        Get firstName
        +
        +
        Returns:
        +
        firstName
        +
        +
      • +
      + + + +
        +
      • +

        setFirstName

        +
        public void setFirstName(String firstName)
        +
      • +
      + + + + + + + +
        +
      • +

        getLastName

        +
        @Nullable
        +public String getLastName()
        +
        Get lastName
        +
        +
        Returns:
        +
        lastName
        +
        +
      • +
      + + + +
        +
      • +

        setLastName

        +
        public void setLastName(String lastName)
        +
      • +
      + + + + + + + +
        +
      • +

        getCompany

        +
        @Nullable
        +public String getCompany()
        +
        Get company
        +
        +
        Returns:
        +
        company
        +
        +
      • +
      + + + +
        +
      • +

        setCompany

        +
        public void setCompany(String company)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getEmailAddresses

        +
        @Nullable
        +public List<String> getEmailAddresses()
        +
        Set of email addresses belonging to the contact
        +
        +
        Returns:
        +
        emailAddresses
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddresses

        +
        public void setEmailAddresses(List<String> emailAddresses)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getTags

        +
        @Nullable
        +public List<String> getTags()
        +
        Tags that can be used to search and group contacts
        +
        +
        Returns:
        +
        tags
        +
        +
      • +
      + + + +
        +
      • +

        setTags

        +
        public void setTags(List<String> tags)
        +
      • +
      + + + + + + + +
        +
      • +

        getMetaData

        +
        @Nullable
        +public Object getMetaData()
        +
        Get metaData
        +
        +
        Returns:
        +
        metaData
        +
        +
      • +
      + + + +
        +
      • +

        setMetaData

        +
        public void setMetaData(Object metaData)
        +
      • +
      + + + + + + + +
        +
      • +

        getOptOut

        +
        @Nullable
        +public Boolean getOptOut()
        +
        Has the user explicitly or implicitly opted out of being contacted? If so MailSlurp will ignore them in all actions.
        +
        +
        Returns:
        +
        optOut
        +
        +
      • +
      + + + +
        +
      • +

        setOptOut

        +
        public void setOptOut(Boolean optOut)
        +
      • +
      + + + + + + + +
        +
      • +

        getGroupId

        +
        @Nullable
        +public UUID getGroupId()
        +
        Group IDs that contact belongs to
        +
        +
        Returns:
        +
        groupId
        +
        +
      • +
      + + + +
        +
      • +

        setGroupId

        +
        public void setGroupId(UUID groupId)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to CreateContactOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static CreateContactOptions fromJson(String jsonString)
        +                                     throws IOException
        +
        Create an instance of CreateContactOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of CreateContactOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to CreateContactOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of CreateContactOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateDomainOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateDomainOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..14f288341 --- /dev/null +++ b/site/com/mailslurp/models/CreateDomainOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateDomainOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateDomainOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateDomainOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateDomainOptions
    +
    +
    +
    +
    public static class CreateDomainOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateDomainOptions.DomainTypeEnum.Adapter.html b/site/com/mailslurp/models/CreateDomainOptions.DomainTypeEnum.Adapter.html new file mode 100644 index 000000000..4b06bd83a --- /dev/null +++ b/site/com/mailslurp/models/CreateDomainOptions.DomainTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +CreateDomainOptions.DomainTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateDomainOptions.DomainTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateDomainOptions.DomainTypeEnum.html b/site/com/mailslurp/models/CreateDomainOptions.DomainTypeEnum.html new file mode 100644 index 000000000..7e92838a5 --- /dev/null +++ b/site/com/mailslurp/models/CreateDomainOptions.DomainTypeEnum.html @@ -0,0 +1,410 @@ + + + + + + +CreateDomainOptions.DomainTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum CreateDomainOptions.DomainTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateDomainOptions.html b/site/com/mailslurp/models/CreateDomainOptions.html new file mode 100644 index 000000000..2ed1c7ea6 --- /dev/null +++ b/site/com/mailslurp/models/CreateDomainOptions.html @@ -0,0 +1,712 @@ + + + + + + +CreateDomainOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateDomainOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateDomainOptions
    +extends Object
    +
    Options for creating a domain to use with MailSlurp. You must have ownership access to this domain in order to verify it. Domains will not function correctly until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains for help. Domains can be either `HTTP` or `SMTP` type. The type of domain determines which inboxes can be used with it. `SMTP` inboxes use a mail server running `mx.mailslurp.com` while `HTTP` inboxes are handled by AWS SES.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateDomainOptions

        +
        public CreateDomainOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getDomain

        +
        @Nonnull
        +public String getDomain()
        +
        The top level domain you wish to use with MailSlurp. Do not specify subdomain just the top level. So `test.com` covers all subdomains such as `mail.test.com`. Don't include a protocol such as `http://`. Once added you must complete the verification steps by adding the returned records to your domain.
        +
        +
        Returns:
        +
        domain
        +
        +
      • +
      + + + +
        +
      • +

        setDomain

        +
        public void setDomain(String domain)
        +
      • +
      + + + + + + + +
        +
      • +

        getDescription

        +
        @Nullable
        +public String getDescription()
        +
        Optional description of the domain.
        +
        +
        Returns:
        +
        description
        +
        +
      • +
      + + + +
        +
      • +

        setDescription

        +
        public void setDescription(String description)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedCatchAllInbox

        +
        @Nullable
        +public Boolean getCreatedCatchAllInbox()
        +
        Whether to create a catch all inbox for the domain. Any email sent to an address using your domain that cannot be matched to an existing inbox you created with the domain will be routed to the created catch all inbox. You can access emails using the regular methods on this inbox ID.
        +
        +
        Returns:
        +
        createdCatchAllInbox
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedCatchAllInbox

        +
        public void setCreatedCatchAllInbox(Boolean createdCatchAllInbox)
        +
      • +
      + + + + + + + +
        +
      • +

        getDomainType

        +
        @Nullable
        +public CreateDomainOptions.DomainTypeEnum getDomainType()
        +
        Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.
        +
        +
        Returns:
        +
        domainType
        +
        +
      • +
      + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to CreateDomainOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static CreateDomainOptions fromJson(String jsonString)
        +                                    throws IOException
        +
        Create an instance of CreateDomainOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of CreateDomainOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to CreateDomainOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of CreateDomainOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateEmergencyAddressOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateEmergencyAddressOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..db550dda8 --- /dev/null +++ b/site/com/mailslurp/models/CreateEmergencyAddressOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateEmergencyAddressOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateEmergencyAddressOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateEmergencyAddressOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateEmergencyAddressOptions
    +
    +
    +
    +
    public static class CreateEmergencyAddressOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter.html b/site/com/mailslurp/models/CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter.html new file mode 100644 index 000000000..3263eda47 --- /dev/null +++ b/site/com/mailslurp/models/CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateEmergencyAddressOptions.IsoCountryCodeEnum.html b/site/com/mailslurp/models/CreateEmergencyAddressOptions.IsoCountryCodeEnum.html new file mode 100644 index 000000000..c367d8297 --- /dev/null +++ b/site/com/mailslurp/models/CreateEmergencyAddressOptions.IsoCountryCodeEnum.html @@ -0,0 +1,422 @@ + + + + + + +CreateEmergencyAddressOptions.IsoCountryCodeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum CreateEmergencyAddressOptions.IsoCountryCodeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateEmergencyAddressOptions.html b/site/com/mailslurp/models/CreateEmergencyAddressOptions.html new file mode 100644 index 000000000..460d9675b --- /dev/null +++ b/site/com/mailslurp/models/CreateEmergencyAddressOptions.html @@ -0,0 +1,904 @@ + + + + + + +CreateEmergencyAddressOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateEmergencyAddressOptions

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateEmergencyAddressOptions
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateEmergencyAddressOptions
    +extends Object
    +
    CreateEmergencyAddressOptions
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateGroupOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateGroupOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..34b0b5ef2 --- /dev/null +++ b/site/com/mailslurp/models/CreateGroupOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateGroupOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateGroupOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateGroupOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateGroupOptions
    +
    +
    +
    +
    public static class CreateGroupOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateGroupOptions.html b/site/com/mailslurp/models/CreateGroupOptions.html new file mode 100644 index 000000000..89d1fdf01 --- /dev/null +++ b/site/com/mailslurp/models/CreateGroupOptions.html @@ -0,0 +1,578 @@ + + + + + + +CreateGroupOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateGroupOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateGroupOptions
    +extends Object
    +
    Create contact group options
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateGroupOptions

        +
        public CreateGroupOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getName

        +
        @Nonnull
        +public String getName()
        +
        Get name
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getDescription

        +
        @Nullable
        +public String getDescription()
        +
        Get description
        +
        +
        Returns:
        +
        description
        +
        +
      • +
      + + + +
        +
      • +

        setDescription

        +
        public void setDescription(String description)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to CreateGroupOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static CreateGroupOptions fromJson(String jsonString)
        +                                   throws IOException
        +
        Create an instance of CreateGroupOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of CreateGroupOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to CreateGroupOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of CreateGroupOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateInboxDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6c32c7c5b --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateInboxDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateInboxDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateInboxDto
    +
    +
    +
    +
    public static class CreateInboxDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxDto.InboxTypeEnum.Adapter.html b/site/com/mailslurp/models/CreateInboxDto.InboxTypeEnum.Adapter.html new file mode 100644 index 000000000..8888c0b67 --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxDto.InboxTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +CreateInboxDto.InboxTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxDto.InboxTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxDto.InboxTypeEnum.html b/site/com/mailslurp/models/CreateInboxDto.InboxTypeEnum.html new file mode 100644 index 000000000..a01155ebb --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxDto.InboxTypeEnum.html @@ -0,0 +1,410 @@ + + + + + + +CreateInboxDto.InboxTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum CreateInboxDto.InboxTypeEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static CreateInboxDto.InboxTypeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (CreateInboxDto.InboxTypeEnum c : CreateInboxDto.InboxTypeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static CreateInboxDto.InboxTypeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxDto.html b/site/com/mailslurp/models/CreateInboxDto.html new file mode 100644 index 000000000..899e51df9 --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxDto.html @@ -0,0 +1,1365 @@ + + + + + + +CreateInboxDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateInboxDto
    +extends Object
    +
    Options for creating an inbox. An inbox has a real email address that can send and receive emails. Inboxes can be permanent or expire at a given time. Inboxes are either `SMTP` or `HTTP` mailboxes. `SMTP` inboxes are processed by a mail server running at `mailslurp.mx` while `HTTP` inboxes are processed by AWS SES backed mailservers. An inbox email address is randomly assigned by default ending in either `mailslurp.com` or (if `useDomainPool` is enabled) ending in a similar domain such as `mailslurp.xyz` (selected at random). To specify an address use a custom domain: either pass the `emailAddress` options with `<your-recipient>@<your-domain>`. To create a randomized address for your domain set the `domainName` to the domain you have verified or pass the `domainId`. Virtual inboxes prevent outbound sending and instead trap mail.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateInboxDto

        +
        public CreateInboxDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getEmailAddress

        +
        @Nullable
        +public String getEmailAddress()
        +
        A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getDomainName

        +
        @Nullable
        +public String getDomainName()
        +
        FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox.
        +
        +
        Returns:
        +
        domainName
        +
        +
      • +
      + + + +
        +
      • +

        setDomainName

        +
        public void setDomainName(String domainName)
        +
      • +
      + + + + + + + +
        +
      • +

        getDomainId

        +
        @Nullable
        +public UUID getDomainId()
        +
        ID of custom domain to use for email address.
        +
        +
        Returns:
        +
        domainId
        +
        +
      • +
      + + + +
        +
      • +

        setDomainId

        +
        public void setDomainId(UUID domainId)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails.
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getDescription

        +
        @Nullable
        +public String getDescription()
        +
        Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with
        +
        +
        Returns:
        +
        description
        +
        +
      • +
      + + + +
        +
      • +

        setDescription

        +
        public void setDescription(String description)
        +
      • +
      + + + + + + + +
        +
      • +

        getUseDomainPool

        +
        @Nullable
        +public Boolean getUseDomainPool()
        +
        Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types.
        +
        +
        Returns:
        +
        useDomainPool
        +
        +
      • +
      + + + +
        +
      • +

        setUseDomainPool

        +
        public void setUseDomainPool(Boolean useDomainPool)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getTags

        +
        @Nullable
        +public List<String> getTags()
        +
        Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
        +
        +
        Returns:
        +
        tags
        +
        +
      • +
      + + + +
        +
      • +

        setTags

        +
        public void setTags(List<String> tags)
        +
      • +
      + + + + + + + +
        +
      • +

        getExpiresAt

        +
        @Nullable
        +public OffsetDateTime getExpiresAt()
        +
        Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX.
        +
        +
        Returns:
        +
        expiresAt
        +
        +
      • +
      + + + +
        +
      • +

        setExpiresAt

        +
        public void setExpiresAt(OffsetDateTime expiresAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getFavourite

        +
        @Nullable
        +public Boolean getFavourite()
        +
        Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering
        +
        +
        Returns:
        +
        favourite
        +
        +
      • +
      + + + +
        +
      • +

        setFavourite

        +
        public void setFavourite(Boolean favourite)
        +
      • +
      + + + + + + + +
        +
      • +

        getExpiresIn

        +
        @Nullable
        +public Long getExpiresIn()
        +
        Number of milliseconds that inbox should exist for
        +
        +
        Returns:
        +
        expiresIn
        +
        +
      • +
      + + + +
        +
      • +

        setExpiresIn

        +
        public void setExpiresIn(Long expiresIn)
        +
      • +
      + + + + + + + +
        +
      • +

        getAllowTeamAccess

        +
        @Nullable
        +public Boolean getAllowTeamAccess()
        +
        DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization.
        +
        +
        Returns:
        +
        allowTeamAccess
        +
        +
      • +
      + + + +
        +
      • +

        setAllowTeamAccess

        +
        public void setAllowTeamAccess(Boolean allowTeamAccess)
        +
      • +
      + + + + + + + +
        +
      • +

        getInboxType

        +
        @Nullable
        +public CreateInboxDto.InboxTypeEnum getInboxType()
        +
        Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send).
        +
        +
        Returns:
        +
        inboxType
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getVirtualInbox

        +
        @Nullable
        +public Boolean getVirtualInbox()
        +
        Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending.
        +
        +
        Returns:
        +
        virtualInbox
        +
        +
      • +
      + + + +
        +
      • +

        setVirtualInbox

        +
        public void setVirtualInbox(Boolean virtualInbox)
        +
      • +
      + + + + + + + +
        +
      • +

        getUseShortAddress

        +
        @Nullable
        +public Boolean getUseShortAddress()
        +
        Use a shorter email address under 31 characters
        +
        +
        Returns:
        +
        useShortAddress
        +
        +
      • +
      + + + +
        +
      • +

        setUseShortAddress

        +
        public void setUseShortAddress(Boolean useShortAddress)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to CreateInboxDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static CreateInboxDto fromJson(String jsonString)
        +                               throws IOException
        +
        Create an instance of CreateInboxDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of CreateInboxDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to CreateInboxDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of CreateInboxDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxForwarderOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateInboxForwarderOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..bede695bd --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxForwarderOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateInboxForwarderOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxForwarderOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateInboxForwarderOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateInboxForwarderOptions
    +
    +
    +
    +
    public static class CreateInboxForwarderOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxForwarderOptions.FieldEnum.Adapter.html b/site/com/mailslurp/models/CreateInboxForwarderOptions.FieldEnum.Adapter.html new file mode 100644 index 000000000..d7dbef80d --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxForwarderOptions.FieldEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +CreateInboxForwarderOptions.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxForwarderOptions.FieldEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxForwarderOptions.FieldEnum.html b/site/com/mailslurp/models/CreateInboxForwarderOptions.FieldEnum.html new file mode 100644 index 000000000..31511ce5a --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxForwarderOptions.FieldEnum.html @@ -0,0 +1,434 @@ + + + + + + +CreateInboxForwarderOptions.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum CreateInboxForwarderOptions.FieldEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxForwarderOptions.html b/site/com/mailslurp/models/CreateInboxForwarderOptions.html new file mode 100644 index 000000000..67031e065 --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxForwarderOptions.html @@ -0,0 +1,661 @@ + + + + + + +CreateInboxForwarderOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxForwarderOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateInboxForwarderOptions
    +extends Object
    +
    Options for creating an inbox forwarder
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateInboxForwarderOptions

        +
        public CreateInboxForwarderOptions()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxReplierOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateInboxReplierOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b4711ca24 --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxReplierOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateInboxReplierOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxReplierOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateInboxReplierOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateInboxReplierOptions
    +
    +
    +
    +
    public static class CreateInboxReplierOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxReplierOptions.FieldEnum.Adapter.html b/site/com/mailslurp/models/CreateInboxReplierOptions.FieldEnum.Adapter.html new file mode 100644 index 000000000..f937346cb --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxReplierOptions.FieldEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +CreateInboxReplierOptions.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxReplierOptions.FieldEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxReplierOptions.FieldEnum.html b/site/com/mailslurp/models/CreateInboxReplierOptions.FieldEnum.html new file mode 100644 index 000000000..e962ca16f --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxReplierOptions.FieldEnum.html @@ -0,0 +1,434 @@ + + + + + + +CreateInboxReplierOptions.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum CreateInboxReplierOptions.FieldEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxReplierOptions.html b/site/com/mailslurp/models/CreateInboxReplierOptions.html new file mode 100644 index 000000000..6e22a62c6 --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxReplierOptions.html @@ -0,0 +1,1303 @@ + + + + + + +CreateInboxReplierOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxReplierOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateInboxReplierOptions
    +extends Object
    +
    Options for creating an inbox replier. Repliers can be attached to inboxes and send automated responses when an inbound email matches given criteria.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxRulesetOptions.ActionEnum.Adapter.html b/site/com/mailslurp/models/CreateInboxRulesetOptions.ActionEnum.Adapter.html new file mode 100644 index 000000000..45a8ad59e --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxRulesetOptions.ActionEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +CreateInboxRulesetOptions.ActionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxRulesetOptions.ActionEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxRulesetOptions.ActionEnum.html b/site/com/mailslurp/models/CreateInboxRulesetOptions.ActionEnum.html new file mode 100644 index 000000000..0799547a0 --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxRulesetOptions.ActionEnum.html @@ -0,0 +1,422 @@ + + + + + + +CreateInboxRulesetOptions.ActionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum CreateInboxRulesetOptions.ActionEnum

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<CreateInboxRulesetOptions.ActionEnum>
    +
    +
    +
    Enclosing class:
    +
    CreateInboxRulesetOptions
    +
    +
    +
    +
    public static enum CreateInboxRulesetOptions.ActionEnum
    +extends Enum<CreateInboxRulesetOptions.ActionEnum>
    +
    Action to be taken when the ruleset matches an email for the given scope. For example: `BLOCK` action with target `*` and scope `SENDING_EMAILS` blocks sending to all recipients. Note `ALLOW` takes precedent over `BLOCK`. `FILTER_REMOVE` is like block but will remove offending email addresses during a send or receive event instead of blocking the action.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxRulesetOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateInboxRulesetOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..01c574783 --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxRulesetOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateInboxRulesetOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxRulesetOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateInboxRulesetOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateInboxRulesetOptions
    +
    +
    +
    +
    public static class CreateInboxRulesetOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxRulesetOptions.ScopeEnum.Adapter.html b/site/com/mailslurp/models/CreateInboxRulesetOptions.ScopeEnum.Adapter.html new file mode 100644 index 000000000..222b0d145 --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxRulesetOptions.ScopeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +CreateInboxRulesetOptions.ScopeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxRulesetOptions.ScopeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxRulesetOptions.ScopeEnum.html b/site/com/mailslurp/models/CreateInboxRulesetOptions.ScopeEnum.html new file mode 100644 index 000000000..1302a2ace --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxRulesetOptions.ScopeEnum.html @@ -0,0 +1,410 @@ + + + + + + +CreateInboxRulesetOptions.ScopeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum CreateInboxRulesetOptions.ScopeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateInboxRulesetOptions.html b/site/com/mailslurp/models/CreateInboxRulesetOptions.html new file mode 100644 index 000000000..8263595ec --- /dev/null +++ b/site/com/mailslurp/models/CreateInboxRulesetOptions.html @@ -0,0 +1,654 @@ + + + + + + +CreateInboxRulesetOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateInboxRulesetOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateInboxRulesetOptions
    +extends Object
    +
    Options for creating inbox rulesets. Inbox rulesets can be used to block, allow, filter, or forward emails when sending or receiving using the inbox.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateInboxRulesetOptions

        +
        public CreateInboxRulesetOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getScope

        +
        @Nonnull
        +public CreateInboxRulesetOptions.ScopeEnum getScope()
        +
        What type of emails actions to apply ruleset to. Either `SENDING_EMAILS` or `RECEIVING_EMAILS` will apply action and target to any sending or receiving of emails respectively.
        +
        +
        Returns:
        +
        scope
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getAction

        +
        @Nonnull
        +public CreateInboxRulesetOptions.ActionEnum getAction()
        +
        Action to be taken when the ruleset matches an email for the given scope. For example: `BLOCK` action with target `*` and scope `SENDING_EMAILS` blocks sending to all recipients. Note `ALLOW` takes precedent over `BLOCK`. `FILTER_REMOVE` is like block but will remove offending email addresses during a send or receive event instead of blocking the action.
        +
        +
        Returns:
        +
        action
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getTarget

        +
        @Nonnull
        +public String getTarget()
        +
        Target to match emails with. Can be a wild-card type pattern or a valid email address. For instance `*@gmail.com` matches all gmail addresses while `test@gmail.com` matches one address exactly. The target is applied to every recipient field email address when `SENDING_EMAILS` is the scope and is applied to sender of email when `RECEIVING_EMAILS`.
        +
        +
        Returns:
        +
        target
        +
        +
      • +
      + + + +
        +
      • +

        setTarget

        +
        public void setTarget(String target)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to CreateInboxRulesetOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static CreateInboxRulesetOptions fromJson(String jsonString)
        +                                          throws IOException
        +
        Create an instance of CreateInboxRulesetOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of CreateInboxRulesetOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to CreateInboxRulesetOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of CreateInboxRulesetOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateTemplateOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateTemplateOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ef9e551c0 --- /dev/null +++ b/site/com/mailslurp/models/CreateTemplateOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateTemplateOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateTemplateOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateTemplateOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateTemplateOptions
    +
    +
    +
    +
    public static class CreateTemplateOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateTemplateOptions.html b/site/com/mailslurp/models/CreateTemplateOptions.html new file mode 100644 index 000000000..15cb15aa4 --- /dev/null +++ b/site/com/mailslurp/models/CreateTemplateOptions.html @@ -0,0 +1,578 @@ + + + + + + +CreateTemplateOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateTemplateOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateTemplateOptions
    +extends Object
    +
    Create template options
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateTemplateOptions

        +
        public CreateTemplateOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getName

        +
        @Nonnull
        +public String getName()
        +
        Name of template
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getContent

        +
        @Nonnull
        +public String getContent()
        +
        Template content. Can include moustache style variables such as {{var_name}}
        +
        +
        Returns:
        +
        content
        +
        +
      • +
      + + + +
        +
      • +

        setContent

        +
        public void setContent(String content)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to CreateTemplateOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static CreateTemplateOptions fromJson(String jsonString)
        +                                      throws IOException
        +
        Create an instance of CreateTemplateOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of CreateTemplateOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to CreateTemplateOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of CreateTemplateOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateTrackingPixelOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateTrackingPixelOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..820ab696b --- /dev/null +++ b/site/com/mailslurp/models/CreateTrackingPixelOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateTrackingPixelOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateTrackingPixelOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateTrackingPixelOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateTrackingPixelOptions
    +
    +
    +
    +
    public static class CreateTrackingPixelOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateTrackingPixelOptions.html b/site/com/mailslurp/models/CreateTrackingPixelOptions.html new file mode 100644 index 000000000..18cd85fcc --- /dev/null +++ b/site/com/mailslurp/models/CreateTrackingPixelOptions.html @@ -0,0 +1,578 @@ + + + + + + +CreateTrackingPixelOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateTrackingPixelOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateTrackingPixelOptions
    +extends Object
    +
    Options for creating a tracking pixel for email open tracking
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateTrackingPixelOptions

        +
        public CreateTrackingPixelOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Get name
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getRecipient

        +
        @Nullable
        +public String getRecipient()
        +
        Get recipient
        +
        +
        Returns:
        +
        recipient
        +
        +
      • +
      + + + +
        +
      • +

        setRecipient

        +
        public void setRecipient(String recipient)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to CreateTrackingPixelOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static CreateTrackingPixelOptions fromJson(String jsonString)
        +                                           throws IOException
        +
        Create an instance of CreateTrackingPixelOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of CreateTrackingPixelOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to CreateTrackingPixelOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of CreateTrackingPixelOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateWebhookOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/CreateWebhookOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..57ed891c7 --- /dev/null +++ b/site/com/mailslurp/models/CreateWebhookOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +CreateWebhookOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateWebhookOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.CreateWebhookOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    CreateWebhookOptions
    +
    +
    +
    +
    public static class CreateWebhookOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateWebhookOptions.EventNameEnum.Adapter.html b/site/com/mailslurp/models/CreateWebhookOptions.EventNameEnum.Adapter.html new file mode 100644 index 000000000..9c50973f6 --- /dev/null +++ b/site/com/mailslurp/models/CreateWebhookOptions.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +CreateWebhookOptions.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateWebhookOptions.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateWebhookOptions.EventNameEnum.html b/site/com/mailslurp/models/CreateWebhookOptions.EventNameEnum.html new file mode 100644 index 000000000..4ca4d73a0 --- /dev/null +++ b/site/com/mailslurp/models/CreateWebhookOptions.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +CreateWebhookOptions.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum CreateWebhookOptions.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/CreateWebhookOptions.html b/site/com/mailslurp/models/CreateWebhookOptions.html new file mode 100644 index 000000000..eeec25718 --- /dev/null +++ b/site/com/mailslurp/models/CreateWebhookOptions.html @@ -0,0 +1,968 @@ + + + + + + +CreateWebhookOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class CreateWebhookOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class CreateWebhookOptions
    +extends Object
    +
    Options for creating a webhook. Webhooks can be attached to inboxes and MailSlurp will POST a webhook payload to the URL specified whenever the webhook's event is triggered. Webhooks are great for processing many inbound emails and responding to other events at scale. Customize the payload sent to your endpoint by setting the `requestBodyTemplate` property to a string with moustache style variables. Property names from the standard payload model for the given event are available as variables.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateWebhookOptions

        +
        public CreateWebhookOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getUrl

        +
        @Nonnull
        +public String getUrl()
        +
        Public URL on your server that MailSlurp can post WebhookNotification payload to when an email is received or an event is trigger. The payload of the submitted JSON is dependent on the webhook event type. See docs.mailslurp.com/webhooks for event payload documentation.
        +
        +
        Returns:
        +
        url
        +
        +
      • +
      + + + +
        +
      • +

        setUrl

        +
        public void setUrl(String url)
        +
      • +
      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Optional name for the webhook
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getEventName

        +
        @Nullable
        +public CreateWebhookOptions.EventNameEnum getEventName()
        +
        Optional webhook event name. Default is `EMAIL_RECEIVED` and is triggered when an email is received by the inbox associated with the webhook. Payload differ according to the webhook event name.
        +
        +
        Returns:
        +
        eventName
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getIncludeHeaders

        +
        @Nullable
        +public WebhookHeaders getIncludeHeaders()
        +
        Get includeHeaders
        +
        +
        Returns:
        +
        includeHeaders
        +
        +
      • +
      + + + +
        +
      • +

        setIncludeHeaders

        +
        public void setIncludeHeaders(WebhookHeaders includeHeaders)
        +
      • +
      + + + + + + + +
        +
      • +

        getRequestBodyTemplate

        +
        @Nullable
        +public String getRequestBodyTemplate()
        +
        Template for the JSON body of the webhook request that will be sent to your server. Use Moustache style `{{variableName}}` templating to use parts of the standard webhook payload for the given event.
        +
        +
        Returns:
        +
        requestBodyTemplate
        +
        +
      • +
      + + + +
        +
      • +

        setRequestBodyTemplate

        +
        public void setRequestBodyTemplate(String requestBodyTemplate)
        +
      • +
      + + + + + + + +
        +
      • +

        getUseStaticIpRange

        +
        @Nullable
        +public Boolean getUseStaticIpRange()
        +
        Use static IP range when calling webhook endpoint
        +
        +
        Returns:
        +
        useStaticIpRange
        +
        +
      • +
      + + + +
        +
      • +

        setUseStaticIpRange

        +
        public void setUseStaticIpRange(Boolean useStaticIpRange)
        +
      • +
      + + + +
        +
      • +

        ignoreInsecureSslCertificates

        +
        public CreateWebhookOptions ignoreInsecureSslCertificates(Boolean ignoreInsecureSslCertificates)
        +
      • +
      + + + +
        +
      • +

        getIgnoreInsecureSslCertificates

        +
        @Nullable
        +public Boolean getIgnoreInsecureSslCertificates()
        +
        Ignore insecure SSL certificates when sending request. Useful for self-signed certs.
        +
        +
        Returns:
        +
        ignoreInsecureSslCertificates
        +
        +
      • +
      + + + +
        +
      • +

        setIgnoreInsecureSslCertificates

        +
        public void setIgnoreInsecureSslCertificates(Boolean ignoreInsecureSslCertificates)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to CreateWebhookOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static CreateWebhookOptions fromJson(String jsonString)
        +                                     throws IOException
        +
        Create an instance of CreateWebhookOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of CreateWebhookOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to CreateWebhookOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of CreateWebhookOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DNSLookupOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/DNSLookupOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e331ae2a3 --- /dev/null +++ b/site/com/mailslurp/models/DNSLookupOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +DNSLookupOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DNSLookupOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DNSLookupOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    DNSLookupOptions
    +
    +
    +
    +
    public static class DNSLookupOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DNSLookupOptions.RecordTypesEnum.Adapter.html b/site/com/mailslurp/models/DNSLookupOptions.RecordTypesEnum.Adapter.html new file mode 100644 index 000000000..13a9f84bf --- /dev/null +++ b/site/com/mailslurp/models/DNSLookupOptions.RecordTypesEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +DNSLookupOptions.RecordTypesEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DNSLookupOptions.RecordTypesEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DNSLookupOptions.RecordTypesEnum.html b/site/com/mailslurp/models/DNSLookupOptions.RecordTypesEnum.html new file mode 100644 index 000000000..76e1cc0df --- /dev/null +++ b/site/com/mailslurp/models/DNSLookupOptions.RecordTypesEnum.html @@ -0,0 +1,1454 @@ + + + + + + +DNSLookupOptions.RecordTypesEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum DNSLookupOptions.RecordTypesEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DNSLookupOptions.html b/site/com/mailslurp/models/DNSLookupOptions.html new file mode 100644 index 000000000..8df12afd1 --- /dev/null +++ b/site/com/mailslurp/models/DNSLookupOptions.html @@ -0,0 +1,661 @@ + + + + + + +DNSLookupOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DNSLookupOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class DNSLookupOptions
    +extends Object
    +
    Options for DNS query.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DNSLookupOptions

        +
        public DNSLookupOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getHostname

        +
        @Nonnull
        +public String getHostname()
        +
        List of record types you wish to query such as MX, DNS, TXT, NS, A etc.
        +
        +
        Returns:
        +
        hostname
        +
        +
      • +
      + + + +
        +
      • +

        setHostname

        +
        public void setHostname(String hostname)
        +
      • +
      + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getOmitFinalDNSDot

        +
        @Nonnull
        +public Boolean getOmitFinalDNSDot()
        +
        Optionally control whether to omit the final dot in full DNS name values.
        +
        +
        Returns:
        +
        omitFinalDNSDot
        +
        +
      • +
      + + + +
        +
      • +

        setOmitFinalDNSDot

        +
        public void setOmitFinalDNSDot(Boolean omitFinalDNSDot)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to DNSLookupOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static DNSLookupOptions fromJson(String jsonString)
        +                                 throws IOException
        +
        Create an instance of DNSLookupOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of DNSLookupOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to DNSLookupOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of DNSLookupOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DNSLookupResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/DNSLookupResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..851bb2fb9 --- /dev/null +++ b/site/com/mailslurp/models/DNSLookupResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +DNSLookupResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DNSLookupResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DNSLookupResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    DNSLookupResult
    +
    +
    +
    +
    public static class DNSLookupResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DNSLookupResult.RecordTypeEnum.Adapter.html b/site/com/mailslurp/models/DNSLookupResult.RecordTypeEnum.Adapter.html new file mode 100644 index 000000000..716579c60 --- /dev/null +++ b/site/com/mailslurp/models/DNSLookupResult.RecordTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +DNSLookupResult.RecordTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DNSLookupResult.RecordTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DNSLookupResult.RecordTypeEnum.html b/site/com/mailslurp/models/DNSLookupResult.RecordTypeEnum.html new file mode 100644 index 000000000..861423ceb --- /dev/null +++ b/site/com/mailslurp/models/DNSLookupResult.RecordTypeEnum.html @@ -0,0 +1,1454 @@ + + + + + + +DNSLookupResult.RecordTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum DNSLookupResult.RecordTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DNSLookupResult.html b/site/com/mailslurp/models/DNSLookupResult.html new file mode 100644 index 000000000..0c3fdaa65 --- /dev/null +++ b/site/com/mailslurp/models/DNSLookupResult.html @@ -0,0 +1,725 @@ + + + + + + +DNSLookupResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DNSLookupResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class DNSLookupResult
    +extends Object
    +
    DNS lookup result. Includes record type, time to live, raw response, and name value for the name server response.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DNSLookupResults.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/DNSLookupResults.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f35d6c9c8 --- /dev/null +++ b/site/com/mailslurp/models/DNSLookupResults.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +DNSLookupResults.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DNSLookupResults.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DNSLookupResults.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    DNSLookupResults
    +
    +
    +
    +
    public static class DNSLookupResults.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DNSLookupResults.html b/site/com/mailslurp/models/DNSLookupResults.html new file mode 100644 index 000000000..d59465fec --- /dev/null +++ b/site/com/mailslurp/models/DNSLookupResults.html @@ -0,0 +1,527 @@ + + + + + + +DNSLookupResults (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DNSLookupResults

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class DNSLookupResults
    +extends Object
    +
    Results of query on domain name servers
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DNSLookupResults

        +
        public DNSLookupResults()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to DNSLookupResults
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static DNSLookupResults fromJson(String jsonString)
        +                                 throws IOException
        +
        Create an instance of DNSLookupResults given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of DNSLookupResults
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to DNSLookupResults
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of DNSLookupResults to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DeliveryStatusDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/DeliveryStatusDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..c411124d7 --- /dev/null +++ b/site/com/mailslurp/models/DeliveryStatusDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +DeliveryStatusDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DeliveryStatusDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DeliveryStatusDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    DeliveryStatusDto
    +
    +
    +
    +
    public static class DeliveryStatusDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DeliveryStatusDto.html b/site/com/mailslurp/models/DeliveryStatusDto.html new file mode 100644 index 000000000..ac7df3ead --- /dev/null +++ b/site/com/mailslurp/models/DeliveryStatusDto.html @@ -0,0 +1,1359 @@ + + + + + + +DeliveryStatusDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DeliveryStatusDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class DeliveryStatusDto
    +extends Object
    +
    DeliveryStatusDto
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DescribeDomainOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/DescribeDomainOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e3a91d40c --- /dev/null +++ b/site/com/mailslurp/models/DescribeDomainOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +DescribeDomainOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DescribeDomainOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DescribeDomainOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    DescribeDomainOptions
    +
    +
    +
    +
    public static class DescribeDomainOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DescribeDomainOptions.html b/site/com/mailslurp/models/DescribeDomainOptions.html new file mode 100644 index 000000000..6eafa6218 --- /dev/null +++ b/site/com/mailslurp/models/DescribeDomainOptions.html @@ -0,0 +1,514 @@ + + + + + + +DescribeDomainOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DescribeDomainOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class DescribeDomainOptions
    +extends Object
    +
    Domain record description
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DescribeDomainOptions

        +
        public DescribeDomainOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getDomain

        +
        @Nonnull
        +public String getDomain()
        +
        Get domain
        +
        +
        Returns:
        +
        domain
        +
        +
      • +
      + + + +
        +
      • +

        setDomain

        +
        public void setDomain(String domain)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to DescribeDomainOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static DescribeDomainOptions fromJson(String jsonString)
        +                                      throws IOException
        +
        Create an instance of DescribeDomainOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of DescribeDomainOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to DescribeDomainOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of DescribeDomainOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DescribeMailServerDomainResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/DescribeMailServerDomainResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ae5fd8089 --- /dev/null +++ b/site/com/mailslurp/models/DescribeMailServerDomainResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +DescribeMailServerDomainResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DescribeMailServerDomainResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DescribeMailServerDomainResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    DescribeMailServerDomainResult
    +
    +
    +
    +
    public static class DescribeMailServerDomainResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DescribeMailServerDomainResult.html b/site/com/mailslurp/models/DescribeMailServerDomainResult.html new file mode 100644 index 000000000..d4ede1062 --- /dev/null +++ b/site/com/mailslurp/models/DescribeMailServerDomainResult.html @@ -0,0 +1,655 @@ + + + + + + +DescribeMailServerDomainResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DescribeMailServerDomainResult

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DescribeMailServerDomainResult
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class DescribeMailServerDomainResult
    +extends Object
    +
    Name Server lookup result
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/DomainDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4017f24b5 --- /dev/null +++ b/site/com/mailslurp/models/DomainDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +DomainDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DomainDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    DomainDto
    +
    +
    +
    +
    public static class DomainDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainDto.DomainTypeEnum.Adapter.html b/site/com/mailslurp/models/DomainDto.DomainTypeEnum.Adapter.html new file mode 100644 index 000000000..e2ffea6f4 --- /dev/null +++ b/site/com/mailslurp/models/DomainDto.DomainTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +DomainDto.DomainTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainDto.DomainTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainDto.DomainTypeEnum.html b/site/com/mailslurp/models/DomainDto.DomainTypeEnum.html new file mode 100644 index 000000000..36def9780 --- /dev/null +++ b/site/com/mailslurp/models/DomainDto.DomainTypeEnum.html @@ -0,0 +1,410 @@ + + + + + + +DomainDto.DomainTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum DomainDto.DomainTypeEnum

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable, Comparable<DomainDto.DomainTypeEnum>
    +
    +
    +
    Enclosing class:
    +
    DomainDto
    +
    +
    +
    +
    public static enum DomainDto.DomainTypeEnum
    +extends Enum<DomainDto.DomainTypeEnum>
    +
    Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static DomainDto.DomainTypeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (DomainDto.DomainTypeEnum c : DomainDto.DomainTypeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static DomainDto.DomainTypeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainDto.html b/site/com/mailslurp/models/DomainDto.html new file mode 100644 index 000000000..af43b41d9 --- /dev/null +++ b/site/com/mailslurp/models/DomainDto.html @@ -0,0 +1,1314 @@ + + + + + + +DomainDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class DomainDto
    +extends Object
    +
    Domain plus verification records and status
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DomainDto

        +
        public DomainDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getUserId

        +
        @Nonnull
        +public UUID getUserId()
        +
        Get userId
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + + + + + +
        +
      • +

        getDomain

        +
        @Nonnull
        +public String getDomain()
        +
        Custom domain name
        +
        +
        Returns:
        +
        domain
        +
        +
      • +
      + + + +
        +
      • +

        setDomain

        +
        public void setDomain(String domain)
        +
      • +
      + + + +
        +
      • +

        verificationToken

        +
        public DomainDto verificationToken(String verificationToken)
        +
      • +
      + + + +
        +
      • +

        getVerificationToken

        +
        @Nonnull
        +public String getVerificationToken()
        +
        Verification tokens
        +
        +
        Returns:
        +
        verificationToken
        +
        +
      • +
      + + + +
        +
      • +

        setVerificationToken

        +
        public void setVerificationToken(String verificationToken)
        +
      • +
      + + + + + + + +
        +
      • +

        addDkimTokensItem

        +
        public DomainDto addDkimTokensItem(String dkimTokensItem)
        +
      • +
      + + + +
        +
      • +

        getDkimTokens

        +
        @Nonnull
        +public List<String> getDkimTokens()
        +
        Unique token DKIM tokens
        +
        +
        Returns:
        +
        dkimTokens
        +
        +
      • +
      + + + +
        +
      • +

        setDkimTokens

        +
        public void setDkimTokens(List<String> dkimTokens)
        +
      • +
      + + + +
        +
      • +

        missingRecordsMessage

        +
        public DomainDto missingRecordsMessage(String missingRecordsMessage)
        +
      • +
      + + + +
        +
      • +

        getMissingRecordsMessage

        +
        @Nullable
        +public String getMissingRecordsMessage()
        +
        If the domain is missing records then show which pairs are missing.
        +
        +
        Returns:
        +
        missingRecordsMessage
        +
        +
      • +
      + + + +
        +
      • +

        setMissingRecordsMessage

        +
        public void setMissingRecordsMessage(String missingRecordsMessage)
        +
      • +
      + + + +
        +
      • +

        hasMissingRecords

        +
        public DomainDto hasMissingRecords(Boolean hasMissingRecords)
        +
      • +
      + + + +
        +
      • +

        getHasMissingRecords

        +
        @Nonnull
        +public Boolean getHasMissingRecords()
        +
        Whether the domain has missing required records. If true then see the domain in the dashboard app.
        +
        +
        Returns:
        +
        hasMissingRecords
        +
        +
      • +
      + + + +
        +
      • +

        setHasMissingRecords

        +
        public void setHasMissingRecords(Boolean hasMissingRecords)
        +
      • +
      + + + + + + + +
        +
      • +

        getIsVerified

        +
        @Nonnull
        +public Boolean getIsVerified()
        +
        Whether domain has been verified or not. If the domain is not verified after 72 hours there is most likely an issue with the domains DNS records.
        +
        +
        Returns:
        +
        isVerified
        +
        +
      • +
      + + + +
        +
      • +

        setIsVerified

        +
        public void setIsVerified(Boolean isVerified)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getDomainNameRecords

        +
        @Nonnull
        +public List<DomainNameRecord> getDomainNameRecords()
        +
        List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider.
        +
        +
        Returns:
        +
        domainNameRecords
        +
        +
      • +
      + + + +
        +
      • +

        setDomainNameRecords

        +
        public void setDomainNameRecords(List<DomainNameRecord> domainNameRecords)
        +
      • +
      + + + +
        +
      • +

        catchAllInboxId

        +
        public DomainDto catchAllInboxId(UUID catchAllInboxId)
        +
      • +
      + + + +
        +
      • +

        getCatchAllInboxId

        +
        @Nullable
        +public UUID getCatchAllInboxId()
        +
        The optional catch all inbox that will receive emails sent to the domain that cannot be matched.
        +
        +
        Returns:
        +
        catchAllInboxId
        +
        +
      • +
      + + + +
        +
      • +

        setCatchAllInboxId

        +
        public void setCatchAllInboxId(UUID catchAllInboxId)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getUpdatedAt

        +
        @Nonnull
        +public OffsetDateTime getUpdatedAt()
        +
        Get updatedAt
        +
        +
        Returns:
        +
        updatedAt
        +
        +
      • +
      + + + +
        +
      • +

        setUpdatedAt

        +
        public void setUpdatedAt(OffsetDateTime updatedAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getDomainType

        +
        @Nonnull
        +public DomainDto.DomainTypeEnum getDomainType()
        +
        Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.
        +
        +
        Returns:
        +
        domainType
        +
        +
      • +
      + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to DomainDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static DomainDto fromJson(String jsonString)
        +                          throws IOException
        +
        Create an instance of DomainDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of DomainDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to DomainDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of DomainDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainIssuesDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/DomainIssuesDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..80ddd7e70 --- /dev/null +++ b/site/com/mailslurp/models/DomainIssuesDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +DomainIssuesDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainIssuesDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DomainIssuesDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    DomainIssuesDto
    +
    +
    +
    +
    public static class DomainIssuesDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainIssuesDto.html b/site/com/mailslurp/models/DomainIssuesDto.html new file mode 100644 index 000000000..ab709ff3a --- /dev/null +++ b/site/com/mailslurp/models/DomainIssuesDto.html @@ -0,0 +1,514 @@ + + + + + + +DomainIssuesDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainIssuesDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class DomainIssuesDto
    +extends Object
    +
    DomainIssuesDto
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DomainIssuesDto

        +
        public DomainIssuesDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getHasIssues

        +
        @Nonnull
        +public Boolean getHasIssues()
        +
        Get hasIssues
        +
        +
        Returns:
        +
        hasIssues
        +
        +
      • +
      + + + +
        +
      • +

        setHasIssues

        +
        public void setHasIssues(Boolean hasIssues)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to DomainIssuesDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static DomainIssuesDto fromJson(String jsonString)
        +                                throws IOException
        +
        Create an instance of DomainIssuesDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of DomainIssuesDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to DomainIssuesDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of DomainIssuesDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainNameRecord.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/DomainNameRecord.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8aadfe207 --- /dev/null +++ b/site/com/mailslurp/models/DomainNameRecord.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +DomainNameRecord.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainNameRecord.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DomainNameRecord.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    DomainNameRecord
    +
    +
    +
    +
    public static class DomainNameRecord.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainNameRecord.LabelEnum.Adapter.html b/site/com/mailslurp/models/DomainNameRecord.LabelEnum.Adapter.html new file mode 100644 index 000000000..30b3e6227 --- /dev/null +++ b/site/com/mailslurp/models/DomainNameRecord.LabelEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +DomainNameRecord.LabelEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainNameRecord.LabelEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainNameRecord.LabelEnum.html b/site/com/mailslurp/models/DomainNameRecord.LabelEnum.html new file mode 100644 index 000000000..addd9b97c --- /dev/null +++ b/site/com/mailslurp/models/DomainNameRecord.LabelEnum.html @@ -0,0 +1,446 @@ + + + + + + +DomainNameRecord.LabelEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum DomainNameRecord.LabelEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainNameRecord.RecordTypeEnum.Adapter.html b/site/com/mailslurp/models/DomainNameRecord.RecordTypeEnum.Adapter.html new file mode 100644 index 000000000..2813a7aff --- /dev/null +++ b/site/com/mailslurp/models/DomainNameRecord.RecordTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +DomainNameRecord.RecordTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainNameRecord.RecordTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainNameRecord.RecordTypeEnum.html b/site/com/mailslurp/models/DomainNameRecord.RecordTypeEnum.html new file mode 100644 index 000000000..3acb601d6 --- /dev/null +++ b/site/com/mailslurp/models/DomainNameRecord.RecordTypeEnum.html @@ -0,0 +1,1454 @@ + + + + + + +DomainNameRecord.RecordTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum DomainNameRecord.RecordTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainNameRecord.html b/site/com/mailslurp/models/DomainNameRecord.html new file mode 100644 index 000000000..ba50c889a --- /dev/null +++ b/site/com/mailslurp/models/DomainNameRecord.html @@ -0,0 +1,859 @@ + + + + + + +DomainNameRecord (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainNameRecord

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class DomainNameRecord
    +extends Object
    +
    DNS Record required for verification of a domain. Record vary depending on domain type.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainPreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/DomainPreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1cdf1e7ee --- /dev/null +++ b/site/com/mailslurp/models/DomainPreview.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +DomainPreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainPreview.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DomainPreview.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    DomainPreview
    +
    +
    +
    +
    public static class DomainPreview.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainPreview.DomainTypeEnum.Adapter.html b/site/com/mailslurp/models/DomainPreview.DomainTypeEnum.Adapter.html new file mode 100644 index 000000000..1f1227445 --- /dev/null +++ b/site/com/mailslurp/models/DomainPreview.DomainTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +DomainPreview.DomainTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainPreview.DomainTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainPreview.DomainTypeEnum.html b/site/com/mailslurp/models/DomainPreview.DomainTypeEnum.html new file mode 100644 index 000000000..8b5febc70 --- /dev/null +++ b/site/com/mailslurp/models/DomainPreview.DomainTypeEnum.html @@ -0,0 +1,410 @@ + + + + + + +DomainPreview.DomainTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum DomainPreview.DomainTypeEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static DomainPreview.DomainTypeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (DomainPreview.DomainTypeEnum c : DomainPreview.DomainTypeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static DomainPreview.DomainTypeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DomainPreview.html b/site/com/mailslurp/models/DomainPreview.html new file mode 100644 index 000000000..362f8b494 --- /dev/null +++ b/site/com/mailslurp/models/DomainPreview.html @@ -0,0 +1,904 @@ + + + + + + +DomainPreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DomainPreview

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class DomainPreview
    +extends Object
    +
    Preview object for domain entity
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DomainPreview

        +
        public DomainPreview()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getDomain

        +
        @Nonnull
        +public String getDomain()
        +
        Get domain
        +
        +
        Returns:
        +
        domain
        +
        +
      • +
      + + + +
        +
      • +

        setDomain

        +
        public void setDomain(String domain)
        +
      • +
      + + + +
        +
      • +

        catchAllInboxId

        +
        public DomainPreview catchAllInboxId(UUID catchAllInboxId)
        +
      • +
      + + + +
        +
      • +

        getCatchAllInboxId

        +
        @Nullable
        +public UUID getCatchAllInboxId()
        +
        Get catchAllInboxId
        +
        +
        Returns:
        +
        catchAllInboxId
        +
        +
      • +
      + + + +
        +
      • +

        setCatchAllInboxId

        +
        public void setCatchAllInboxId(UUID catchAllInboxId)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getDomainType

        +
        @Nonnull
        +public DomainPreview.DomainTypeEnum getDomainType()
        +
        Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.
        +
        +
        Returns:
        +
        domainType
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getIsVerified

        +
        @Nonnull
        +public Boolean getIsVerified()
        +
        Get isVerified
        +
        +
        Returns:
        +
        isVerified
        +
        +
      • +
      + + + +
        +
      • +

        setIsVerified

        +
        public void setIsVerified(Boolean isVerified)
        +
      • +
      + + + + + + + +
        +
      • +

        getHasMissingRecords

        +
        @Nonnull
        +public Boolean getHasMissingRecords()
        +
        Get hasMissingRecords
        +
        +
        Returns:
        +
        hasMissingRecords
        +
        +
      • +
      + + + +
        +
      • +

        setHasMissingRecords

        +
        public void setHasMissingRecords(Boolean hasMissingRecords)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to DomainPreview
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static DomainPreview fromJson(String jsonString)
        +                              throws IOException
        +
        Create an instance of DomainPreview given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of DomainPreview
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to DomainPreview
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of DomainPreview to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DownloadAttachmentDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/DownloadAttachmentDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..c930334c8 --- /dev/null +++ b/site/com/mailslurp/models/DownloadAttachmentDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +DownloadAttachmentDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DownloadAttachmentDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.DownloadAttachmentDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    DownloadAttachmentDto
    +
    +
    +
    +
    public static class DownloadAttachmentDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/DownloadAttachmentDto.html b/site/com/mailslurp/models/DownloadAttachmentDto.html new file mode 100644 index 000000000..0e8dc798e --- /dev/null +++ b/site/com/mailslurp/models/DownloadAttachmentDto.html @@ -0,0 +1,642 @@ + + + + + + +DownloadAttachmentDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class DownloadAttachmentDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class DownloadAttachmentDto
    +extends Object
    +
    Content of attachment
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DownloadAttachmentDto

        +
        public DownloadAttachmentDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getBase64FileContents

        +
        @Nonnull
        +public String getBase64FileContents()
        +
        Base64 encoded string of attachment bytes. Decode the base64 encoded string to get the raw contents. If the file has a content type such as `text/html` you can read the contents directly by converting it to string using `utf-8` encoding.
        +
        +
        Returns:
        +
        base64FileContents
        +
        +
      • +
      + + + +
        +
      • +

        setBase64FileContents

        +
        public void setBase64FileContents(String base64FileContents)
        +
      • +
      + + + + + + + +
        +
      • +

        getContentType

        +
        @Nonnull
        +public String getContentType()
        +
        Content type of attachment. Examples are `image/png`, `application/msword`, `text/csv` etc.
        +
        +
        Returns:
        +
        contentType
        +
        +
      • +
      + + + +
        +
      • +

        setContentType

        +
        public void setContentType(String contentType)
        +
      • +
      + + + + + + + +
        +
      • +

        getSizeBytes

        +
        @Nonnull
        +public Long getSizeBytes()
        +
        Size in bytes of attachment content
        +
        +
        Returns:
        +
        sizeBytes
        +
        +
      • +
      + + + +
        +
      • +

        setSizeBytes

        +
        public void setSizeBytes(Long sizeBytes)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to DownloadAttachmentDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static DownloadAttachmentDto fromJson(String jsonString)
        +                                      throws IOException
        +
        Create an instance of DownloadAttachmentDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of DownloadAttachmentDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to DownloadAttachmentDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of DownloadAttachmentDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/Email.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/Email.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..65730ba94 --- /dev/null +++ b/site/com/mailslurp/models/Email.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +Email.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class Email.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.Email.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    Email
    +
    +
    +
    +
    public static class Email.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/Email.html b/site/com/mailslurp/models/Email.html new file mode 100644 index 000000000..a82b7c9d9 --- /dev/null +++ b/site/com/mailslurp/models/Email.html @@ -0,0 +1,2198 @@ + + + + + + +Email (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class Email

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class Email
    +extends Object
    +
    Email entity (also known as EmailDto). When an SMTP email message is received by MailSlurp it is parsed. The body and attachments are written to disk and the fields such as to, from, subject etc are stored in a database. The `body` contains the email content. If you want the original SMTP message see the `getRawEmail` endpoints. The attachments can be fetched using the AttachmentController
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Email

        +
        public Email()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        ID of the email entity
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + +
        +
      • +

        userId

        +
        public Email userId(UUID userId)
        +
      • +
      + + + +
        +
      • +

        getUserId

        +
        @Nonnull
        +public UUID getUserId()
        +
        ID of user that email belongs to
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + +
        +
      • +

        inboxId

        +
        public Email inboxId(UUID inboxId)
        +
      • +
      + + + +
        +
      • +

        getInboxId

        +
        @Nonnull
        +public UUID getInboxId()
        +
        ID of the inbox that received the email
        +
        +
        Returns:
        +
        inboxId
        +
        +
      • +
      + + + +
        +
      • +

        setInboxId

        +
        public void setInboxId(UUID inboxId)
        +
      • +
      + + + +
        +
      • +

        domainId

        +
        public Email domainId(UUID domainId)
        +
      • +
      + + + +
        +
      • +

        getDomainId

        +
        @Nullable
        +public UUID getDomainId()
        +
        ID of the domain that received the email
        +
        +
        Returns:
        +
        domainId
        +
        +
      • +
      + + + +
        +
      • +

        setDomainId

        +
        public void setDomainId(UUID domainId)
        +
      • +
      + + + + + + + +
        +
      • +

        addToItem

        +
        public Email addToItem(String toItem)
        +
      • +
      + + + +
        +
      • +

        getTo

        +
        @Nonnull
        +public List<String> getTo()
        +
        List of `To` recipient email addresses that the email was addressed to. See recipients object for names.
        +
        +
        Returns:
        +
        to
        +
        +
      • +
      + + + +
        +
      • +

        setTo

        +
        public void setTo(List<String> to)
        +
      • +
      + + + + + + + +
        +
      • +

        getFrom

        +
        @Nullable
        +public String getFrom()
        +
        Who the email was sent from. An email address - see fromName for the sender name.
        +
        +
        Returns:
        +
        from
        +
        +
      • +
      + + + +
        +
      • +

        setFrom

        +
        public void setFrom(String from)
        +
      • +
      + + + + + + + +
        +
      • +

        getSender

        +
        @Nullable
        +public Sender getSender()
        +
        Get sender
        +
        +
        Returns:
        +
        sender
        +
        +
      • +
      + + + +
        +
      • +

        setSender

        +
        public void setSender(Sender sender)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        setRecipients

        +
        public void setRecipients(EmailRecipients recipients)
        +
      • +
      + + + +
        +
      • +

        replyTo

        +
        public Email replyTo(String replyTo)
        +
      • +
      + + + +
        +
      • +

        getReplyTo

        +
        @Nullable
        +public String getReplyTo()
        +
        The `replyTo` field on the received email message
        +
        +
        Returns:
        +
        replyTo
        +
        +
      • +
      + + + +
        +
      • +

        setReplyTo

        +
        public void setReplyTo(String replyTo)
        +
      • +
      + + + + + + + +
        +
      • +

        addCcItem

        +
        public Email addCcItem(String ccItem)
        +
      • +
      + + + +
        +
      • +

        getCc

        +
        @Nullable
        +public List<String> getCc()
        +
        List of `CC` recipients email addresses that the email was addressed to. See recipients object for names.
        +
        +
        Returns:
        +
        cc
        +
        +
      • +
      + + + +
        +
      • +

        setCc

        +
        public void setCc(List<String> cc)
        +
      • +
      + + + + + + + +
        +
      • +

        addBccItem

        +
        public Email addBccItem(String bccItem)
        +
      • +
      + + + +
        +
      • +

        getBcc

        +
        @Nullable
        +public List<String> getBcc()
        +
        List of `BCC` recipients email addresses that the email was addressed to. See recipients object for names.
        +
        +
        Returns:
        +
        bcc
        +
        +
      • +
      + + + +
        +
      • +

        setBcc

        +
        public void setBcc(List<String> bcc)
        +
      • +
      + + + + + + + +
        +
      • +

        putHeadersItem

        +
        public Email putHeadersItem(String key,
        +                            String headersItem)
        +
      • +
      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getHeadersMap

        +
        @Nullable
        +public Map<String,List<String>> getHeadersMap()
        +
        Multi-value map of SMTP headers attached to email
        +
        +
        Returns:
        +
        headersMap
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        addAttachmentsItem

        +
        public Email addAttachmentsItem(String attachmentsItem)
        +
      • +
      + + + +
        +
      • +

        getAttachments

        +
        @Nullable
        +public List<String> getAttachments()
        +
        List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension.
        +
        +
        Returns:
        +
        attachments
        +
        +
      • +
      + + + +
        +
      • +

        setAttachments

        +
        public void setAttachments(List<String> attachments)
        +
      • +
      + + + +
        +
      • +

        subject

        +
        public Email subject(String subject)
        +
      • +
      + + + +
        +
      • +

        getSubject

        +
        @Nullable
        +public String getSubject()
        +
        The subject line of the email message as specified by SMTP subject header
        +
        +
        Returns:
        +
        subject
        +
        +
      • +
      + + + +
        +
      • +

        setSubject

        +
        public void setSubject(String subject)
        +
      • +
      + + + + + + + +
        +
      • +

        getBody

        +
        @Nullable
        +public String getBody()
        +
        The body of the email message as text parsed from the SMTP message body (does not include attachments). Fetch the raw content to access the SMTP message and use the attachments property to access attachments. The body is stored separately to the email entity so the body is not returned in paginated results only in full single email or wait requests.
        +
        +
        Returns:
        +
        body
        +
        +
      • +
      + + + +
        +
      • +

        setBody

        +
        public void setBody(String body)
        +
      • +
      + + + +
        +
      • +

        bodyExcerpt

        +
        public Email bodyExcerpt(String bodyExcerpt)
        +
      • +
      + + + +
        +
      • +

        getBodyExcerpt

        +
        @Nullable
        +public String getBodyExcerpt()
        +
        An excerpt of the body of the email message for quick preview .
        +
        +
        Returns:
        +
        bodyExcerpt
        +
        +
      • +
      + + + +
        +
      • +

        setBodyExcerpt

        +
        public void setBodyExcerpt(String bodyExcerpt)
        +
      • +
      + + + +
        +
      • +

        bodyMD5Hash

        +
        public Email bodyMD5Hash(String bodyMD5Hash)
        +
      • +
      + + + +
        +
      • +

        getBodyMD5Hash

        +
        @Nullable
        +public String getBodyMD5Hash()
        +
        A hash signature of the email message using MD5. Useful for comparing emails without fetching full body.
        +
        +
        Returns:
        +
        bodyMD5Hash
        +
        +
      • +
      + + + +
        +
      • +

        setBodyMD5Hash

        +
        public void setBodyMD5Hash(String bodyMD5Hash)
        +
      • +
      + + + + + + + +
        +
      • +

        getIsHTML

        +
        @Nullable
        +public Boolean getIsHTML()
        +
        Is the email body content type HTML?
        +
        +
        Returns:
        +
        isHTML
        +
        +
      • +
      + + + +
        +
      • +

        setIsHTML

        +
        public void setIsHTML(Boolean isHTML)
        +
      • +
      + + + +
        +
      • +

        charset

        +
        public Email charset(String charset)
        +
      • +
      + + + +
        +
      • +

        getCharset

        +
        @Nullable
        +public String getCharset()
        +
        Detected character set of the email body such as UTF-8
        +
        +
        Returns:
        +
        charset
        +
        +
      • +
      + + + +
        +
      • +

        setCharset

        +
        public void setCharset(String charset)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        setAnalysis

        +
        public void setAnalysis(EmailAnalysis analysis)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        When was the email received by MailSlurp
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getUpdatedAt

        +
        @Nonnull
        +public OffsetDateTime getUpdatedAt()
        +
        When was the email last updated
        +
        +
        Returns:
        +
        updatedAt
        +
        +
      • +
      + + + +
        +
      • +

        setUpdatedAt

        +
        public void setUpdatedAt(OffsetDateTime updatedAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getRead

        +
        @Nonnull
        +public Boolean getRead()
        +
        Read flag. Has the email ever been viewed in the dashboard or fetched via the API with a hydrated body? If so the email is marked as read. Paginated results do not affect read status. Read status is different to email opened event as it depends on your own account accessing the email. Email opened is determined by tracking pixels sent to other uses if enable during sending. You can listened for both email read and email opened events using webhooks.
        +
        +
        Returns:
        +
        read
        +
        +
      • +
      + + + +
        +
      • +

        setRead

        +
        public void setRead(Boolean read)
        +
      • +
      + + + +
        +
      • +

        teamAccess

        +
        public Email teamAccess(Boolean teamAccess)
        +
      • +
      + + + +
        +
      • +

        getTeamAccess

        +
        @Nonnull
        +public Boolean getTeamAccess()
        +
        Can the email be accessed by organization team members
        +
        +
        Returns:
        +
        teamAccess
        +
        +
      • +
      + + + +
        +
      • +

        setTeamAccess

        +
        public void setTeamAccess(Boolean teamAccess)
        +
      • +
      + + + + + + + +
        +
      • +

        getHtml

        +
        @Nullable
        +public Boolean getHtml()
        +
        Get html
        +
        +
        Returns:
        +
        html
        +
        +
      • +
      + + + +
        +
      • +

        setHtml

        +
        public void setHtml(Boolean html)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to Email
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static Email fromJson(String jsonString)
        +                      throws IOException
        +
        Create an instance of Email given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of Email
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to Email
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of Email to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailAnalysis.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmailAnalysis.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..927f56eca --- /dev/null +++ b/site/com/mailslurp/models/EmailAnalysis.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmailAnalysis.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailAnalysis.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmailAnalysis.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmailAnalysis
    +
    +
    +
    +
    public static class EmailAnalysis.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailAnalysis.html b/site/com/mailslurp/models/EmailAnalysis.html new file mode 100644 index 000000000..5d6136777 --- /dev/null +++ b/site/com/mailslurp/models/EmailAnalysis.html @@ -0,0 +1,770 @@ + + + + + + +EmailAnalysis (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailAnalysis

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmailAnalysis
    +extends Object
    +
    Analysis result for email. Each verdict property is a string PASS|FAIL|GRAY or dynamic error message
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EmailAnalysis

        +
        public EmailAnalysis()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getSpamVerdict

        +
        @Nullable
        +public String getSpamVerdict()
        +
        Verdict of spam ranking analysis
        +
        +
        Returns:
        +
        spamVerdict
        +
        +
      • +
      + + + +
        +
      • +

        setSpamVerdict

        +
        public void setSpamVerdict(String spamVerdict)
        +
      • +
      + + + + + + + +
        +
      • +

        getVirusVerdict

        +
        @Nullable
        +public String getVirusVerdict()
        +
        Verdict of virus scan analysis
        +
        +
        Returns:
        +
        virusVerdict
        +
        +
      • +
      + + + +
        +
      • +

        setVirusVerdict

        +
        public void setVirusVerdict(String virusVerdict)
        +
      • +
      + + + + + + + +
        +
      • +

        getSpfVerdict

        +
        @Nullable
        +public String getSpfVerdict()
        +
        Verdict of Send Policy Framework record spoofing analysis
        +
        +
        Returns:
        +
        spfVerdict
        +
        +
      • +
      + + + +
        +
      • +

        setSpfVerdict

        +
        public void setSpfVerdict(String spfVerdict)
        +
      • +
      + + + + + + + +
        +
      • +

        getDkimVerdict

        +
        @Nullable
        +public String getDkimVerdict()
        +
        Verdict of DomainKeys Identified Mail analysis
        +
        +
        Returns:
        +
        dkimVerdict
        +
        +
      • +
      + + + +
        +
      • +

        setDkimVerdict

        +
        public void setDkimVerdict(String dkimVerdict)
        +
      • +
      + + + + + + + +
        +
      • +

        getDmarcVerdict

        +
        @Nullable
        +public String getDmarcVerdict()
        +
        Verdict of Domain-based Message Authentication Reporting and Conformance analysis
        +
        +
        Returns:
        +
        dmarcVerdict
        +
        +
      • +
      + + + +
        +
      • +

        setDmarcVerdict

        +
        public void setDmarcVerdict(String dmarcVerdict)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to EmailAnalysis
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static EmailAnalysis fromJson(String jsonString)
        +                              throws IOException
        +
        Create an instance of EmailAnalysis given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of EmailAnalysis
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to EmailAnalysis
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of EmailAnalysis to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailContentMatchResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmailContentMatchResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..9b33776df --- /dev/null +++ b/site/com/mailslurp/models/EmailContentMatchResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmailContentMatchResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailContentMatchResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmailContentMatchResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmailContentMatchResult
    +
    +
    +
    +
    public static class EmailContentMatchResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailContentMatchResult.html b/site/com/mailslurp/models/EmailContentMatchResult.html new file mode 100644 index 000000000..bbff89612 --- /dev/null +++ b/site/com/mailslurp/models/EmailContentMatchResult.html @@ -0,0 +1,591 @@ + + + + + + +EmailContentMatchResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailContentMatchResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmailContentMatchResult
    +extends Object
    +
    Matches for the given pattern
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EmailContentMatchResult

        +
        public EmailContentMatchResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getPattern

        +
        @Nonnull
        +public String getPattern()
        +
        Get pattern
        +
        +
        Returns:
        +
        pattern
        +
        +
      • +
      + + + +
        +
      • +

        setPattern

        +
        public void setPattern(String pattern)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getMatches

        +
        @Nonnull
        +public List<String> getMatches()
        +
        Get matches
        +
        +
        Returns:
        +
        matches
        +
        +
      • +
      + + + +
        +
      • +

        setMatches

        +
        public void setMatches(List<String> matches)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to EmailContentMatchResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static EmailContentMatchResult fromJson(String jsonString)
        +                                        throws IOException
        +
        Create an instance of EmailContentMatchResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of EmailContentMatchResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to EmailContentMatchResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of EmailContentMatchResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailHtmlDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmailHtmlDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b35e8e9ba --- /dev/null +++ b/site/com/mailslurp/models/EmailHtmlDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmailHtmlDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailHtmlDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmailHtmlDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmailHtmlDto
    +
    +
    +
    +
    public static class EmailHtmlDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailHtmlDto.html b/site/com/mailslurp/models/EmailHtmlDto.html new file mode 100644 index 000000000..0c67699c4 --- /dev/null +++ b/site/com/mailslurp/models/EmailHtmlDto.html @@ -0,0 +1,578 @@ + + + + + + +EmailHtmlDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailHtmlDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmailHtmlDto
    +extends Object
    +
    EmailHtmlDto
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EmailHtmlDto

        +
        public EmailHtmlDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getSubject

        +
        @Nullable
        +public String getSubject()
        +
        Get subject
        +
        +
        Returns:
        +
        subject
        +
        +
      • +
      + + + +
        +
      • +

        setSubject

        +
        public void setSubject(String subject)
        +
      • +
      + + + + + + + +
        +
      • +

        getBody

        +
        @Nullable
        +public String getBody()
        +
        Get body
        +
        +
        Returns:
        +
        body
        +
        +
      • +
      + + + +
        +
      • +

        setBody

        +
        public void setBody(String body)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to EmailHtmlDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static EmailHtmlDto fromJson(String jsonString)
        +                             throws IOException
        +
        Create an instance of EmailHtmlDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of EmailHtmlDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to EmailHtmlDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of EmailHtmlDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailLinksResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmailLinksResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..985606da2 --- /dev/null +++ b/site/com/mailslurp/models/EmailLinksResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmailLinksResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailLinksResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmailLinksResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmailLinksResult
    +
    +
    +
    +
    public static class EmailLinksResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailLinksResult.html b/site/com/mailslurp/models/EmailLinksResult.html new file mode 100644 index 000000000..620fce3b6 --- /dev/null +++ b/site/com/mailslurp/models/EmailLinksResult.html @@ -0,0 +1,591 @@ + + + + + + +EmailLinksResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailLinksResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmailLinksResult
    +extends Object
    +
    Links found in HTML
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EmailLinksResult

        +
        public EmailLinksResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getLinks

        +
        @Nonnull
        +public List<String> getLinks()
        +
        Get links
        +
        +
        Returns:
        +
        links
        +
        +
      • +
      + + + +
        +
      • +

        setLinks

        +
        public void setLinks(List<String> links)
        +
      • +
      + + + + + + + +
        +
      • +

        getBody

        +
        @Nonnull
        +public String getBody()
        +
        Get body
        +
        +
        Returns:
        +
        body
        +
        +
      • +
      + + + +
        +
      • +

        setBody

        +
        public void setBody(String body)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to EmailLinksResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static EmailLinksResult fromJson(String jsonString)
        +                                 throws IOException
        +
        Create an instance of EmailLinksResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of EmailLinksResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to EmailLinksResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of EmailLinksResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailPreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmailPreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..cb9c69204 --- /dev/null +++ b/site/com/mailslurp/models/EmailPreview.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmailPreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailPreview.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmailPreview.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmailPreview
    +
    +
    +
    +
    public static class EmailPreview.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailPreview.html b/site/com/mailslurp/models/EmailPreview.html new file mode 100644 index 000000000..7bd56cba2 --- /dev/null +++ b/site/com/mailslurp/models/EmailPreview.html @@ -0,0 +1,1142 @@ + + + + + + +EmailPreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailPreview

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmailPreview
    +extends Object
    +
    Preview of an email message. For full message (including body and attachments) call the `getEmail` or other email endpoints with the provided email ID.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EmailPreview

        +
        public EmailPreview()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        ID of the email entity
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getDomainId

        +
        @Nullable
        +public UUID getDomainId()
        +
        ID of the domain that received the email
        +
        +
        Returns:
        +
        domainId
        +
        +
      • +
      + + + +
        +
      • +

        setDomainId

        +
        public void setDomainId(UUID domainId)
        +
      • +
      + + + + + + + +
        +
      • +

        getSubject

        +
        @Nullable
        +public String getSubject()
        +
        The subject line of the email message as specified by SMTP subject header
        +
        +
        Returns:
        +
        subject
        +
        +
      • +
      + + + +
        +
      • +

        setSubject

        +
        public void setSubject(String subject)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getTo

        +
        @Nullable
        +public List<String> getTo()
        +
        List of `To` recipient email addresses that the email was addressed to. See recipients object for names.
        +
        +
        Returns:
        +
        to
        +
        +
      • +
      + + + +
        +
      • +

        setTo

        +
        public void setTo(List<String> to)
        +
      • +
      + + + + + + + +
        +
      • +

        getFrom

        +
        @Nullable
        +public String getFrom()
        +
        Who the email was sent from. An email address - see fromName for the sender name.
        +
        +
        Returns:
        +
        from
        +
        +
      • +
      + + + +
        +
      • +

        setFrom

        +
        public void setFrom(String from)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getBcc

        +
        @Nullable
        +public List<String> getBcc()
        +
        List of `BCC` recipients email addresses that the email was addressed to. See recipients object for names.
        +
        +
        Returns:
        +
        bcc
        +
        +
      • +
      + + + +
        +
      • +

        setBcc

        +
        public void setBcc(List<String> bcc)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getCc

        +
        @Nullable
        +public List<String> getCc()
        +
        List of `CC` recipients email addresses that the email was addressed to. See recipients object for names.
        +
        +
        Returns:
        +
        cc
        +
        +
      • +
      + + + +
        +
      • +

        setCc

        +
        public void setCc(List<String> cc)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        When was the email received by MailSlurp
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getRead

        +
        @Nonnull
        +public Boolean getRead()
        +
        Read flag. Has the email ever been viewed in the dashboard or fetched via the API with a hydrated body? If so the email is marked as read. Paginated results do not affect read status. Read status is different to email opened event as it depends on your own account accessing the email. Email opened is determined by tracking pixels sent to other uses if enable during sending. You can listened for both email read and email opened events using webhooks.
        +
        +
        Returns:
        +
        read
        +
        +
      • +
      + + + +
        +
      • +

        setRead

        +
        public void setRead(Boolean read)
        +
      • +
      + + + + + + + +
        +
      • +

        addAttachmentsItem

        +
        public EmailPreview addAttachmentsItem(String attachmentsItem)
        +
      • +
      + + + +
        +
      • +

        getAttachments

        +
        @Nullable
        +public List<String> getAttachments()
        +
        List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension.
        +
        +
        Returns:
        +
        attachments
        +
        +
      • +
      + + + +
        +
      • +

        setAttachments

        +
        public void setAttachments(List<String> attachments)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to EmailPreview
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static EmailPreview fromJson(String jsonString)
        +                             throws IOException
        +
        Create an instance of EmailPreview given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of EmailPreview
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to EmailPreview
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of EmailPreview to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailPreviewUrls.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmailPreviewUrls.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1107e7501 --- /dev/null +++ b/site/com/mailslurp/models/EmailPreviewUrls.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmailPreviewUrls.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailPreviewUrls.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmailPreviewUrls.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmailPreviewUrls
    +
    +
    +
    +
    public static class EmailPreviewUrls.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailPreviewUrls.html b/site/com/mailslurp/models/EmailPreviewUrls.html new file mode 100644 index 000000000..8c9c20081 --- /dev/null +++ b/site/com/mailslurp/models/EmailPreviewUrls.html @@ -0,0 +1,578 @@ + + + + + + +EmailPreviewUrls (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailPreviewUrls

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmailPreviewUrls
    +extends Object
    +
    URLs for email body
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        SERIALIZED_NAME_RAW_SMTP_MESSAGE_URL

        +
        public static final String SERIALIZED_NAME_RAW_SMTP_MESSAGE_URL
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SERIALIZED_NAME_PLAIN_HTML_BODY_URL

        +
        public static final String SERIALIZED_NAME_PLAIN_HTML_BODY_URL
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        openapiFields

        +
        public static HashSet<String> openapiFields
        +
      • +
      + + + +
        +
      • +

        openapiRequiredFields

        +
        public static HashSet<String> openapiRequiredFields
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EmailPreviewUrls

        +
        public EmailPreviewUrls()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getRawSmtpMessageUrl

        +
        @Nonnull
        +public String getRawSmtpMessageUrl()
        +
        Get rawSmtpMessageUrl
        +
        +
        Returns:
        +
        rawSmtpMessageUrl
        +
        +
      • +
      + + + +
        +
      • +

        setRawSmtpMessageUrl

        +
        public void setRawSmtpMessageUrl(String rawSmtpMessageUrl)
        +
      • +
      + + + + + + + +
        +
      • +

        getPlainHtmlBodyUrl

        +
        @Nonnull
        +public String getPlainHtmlBodyUrl()
        +
        Get plainHtmlBodyUrl
        +
        +
        Returns:
        +
        plainHtmlBodyUrl
        +
        +
      • +
      + + + +
        +
      • +

        setPlainHtmlBodyUrl

        +
        public void setPlainHtmlBodyUrl(String plainHtmlBodyUrl)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to EmailPreviewUrls
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static EmailPreviewUrls fromJson(String jsonString)
        +                                 throws IOException
        +
        Create an instance of EmailPreviewUrls given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of EmailPreviewUrls
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to EmailPreviewUrls
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of EmailPreviewUrls to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..88f0eb8ee --- /dev/null +++ b/site/com/mailslurp/models/EmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmailProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmailProjection
    +
    +
    +
    +
    public static class EmailProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailProjection.html b/site/com/mailslurp/models/EmailProjection.html new file mode 100644 index 000000000..60b8e4884 --- /dev/null +++ b/site/com/mailslurp/models/EmailProjection.html @@ -0,0 +1,1398 @@ + + + + + + +EmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmailProjection
    +extends Object
    +
    A compact representation of a full email. Used in list endpoints to keep response sizes low. Body and attachments are not included. To get all fields of the email use the `getEmail` method with the email projection's ID. See `EmailDto` for documentation on projection properties.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailRecipients.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmailRecipients.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f1adebca4 --- /dev/null +++ b/site/com/mailslurp/models/EmailRecipients.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmailRecipients.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailRecipients.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmailRecipients.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmailRecipients
    +
    +
    +
    +
    public static class EmailRecipients.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailRecipients.html b/site/com/mailslurp/models/EmailRecipients.html new file mode 100644 index 000000000..d6b662002 --- /dev/null +++ b/site/com/mailslurp/models/EmailRecipients.html @@ -0,0 +1,681 @@ + + + + + + +EmailRecipients (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailRecipients

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmailRecipients
    +extends Object
    +
    The `To`,`CC`,`BCC` recipients stored in object form with email address and name accessible.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailTextLinesResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmailTextLinesResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8310a4650 --- /dev/null +++ b/site/com/mailslurp/models/EmailTextLinesResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmailTextLinesResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailTextLinesResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmailTextLinesResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmailTextLinesResult
    +
    +
    +
    +
    public static class EmailTextLinesResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailTextLinesResult.html b/site/com/mailslurp/models/EmailTextLinesResult.html new file mode 100644 index 000000000..0dfbeb7ae --- /dev/null +++ b/site/com/mailslurp/models/EmailTextLinesResult.html @@ -0,0 +1,591 @@ + + + + + + +EmailTextLinesResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailTextLinesResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmailTextLinesResult
    +extends Object
    +
    Parsed text of an email
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EmailTextLinesResult

        +
        public EmailTextLinesResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getLines

        +
        @Nonnull
        +public List<String> getLines()
        +
        Get lines
        +
        +
        Returns:
        +
        lines
        +
        +
      • +
      + + + +
        +
      • +

        setLines

        +
        public void setLines(List<String> lines)
        +
      • +
      + + + + + + + +
        +
      • +

        getBody

        +
        @Nonnull
        +public String getBody()
        +
        Get body
        +
        +
        Returns:
        +
        body
        +
        +
      • +
      + + + +
        +
      • +

        setBody

        +
        public void setBody(String body)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to EmailTextLinesResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static EmailTextLinesResult fromJson(String jsonString)
        +                                     throws IOException
        +
        Create an instance of EmailTextLinesResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of EmailTextLinesResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to EmailTextLinesResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of EmailTextLinesResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailValidationRequestDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmailValidationRequestDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..77f36c240 --- /dev/null +++ b/site/com/mailslurp/models/EmailValidationRequestDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmailValidationRequestDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailValidationRequestDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmailValidationRequestDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmailValidationRequestDto
    +
    +
    +
    +
    public static class EmailValidationRequestDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailValidationRequestDto.html b/site/com/mailslurp/models/EmailValidationRequestDto.html new file mode 100644 index 000000000..ef2d613a4 --- /dev/null +++ b/site/com/mailslurp/models/EmailValidationRequestDto.html @@ -0,0 +1,834 @@ + + + + + + +EmailValidationRequestDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailValidationRequestDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmailValidationRequestDto
    +extends Object
    +
    Email validation request
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailVerificationResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmailVerificationResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..420d24929 --- /dev/null +++ b/site/com/mailslurp/models/EmailVerificationResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmailVerificationResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailVerificationResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmailVerificationResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmailVerificationResult
    +
    +
    +
    +
    public static class EmailVerificationResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmailVerificationResult.html b/site/com/mailslurp/models/EmailVerificationResult.html new file mode 100644 index 000000000..7bd9e92d6 --- /dev/null +++ b/site/com/mailslurp/models/EmailVerificationResult.html @@ -0,0 +1,770 @@ + + + + + + +EmailVerificationResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmailVerificationResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmailVerificationResult
    +extends Object
    +
    Email verification result. Valid means email address exists according to response from mail server running at the domain and port given.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EmailVerificationResult

        +
        public EmailVerificationResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getDomainName

        +
        @Nonnull
        +public String getDomainName()
        +
        Get domainName
        +
        +
        Returns:
        +
        domainName
        +
        +
      • +
      + + + +
        +
      • +

        setDomainName

        +
        public void setDomainName(String domainName)
        +
      • +
      + + + + + + + +
        +
      • +

        getPort

        +
        @Nonnull
        +public Integer getPort()
        +
        Get port
        +
        +
        Returns:
        +
        port
        +
        +
      • +
      + + + +
        +
      • +

        setPort

        +
        public void setPort(Integer port)
        +
      • +
      + + + + + + + +
        +
      • +

        getEmailAddress

        +
        @Nonnull
        +public String getEmailAddress()
        +
        Get emailAddress
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getIsValid

        +
        @Nonnull
        +public Boolean getIsValid()
        +
        Get isValid
        +
        +
        Returns:
        +
        isValid
        +
        +
      • +
      + + + +
        +
      • +

        setIsValid

        +
        public void setIsValid(Boolean isValid)
        +
      • +
      + + + + + + + +
        +
      • +

        getError

        +
        @Nullable
        +public String getError()
        +
        Get error
        +
        +
        Returns:
        +
        error
        +
        +
      • +
      + + + +
        +
      • +

        setError

        +
        public void setError(String error)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to EmailVerificationResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static EmailVerificationResult fromJson(String jsonString)
        +                                        throws IOException
        +
        Create an instance of EmailVerificationResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of EmailVerificationResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to EmailVerificationResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of EmailVerificationResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmergencyAddress.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmergencyAddress.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ddcc57597 --- /dev/null +++ b/site/com/mailslurp/models/EmergencyAddress.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmergencyAddress.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmergencyAddress.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmergencyAddress.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmergencyAddress
    +
    +
    +
    +
    public static class EmergencyAddress.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmergencyAddress.PhoneCountryEnum.Adapter.html b/site/com/mailslurp/models/EmergencyAddress.PhoneCountryEnum.Adapter.html new file mode 100644 index 000000000..21250f753 --- /dev/null +++ b/site/com/mailslurp/models/EmergencyAddress.PhoneCountryEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +EmergencyAddress.PhoneCountryEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmergencyAddress.PhoneCountryEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmergencyAddress.PhoneCountryEnum.html b/site/com/mailslurp/models/EmergencyAddress.PhoneCountryEnum.html new file mode 100644 index 000000000..86f83f382 --- /dev/null +++ b/site/com/mailslurp/models/EmergencyAddress.PhoneCountryEnum.html @@ -0,0 +1,422 @@ + + + + + + +EmergencyAddress.PhoneCountryEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum EmergencyAddress.PhoneCountryEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmergencyAddress.html b/site/com/mailslurp/models/EmergencyAddress.html new file mode 100644 index 000000000..cabd5cecc --- /dev/null +++ b/site/com/mailslurp/models/EmergencyAddress.html @@ -0,0 +1,1288 @@ + + + + + + +EmergencyAddress (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmergencyAddress

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmergencyAddress
    +extends Object
    +
    EmergencyAddress
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmergencyAddressDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmergencyAddressDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a612046ce --- /dev/null +++ b/site/com/mailslurp/models/EmergencyAddressDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmergencyAddressDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmergencyAddressDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmergencyAddressDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmergencyAddressDto
    +
    +
    +
    +
    public static class EmergencyAddressDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmergencyAddressDto.PhoneCountryEnum.Adapter.html b/site/com/mailslurp/models/EmergencyAddressDto.PhoneCountryEnum.Adapter.html new file mode 100644 index 000000000..2bf82c094 --- /dev/null +++ b/site/com/mailslurp/models/EmergencyAddressDto.PhoneCountryEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +EmergencyAddressDto.PhoneCountryEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmergencyAddressDto.PhoneCountryEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmergencyAddressDto.PhoneCountryEnum.html b/site/com/mailslurp/models/EmergencyAddressDto.PhoneCountryEnum.html new file mode 100644 index 000000000..416d6a8f6 --- /dev/null +++ b/site/com/mailslurp/models/EmergencyAddressDto.PhoneCountryEnum.html @@ -0,0 +1,422 @@ + + + + + + +EmergencyAddressDto.PhoneCountryEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum EmergencyAddressDto.PhoneCountryEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmergencyAddressDto.html b/site/com/mailslurp/models/EmergencyAddressDto.html new file mode 100644 index 000000000..076cd6df1 --- /dev/null +++ b/site/com/mailslurp/models/EmergencyAddressDto.html @@ -0,0 +1,648 @@ + + + + + + +EmergencyAddressDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmergencyAddressDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmergencyAddressDto
    +extends Object
    +
    EmergencyAddressDto
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmptyResponseDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/EmptyResponseDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..77f1133a5 --- /dev/null +++ b/site/com/mailslurp/models/EmptyResponseDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +EmptyResponseDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmptyResponseDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.EmptyResponseDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    EmptyResponseDto
    +
    +
    +
    +
    public static class EmptyResponseDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/EmptyResponseDto.html b/site/com/mailslurp/models/EmptyResponseDto.html new file mode 100644 index 000000000..ba3d72dea --- /dev/null +++ b/site/com/mailslurp/models/EmptyResponseDto.html @@ -0,0 +1,514 @@ + + + + + + +EmptyResponseDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class EmptyResponseDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class EmptyResponseDto
    +extends Object
    +
    EmptyResponseDto
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EmptyResponseDto

        +
        public EmptyResponseDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getMessage

        +
        @Nullable
        +public String getMessage()
        +
        Get message
        +
        +
        Returns:
        +
        message
        +
        +
      • +
      + + + +
        +
      • +

        setMessage

        +
        public void setMessage(String message)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to EmptyResponseDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static EmptyResponseDto fromJson(String jsonString)
        +                                 throws IOException
        +
        Create an instance of EmptyResponseDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of EmptyResponseDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to EmptyResponseDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of EmptyResponseDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExpirationDefaults.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ExpirationDefaults.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4cf0664e5 --- /dev/null +++ b/site/com/mailslurp/models/ExpirationDefaults.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ExpirationDefaults.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ExpirationDefaults.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ExpirationDefaults.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ExpirationDefaults
    +
    +
    +
    +
    public static class ExpirationDefaults.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExpirationDefaults.html b/site/com/mailslurp/models/ExpirationDefaults.html new file mode 100644 index 000000000..9a561d04e --- /dev/null +++ b/site/com/mailslurp/models/ExpirationDefaults.html @@ -0,0 +1,770 @@ + + + + + + +ExpirationDefaults (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ExpirationDefaults

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ExpirationDefaults
    +extends Object
    +
    Expiration defaults for your account
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        SERIALIZED_NAME_DEFAULT_EXPIRATION_MILLIS

        +
        public static final String SERIALIZED_NAME_DEFAULT_EXPIRATION_MILLIS
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SERIALIZED_NAME_MAX_EXPIRATION_MILLIS

        +
        public static final String SERIALIZED_NAME_MAX_EXPIRATION_MILLIS
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SERIALIZED_NAME_DEFAULT_EXPIRES_AT

        +
        public static final String SERIALIZED_NAME_DEFAULT_EXPIRES_AT
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SERIALIZED_NAME_CAN_PERMANENT_INBOX

        +
        public static final String SERIALIZED_NAME_CAN_PERMANENT_INBOX
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SERIALIZED_NAME_NEXT_INBOX_ALLOWS_PERMANENT

        +
        public static final String SERIALIZED_NAME_NEXT_INBOX_ALLOWS_PERMANENT
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        openapiFields

        +
        public static HashSet<String> openapiFields
        +
      • +
      + + + +
        +
      • +

        openapiRequiredFields

        +
        public static HashSet<String> openapiRequiredFields
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ExpirationDefaults

        +
        public ExpirationDefaults()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        defaultExpirationMillis

        +
        public ExpirationDefaults defaultExpirationMillis(Long defaultExpirationMillis)
        +
      • +
      + + + +
        +
      • +

        getDefaultExpirationMillis

        +
        @Nullable
        +public Long getDefaultExpirationMillis()
        +
        Get defaultExpirationMillis
        +
        +
        Returns:
        +
        defaultExpirationMillis
        +
        +
      • +
      + + + +
        +
      • +

        setDefaultExpirationMillis

        +
        public void setDefaultExpirationMillis(Long defaultExpirationMillis)
        +
      • +
      + + + + + + + +
        +
      • +

        getMaxExpirationMillis

        +
        @Nullable
        +public Long getMaxExpirationMillis()
        +
        Get maxExpirationMillis
        +
        +
        Returns:
        +
        maxExpirationMillis
        +
        +
      • +
      + + + +
        +
      • +

        setMaxExpirationMillis

        +
        public void setMaxExpirationMillis(Long maxExpirationMillis)
        +
      • +
      + + + + + + + +
        +
      • +

        getDefaultExpiresAt

        +
        @Nullable
        +public OffsetDateTime getDefaultExpiresAt()
        +
        Get defaultExpiresAt
        +
        +
        Returns:
        +
        defaultExpiresAt
        +
        +
      • +
      + + + +
        +
      • +

        setDefaultExpiresAt

        +
        public void setDefaultExpiresAt(OffsetDateTime defaultExpiresAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getCanPermanentInbox

        +
        @Nonnull
        +public Boolean getCanPermanentInbox()
        +
        Get canPermanentInbox
        +
        +
        Returns:
        +
        canPermanentInbox
        +
        +
      • +
      + + + +
        +
      • +

        setCanPermanentInbox

        +
        public void setCanPermanentInbox(Boolean canPermanentInbox)
        +
      • +
      + + + + + + + +
        +
      • +

        getNextInboxAllowsPermanent

        +
        @Nonnull
        +public Boolean getNextInboxAllowsPermanent()
        +
        Get nextInboxAllowsPermanent
        +
        +
        Returns:
        +
        nextInboxAllowsPermanent
        +
        +
      • +
      + + + +
        +
      • +

        setNextInboxAllowsPermanent

        +
        public void setNextInboxAllowsPermanent(Boolean nextInboxAllowsPermanent)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ExpirationDefaults
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ExpirationDefaults fromJson(String jsonString)
        +                                   throws IOException
        +
        Create an instance of ExpirationDefaults given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ExpirationDefaults
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ExpirationDefaults
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ExpirationDefaults to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExpiredInboxDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ExpiredInboxDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..280be9ea1 --- /dev/null +++ b/site/com/mailslurp/models/ExpiredInboxDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ExpiredInboxDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ExpiredInboxDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ExpiredInboxDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ExpiredInboxDto
    +
    +
    +
    +
    public static class ExpiredInboxDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExpiredInboxDto.html b/site/com/mailslurp/models/ExpiredInboxDto.html new file mode 100644 index 000000000..d6bd67fd1 --- /dev/null +++ b/site/com/mailslurp/models/ExpiredInboxDto.html @@ -0,0 +1,642 @@ + + + + + + +ExpiredInboxDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ExpiredInboxDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ExpiredInboxDto
    +extends Object
    +
    Expired inbox
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ExpiredInboxDto

        +
        public ExpiredInboxDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getInboxId

        +
        @Nonnull
        +public UUID getInboxId()
        +
        Get inboxId
        +
        +
        Returns:
        +
        inboxId
        +
        +
      • +
      + + + +
        +
      • +

        setInboxId

        +
        public void setInboxId(UUID inboxId)
        +
      • +
      + + + + + + + +
        +
      • +

        getEmailAddress

        +
        @Nonnull
        +public String getEmailAddress()
        +
        Get emailAddress
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ExpiredInboxDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ExpiredInboxDto fromJson(String jsonString)
        +                                throws IOException
        +
        Create an instance of ExpiredInboxDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ExpiredInboxDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ExpiredInboxDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ExpiredInboxDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExpiredInboxRecordProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ExpiredInboxRecordProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a2163474d --- /dev/null +++ b/site/com/mailslurp/models/ExpiredInboxRecordProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ExpiredInboxRecordProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ExpiredInboxRecordProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ExpiredInboxRecordProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ExpiredInboxRecordProjection
    +
    +
    +
    +
    public static class ExpiredInboxRecordProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExpiredInboxRecordProjection.html b/site/com/mailslurp/models/ExpiredInboxRecordProjection.html new file mode 100644 index 000000000..4b93ca120 --- /dev/null +++ b/site/com/mailslurp/models/ExpiredInboxRecordProjection.html @@ -0,0 +1,706 @@ + + + + + + +ExpiredInboxRecordProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ExpiredInboxRecordProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ExpiredInboxRecordProjection
    +extends Object
    +
    Record of inbox expiration
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ExpiredInboxRecordProjection

        +
        public ExpiredInboxRecordProjection()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getUserId

        +
        @Nonnull
        +public UUID getUserId()
        +
        Get userId
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + + + + + +
        +
      • +

        getEmailAddress

        +
        @Nonnull
        +public String getEmailAddress()
        +
        Get emailAddress
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ExpiredInboxRecordProjection
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ExpiredInboxRecordProjection fromJson(String jsonString)
        +                                             throws IOException
        +
        Create an instance of ExpiredInboxRecordProjection given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ExpiredInboxRecordProjection
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ExpiredInboxRecordProjection
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ExpiredInboxRecordProjection to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExportLink.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ExportLink.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e596f863a --- /dev/null +++ b/site/com/mailslurp/models/ExportLink.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ExportLink.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ExportLink.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ExportLink.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ExportLink
    +
    +
    +
    +
    public static class ExportLink.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExportLink.html b/site/com/mailslurp/models/ExportLink.html new file mode 100644 index 000000000..e61bd77ae --- /dev/null +++ b/site/com/mailslurp/models/ExportLink.html @@ -0,0 +1,514 @@ + + + + + + +ExportLink (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ExportLink

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ExportLink
    +extends Object
    +
    Export download link
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ExportLink

        +
        public ExportLink()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getDownloadLink

        +
        @Nonnull
        +public String getDownloadLink()
        +
        Get downloadLink
        +
        +
        Returns:
        +
        downloadLink
        +
        +
      • +
      + + + +
        +
      • +

        setDownloadLink

        +
        public void setDownloadLink(String downloadLink)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ExportLink
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ExportLink fromJson(String jsonString)
        +                           throws IOException
        +
        Create an instance of ExportLink given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ExportLink
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ExportLink
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ExportLink to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExportOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ExportOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..aa9960c26 --- /dev/null +++ b/site/com/mailslurp/models/ExportOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ExportOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ExportOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ExportOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ExportOptions
    +
    +
    +
    +
    public static class ExportOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExportOptions.OutputFormatEnum.Adapter.html b/site/com/mailslurp/models/ExportOptions.OutputFormatEnum.Adapter.html new file mode 100644 index 000000000..d6da3fda6 --- /dev/null +++ b/site/com/mailslurp/models/ExportOptions.OutputFormatEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ExportOptions.OutputFormatEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ExportOptions.OutputFormatEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExportOptions.OutputFormatEnum.html b/site/com/mailslurp/models/ExportOptions.OutputFormatEnum.html new file mode 100644 index 000000000..73b994b5e --- /dev/null +++ b/site/com/mailslurp/models/ExportOptions.OutputFormatEnum.html @@ -0,0 +1,410 @@ + + + + + + +ExportOptions.OutputFormatEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ExportOptions.OutputFormatEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ExportOptions.OutputFormatEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ExportOptions.OutputFormatEnum c : ExportOptions.OutputFormatEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ExportOptions.OutputFormatEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ExportOptions.html b/site/com/mailslurp/models/ExportOptions.html new file mode 100644 index 000000000..b66184803 --- /dev/null +++ b/site/com/mailslurp/models/ExportOptions.html @@ -0,0 +1,840 @@ + + + + + + +ExportOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ExportOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ExportOptions
    +extends Object
    +
    Options for exporting user data
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ExportOptions

        +
        public ExportOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + +
        +
      • +

        excludePreviouslyExported

        +
        public ExportOptions excludePreviouslyExported(Boolean excludePreviouslyExported)
        +
      • +
      + + + +
        +
      • +

        getExcludePreviouslyExported

        +
        @Nullable
        +public Boolean getExcludePreviouslyExported()
        +
        Get excludePreviouslyExported
        +
        +
        Returns:
        +
        excludePreviouslyExported
        +
        +
      • +
      + + + +
        +
      • +

        setExcludePreviouslyExported

        +
        public void setExcludePreviouslyExported(Boolean excludePreviouslyExported)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedEarliestTime

        +
        @Nullable
        +public OffsetDateTime getCreatedEarliestTime()
        +
        Get createdEarliestTime
        +
        +
        Returns:
        +
        createdEarliestTime
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedEarliestTime

        +
        public void setCreatedEarliestTime(OffsetDateTime createdEarliestTime)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedOldestTime

        +
        @Nullable
        +public OffsetDateTime getCreatedOldestTime()
        +
        Get createdOldestTime
        +
        +
        Returns:
        +
        createdOldestTime
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedOldestTime

        +
        public void setCreatedOldestTime(OffsetDateTime createdOldestTime)
        +
      • +
      + + + + + + + +
        +
      • +

        getFilter

        +
        @Nullable
        +public String getFilter()
        +
        Get filter
        +
        +
        Returns:
        +
        filter
        +
        +
      • +
      + + + +
        +
      • +

        setFilter

        +
        public void setFilter(String filter)
        +
      • +
      + + + +
        +
      • +

        listSeparatorToken

        +
        public ExportOptions listSeparatorToken(String listSeparatorToken)
        +
      • +
      + + + +
        +
      • +

        getListSeparatorToken

        +
        @Nullable
        +public String getListSeparatorToken()
        +
        Get listSeparatorToken
        +
        +
        Returns:
        +
        listSeparatorToken
        +
        +
      • +
      + + + +
        +
      • +

        setListSeparatorToken

        +
        public void setListSeparatorToken(String listSeparatorToken)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ExportOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ExportOptions fromJson(String jsonString)
        +                              throws IOException
        +
        Create an instance of ExportOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ExportOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ExportOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ExportOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/FilterBouncedRecipientsOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/FilterBouncedRecipientsOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3ed54229b --- /dev/null +++ b/site/com/mailslurp/models/FilterBouncedRecipientsOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +FilterBouncedRecipientsOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class FilterBouncedRecipientsOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.FilterBouncedRecipientsOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    FilterBouncedRecipientsOptions
    +
    +
    +
    +
    public static class FilterBouncedRecipientsOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/FilterBouncedRecipientsOptions.html b/site/com/mailslurp/models/FilterBouncedRecipientsOptions.html new file mode 100644 index 000000000..e36250dcf --- /dev/null +++ b/site/com/mailslurp/models/FilterBouncedRecipientsOptions.html @@ -0,0 +1,527 @@ + + + + + + +FilterBouncedRecipientsOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class FilterBouncedRecipientsOptions

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.FilterBouncedRecipientsOptions
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class FilterBouncedRecipientsOptions
    +extends Object
    +
    Options for filtering bounced email recipients
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FilterBouncedRecipientsOptions

        +
        public FilterBouncedRecipientsOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getEmailRecipients

        +
        @Nonnull
        +public List<String> getEmailRecipients()
        +
        Get emailRecipients
        +
        +
        Returns:
        +
        emailRecipients
        +
        +
      • +
      + + + +
        +
      • +

        setEmailRecipients

        +
        public void setEmailRecipients(List<String> emailRecipients)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to FilterBouncedRecipientsOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static FilterBouncedRecipientsOptions fromJson(String jsonString)
        +                                               throws IOException
        +
        Create an instance of FilterBouncedRecipientsOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of FilterBouncedRecipientsOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to FilterBouncedRecipientsOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of FilterBouncedRecipientsOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/FilterBouncedRecipientsResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/FilterBouncedRecipientsResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f2d01ae8c --- /dev/null +++ b/site/com/mailslurp/models/FilterBouncedRecipientsResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +FilterBouncedRecipientsResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class FilterBouncedRecipientsResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.FilterBouncedRecipientsResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    FilterBouncedRecipientsResult
    +
    +
    +
    +
    public static class FilterBouncedRecipientsResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/FilterBouncedRecipientsResult.html b/site/com/mailslurp/models/FilterBouncedRecipientsResult.html new file mode 100644 index 000000000..8f7c25c21 --- /dev/null +++ b/site/com/mailslurp/models/FilterBouncedRecipientsResult.html @@ -0,0 +1,527 @@ + + + + + + +FilterBouncedRecipientsResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class FilterBouncedRecipientsResult

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.FilterBouncedRecipientsResult
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class FilterBouncedRecipientsResult
    +extends Object
    +
    Remaining recipients that were filtered to remove bounced recipients
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FilterBouncedRecipientsResult

        +
        public FilterBouncedRecipientsResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getFilteredRecipients

        +
        @Nonnull
        +public List<String> getFilteredRecipients()
        +
        Get filteredRecipients
        +
        +
        Returns:
        +
        filteredRecipients
        +
        +
      • +
      + + + +
        +
      • +

        setFilteredRecipients

        +
        public void setFilteredRecipients(List<String> filteredRecipients)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to FilterBouncedRecipientsResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static FilterBouncedRecipientsResult fromJson(String jsonString)
        +                                              throws IOException
        +
        Create an instance of FilterBouncedRecipientsResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of FilterBouncedRecipientsResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to FilterBouncedRecipientsResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of FilterBouncedRecipientsResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/FlushExpiredInboxesResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/FlushExpiredInboxesResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..903a2e6e0 --- /dev/null +++ b/site/com/mailslurp/models/FlushExpiredInboxesResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +FlushExpiredInboxesResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class FlushExpiredInboxesResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.FlushExpiredInboxesResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    FlushExpiredInboxesResult
    +
    +
    +
    +
    public static class FlushExpiredInboxesResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/FlushExpiredInboxesResult.html b/site/com/mailslurp/models/FlushExpiredInboxesResult.html new file mode 100644 index 000000000..a6bebe68b --- /dev/null +++ b/site/com/mailslurp/models/FlushExpiredInboxesResult.html @@ -0,0 +1,591 @@ + + + + + + +FlushExpiredInboxesResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class FlushExpiredInboxesResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class FlushExpiredInboxesResult
    +extends Object
    +
    Result from calling expire on any inboxes that have applicable expiration dates given current time.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FlushExpiredInboxesResult

        +
        public FlushExpiredInboxesResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getInboxIds

        +
        @Nonnull
        +public List<UUID> getInboxIds()
        +
        Inbox IDs affected by expiration
        +
        +
        Returns:
        +
        inboxIds
        +
        +
      • +
      + + + +
        +
      • +

        setInboxIds

        +
        public void setInboxIds(List<UUID> inboxIds)
        +
      • +
      + + + + + + + +
        +
      • +

        getExpireBefore

        +
        @Nonnull
        +public OffsetDateTime getExpireBefore()
        +
        DateTime to filter inboxes so that those expiring before this time are expired
        +
        +
        Returns:
        +
        expireBefore
        +
        +
      • +
      + + + +
        +
      • +

        setExpireBefore

        +
        public void setExpireBefore(OffsetDateTime expireBefore)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to FlushExpiredInboxesResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static FlushExpiredInboxesResult fromJson(String jsonString)
        +                                          throws IOException
        +
        Create an instance of FlushExpiredInboxesResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of FlushExpiredInboxesResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to FlushExpiredInboxesResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of FlushExpiredInboxesResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ForwardEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ForwardEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..96434547a --- /dev/null +++ b/site/com/mailslurp/models/ForwardEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ForwardEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ForwardEmailOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ForwardEmailOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ForwardEmailOptions
    +
    +
    +
    +
    public static class ForwardEmailOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ForwardEmailOptions.html b/site/com/mailslurp/models/ForwardEmailOptions.html new file mode 100644 index 000000000..0f9a3dfe6 --- /dev/null +++ b/site/com/mailslurp/models/ForwardEmailOptions.html @@ -0,0 +1,937 @@ + + + + + + +ForwardEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ForwardEmailOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ForwardEmailOptions
    +extends Object
    +
    Options for forwarding an email
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/GravatarUrl.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/GravatarUrl.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..bb7411578 --- /dev/null +++ b/site/com/mailslurp/models/GravatarUrl.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +GravatarUrl.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class GravatarUrl.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.GravatarUrl.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    GravatarUrl
    +
    +
    +
    +
    public static class GravatarUrl.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/GravatarUrl.html b/site/com/mailslurp/models/GravatarUrl.html new file mode 100644 index 000000000..a5cec950b --- /dev/null +++ b/site/com/mailslurp/models/GravatarUrl.html @@ -0,0 +1,578 @@ + + + + + + +GravatarUrl (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class GravatarUrl

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class GravatarUrl
    +extends Object
    +
    User image
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GravatarUrl

        +
        public GravatarUrl()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getUrl

        +
        @Nonnull
        +public String getUrl()
        +
        Get url
        +
        +
        Returns:
        +
        url
        +
        +
      • +
      + + + +
        +
      • +

        setUrl

        +
        public void setUrl(String url)
        +
      • +
      + + + + + + + +
        +
      • +

        getHash

        +
        @Nonnull
        +public String getHash()
        +
        Get hash
        +
        +
        Returns:
        +
        hash
        +
        +
      • +
      + + + +
        +
      • +

        setHash

        +
        public void setHash(String hash)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to GravatarUrl
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static GravatarUrl fromJson(String jsonString)
        +                            throws IOException
        +
        Create an instance of GravatarUrl given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of GravatarUrl
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to GravatarUrl
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of GravatarUrl to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/GroupContactsDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/GroupContactsDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8e97c93f3 --- /dev/null +++ b/site/com/mailslurp/models/GroupContactsDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +GroupContactsDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class GroupContactsDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.GroupContactsDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    GroupContactsDto
    +
    +
    +
    +
    public static class GroupContactsDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/GroupContactsDto.html b/site/com/mailslurp/models/GroupContactsDto.html new file mode 100644 index 000000000..c0c422be7 --- /dev/null +++ b/site/com/mailslurp/models/GroupContactsDto.html @@ -0,0 +1,591 @@ + + + + + + +GroupContactsDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class GroupContactsDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class GroupContactsDto
    +extends Object
    +
    Describes contacts attached to a contact group
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GroupContactsDto

        +
        public GroupContactsDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getGroup

        +
        @Nonnull
        +public GroupDto getGroup()
        +
        Get group
        +
        +
        Returns:
        +
        group
        +
        +
      • +
      + + + +
        +
      • +

        setGroup

        +
        public void setGroup(GroupDto group)
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        setContacts

        +
        public void setContacts(List<ContactDto> contacts)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to GroupContactsDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static GroupContactsDto fromJson(String jsonString)
        +                                 throws IOException
        +
        Create an instance of GroupContactsDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of GroupContactsDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to GroupContactsDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of GroupContactsDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/GroupDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/GroupDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e33f55425 --- /dev/null +++ b/site/com/mailslurp/models/GroupDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +GroupDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class GroupDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.GroupDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    GroupDto
    +
    +
    +
    +
    public static class GroupDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/GroupDto.html b/site/com/mailslurp/models/GroupDto.html new file mode 100644 index 000000000..fa5f601b5 --- /dev/null +++ b/site/com/mailslurp/models/GroupDto.html @@ -0,0 +1,706 @@ + + + + + + +GroupDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class GroupDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class GroupDto
    +extends Object
    +
    Contact group data
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GroupDto

        +
        public GroupDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        @Nonnull
        +public String getName()
        +
        Get name
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + +
        +
      • +

        description

        +
        public GroupDto description(String description)
        +
      • +
      + + + +
        +
      • +

        getDescription

        +
        @Nullable
        +public String getDescription()
        +
        Get description
        +
        +
        Returns:
        +
        description
        +
        +
      • +
      + + + +
        +
      • +

        setDescription

        +
        public void setDescription(String description)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to GroupDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static GroupDto fromJson(String jsonString)
        +                         throws IOException
        +
        Create an instance of GroupDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of GroupDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to GroupDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of GroupDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/GroupProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/GroupProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..c9741ad24 --- /dev/null +++ b/site/com/mailslurp/models/GroupProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +GroupProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class GroupProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.GroupProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    GroupProjection
    +
    +
    +
    +
    public static class GroupProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/GroupProjection.html b/site/com/mailslurp/models/GroupProjection.html new file mode 100644 index 000000000..054d27c54 --- /dev/null +++ b/site/com/mailslurp/models/GroupProjection.html @@ -0,0 +1,706 @@ + + + + + + +GroupProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class GroupProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class GroupProjection
    +extends Object
    +
    Data for contact group
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GroupProjection

        +
        public GroupProjection()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getName

        +
        @Nonnull
        +public String getName()
        +
        Get name
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getDescription

        +
        @Nullable
        +public String getDescription()
        +
        Get description
        +
        +
        Returns:
        +
        description
        +
        +
      • +
      + + + +
        +
      • +

        setDescription

        +
        public void setDescription(String description)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to GroupProjection
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static GroupProjection fromJson(String jsonString)
        +                                throws IOException
        +
        Create an instance of GroupProjection given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of GroupProjection
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to GroupProjection
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of GroupProjection to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/HTMLValidationResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/HTMLValidationResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..23c8e5ae1 --- /dev/null +++ b/site/com/mailslurp/models/HTMLValidationResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +HTMLValidationResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class HTMLValidationResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.HTMLValidationResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    HTMLValidationResult
    +
    +
    +
    +
    public static class HTMLValidationResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/HTMLValidationResult.html b/site/com/mailslurp/models/HTMLValidationResult.html new file mode 100644 index 000000000..bde794c65 --- /dev/null +++ b/site/com/mailslurp/models/HTMLValidationResult.html @@ -0,0 +1,668 @@ + + + + + + +HTMLValidationResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class HTMLValidationResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class HTMLValidationResult
    +extends Object
    +
    HTML Validation Results
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/IPAddressResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/IPAddressResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8f2cbcbe7 --- /dev/null +++ b/site/com/mailslurp/models/IPAddressResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +IPAddressResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class IPAddressResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.IPAddressResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    IPAddressResult
    +
    +
    +
    +
    public static class IPAddressResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/IPAddressResult.html b/site/com/mailslurp/models/IPAddressResult.html new file mode 100644 index 000000000..730820d7d --- /dev/null +++ b/site/com/mailslurp/models/IPAddressResult.html @@ -0,0 +1,578 @@ + + + + + + +IPAddressResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class IPAddressResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class IPAddressResult
    +extends Object
    +
    IP Address look up result for a given domain / hostname
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        IPAddressResult

        +
        public IPAddressResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getAddress

        +
        @Nonnull
        +public String getAddress()
        +
        Get address
        +
        +
        Returns:
        +
        address
        +
        +
      • +
      + + + +
        +
      • +

        setAddress

        +
        public void setAddress(String address)
        +
      • +
      + + + + + + + +
        +
      • +

        getHostname

        +
        @Nonnull
        +public String getHostname()
        +
        Get hostname
        +
        +
        Returns:
        +
        hostname
        +
        +
      • +
      + + + +
        +
      • +

        setHostname

        +
        public void setHostname(String hostname)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to IPAddressResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static IPAddressResult fromJson(String jsonString)
        +                                throws IOException
        +
        Create an instance of IPAddressResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of IPAddressResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to IPAddressResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of IPAddressResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ImapFlagOperationOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ImapFlagOperationOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b46b1fa4b --- /dev/null +++ b/site/com/mailslurp/models/ImapFlagOperationOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ImapFlagOperationOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ImapFlagOperationOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ImapFlagOperationOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ImapFlagOperationOptions
    +
    +
    +
    +
    public static class ImapFlagOperationOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ImapFlagOperationOptions.FlagOperationEnum.Adapter.html b/site/com/mailslurp/models/ImapFlagOperationOptions.FlagOperationEnum.Adapter.html new file mode 100644 index 000000000..de3a20a09 --- /dev/null +++ b/site/com/mailslurp/models/ImapFlagOperationOptions.FlagOperationEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ImapFlagOperationOptions.FlagOperationEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ImapFlagOperationOptions.FlagOperationEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ImapFlagOperationOptions.FlagOperationEnum.html b/site/com/mailslurp/models/ImapFlagOperationOptions.FlagOperationEnum.html new file mode 100644 index 000000000..4988903a9 --- /dev/null +++ b/site/com/mailslurp/models/ImapFlagOperationOptions.FlagOperationEnum.html @@ -0,0 +1,422 @@ + + + + + + +ImapFlagOperationOptions.FlagOperationEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ImapFlagOperationOptions.FlagOperationEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ImapFlagOperationOptions.html b/site/com/mailslurp/models/ImapFlagOperationOptions.html new file mode 100644 index 000000000..8526bde24 --- /dev/null +++ b/site/com/mailslurp/models/ImapFlagOperationOptions.html @@ -0,0 +1,597 @@ + + + + + + +ImapFlagOperationOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ImapFlagOperationOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ImapFlagOperationOptions
    +extends Object
    +
    IMAP operation flags
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ImapSmtpAccessDetails.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ImapSmtpAccessDetails.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1fba691ba --- /dev/null +++ b/site/com/mailslurp/models/ImapSmtpAccessDetails.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ImapSmtpAccessDetails.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ImapSmtpAccessDetails.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ImapSmtpAccessDetails.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ImapSmtpAccessDetails
    +
    +
    +
    +
    public static class ImapSmtpAccessDetails.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ImapSmtpAccessDetails.html b/site/com/mailslurp/models/ImapSmtpAccessDetails.html new file mode 100644 index 000000000..740378dd9 --- /dev/null +++ b/site/com/mailslurp/models/ImapSmtpAccessDetails.html @@ -0,0 +1,1218 @@ + + + + + + +ImapSmtpAccessDetails (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ImapSmtpAccessDetails

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ImapSmtpAccessDetails
    +extends Object
    +
    Access details for inbox using SMTP or IMAP
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ImapSmtpAccessDetails

        +
        public ImapSmtpAccessDetails()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getSecureSmtpServerHost

        +
        @Nonnull
        +public String getSecureSmtpServerHost()
        +
        Secure TLS SMTP server host domain
        +
        +
        Returns:
        +
        secureSmtpServerHost
        +
        +
      • +
      + + + +
        +
      • +

        setSecureSmtpServerHost

        +
        public void setSecureSmtpServerHost(String secureSmtpServerHost)
        +
      • +
      + + + + + + + +
        +
      • +

        getSecureSmtpServerPort

        +
        @Nonnull
        +public Integer getSecureSmtpServerPort()
        +
        Secure TLS SMTP server host port
        +
        +
        Returns:
        +
        secureSmtpServerPort
        +
        +
      • +
      + + + +
        +
      • +

        setSecureSmtpServerPort

        +
        public void setSecureSmtpServerPort(Integer secureSmtpServerPort)
        +
      • +
      + + + + + + + +
        +
      • +

        getSecureSmtpUsername

        +
        @Nonnull
        +public String getSecureSmtpUsername()
        +
        Secure TLS SMTP username for login
        +
        +
        Returns:
        +
        secureSmtpUsername
        +
        +
      • +
      + + + +
        +
      • +

        setSecureSmtpUsername

        +
        public void setSecureSmtpUsername(String secureSmtpUsername)
        +
      • +
      + + + + + + + +
        +
      • +

        getSecureSmtpPassword

        +
        @Nonnull
        +public String getSecureSmtpPassword()
        +
        Secure TLS SMTP password for login
        +
        +
        Returns:
        +
        secureSmtpPassword
        +
        +
      • +
      + + + +
        +
      • +

        setSecureSmtpPassword

        +
        public void setSecureSmtpPassword(String secureSmtpPassword)
        +
      • +
      + + + + + + + +
        +
      • +

        getSmtpServerHost

        +
        @Nonnull
        +public String getSmtpServerHost()
        +
        SMTP server host domain
        +
        +
        Returns:
        +
        smtpServerHost
        +
        +
      • +
      + + + +
        +
      • +

        setSmtpServerHost

        +
        public void setSmtpServerHost(String smtpServerHost)
        +
      • +
      + + + + + + + +
        +
      • +

        getSmtpServerPort

        +
        @Nonnull
        +public Integer getSmtpServerPort()
        +
        SMTP server host port
        +
        +
        Returns:
        +
        smtpServerPort
        +
        +
      • +
      + + + +
        +
      • +

        setSmtpServerPort

        +
        public void setSmtpServerPort(Integer smtpServerPort)
        +
      • +
      + + + + + + + +
        +
      • +

        getSmtpUsername

        +
        @Nonnull
        +public String getSmtpUsername()
        +
        SMTP username for login
        +
        +
        Returns:
        +
        smtpUsername
        +
        +
      • +
      + + + +
        +
      • +

        setSmtpUsername

        +
        public void setSmtpUsername(String smtpUsername)
        +
      • +
      + + + + + + + +
        +
      • +

        getSmtpPassword

        +
        @Nonnull
        +public String getSmtpPassword()
        +
        SMTP password for login
        +
        +
        Returns:
        +
        smtpPassword
        +
        +
      • +
      + + + +
        +
      • +

        setSmtpPassword

        +
        public void setSmtpPassword(String smtpPassword)
        +
      • +
      + + + + + + + +
        +
      • +

        getImapServerHost

        +
        @Nonnull
        +public String getImapServerHost()
        +
        IMAP server host domain
        +
        +
        Returns:
        +
        imapServerHost
        +
        +
      • +
      + + + +
        +
      • +

        setImapServerHost

        +
        public void setImapServerHost(String imapServerHost)
        +
      • +
      + + + + + + + +
        +
      • +

        getImapServerPort

        +
        @Nonnull
        +public Integer getImapServerPort()
        +
        IMAP server host port
        +
        +
        Returns:
        +
        imapServerPort
        +
        +
      • +
      + + + +
        +
      • +

        setImapServerPort

        +
        public void setImapServerPort(Integer imapServerPort)
        +
      • +
      + + + + + + + +
        +
      • +

        getImapUsername

        +
        @Nonnull
        +public String getImapUsername()
        +
        IMAP username for login
        +
        +
        Returns:
        +
        imapUsername
        +
        +
      • +
      + + + +
        +
      • +

        setImapUsername

        +
        public void setImapUsername(String imapUsername)
        +
      • +
      + + + + + + + +
        +
      • +

        getImapPassword

        +
        @Nonnull
        +public String getImapPassword()
        +
        IMAP password for login
        +
        +
        Returns:
        +
        imapPassword
        +
        +
      • +
      + + + +
        +
      • +

        setImapPassword

        +
        public void setImapPassword(String imapPassword)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ImapSmtpAccessDetails
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ImapSmtpAccessDetails fromJson(String jsonString)
        +                                      throws IOException
        +
        Create an instance of ImapSmtpAccessDetails given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ImapSmtpAccessDetails
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ImapSmtpAccessDetails
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ImapSmtpAccessDetails to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxByEmailAddressResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxByEmailAddressResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b0286f8f5 --- /dev/null +++ b/site/com/mailslurp/models/InboxByEmailAddressResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxByEmailAddressResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxByEmailAddressResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxByEmailAddressResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxByEmailAddressResult
    +
    +
    +
    +
    public static class InboxByEmailAddressResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxByEmailAddressResult.html b/site/com/mailslurp/models/InboxByEmailAddressResult.html new file mode 100644 index 000000000..a3eb1cff4 --- /dev/null +++ b/site/com/mailslurp/models/InboxByEmailAddressResult.html @@ -0,0 +1,578 @@ + + + + + + +InboxByEmailAddressResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxByEmailAddressResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxByEmailAddressResult
    +extends Object
    +
    Result of search for inbox by email address
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxByEmailAddressResult

        +
        public InboxByEmailAddressResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getInboxId

        +
        @Nullable
        +public UUID getInboxId()
        +
        Get inboxId
        +
        +
        Returns:
        +
        inboxId
        +
        +
      • +
      + + + +
        +
      • +

        setInboxId

        +
        public void setInboxId(UUID inboxId)
        +
      • +
      + + + + + + + +
        +
      • +

        getExists

        +
        @Nonnull
        +public Boolean getExists()
        +
        Get exists
        +
        +
        Returns:
        +
        exists
        +
        +
      • +
      + + + +
        +
      • +

        setExists

        +
        public void setExists(Boolean exists)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to InboxByEmailAddressResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static InboxByEmailAddressResult fromJson(String jsonString)
        +                                          throws IOException
        +
        Create an instance of InboxByEmailAddressResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of InboxByEmailAddressResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to InboxByEmailAddressResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of InboxByEmailAddressResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxByNameResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxByNameResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1b803b49d --- /dev/null +++ b/site/com/mailslurp/models/InboxByNameResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxByNameResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxByNameResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxByNameResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxByNameResult
    +
    +
    +
    +
    public static class InboxByNameResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxByNameResult.html b/site/com/mailslurp/models/InboxByNameResult.html new file mode 100644 index 000000000..9bfc1f047 --- /dev/null +++ b/site/com/mailslurp/models/InboxByNameResult.html @@ -0,0 +1,578 @@ + + + + + + +InboxByNameResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxByNameResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxByNameResult
    +extends Object
    +
    Result of search for inbox by name
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxByNameResult

        +
        public InboxByNameResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getInboxId

        +
        @Nullable
        +public UUID getInboxId()
        +
        Get inboxId
        +
        +
        Returns:
        +
        inboxId
        +
        +
      • +
      + + + +
        +
      • +

        setInboxId

        +
        public void setInboxId(UUID inboxId)
        +
      • +
      + + + + + + + +
        +
      • +

        getExists

        +
        @Nonnull
        +public Boolean getExists()
        +
        Get exists
        +
        +
        Returns:
        +
        exists
        +
        +
      • +
      + + + +
        +
      • +

        setExists

        +
        public void setExists(Boolean exists)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to InboxByNameResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static InboxByNameResult fromJson(String jsonString)
        +                                  throws IOException
        +
        Create an instance of InboxByNameResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of InboxByNameResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to InboxByNameResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of InboxByNameResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..665c4bad3 --- /dev/null +++ b/site/com/mailslurp/models/InboxDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxDto
    +
    +
    +
    +
    public static class InboxDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxDto.InboxTypeEnum.Adapter.html b/site/com/mailslurp/models/InboxDto.InboxTypeEnum.Adapter.html new file mode 100644 index 000000000..da5e7c7c8 --- /dev/null +++ b/site/com/mailslurp/models/InboxDto.InboxTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +InboxDto.InboxTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxDto.InboxTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxDto.InboxTypeEnum.html b/site/com/mailslurp/models/InboxDto.InboxTypeEnum.html new file mode 100644 index 000000000..51ef887c0 --- /dev/null +++ b/site/com/mailslurp/models/InboxDto.InboxTypeEnum.html @@ -0,0 +1,410 @@ + + + + + + +InboxDto.InboxTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum InboxDto.InboxTypeEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static InboxDto.InboxTypeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (InboxDto.InboxTypeEnum c : InboxDto.InboxTypeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static InboxDto.InboxTypeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxDto.html b/site/com/mailslurp/models/InboxDto.html new file mode 100644 index 000000000..4f6f49a7d --- /dev/null +++ b/site/com/mailslurp/models/InboxDto.html @@ -0,0 +1,1301 @@ + + + + + + +InboxDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxDto
    +extends Object
    +
    Representation of a MailSlurp inbox. An inbox has an ID and a real email address. Emails can be sent to or from this email address. Inboxes are either `SMTP` or `HTTP` mailboxes. The default, `HTTP` inboxes, use AWS SES to process emails and are best suited as test email accounts and do not support IMAP or POP3. `SMTP` inboxes use a custom mail server at `mx.mailslurp.com` and support SMTP login, IMAP and POP3. Use the `EmailController` or the `InboxController` methods to send and receive emails and attachments. Inboxes may have a description, name, and tags for display purposes. You can also favourite an inbox for easier searching.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxDto

        +
        public InboxDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically.
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getUserId

        +
        @Nullable
        +public UUID getUserId()
        +
        ID of user that inbox belongs to
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`.
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + +
        +
      • +

        domainId

        +
        public InboxDto domainId(UUID domainId)
        +
      • +
      + + + +
        +
      • +

        getDomainId

        +
        @Nullable
        +public UUID getDomainId()
        +
        ID of custom domain used by the inbox if any
        +
        +
        Returns:
        +
        domainId
        +
        +
      • +
      + + + +
        +
      • +

        setDomainId

        +
        public void setDomainId(UUID domainId)
        +
      • +
      + + + +
        +
      • +

        description

        +
        public InboxDto description(String description)
        +
      • +
      + + + +
        +
      • +

        getDescription

        +
        @Nullable
        +public String getDescription()
        +
        Description of an inbox for labelling and searching purposes
        +
        +
        Returns:
        +
        description
        +
        +
      • +
      + + + +
        +
      • +

        setDescription

        +
        public void setDescription(String description)
        +
      • +
      + + + +
        +
      • +

        emailAddress

        +
        public InboxDto emailAddress(String emailAddress)
        +
      • +
      + + + +
        +
      • +

        getEmailAddress

        +
        @Nonnull
        +public String getEmailAddress()
        +
        The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getExpiresAt

        +
        @Nullable
        +public String getExpiresAt()
        +
        Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email.
        +
        +
        Returns:
        +
        expiresAt
        +
        +
      • +
      + + + +
        +
      • +

        setExpiresAt

        +
        public void setExpiresAt(String expiresAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getFavourite

        +
        @Nonnull
        +public Boolean getFavourite()
        +
        Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering
        +
        +
        Returns:
        +
        favourite
        +
        +
      • +
      + + + +
        +
      • +

        setFavourite

        +
        public void setFavourite(Boolean favourite)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getTags

        +
        @Nullable
        +public List<String> getTags()
        +
        Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
        +
        +
        Returns:
        +
        tags
        +
        +
      • +
      + + + +
        +
      • +

        setTags

        +
        public void setTags(List<String> tags)
        +
      • +
      + + + + + + + +
        +
      • +

        getInboxType

        +
        @Nullable
        +public InboxDto.InboxTypeEnum getInboxType()
        +
        Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send).
        +
        +
        Returns:
        +
        inboxType
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getReadOnly

        +
        @Nonnull
        +public Boolean getReadOnly()
        +
        Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes.
        +
        +
        Returns:
        +
        readOnly
        +
        +
      • +
      + + + +
        +
      • +

        setReadOnly

        +
        public void setReadOnly(Boolean readOnly)
        +
      • +
      + + + +
        +
      • +

        virtualInbox

        +
        public InboxDto virtualInbox(Boolean virtualInbox)
        +
      • +
      + + + +
        +
      • +

        getVirtualInbox

        +
        @Nonnull
        +public Boolean getVirtualInbox()
        +
        Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions.
        +
        +
        Returns:
        +
        virtualInbox
        +
        +
      • +
      + + + +
        +
      • +

        setVirtualInbox

        +
        public void setVirtualInbox(Boolean virtualInbox)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to InboxDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static InboxDto fromJson(String jsonString)
        +                         throws IOException
        +
        Create an instance of InboxDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of InboxDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to InboxDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of InboxDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxExistsDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxExistsDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..354b583d2 --- /dev/null +++ b/site/com/mailslurp/models/InboxExistsDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxExistsDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxExistsDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxExistsDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxExistsDto
    +
    +
    +
    +
    public static class InboxExistsDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxExistsDto.html b/site/com/mailslurp/models/InboxExistsDto.html new file mode 100644 index 000000000..53248fddf --- /dev/null +++ b/site/com/mailslurp/models/InboxExistsDto.html @@ -0,0 +1,514 @@ + + + + + + +InboxExistsDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxExistsDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxExistsDto
    +extends Object
    +
    Result of email exists query
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxExistsDto

        +
        public InboxExistsDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getExists

        +
        @Nonnull
        +public Boolean getExists()
        +
        Get exists
        +
        +
        Returns:
        +
        exists
        +
        +
      • +
      + + + +
        +
      • +

        setExists

        +
        public void setExists(Boolean exists)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to InboxExistsDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static InboxExistsDto fromJson(String jsonString)
        +                               throws IOException
        +
        Create an instance of InboxExistsDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of InboxExistsDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to InboxExistsDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of InboxExistsDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxForwarderDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4d93369a3 --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxForwarderDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxForwarderDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxForwarderDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxForwarderDto
    +
    +
    +
    +
    public static class InboxForwarderDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderDto.FieldEnum.Adapter.html b/site/com/mailslurp/models/InboxForwarderDto.FieldEnum.Adapter.html new file mode 100644 index 000000000..98a23bcdd --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderDto.FieldEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +InboxForwarderDto.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxForwarderDto.FieldEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderDto.FieldEnum.html b/site/com/mailslurp/models/InboxForwarderDto.FieldEnum.html new file mode 100644 index 000000000..c89dbaa3b --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderDto.FieldEnum.html @@ -0,0 +1,434 @@ + + + + + + +InboxForwarderDto.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum InboxForwarderDto.FieldEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderDto.html b/site/com/mailslurp/models/InboxForwarderDto.html new file mode 100644 index 000000000..7343e2140 --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderDto.html @@ -0,0 +1,917 @@ + + + + + + +InboxForwarderDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxForwarderDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxForwarderDto
    +extends Object
    +
    Inbox forwarder. Describes how an inbox will forward matching emails to designated recipients.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderEventProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxForwarderEventProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..959e25374 --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderEventProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxForwarderEventProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxForwarderEventProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxForwarderEventProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxForwarderEventProjection
    +
    +
    +
    +
    public static class InboxForwarderEventProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderEventProjection.StatusEnum.Adapter.html b/site/com/mailslurp/models/InboxForwarderEventProjection.StatusEnum.Adapter.html new file mode 100644 index 000000000..e6c7fc9ab --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderEventProjection.StatusEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +InboxForwarderEventProjection.StatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxForwarderEventProjection.StatusEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderEventProjection.StatusEnum.html b/site/com/mailslurp/models/InboxForwarderEventProjection.StatusEnum.html new file mode 100644 index 000000000..3c601bddd --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderEventProjection.StatusEnum.html @@ -0,0 +1,410 @@ + + + + + + +InboxForwarderEventProjection.StatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum InboxForwarderEventProjection.StatusEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderEventProjection.html b/site/com/mailslurp/models/InboxForwarderEventProjection.html new file mode 100644 index 000000000..e324dd8f1 --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderEventProjection.html @@ -0,0 +1,968 @@ + + + + + + +InboxForwarderEventProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxForwarderEventProjection

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxForwarderEventProjection
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxForwarderEventProjection
    +extends Object
    +
    Inbox forwarder event
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderTestOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxForwarderTestOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..37aa194eb --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderTestOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxForwarderTestOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxForwarderTestOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxForwarderTestOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxForwarderTestOptions
    +
    +
    +
    +
    public static class InboxForwarderTestOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderTestOptions.html b/site/com/mailslurp/models/InboxForwarderTestOptions.html new file mode 100644 index 000000000..269086dde --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderTestOptions.html @@ -0,0 +1,514 @@ + + + + + + +InboxForwarderTestOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxForwarderTestOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxForwarderTestOptions
    +extends Object
    +
    Options for testing an inbox forwarder against a value
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxForwarderTestOptions

        +
        public InboxForwarderTestOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getTestValue

        +
        @Nonnull
        +public String getTestValue()
        +
        Get testValue
        +
        +
        Returns:
        +
        testValue
        +
        +
      • +
      + + + +
        +
      • +

        setTestValue

        +
        public void setTestValue(String testValue)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to InboxForwarderTestOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static InboxForwarderTestOptions fromJson(String jsonString)
        +                                          throws IOException
        +
        Create an instance of InboxForwarderTestOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of InboxForwarderTestOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to InboxForwarderTestOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of InboxForwarderTestOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderTestResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxForwarderTestResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..660d842d7 --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderTestResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxForwarderTestResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxForwarderTestResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxForwarderTestResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxForwarderTestResult
    +
    +
    +
    +
    public static class InboxForwarderTestResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxForwarderTestResult.html b/site/com/mailslurp/models/InboxForwarderTestResult.html new file mode 100644 index 000000000..ec6c87e81 --- /dev/null +++ b/site/com/mailslurp/models/InboxForwarderTestResult.html @@ -0,0 +1,593 @@ + + + + + + +InboxForwarderTestResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxForwarderTestResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxForwarderTestResult
    +extends Object
    +
    Results of inbox forwarder test
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxForwarderTestResult

        +
        public InboxForwarderTestResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getDoesMatch

        +
        @Nonnull
        +public Boolean getDoesMatch()
        +
        Get doesMatch
        +
        +
        Returns:
        +
        doesMatch
        +
        +
      • +
      + + + +
        +
      • +

        setDoesMatch

        +
        public void setDoesMatch(Boolean doesMatch)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to InboxForwarderTestResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static InboxForwarderTestResult fromJson(String jsonString)
        +                                         throws IOException
        +
        Create an instance of InboxForwarderTestResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of InboxForwarderTestResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to InboxForwarderTestResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of InboxForwarderTestResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxIdItem.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxIdItem.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4a8f51a2a --- /dev/null +++ b/site/com/mailslurp/models/InboxIdItem.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxIdItem.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxIdItem.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxIdItem.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxIdItem
    +
    +
    +
    +
    public static class InboxIdItem.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxIdItem.html b/site/com/mailslurp/models/InboxIdItem.html new file mode 100644 index 000000000..2f9059846 --- /dev/null +++ b/site/com/mailslurp/models/InboxIdItem.html @@ -0,0 +1,578 @@ + + + + + + +InboxIdItem (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxIdItem

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxIdItem
    +extends Object
    +
    Inbox ID and email address pair
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxIdItem

        +
        public InboxIdItem()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getEmailAddress

        +
        @Nonnull
        +public String getEmailAddress()
        +
        Get emailAddress
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to InboxIdItem
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static InboxIdItem fromJson(String jsonString)
        +                            throws IOException
        +
        Create an instance of InboxIdItem given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of InboxIdItem
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to InboxIdItem
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of InboxIdItem to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxIdsResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxIdsResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..fe0f94cf2 --- /dev/null +++ b/site/com/mailslurp/models/InboxIdsResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxIdsResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxIdsResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxIdsResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxIdsResult
    +
    +
    +
    +
    public static class InboxIdsResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxIdsResult.html b/site/com/mailslurp/models/InboxIdsResult.html new file mode 100644 index 000000000..cdc11cecd --- /dev/null +++ b/site/com/mailslurp/models/InboxIdsResult.html @@ -0,0 +1,527 @@ + + + + + + +InboxIdsResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxIdsResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxIdsResult
    +extends Object
    +
    List of inbox IDs and email addresses
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxIdsResult

        +
        public InboxIdsResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + +
        +
      • +

        setInboxIds

        +
        public void setInboxIds(List<InboxIdItem> inboxIds)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to InboxIdsResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static InboxIdsResult fromJson(String jsonString)
        +                               throws IOException
        +
        Create an instance of InboxIdsResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of InboxIdsResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to InboxIdsResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of InboxIdsResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxPreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxPreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..cf2f455c0 --- /dev/null +++ b/site/com/mailslurp/models/InboxPreview.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxPreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxPreview.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxPreview.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxPreview
    +
    +
    +
    +
    public static class InboxPreview.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxPreview.InboxTypeEnum.Adapter.html b/site/com/mailslurp/models/InboxPreview.InboxTypeEnum.Adapter.html new file mode 100644 index 000000000..d61021d27 --- /dev/null +++ b/site/com/mailslurp/models/InboxPreview.InboxTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +InboxPreview.InboxTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxPreview.InboxTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxPreview.InboxTypeEnum.html b/site/com/mailslurp/models/InboxPreview.InboxTypeEnum.html new file mode 100644 index 000000000..3126e1078 --- /dev/null +++ b/site/com/mailslurp/models/InboxPreview.InboxTypeEnum.html @@ -0,0 +1,410 @@ + + + + + + +InboxPreview.InboxTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum InboxPreview.InboxTypeEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static InboxPreview.InboxTypeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (InboxPreview.InboxTypeEnum c : InboxPreview.InboxTypeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static InboxPreview.InboxTypeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxPreview.html b/site/com/mailslurp/models/InboxPreview.html new file mode 100644 index 000000000..f1f75ecd5 --- /dev/null +++ b/site/com/mailslurp/models/InboxPreview.html @@ -0,0 +1,1173 @@ + + + + + + +InboxPreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxPreview

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxPreview
    +extends Object
    +
    Inbox data preview element.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxPreview

        +
        public InboxPreview()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically.
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getDomainId

        +
        @Nullable
        +public UUID getDomainId()
        +
        ID of custom domain used by the inbox if any
        +
        +
        Returns:
        +
        domainId
        +
        +
      • +
      + + + +
        +
      • +

        setDomainId

        +
        public void setDomainId(UUID domainId)
        +
      • +
      + + + + + + + +
        +
      • +

        getEmailAddress

        +
        @Nullable
        +public String getEmailAddress()
        +
        The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`.
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getFavourite

        +
        @Nonnull
        +public Boolean getFavourite()
        +
        Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering
        +
        +
        Returns:
        +
        favourite
        +
        +
      • +
      + + + +
        +
      • +

        setFavourite

        +
        public void setFavourite(Boolean favourite)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getTags

        +
        @Nullable
        +public List<String> getTags()
        +
        Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
        +
        +
        Returns:
        +
        tags
        +
        +
      • +
      + + + +
        +
      • +

        setTags

        +
        public void setTags(List<String> tags)
        +
      • +
      + + + + + + + +
        +
      • +

        getTeamAccess

        +
        @Nonnull
        +public Boolean getTeamAccess()
        +
        Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/
        +
        +
        Returns:
        +
        teamAccess
        +
        +
      • +
      + + + +
        +
      • +

        setTeamAccess

        +
        public void setTeamAccess(Boolean teamAccess)
        +
      • +
      + + + + + + + +
        +
      • +

        getInboxType

        +
        @Nullable
        +public InboxPreview.InboxTypeEnum getInboxType()
        +
        Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send).
        +
        +
        Returns:
        +
        inboxType
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getVirtualInbox

        +
        @Nonnull
        +public Boolean getVirtualInbox()
        +
        Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions.
        +
        +
        Returns:
        +
        virtualInbox
        +
        +
      • +
      + + + +
        +
      • +

        setVirtualInbox

        +
        public void setVirtualInbox(Boolean virtualInbox)
        +
      • +
      + + + + + + + +
        +
      • +

        getExpiresAt

        +
        @Nullable
        +public String getExpiresAt()
        +
        Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email.
        +
        +
        Returns:
        +
        expiresAt
        +
        +
      • +
      + + + +
        +
      • +

        setExpiresAt

        +
        public void setExpiresAt(String expiresAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to InboxPreview
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static InboxPreview fromJson(String jsonString)
        +                             throws IOException
        +
        Create an instance of InboxPreview given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of InboxPreview
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to InboxPreview
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of InboxPreview to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxReplierDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxReplierDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..dd0f49adc --- /dev/null +++ b/site/com/mailslurp/models/InboxReplierDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxReplierDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxReplierDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxReplierDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxReplierDto
    +
    +
    +
    +
    public static class InboxReplierDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxReplierDto.FieldEnum.Adapter.html b/site/com/mailslurp/models/InboxReplierDto.FieldEnum.Adapter.html new file mode 100644 index 000000000..c39315d66 --- /dev/null +++ b/site/com/mailslurp/models/InboxReplierDto.FieldEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +InboxReplierDto.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxReplierDto.FieldEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxReplierDto.FieldEnum.html b/site/com/mailslurp/models/InboxReplierDto.FieldEnum.html new file mode 100644 index 000000000..68eaa515b --- /dev/null +++ b/site/com/mailslurp/models/InboxReplierDto.FieldEnum.html @@ -0,0 +1,434 @@ + + + + + + +InboxReplierDto.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum InboxReplierDto.FieldEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static InboxReplierDto.FieldEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (InboxReplierDto.FieldEnum c : InboxReplierDto.FieldEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static InboxReplierDto.FieldEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxReplierDto.html b/site/com/mailslurp/models/InboxReplierDto.html new file mode 100644 index 000000000..b05d551bf --- /dev/null +++ b/site/com/mailslurp/models/InboxReplierDto.html @@ -0,0 +1,1367 @@ + + + + + + +InboxReplierDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxReplierDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxReplierDto
    +extends Object
    +
    Inbox replier. Will automatically reply to inbound emails that match given field for an inbox.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxReplierEventProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxReplierEventProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..cfe952b8f --- /dev/null +++ b/site/com/mailslurp/models/InboxReplierEventProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxReplierEventProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxReplierEventProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxReplierEventProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxReplierEventProjection
    +
    +
    +
    +
    public static class InboxReplierEventProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxReplierEventProjection.StatusEnum.Adapter.html b/site/com/mailslurp/models/InboxReplierEventProjection.StatusEnum.Adapter.html new file mode 100644 index 000000000..fdab6c8fc --- /dev/null +++ b/site/com/mailslurp/models/InboxReplierEventProjection.StatusEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +InboxReplierEventProjection.StatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxReplierEventProjection.StatusEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxReplierEventProjection.StatusEnum.html b/site/com/mailslurp/models/InboxReplierEventProjection.StatusEnum.html new file mode 100644 index 000000000..6627c6080 --- /dev/null +++ b/site/com/mailslurp/models/InboxReplierEventProjection.StatusEnum.html @@ -0,0 +1,410 @@ + + + + + + +InboxReplierEventProjection.StatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum InboxReplierEventProjection.StatusEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxReplierEventProjection.html b/site/com/mailslurp/models/InboxReplierEventProjection.html new file mode 100644 index 000000000..2cc882a95 --- /dev/null +++ b/site/com/mailslurp/models/InboxReplierEventProjection.html @@ -0,0 +1,1109 @@ + + + + + + +InboxReplierEventProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxReplierEventProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxReplierEventProjection
    +extends Object
    +
    Inbox replier event
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetDto.ActionEnum.Adapter.html b/site/com/mailslurp/models/InboxRulesetDto.ActionEnum.Adapter.html new file mode 100644 index 000000000..f85fba0e3 --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetDto.ActionEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +InboxRulesetDto.ActionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxRulesetDto.ActionEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetDto.ActionEnum.html b/site/com/mailslurp/models/InboxRulesetDto.ActionEnum.html new file mode 100644 index 000000000..784669b10 --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetDto.ActionEnum.html @@ -0,0 +1,422 @@ + + + + + + +InboxRulesetDto.ActionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum InboxRulesetDto.ActionEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static InboxRulesetDto.ActionEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (InboxRulesetDto.ActionEnum c : InboxRulesetDto.ActionEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static InboxRulesetDto.ActionEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxRulesetDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..27d794e21 --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxRulesetDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxRulesetDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxRulesetDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxRulesetDto
    +
    +
    +
    +
    public static class InboxRulesetDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetDto.HandlerEnum.Adapter.html b/site/com/mailslurp/models/InboxRulesetDto.HandlerEnum.Adapter.html new file mode 100644 index 000000000..4f24492ca --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetDto.HandlerEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +InboxRulesetDto.HandlerEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxRulesetDto.HandlerEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetDto.HandlerEnum.html b/site/com/mailslurp/models/InboxRulesetDto.HandlerEnum.html new file mode 100644 index 000000000..5aa705cc5 --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetDto.HandlerEnum.html @@ -0,0 +1,398 @@ + + + + + + +InboxRulesetDto.HandlerEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum InboxRulesetDto.HandlerEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static InboxRulesetDto.HandlerEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (InboxRulesetDto.HandlerEnum c : InboxRulesetDto.HandlerEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static InboxRulesetDto.HandlerEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetDto.ScopeEnum.Adapter.html b/site/com/mailslurp/models/InboxRulesetDto.ScopeEnum.Adapter.html new file mode 100644 index 000000000..cc3bd3774 --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetDto.ScopeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +InboxRulesetDto.ScopeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxRulesetDto.ScopeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetDto.ScopeEnum.html b/site/com/mailslurp/models/InboxRulesetDto.ScopeEnum.html new file mode 100644 index 000000000..c15840879 --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetDto.ScopeEnum.html @@ -0,0 +1,410 @@ + + + + + + +InboxRulesetDto.ScopeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum InboxRulesetDto.ScopeEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static InboxRulesetDto.ScopeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (InboxRulesetDto.ScopeEnum c : InboxRulesetDto.ScopeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static InboxRulesetDto.ScopeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetDto.html b/site/com/mailslurp/models/InboxRulesetDto.html new file mode 100644 index 000000000..545c90ad9 --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetDto.html @@ -0,0 +1,916 @@ + + + + + + +InboxRulesetDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxRulesetDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxRulesetDto
    +extends Object
    +
    Rules for inbox
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetTestOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxRulesetTestOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3384c1f3e --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetTestOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxRulesetTestOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxRulesetTestOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxRulesetTestOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxRulesetTestOptions
    +
    +
    +
    +
    public static class InboxRulesetTestOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetTestOptions.html b/site/com/mailslurp/models/InboxRulesetTestOptions.html new file mode 100644 index 000000000..3344160e0 --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetTestOptions.html @@ -0,0 +1,514 @@ + + + + + + +InboxRulesetTestOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxRulesetTestOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxRulesetTestOptions
    +extends Object
    +
    Test options for inbox ruleset
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxRulesetTestOptions

        +
        public InboxRulesetTestOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getTestTarget

        +
        @Nonnull
        +public String getTestTarget()
        +
        Get testTarget
        +
        +
        Returns:
        +
        testTarget
        +
        +
      • +
      + + + +
        +
      • +

        setTestTarget

        +
        public void setTestTarget(String testTarget)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to InboxRulesetTestOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static InboxRulesetTestOptions fromJson(String jsonString)
        +                                        throws IOException
        +
        Create an instance of InboxRulesetTestOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of InboxRulesetTestOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to InboxRulesetTestOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of InboxRulesetTestOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetTestResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/InboxRulesetTestResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..cdccdc90f --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetTestResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +InboxRulesetTestResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxRulesetTestResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.InboxRulesetTestResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    InboxRulesetTestResult
    +
    +
    +
    +
    public static class InboxRulesetTestResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/InboxRulesetTestResult.html b/site/com/mailslurp/models/InboxRulesetTestResult.html new file mode 100644 index 000000000..3867421c3 --- /dev/null +++ b/site/com/mailslurp/models/InboxRulesetTestResult.html @@ -0,0 +1,593 @@ + + + + + + +InboxRulesetTestResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class InboxRulesetTestResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class InboxRulesetTestResult
    +extends Object
    +
    Result of test of inbox ruleset
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InboxRulesetTestResult

        +
        public InboxRulesetTestResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getRulesetMatches

        +
        @Nonnull
        +public Map<String,Boolean> getRulesetMatches()
        +
        Map of inbox ruleset ID to boolean of if target matches
        +
        +
        Returns:
        +
        rulesetMatches
        +
        +
      • +
      + + + +
        +
      • +

        setRulesetMatches

        +
        public void setRulesetMatches(Map<String,Boolean> rulesetMatches)
        +
      • +
      + + + + + + + +
        +
      • +

        getMatches

        +
        @Nonnull
        +public Boolean getMatches()
        +
        Get matches
        +
        +
        Returns:
        +
        matches
        +
        +
      • +
      + + + +
        +
      • +

        setMatches

        +
        public void setMatches(Boolean matches)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to InboxRulesetTestResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static InboxRulesetTestResult fromJson(String jsonString)
        +                                       throws IOException
        +
        Create an instance of InboxRulesetTestResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of InboxRulesetTestResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to InboxRulesetTestResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of InboxRulesetTestResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/JSONSchemaDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/JSONSchemaDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2b014eb59 --- /dev/null +++ b/site/com/mailslurp/models/JSONSchemaDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +JSONSchemaDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class JSONSchemaDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.JSONSchemaDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    JSONSchemaDto
    +
    +
    +
    +
    public static class JSONSchemaDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/JSONSchemaDto.html b/site/com/mailslurp/models/JSONSchemaDto.html new file mode 100644 index 000000000..cf42d9990 --- /dev/null +++ b/site/com/mailslurp/models/JSONSchemaDto.html @@ -0,0 +1,514 @@ + + + + + + +JSONSchemaDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class JSONSchemaDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class JSONSchemaDto
    +extends Object
    +
    JSONSchema for payload
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JSONSchemaDto

        +
        public JSONSchemaDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getValue

        +
        @Nonnull
        +public String getValue()
        +
        Get value
        +
        +
        Returns:
        +
        value
        +
        +
      • +
      + + + +
        +
      • +

        setValue

        +
        public void setValue(String value)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to JSONSchemaDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static JSONSchemaDto fromJson(String jsonString)
        +                              throws IOException
        +
        Create an instance of JSONSchemaDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of JSONSchemaDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to JSONSchemaDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of JSONSchemaDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f46dba687 --- /dev/null +++ b/site/com/mailslurp/models/ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ListUnsubscribeRecipientProjection
    +
    +
    +
    +
    public static class ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ListUnsubscribeRecipientProjection.html b/site/com/mailslurp/models/ListUnsubscribeRecipientProjection.html new file mode 100644 index 000000000..5bad51b06 --- /dev/null +++ b/site/com/mailslurp/models/ListUnsubscribeRecipientProjection.html @@ -0,0 +1,706 @@ + + + + + + +ListUnsubscribeRecipientProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ListUnsubscribeRecipientProjection

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ListUnsubscribeRecipientProjection
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ListUnsubscribeRecipientProjection
    +extends Object
    +
    List unsubscribe recipient
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MatchOption.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/MatchOption.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ff3416f3c --- /dev/null +++ b/site/com/mailslurp/models/MatchOption.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +MatchOption.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class MatchOption.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.MatchOption.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    MatchOption
    +
    +
    +
    +
    public static class MatchOption.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MatchOption.FieldEnum.Adapter.html b/site/com/mailslurp/models/MatchOption.FieldEnum.Adapter.html new file mode 100644 index 000000000..476005a7e --- /dev/null +++ b/site/com/mailslurp/models/MatchOption.FieldEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +MatchOption.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class MatchOption.FieldEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MatchOption.FieldEnum.html b/site/com/mailslurp/models/MatchOption.FieldEnum.html new file mode 100644 index 000000000..e761eafb2 --- /dev/null +++ b/site/com/mailslurp/models/MatchOption.FieldEnum.html @@ -0,0 +1,446 @@ + + + + + + +MatchOption.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum MatchOption.FieldEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static MatchOption.FieldEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (MatchOption.FieldEnum c : MatchOption.FieldEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static MatchOption.FieldEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MatchOption.ShouldEnum.Adapter.html b/site/com/mailslurp/models/MatchOption.ShouldEnum.Adapter.html new file mode 100644 index 000000000..690d1f533 --- /dev/null +++ b/site/com/mailslurp/models/MatchOption.ShouldEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +MatchOption.ShouldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class MatchOption.ShouldEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MatchOption.ShouldEnum.html b/site/com/mailslurp/models/MatchOption.ShouldEnum.html new file mode 100644 index 000000000..041f42a3a --- /dev/null +++ b/site/com/mailslurp/models/MatchOption.ShouldEnum.html @@ -0,0 +1,410 @@ + + + + + + +MatchOption.ShouldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum MatchOption.ShouldEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static MatchOption.ShouldEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (MatchOption.ShouldEnum c : MatchOption.ShouldEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static MatchOption.ShouldEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MatchOption.html b/site/com/mailslurp/models/MatchOption.html new file mode 100644 index 000000000..b157944f0 --- /dev/null +++ b/site/com/mailslurp/models/MatchOption.html @@ -0,0 +1,654 @@ + + + + + + +MatchOption (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class MatchOption

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class MatchOption
    +extends Object
    +
    Options for matching emails in an inbox. Each match option object contains a `field`, `should` and `value` property. Together they form logical conditions such as `SUBJECT` should `CONTAIN` value.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MatchOption

        +
        public MatchOption()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getField

        +
        @Nonnull
        +public MatchOption.FieldEnum getField()
        +
        Fields of an email object that can be used to filter results
        +
        +
        Returns:
        +
        field
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getShould

        +
        @Nonnull
        +public MatchOption.ShouldEnum getShould()
        +
        How the value of the email field specified should be compared to the value given in the match options.
        +
        +
        Returns:
        +
        should
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getValue

        +
        @Nonnull
        +public String getValue()
        +
        The value you wish to compare with the value of the field specified using the `should` value passed. For example `BODY` should `CONTAIN` a value passed.
        +
        +
        Returns:
        +
        value
        +
        +
      • +
      + + + +
        +
      • +

        setValue

        +
        public void setValue(String value)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to MatchOption
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static MatchOption fromJson(String jsonString)
        +                            throws IOException
        +
        Create an instance of MatchOption given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of MatchOption
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to MatchOption
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of MatchOption to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MatchOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/MatchOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f19fc1356 --- /dev/null +++ b/site/com/mailslurp/models/MatchOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +MatchOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class MatchOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.MatchOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    MatchOptions
    +
    +
    +
    +
    public static class MatchOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MatchOptions.html b/site/com/mailslurp/models/MatchOptions.html new file mode 100644 index 000000000..c7acad763 --- /dev/null +++ b/site/com/mailslurp/models/MatchOptions.html @@ -0,0 +1,604 @@ + + + + + + +MatchOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class MatchOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class MatchOptions
    +extends Object
    +
    Optional filter for matching emails based on fields. For instance filter results to only include emails whose `SUBJECT` value does `CONTAIN` given match value. An example payload would be `{ matches: [{ field: 'SUBJECT', should: 'CONTAIN', value: 'Welcome' }] }`. You can also pass conditions such as `HAS_ATTACHMENT`. If you wish to extract regex matches inside the email content see the `getEmailContentMatch` method in the EmailController.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MatchOptions

        +
        public MatchOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getMatches

        +
        @Nullable
        +public List<MatchOption> getMatches()
        +
        Zero or more match options such as `{ field: 'SUBJECT', should: 'CONTAIN', value: 'Welcome' }`. Options are additive so if one does not match the email is excluded from results
        +
        +
        Returns:
        +
        matches
        +
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        getConditions

        +
        @Nullable
        +public List<ConditionOption> getConditions()
        +
        Zero or more conditions such as `{ condition: 'HAS_ATTACHMENTS', value: 'TRUE' }`. Note the values are the strings `TRUE|FALSE` not booleans.
        +
        +
        Returns:
        +
        conditions
        +
        +
      • +
      + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to MatchOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static MatchOptions fromJson(String jsonString)
        +                             throws IOException
        +
        Create an instance of MatchOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of MatchOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to MatchOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of MatchOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MissedEmailDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/MissedEmailDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4ec8f304b --- /dev/null +++ b/site/com/mailslurp/models/MissedEmailDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +MissedEmailDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class MissedEmailDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.MissedEmailDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    MissedEmailDto
    +
    +
    +
    +
    public static class MissedEmailDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MissedEmailDto.html b/site/com/mailslurp/models/MissedEmailDto.html new file mode 100644 index 000000000..530c02a8c --- /dev/null +++ b/site/com/mailslurp/models/MissedEmailDto.html @@ -0,0 +1,1526 @@ + + + + + + +MissedEmailDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class MissedEmailDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class MissedEmailDto
    +extends Object
    +
    Missed email
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MissedEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/MissedEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5d26dd4f7 --- /dev/null +++ b/site/com/mailslurp/models/MissedEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +MissedEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class MissedEmailProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.MissedEmailProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    MissedEmailProjection
    +
    +
    +
    +
    public static class MissedEmailProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/MissedEmailProjection.html b/site/com/mailslurp/models/MissedEmailProjection.html new file mode 100644 index 000000000..19ebaf18f --- /dev/null +++ b/site/com/mailslurp/models/MissedEmailProjection.html @@ -0,0 +1,770 @@ + + + + + + +MissedEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class MissedEmailProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class MissedEmailProjection
    +extends Object
    +
    Missed email data
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/NameServerRecord.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/NameServerRecord.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..371d1bb31 --- /dev/null +++ b/site/com/mailslurp/models/NameServerRecord.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +NameServerRecord.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class NameServerRecord.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.NameServerRecord.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    NameServerRecord
    +
    +
    +
    +
    public static class NameServerRecord.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/NameServerRecord.html b/site/com/mailslurp/models/NameServerRecord.html new file mode 100644 index 000000000..6fe06483e --- /dev/null +++ b/site/com/mailslurp/models/NameServerRecord.html @@ -0,0 +1,706 @@ + + + + + + +NameServerRecord (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class NameServerRecord

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class NameServerRecord
    +extends Object
    +
    Name Server Record
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NameServerRecord

        +
        public NameServerRecord()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getRaw

        +
        @Nonnull
        +public String getRaw()
        +
        Get raw
        +
        +
        Returns:
        +
        raw
        +
        +
      • +
      + + + +
        +
      • +

        setRaw

        +
        public void setRaw(String raw)
        +
      • +
      + + + + + + + +
        +
      • +

        getRecordType

        +
        @Nonnull
        +public String getRecordType()
        +
        Get recordType
        +
        +
        Returns:
        +
        recordType
        +
        +
      • +
      + + + +
        +
      • +

        setRecordType

        +
        public void setRecordType(String recordType)
        +
      • +
      + + + + + + + +
        +
      • +

        getPriority

        +
        @Nonnull
        +public String getPriority()
        +
        Get priority
        +
        +
        Returns:
        +
        priority
        +
        +
      • +
      + + + +
        +
      • +

        setPriority

        +
        public void setPriority(String priority)
        +
      • +
      + + + + + + + +
        +
      • +

        getValue

        +
        @Nonnull
        +public String getValue()
        +
        Get value
        +
        +
        Returns:
        +
        value
        +
        +
      • +
      + + + +
        +
      • +

        setValue

        +
        public void setValue(String value)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to NameServerRecord
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static NameServerRecord fromJson(String jsonString)
        +                                 throws IOException
        +
        Create an instance of NameServerRecord given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of NameServerRecord
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to NameServerRecord
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of NameServerRecord to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/OrganizationInboxProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/OrganizationInboxProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6570d7a6e --- /dev/null +++ b/site/com/mailslurp/models/OrganizationInboxProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +OrganizationInboxProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class OrganizationInboxProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.OrganizationInboxProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    OrganizationInboxProjection
    +
    +
    +
    +
    public static class OrganizationInboxProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/OrganizationInboxProjection.InboxTypeEnum.Adapter.html b/site/com/mailslurp/models/OrganizationInboxProjection.InboxTypeEnum.Adapter.html new file mode 100644 index 000000000..28a08c6d1 --- /dev/null +++ b/site/com/mailslurp/models/OrganizationInboxProjection.InboxTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +OrganizationInboxProjection.InboxTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class OrganizationInboxProjection.InboxTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/OrganizationInboxProjection.InboxTypeEnum.html b/site/com/mailslurp/models/OrganizationInboxProjection.InboxTypeEnum.html new file mode 100644 index 000000000..e253c0deb --- /dev/null +++ b/site/com/mailslurp/models/OrganizationInboxProjection.InboxTypeEnum.html @@ -0,0 +1,410 @@ + + + + + + +OrganizationInboxProjection.InboxTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum OrganizationInboxProjection.InboxTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/OrganizationInboxProjection.html b/site/com/mailslurp/models/OrganizationInboxProjection.html new file mode 100644 index 000000000..c24fe1a47 --- /dev/null +++ b/site/com/mailslurp/models/OrganizationInboxProjection.html @@ -0,0 +1,1173 @@ + + + + + + +OrganizationInboxProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class OrganizationInboxProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class OrganizationInboxProjection
    +extends Object
    +
    Organization team inbox
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        OrganizationInboxProjection

        +
        public OrganizationInboxProjection()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically.
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getDomainId

        +
        @Nullable
        +public UUID getDomainId()
        +
        ID of custom domain used by the inbox if any
        +
        +
        Returns:
        +
        domainId
        +
        +
      • +
      + + + +
        +
      • +

        setDomainId

        +
        public void setDomainId(UUID domainId)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`.
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getEmailAddress

        +
        @Nullable
        +public String getEmailAddress()
        +
        The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getFavourite

        +
        @Nonnull
        +public Boolean getFavourite()
        +
        Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering
        +
        +
        Returns:
        +
        favourite
        +
        +
      • +
      + + + +
        +
      • +

        setFavourite

        +
        public void setFavourite(Boolean favourite)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getTags

        +
        @Nullable
        +public List<String> getTags()
        +
        Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
        +
        +
        Returns:
        +
        tags
        +
        +
      • +
      + + + +
        +
      • +

        setTags

        +
        public void setTags(List<String> tags)
        +
      • +
      + + + + + + + +
        +
      • +

        getTeamAccess

        +
        @Nonnull
        +public Boolean getTeamAccess()
        +
        Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/
        +
        +
        Returns:
        +
        teamAccess
        +
        +
      • +
      + + + +
        +
      • +

        setTeamAccess

        +
        public void setTeamAccess(Boolean teamAccess)
        +
      • +
      + + + + + + + +
        +
      • +

        getInboxType

        +
        @Nullable
        +public OrganizationInboxProjection.InboxTypeEnum getInboxType()
        +
        Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send).
        +
        +
        Returns:
        +
        inboxType
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getReadOnly

        +
        @Nonnull
        +public Boolean getReadOnly()
        +
        Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes.
        +
        +
        Returns:
        +
        readOnly
        +
        +
      • +
      + + + +
        +
      • +

        setReadOnly

        +
        public void setReadOnly(Boolean readOnly)
        +
      • +
      + + + + + + + +
        +
      • +

        getVirtualInbox

        +
        @Nonnull
        +public Boolean getVirtualInbox()
        +
        Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions.
        +
        +
        Returns:
        +
        virtualInbox
        +
        +
      • +
      + + + +
        +
      • +

        setVirtualInbox

        +
        public void setVirtualInbox(Boolean virtualInbox)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to OrganizationInboxProjection
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static OrganizationInboxProjection fromJson(String jsonString)
        +                                            throws IOException
        +
        Create an instance of OrganizationInboxProjection given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of OrganizationInboxProjection
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to OrganizationInboxProjection
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of OrganizationInboxProjection to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageAlias.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageAlias.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..daee309dc --- /dev/null +++ b/site/com/mailslurp/models/PageAlias.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageAlias.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageAlias.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageAlias.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageAlias
    +
    +
    +
    +
    public static class PageAlias.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageAlias.html b/site/com/mailslurp/models/PageAlias.html new file mode 100644 index 000000000..e222f29c8 --- /dev/null +++ b/site/com/mailslurp/models/PageAlias.html @@ -0,0 +1,1231 @@ + + + + + + +PageAlias (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageAlias

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageAlias
    +extends Object
    +
    Paginated email alias results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageAttachmentEntity.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageAttachmentEntity.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1948b19e2 --- /dev/null +++ b/site/com/mailslurp/models/PageAttachmentEntity.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageAttachmentEntity.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageAttachmentEntity.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageAttachmentEntity.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageAttachmentEntity
    +
    +
    +
    +
    public static class PageAttachmentEntity.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageAttachmentEntity.html b/site/com/mailslurp/models/PageAttachmentEntity.html new file mode 100644 index 000000000..009ec923d --- /dev/null +++ b/site/com/mailslurp/models/PageAttachmentEntity.html @@ -0,0 +1,1231 @@ + + + + + + +PageAttachmentEntity (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageAttachmentEntity

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageAttachmentEntity
    +extends Object
    +
    Paginated attachment entity results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageBouncedEmail.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageBouncedEmail.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..638def8a6 --- /dev/null +++ b/site/com/mailslurp/models/PageBouncedEmail.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageBouncedEmail.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageBouncedEmail.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageBouncedEmail.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageBouncedEmail
    +
    +
    +
    +
    public static class PageBouncedEmail.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageBouncedEmail.html b/site/com/mailslurp/models/PageBouncedEmail.html new file mode 100644 index 000000000..21a2ce7ce --- /dev/null +++ b/site/com/mailslurp/models/PageBouncedEmail.html @@ -0,0 +1,1231 @@ + + + + + + +PageBouncedEmail (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageBouncedEmail

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageBouncedEmail
    +extends Object
    +
    Paginated bounced email. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageBouncedRecipients.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageBouncedRecipients.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6e39676ef --- /dev/null +++ b/site/com/mailslurp/models/PageBouncedRecipients.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageBouncedRecipients.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageBouncedRecipients.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageBouncedRecipients.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageBouncedRecipients
    +
    +
    +
    +
    public static class PageBouncedRecipients.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageBouncedRecipients.html b/site/com/mailslurp/models/PageBouncedRecipients.html new file mode 100644 index 000000000..e4136591b --- /dev/null +++ b/site/com/mailslurp/models/PageBouncedRecipients.html @@ -0,0 +1,1231 @@ + + + + + + +PageBouncedRecipients (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageBouncedRecipients

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageBouncedRecipients
    +extends Object
    +
    Paginated bounced recipients. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageComplaint.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageComplaint.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e8769b934 --- /dev/null +++ b/site/com/mailslurp/models/PageComplaint.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageComplaint.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageComplaint.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageComplaint.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageComplaint
    +
    +
    +
    +
    public static class PageComplaint.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageComplaint.html b/site/com/mailslurp/models/PageComplaint.html new file mode 100644 index 000000000..01e9b51db --- /dev/null +++ b/site/com/mailslurp/models/PageComplaint.html @@ -0,0 +1,1231 @@ + + + + + + +PageComplaint (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageComplaint

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageComplaint
    +extends Object
    +
    Paginated complaint email. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageConnector.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageConnector.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..7bf330e94 --- /dev/null +++ b/site/com/mailslurp/models/PageConnector.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageConnector.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageConnector.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageConnector.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageConnector
    +
    +
    +
    +
    public static class PageConnector.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageConnector.html b/site/com/mailslurp/models/PageConnector.html new file mode 100644 index 000000000..e9d7b5e67 --- /dev/null +++ b/site/com/mailslurp/models/PageConnector.html @@ -0,0 +1,1231 @@ + + + + + + +PageConnector (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageConnector

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageConnector
    +extends Object
    +
    Paginated inbox connectors. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageConnectorSyncEvents.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageConnectorSyncEvents.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e96c9a29f --- /dev/null +++ b/site/com/mailslurp/models/PageConnectorSyncEvents.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageConnectorSyncEvents.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageConnectorSyncEvents.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageConnectorSyncEvents.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageConnectorSyncEvents
    +
    +
    +
    +
    public static class PageConnectorSyncEvents.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageConnectorSyncEvents.html b/site/com/mailslurp/models/PageConnectorSyncEvents.html new file mode 100644 index 000000000..d15ba4bbc --- /dev/null +++ b/site/com/mailslurp/models/PageConnectorSyncEvents.html @@ -0,0 +1,1231 @@ + + + + + + +PageConnectorSyncEvents (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageConnectorSyncEvents

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageConnectorSyncEvents
    +extends Object
    +
    Paginated inbox connector sync events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageContactProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageContactProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..cca7bfd2a --- /dev/null +++ b/site/com/mailslurp/models/PageContactProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageContactProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageContactProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageContactProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageContactProjection
    +
    +
    +
    +
    public static class PageContactProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageContactProjection.html b/site/com/mailslurp/models/PageContactProjection.html new file mode 100644 index 000000000..f7a859ccf --- /dev/null +++ b/site/com/mailslurp/models/PageContactProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageContactProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageContactProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageContactProjection
    +extends Object
    +
    Paginated contact results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageDeliveryStatus.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageDeliveryStatus.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..7640261bf --- /dev/null +++ b/site/com/mailslurp/models/PageDeliveryStatus.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageDeliveryStatus.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageDeliveryStatus.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageDeliveryStatus.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageDeliveryStatus
    +
    +
    +
    +
    public static class PageDeliveryStatus.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageDeliveryStatus.html b/site/com/mailslurp/models/PageDeliveryStatus.html new file mode 100644 index 000000000..76e625d6f --- /dev/null +++ b/site/com/mailslurp/models/PageDeliveryStatus.html @@ -0,0 +1,1231 @@ + + + + + + +PageDeliveryStatus (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageDeliveryStatus

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageDeliveryStatus
    +extends Object
    +
    Paginated delivery status results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageEmailPreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageEmailPreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..31ee90eca --- /dev/null +++ b/site/com/mailslurp/models/PageEmailPreview.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageEmailPreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageEmailPreview.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageEmailPreview.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageEmailPreview
    +
    +
    +
    +
    public static class PageEmailPreview.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageEmailPreview.html b/site/com/mailslurp/models/PageEmailPreview.html new file mode 100644 index 000000000..4d42069a7 --- /dev/null +++ b/site/com/mailslurp/models/PageEmailPreview.html @@ -0,0 +1,1231 @@ + + + + + + +PageEmailPreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageEmailPreview

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageEmailPreview
    +extends Object
    +
    Paginated email preview results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..877c5f7c2 --- /dev/null +++ b/site/com/mailslurp/models/PageEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageEmailProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageEmailProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageEmailProjection
    +
    +
    +
    +
    public static class PageEmailProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageEmailProjection.html b/site/com/mailslurp/models/PageEmailProjection.html new file mode 100644 index 000000000..75a4b1309 --- /dev/null +++ b/site/com/mailslurp/models/PageEmailProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageEmailProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageEmailProjection
    +extends Object
    +
    Paginated email projection results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full email entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageEmailValidationRequest.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageEmailValidationRequest.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ce584a207 --- /dev/null +++ b/site/com/mailslurp/models/PageEmailValidationRequest.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageEmailValidationRequest.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageEmailValidationRequest.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageEmailValidationRequest.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageEmailValidationRequest
    +
    +
    +
    +
    public static class PageEmailValidationRequest.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageEmailValidationRequest.html b/site/com/mailslurp/models/PageEmailValidationRequest.html new file mode 100644 index 000000000..6dce94f1c --- /dev/null +++ b/site/com/mailslurp/models/PageEmailValidationRequest.html @@ -0,0 +1,1231 @@ + + + + + + +PageEmailValidationRequest (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageEmailValidationRequest

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageEmailValidationRequest
    +extends Object
    +
    Paginated email validation request records. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageExpiredInboxRecordProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageExpiredInboxRecordProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..79458b687 --- /dev/null +++ b/site/com/mailslurp/models/PageExpiredInboxRecordProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageExpiredInboxRecordProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageExpiredInboxRecordProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageExpiredInboxRecordProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageExpiredInboxRecordProjection
    +
    +
    +
    +
    public static class PageExpiredInboxRecordProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageExpiredInboxRecordProjection.html b/site/com/mailslurp/models/PageExpiredInboxRecordProjection.html new file mode 100644 index 000000000..083f760fe --- /dev/null +++ b/site/com/mailslurp/models/PageExpiredInboxRecordProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageExpiredInboxRecordProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageExpiredInboxRecordProjection

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageExpiredInboxRecordProjection
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageExpiredInboxRecordProjection
    +extends Object
    +
    Paginated expired inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageGroupProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageGroupProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..130ee6c60 --- /dev/null +++ b/site/com/mailslurp/models/PageGroupProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageGroupProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageGroupProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageGroupProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageGroupProjection
    +
    +
    +
    +
    public static class PageGroupProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageGroupProjection.html b/site/com/mailslurp/models/PageGroupProjection.html new file mode 100644 index 000000000..c305a12a7 --- /dev/null +++ b/site/com/mailslurp/models/PageGroupProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageGroupProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageGroupProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageGroupProjection
    +extends Object
    +
    Paginated missed email results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxForwarderDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageInboxForwarderDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8f55abca9 --- /dev/null +++ b/site/com/mailslurp/models/PageInboxForwarderDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageInboxForwarderDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxForwarderDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageInboxForwarderDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageInboxForwarderDto
    +
    +
    +
    +
    public static class PageInboxForwarderDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxForwarderDto.html b/site/com/mailslurp/models/PageInboxForwarderDto.html new file mode 100644 index 000000000..bbc7d6480 --- /dev/null +++ b/site/com/mailslurp/models/PageInboxForwarderDto.html @@ -0,0 +1,1231 @@ + + + + + + +PageInboxForwarderDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxForwarderDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageInboxForwarderDto
    +extends Object
    +
    Paginated inbox forwarder results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxForwarderEvents.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageInboxForwarderEvents.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e72ace03d --- /dev/null +++ b/site/com/mailslurp/models/PageInboxForwarderEvents.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageInboxForwarderEvents.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxForwarderEvents.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageInboxForwarderEvents.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageInboxForwarderEvents
    +
    +
    +
    +
    public static class PageInboxForwarderEvents.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxForwarderEvents.html b/site/com/mailslurp/models/PageInboxForwarderEvents.html new file mode 100644 index 000000000..1dc0ea4c5 --- /dev/null +++ b/site/com/mailslurp/models/PageInboxForwarderEvents.html @@ -0,0 +1,1231 @@ + + + + + + +PageInboxForwarderEvents (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxForwarderEvents

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageInboxForwarderEvents
    +extends Object
    +
    Paginated inbox forwarder events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageInboxProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a1ac3cbad --- /dev/null +++ b/site/com/mailslurp/models/PageInboxProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageInboxProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageInboxProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageInboxProjection
    +
    +
    +
    +
    public static class PageInboxProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxProjection.html b/site/com/mailslurp/models/PageInboxProjection.html new file mode 100644 index 000000000..5dfe93d13 --- /dev/null +++ b/site/com/mailslurp/models/PageInboxProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageInboxProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageInboxProjection
    +extends Object
    +
    Paginated inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxReplierDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageInboxReplierDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d7782f0f3 --- /dev/null +++ b/site/com/mailslurp/models/PageInboxReplierDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageInboxReplierDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxReplierDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageInboxReplierDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageInboxReplierDto
    +
    +
    +
    +
    public static class PageInboxReplierDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxReplierDto.html b/site/com/mailslurp/models/PageInboxReplierDto.html new file mode 100644 index 000000000..a79e94346 --- /dev/null +++ b/site/com/mailslurp/models/PageInboxReplierDto.html @@ -0,0 +1,1231 @@ + + + + + + +PageInboxReplierDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxReplierDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageInboxReplierDto
    +extends Object
    +
    Paginated inbox replier results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxReplierEvents.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageInboxReplierEvents.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1dac1ff56 --- /dev/null +++ b/site/com/mailslurp/models/PageInboxReplierEvents.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageInboxReplierEvents.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxReplierEvents.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageInboxReplierEvents.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageInboxReplierEvents
    +
    +
    +
    +
    public static class PageInboxReplierEvents.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxReplierEvents.html b/site/com/mailslurp/models/PageInboxReplierEvents.html new file mode 100644 index 000000000..0c43df69f --- /dev/null +++ b/site/com/mailslurp/models/PageInboxReplierEvents.html @@ -0,0 +1,1231 @@ + + + + + + +PageInboxReplierEvents (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxReplierEvents

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageInboxReplierEvents
    +extends Object
    +
    Paginated inbox replier events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxRulesetDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageInboxRulesetDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..da858380e --- /dev/null +++ b/site/com/mailslurp/models/PageInboxRulesetDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageInboxRulesetDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxRulesetDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageInboxRulesetDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageInboxRulesetDto
    +
    +
    +
    +
    public static class PageInboxRulesetDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageInboxRulesetDto.html b/site/com/mailslurp/models/PageInboxRulesetDto.html new file mode 100644 index 000000000..c837fcde5 --- /dev/null +++ b/site/com/mailslurp/models/PageInboxRulesetDto.html @@ -0,0 +1,1231 @@ + + + + + + +PageInboxRulesetDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageInboxRulesetDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageInboxRulesetDto
    +extends Object
    +
    Paginated inbox ruleset results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageListUnsubscribeRecipients.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageListUnsubscribeRecipients.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5f43e6cfe --- /dev/null +++ b/site/com/mailslurp/models/PageListUnsubscribeRecipients.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageListUnsubscribeRecipients.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageListUnsubscribeRecipients.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageListUnsubscribeRecipients.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageListUnsubscribeRecipients
    +
    +
    +
    +
    public static class PageListUnsubscribeRecipients.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageListUnsubscribeRecipients.html b/site/com/mailslurp/models/PageListUnsubscribeRecipients.html new file mode 100644 index 000000000..d40c4315e --- /dev/null +++ b/site/com/mailslurp/models/PageListUnsubscribeRecipients.html @@ -0,0 +1,1231 @@ + + + + + + +PageListUnsubscribeRecipients (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageListUnsubscribeRecipients

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageListUnsubscribeRecipients
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageListUnsubscribeRecipients
    +extends Object
    +
    Paginated list unsubscribe recipients. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageMissedEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageMissedEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..46c67f814 --- /dev/null +++ b/site/com/mailslurp/models/PageMissedEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageMissedEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageMissedEmailProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageMissedEmailProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageMissedEmailProjection
    +
    +
    +
    +
    public static class PageMissedEmailProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageMissedEmailProjection.html b/site/com/mailslurp/models/PageMissedEmailProjection.html new file mode 100644 index 000000000..8aa552f44 --- /dev/null +++ b/site/com/mailslurp/models/PageMissedEmailProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageMissedEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageMissedEmailProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageMissedEmailProjection
    +extends Object
    +
    Paginated MissedEmail results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageOrganizationInboxProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageOrganizationInboxProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a20458c1e --- /dev/null +++ b/site/com/mailslurp/models/PageOrganizationInboxProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageOrganizationInboxProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageOrganizationInboxProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageOrganizationInboxProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageOrganizationInboxProjection
    +
    +
    +
    +
    public static class PageOrganizationInboxProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageOrganizationInboxProjection.html b/site/com/mailslurp/models/PageOrganizationInboxProjection.html new file mode 100644 index 000000000..444960130 --- /dev/null +++ b/site/com/mailslurp/models/PageOrganizationInboxProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageOrganizationInboxProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageOrganizationInboxProjection

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageOrganizationInboxProjection
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageOrganizationInboxProjection
    +extends Object
    +
    Paginated organization inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PagePhoneNumberProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PagePhoneNumberProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..81e34d4e9 --- /dev/null +++ b/site/com/mailslurp/models/PagePhoneNumberProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PagePhoneNumberProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PagePhoneNumberProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PagePhoneNumberProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PagePhoneNumberProjection
    +
    +
    +
    +
    public static class PagePhoneNumberProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PagePhoneNumberProjection.html b/site/com/mailslurp/models/PagePhoneNumberProjection.html new file mode 100644 index 000000000..0ca825c62 --- /dev/null +++ b/site/com/mailslurp/models/PagePhoneNumberProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PagePhoneNumberProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PagePhoneNumberProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PagePhoneNumberProjection
    +extends Object
    +
    Paginated phone numbers. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageScheduledJobs.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageScheduledJobs.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0ab25b825 --- /dev/null +++ b/site/com/mailslurp/models/PageScheduledJobs.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageScheduledJobs.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageScheduledJobs.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageScheduledJobs.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageScheduledJobs
    +
    +
    +
    +
    public static class PageScheduledJobs.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageScheduledJobs.html b/site/com/mailslurp/models/PageScheduledJobs.html new file mode 100644 index 000000000..e38784493 --- /dev/null +++ b/site/com/mailslurp/models/PageScheduledJobs.html @@ -0,0 +1,1231 @@ + + + + + + +PageScheduledJobs (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageScheduledJobs

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageScheduledJobs
    +extends Object
    +
    Paginated scheduled jobs results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageSentEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageSentEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..080d4f76e --- /dev/null +++ b/site/com/mailslurp/models/PageSentEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageSentEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageSentEmailProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageSentEmailProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageSentEmailProjection
    +
    +
    +
    +
    public static class PageSentEmailProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageSentEmailProjection.html b/site/com/mailslurp/models/PageSentEmailProjection.html new file mode 100644 index 000000000..a51faca8b --- /dev/null +++ b/site/com/mailslurp/models/PageSentEmailProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageSentEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageSentEmailProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageSentEmailProjection
    +extends Object
    +
    Paginated sent email results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full sent email entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageSentEmailWithQueueProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageSentEmailWithQueueProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..34149ca80 --- /dev/null +++ b/site/com/mailslurp/models/PageSentEmailWithQueueProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageSentEmailWithQueueProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageSentEmailWithQueueProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageSentEmailWithQueueProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageSentEmailWithQueueProjection
    +
    +
    +
    +
    public static class PageSentEmailWithQueueProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageSentEmailWithQueueProjection.html b/site/com/mailslurp/models/PageSentEmailWithQueueProjection.html new file mode 100644 index 000000000..2b88eb2b4 --- /dev/null +++ b/site/com/mailslurp/models/PageSentEmailWithQueueProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageSentEmailWithQueueProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageSentEmailWithQueueProjection

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageSentEmailWithQueueProjection
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageSentEmailWithQueueProjection
    +extends Object
    +
    Paginated sent email results for emails sent with queue. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full sent email entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageSmsProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageSmsProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0290ceb6f --- /dev/null +++ b/site/com/mailslurp/models/PageSmsProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageSmsProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageSmsProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageSmsProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageSmsProjection
    +
    +
    +
    +
    public static class PageSmsProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageSmsProjection.html b/site/com/mailslurp/models/PageSmsProjection.html new file mode 100644 index 000000000..591b313f4 --- /dev/null +++ b/site/com/mailslurp/models/PageSmsProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageSmsProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageSmsProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageSmsProjection
    +extends Object
    +
    Paginated SMS messages. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageTemplateProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageTemplateProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..01c9cf6e1 --- /dev/null +++ b/site/com/mailslurp/models/PageTemplateProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageTemplateProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageTemplateProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageTemplateProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageTemplateProjection
    +
    +
    +
    +
    public static class PageTemplateProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageTemplateProjection.html b/site/com/mailslurp/models/PageTemplateProjection.html new file mode 100644 index 000000000..ae261d32d --- /dev/null +++ b/site/com/mailslurp/models/PageTemplateProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageTemplateProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageTemplateProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageTemplateProjection
    +extends Object
    +
    Paginated email template results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageThreadProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageThreadProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..458e569c2 --- /dev/null +++ b/site/com/mailslurp/models/PageThreadProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageThreadProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageThreadProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageThreadProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageThreadProjection
    +
    +
    +
    +
    public static class PageThreadProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageThreadProjection.html b/site/com/mailslurp/models/PageThreadProjection.html new file mode 100644 index 000000000..a924b59d4 --- /dev/null +++ b/site/com/mailslurp/models/PageThreadProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageThreadProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageThreadProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageThreadProjection
    +extends Object
    +
    Paginated email projection results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full email entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageTrackingPixelProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageTrackingPixelProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..02a06aa83 --- /dev/null +++ b/site/com/mailslurp/models/PageTrackingPixelProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageTrackingPixelProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageTrackingPixelProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageTrackingPixelProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageTrackingPixelProjection
    +
    +
    +
    +
    public static class PageTrackingPixelProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageTrackingPixelProjection.html b/site/com/mailslurp/models/PageTrackingPixelProjection.html new file mode 100644 index 000000000..6f16d7269 --- /dev/null +++ b/site/com/mailslurp/models/PageTrackingPixelProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageTrackingPixelProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageTrackingPixelProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageTrackingPixelProjection
    +extends Object
    +
    Paginated TrackingPixel results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageUnknownMissedEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageUnknownMissedEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8ecfddf66 --- /dev/null +++ b/site/com/mailslurp/models/PageUnknownMissedEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageUnknownMissedEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageUnknownMissedEmailProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageUnknownMissedEmailProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageUnknownMissedEmailProjection
    +
    +
    +
    +
    public static class PageUnknownMissedEmailProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageUnknownMissedEmailProjection.html b/site/com/mailslurp/models/PageUnknownMissedEmailProjection.html new file mode 100644 index 000000000..a4b3ee915 --- /dev/null +++ b/site/com/mailslurp/models/PageUnknownMissedEmailProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageUnknownMissedEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageUnknownMissedEmailProjection

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageUnknownMissedEmailProjection
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageUnknownMissedEmailProjection
    +extends Object
    +
    Paginated unknown MissedEmail results. Unknown missed emails are emails that were sent to MailSlurp /Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageWebhookProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageWebhookProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f2682ee9f --- /dev/null +++ b/site/com/mailslurp/models/PageWebhookProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageWebhookProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageWebhookProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageWebhookProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageWebhookProjection
    +
    +
    +
    +
    public static class PageWebhookProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageWebhookProjection.html b/site/com/mailslurp/models/PageWebhookProjection.html new file mode 100644 index 000000000..e1773b9e4 --- /dev/null +++ b/site/com/mailslurp/models/PageWebhookProjection.html @@ -0,0 +1,1231 @@ + + + + + + +PageWebhookProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageWebhookProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageWebhookProjection
    +extends Object
    +
    Paginated webhook entity. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageWebhookResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageWebhookResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6c323a571 --- /dev/null +++ b/site/com/mailslurp/models/PageWebhookResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageWebhookResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageWebhookResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageWebhookResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageWebhookResult
    +
    +
    +
    +
    public static class PageWebhookResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageWebhookResult.html b/site/com/mailslurp/models/PageWebhookResult.html new file mode 100644 index 000000000..bec38459f --- /dev/null +++ b/site/com/mailslurp/models/PageWebhookResult.html @@ -0,0 +1,1231 @@ + + + + + + +PageWebhookResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageWebhookResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageWebhookResult
    +extends Object
    +
    Paginated webhook results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageableObject.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PageableObject.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8c5d24f2f --- /dev/null +++ b/site/com/mailslurp/models/PageableObject.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PageableObject.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageableObject.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PageableObject.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PageableObject
    +
    +
    +
    +
    public static class PageableObject.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PageableObject.html b/site/com/mailslurp/models/PageableObject.html new file mode 100644 index 000000000..3876ca7f3 --- /dev/null +++ b/site/com/mailslurp/models/PageableObject.html @@ -0,0 +1,834 @@ + + + + + + +PageableObject (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PageableObject

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PageableObject
    +extends Object
    +
    PageableObject
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PageableObject

        +
        public PageableObject()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getOffset

        +
        @Nullable
        +public Long getOffset()
        +
        Get offset
        +
        +
        Returns:
        +
        offset
        +
        +
      • +
      + + + +
        +
      • +

        setOffset

        +
        public void setOffset(Long offset)
        +
      • +
      + + + + + + + +
        +
      • +

        getSort

        +
        @Nullable
        +public Sort getSort()
        +
        Get sort
        +
        +
        Returns:
        +
        sort
        +
        +
      • +
      + + + +
        +
      • +

        setSort

        +
        public void setSort(Sort sort)
        +
      • +
      + + + + + + + +
        +
      • +

        getPageNumber

        +
        @Nullable
        +public Integer getPageNumber()
        +
        Get pageNumber
        +
        +
        Returns:
        +
        pageNumber
        +
        +
      • +
      + + + +
        +
      • +

        setPageNumber

        +
        public void setPageNumber(Integer pageNumber)
        +
      • +
      + + + + + + + +
        +
      • +

        getPageSize

        +
        @Nullable
        +public Integer getPageSize()
        +
        Get pageSize
        +
        +
        Returns:
        +
        pageSize
        +
        +
      • +
      + + + +
        +
      • +

        setPageSize

        +
        public void setPageSize(Integer pageSize)
        +
      • +
      + + + + + + + +
        +
      • +

        getPaged

        +
        @Nullable
        +public Boolean getPaged()
        +
        Get paged
        +
        +
        Returns:
        +
        paged
        +
        +
      • +
      + + + +
        +
      • +

        setPaged

        +
        public void setPaged(Boolean paged)
        +
      • +
      + + + + + + + +
        +
      • +

        getUnpaged

        +
        @Nullable
        +public Boolean getUnpaged()
        +
        Get unpaged
        +
        +
        Returns:
        +
        unpaged
        +
        +
      • +
      + + + +
        +
      • +

        setUnpaged

        +
        public void setUnpaged(Boolean unpaged)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to PageableObject
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static PageableObject fromJson(String jsonString)
        +                               throws IOException
        +
        Create an instance of PageableObject given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of PageableObject
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to PageableObject
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of PageableObject to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhoneNumberDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PhoneNumberDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..c7eab3d41 --- /dev/null +++ b/site/com/mailslurp/models/PhoneNumberDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PhoneNumberDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PhoneNumberDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PhoneNumberDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PhoneNumberDto
    +
    +
    +
    +
    public static class PhoneNumberDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhoneNumberDto.PhoneCountryEnum.Adapter.html b/site/com/mailslurp/models/PhoneNumberDto.PhoneCountryEnum.Adapter.html new file mode 100644 index 000000000..62ffa4ee8 --- /dev/null +++ b/site/com/mailslurp/models/PhoneNumberDto.PhoneCountryEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +PhoneNumberDto.PhoneCountryEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PhoneNumberDto.PhoneCountryEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhoneNumberDto.PhoneCountryEnum.html b/site/com/mailslurp/models/PhoneNumberDto.PhoneCountryEnum.html new file mode 100644 index 000000000..da51fa825 --- /dev/null +++ b/site/com/mailslurp/models/PhoneNumberDto.PhoneCountryEnum.html @@ -0,0 +1,422 @@ + + + + + + +PhoneNumberDto.PhoneCountryEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum PhoneNumberDto.PhoneCountryEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhoneNumberDto.html b/site/com/mailslurp/models/PhoneNumberDto.html new file mode 100644 index 000000000..4e1d5f312 --- /dev/null +++ b/site/com/mailslurp/models/PhoneNumberDto.html @@ -0,0 +1,1032 @@ + + + + + + +PhoneNumberDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PhoneNumberDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PhoneNumberDto
    +extends Object
    +
    PhoneNumberDto
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PhoneNumberDto

        +
        public PhoneNumberDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getUserId

        +
        @Nonnull
        +public UUID getUserId()
        +
        Get userId
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + +
        +
      • +

        complianceAddress

        +
        public PhoneNumberDto complianceAddress(UUID complianceAddress)
        +
      • +
      + + + +
        +
      • +

        getComplianceAddress

        +
        @Nullable
        +public UUID getComplianceAddress()
        +
        Get complianceAddress
        +
        +
        Returns:
        +
        complianceAddress
        +
        +
      • +
      + + + +
        +
      • +

        setComplianceAddress

        +
        public void setComplianceAddress(UUID complianceAddress)
        +
      • +
      + + + +
        +
      • +

        emergencyAddress

        +
        public PhoneNumberDto emergencyAddress(UUID emergencyAddress)
        +
      • +
      + + + +
        +
      • +

        getEmergencyAddress

        +
        @Nullable
        +public UUID getEmergencyAddress()
        +
        Get emergencyAddress
        +
        +
        Returns:
        +
        emergencyAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmergencyAddress

        +
        public void setEmergencyAddress(UUID emergencyAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getPhoneNumber

        +
        @Nonnull
        +public String getPhoneNumber()
        +
        Get phoneNumber
        +
        +
        Returns:
        +
        phoneNumber
        +
        +
      • +
      + + + +
        +
      • +

        setPhoneNumber

        +
        public void setPhoneNumber(String phoneNumber)
        +
      • +
      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getPhonePlan

        +
        @Nonnull
        +public UUID getPhonePlan()
        +
        Get phonePlan
        +
        +
        Returns:
        +
        phonePlan
        +
        +
      • +
      + + + +
        +
      • +

        setPhonePlan

        +
        public void setPhonePlan(UUID phonePlan)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getUpdatedAt

        +
        @Nonnull
        +public OffsetDateTime getUpdatedAt()
        +
        Get updatedAt
        +
        +
        Returns:
        +
        updatedAt
        +
        +
      • +
      + + + +
        +
      • +

        setUpdatedAt

        +
        public void setUpdatedAt(OffsetDateTime updatedAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to PhoneNumberDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static PhoneNumberDto fromJson(String jsonString)
        +                               throws IOException
        +
        Create an instance of PhoneNumberDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of PhoneNumberDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to PhoneNumberDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of PhoneNumberDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhoneNumberProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PhoneNumberProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..edfff5801 --- /dev/null +++ b/site/com/mailslurp/models/PhoneNumberProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PhoneNumberProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PhoneNumberProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PhoneNumberProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PhoneNumberProjection
    +
    +
    +
    +
    public static class PhoneNumberProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhoneNumberProjection.PhoneCountryEnum.Adapter.html b/site/com/mailslurp/models/PhoneNumberProjection.PhoneCountryEnum.Adapter.html new file mode 100644 index 000000000..5a2ba71c2 --- /dev/null +++ b/site/com/mailslurp/models/PhoneNumberProjection.PhoneCountryEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +PhoneNumberProjection.PhoneCountryEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PhoneNumberProjection.PhoneCountryEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhoneNumberProjection.PhoneCountryEnum.html b/site/com/mailslurp/models/PhoneNumberProjection.PhoneCountryEnum.html new file mode 100644 index 000000000..b050e1006 --- /dev/null +++ b/site/com/mailslurp/models/PhoneNumberProjection.PhoneCountryEnum.html @@ -0,0 +1,422 @@ + + + + + + +PhoneNumberProjection.PhoneCountryEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum PhoneNumberProjection.PhoneCountryEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhoneNumberProjection.html b/site/com/mailslurp/models/PhoneNumberProjection.html new file mode 100644 index 000000000..539b00790 --- /dev/null +++ b/site/com/mailslurp/models/PhoneNumberProjection.html @@ -0,0 +1,776 @@ + + + + + + +PhoneNumberProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PhoneNumberProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PhoneNumberProjection
    +extends Object
    +
    Phone number projection
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhonePlanDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/PhonePlanDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ab1460b52 --- /dev/null +++ b/site/com/mailslurp/models/PhonePlanDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +PhonePlanDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PhonePlanDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.PhonePlanDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    PhonePlanDto
    +
    +
    +
    +
    public static class PhonePlanDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhonePlanDto.PhoneCountryEnum.Adapter.html b/site/com/mailslurp/models/PhonePlanDto.PhoneCountryEnum.Adapter.html new file mode 100644 index 000000000..bbc6fb0fe --- /dev/null +++ b/site/com/mailslurp/models/PhonePlanDto.PhoneCountryEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +PhonePlanDto.PhoneCountryEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PhonePlanDto.PhoneCountryEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhonePlanDto.PhoneCountryEnum.html b/site/com/mailslurp/models/PhonePlanDto.PhoneCountryEnum.html new file mode 100644 index 000000000..25b669dc9 --- /dev/null +++ b/site/com/mailslurp/models/PhonePlanDto.PhoneCountryEnum.html @@ -0,0 +1,422 @@ + + + + + + +PhonePlanDto.PhoneCountryEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum PhonePlanDto.PhoneCountryEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/PhonePlanDto.html b/site/com/mailslurp/models/PhonePlanDto.html new file mode 100644 index 000000000..e268ac7a8 --- /dev/null +++ b/site/com/mailslurp/models/PhonePlanDto.html @@ -0,0 +1,712 @@ + + + + + + +PhonePlanDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class PhonePlanDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class PhonePlanDto
    +extends Object
    +
    PhonePlanDto
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/RawEmailJson.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/RawEmailJson.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d10092b88 --- /dev/null +++ b/site/com/mailslurp/models/RawEmailJson.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +RawEmailJson.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class RawEmailJson.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.RawEmailJson.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    RawEmailJson
    +
    +
    +
    +
    public static class RawEmailJson.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/RawEmailJson.html b/site/com/mailslurp/models/RawEmailJson.html new file mode 100644 index 000000000..5217b3732 --- /dev/null +++ b/site/com/mailslurp/models/RawEmailJson.html @@ -0,0 +1,514 @@ + + + + + + +RawEmailJson (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class RawEmailJson

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class RawEmailJson
    +extends Object
    +
    Content in raw format
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RawEmailJson

        +
        public RawEmailJson()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getContent

        +
        @Nonnull
        +public String getContent()
        +
        Get content
        +
        +
        Returns:
        +
        content
        +
        +
      • +
      + + + +
        +
      • +

        setContent

        +
        public void setContent(String content)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to RawEmailJson
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static RawEmailJson fromJson(String jsonString)
        +                             throws IOException
        +
        Create an instance of RawEmailJson given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of RawEmailJson
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to RawEmailJson
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of RawEmailJson to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/Recipient.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/Recipient.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..262be32ca --- /dev/null +++ b/site/com/mailslurp/models/Recipient.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +Recipient.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class Recipient.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.Recipient.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    Recipient
    +
    +
    +
    +
    public static class Recipient.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/Recipient.html b/site/com/mailslurp/models/Recipient.html new file mode 100644 index 000000000..b8eabbfb5 --- /dev/null +++ b/site/com/mailslurp/models/Recipient.html @@ -0,0 +1,642 @@ + + + + + + +Recipient (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class Recipient

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class Recipient
    +extends Object
    +
    Email recipient
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Recipient

        +
        public Recipient()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getRawValue

        +
        @Nonnull
        +public String getRawValue()
        +
        Get rawValue
        +
        +
        Returns:
        +
        rawValue
        +
        +
      • +
      + + + +
        +
      • +

        setRawValue

        +
        public void setRawValue(String rawValue)
        +
      • +
      + + + +
        +
      • +

        emailAddress

        +
        public Recipient emailAddress(String emailAddress)
        +
      • +
      + + + +
        +
      • +

        getEmailAddress

        +
        @Nonnull
        +public String getEmailAddress()
        +
        Get emailAddress
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Get name
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to Recipient
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static Recipient fromJson(String jsonString)
        +                          throws IOException
        +
        Create an instance of Recipient given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of Recipient
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to Recipient
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of Recipient to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ReplyToAliasEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ReplyToAliasEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..863f908f7 --- /dev/null +++ b/site/com/mailslurp/models/ReplyToAliasEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ReplyToAliasEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ReplyToAliasEmailOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ReplyToAliasEmailOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ReplyToAliasEmailOptions
    +
    +
    +
    +
    public static class ReplyToAliasEmailOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ReplyToAliasEmailOptions.SendStrategyEnum.Adapter.html b/site/com/mailslurp/models/ReplyToAliasEmailOptions.SendStrategyEnum.Adapter.html new file mode 100644 index 000000000..06a00191a --- /dev/null +++ b/site/com/mailslurp/models/ReplyToAliasEmailOptions.SendStrategyEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ReplyToAliasEmailOptions.SendStrategyEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ReplyToAliasEmailOptions.SendStrategyEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ReplyToAliasEmailOptions.SendStrategyEnum.html b/site/com/mailslurp/models/ReplyToAliasEmailOptions.SendStrategyEnum.html new file mode 100644 index 000000000..3cecfa323 --- /dev/null +++ b/site/com/mailslurp/models/ReplyToAliasEmailOptions.SendStrategyEnum.html @@ -0,0 +1,398 @@ + + + + + + +ReplyToAliasEmailOptions.SendStrategyEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ReplyToAliasEmailOptions.SendStrategyEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ReplyToAliasEmailOptions.html b/site/com/mailslurp/models/ReplyToAliasEmailOptions.html new file mode 100644 index 000000000..306cefc2c --- /dev/null +++ b/site/com/mailslurp/models/ReplyToAliasEmailOptions.html @@ -0,0 +1,1060 @@ + + + + + + +ReplyToAliasEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ReplyToAliasEmailOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ReplyToAliasEmailOptions
    +extends Object
    +
    Options for replying to an alias email using the alias inbox
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ReplyToEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ReplyToEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d61929754 --- /dev/null +++ b/site/com/mailslurp/models/ReplyToEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ReplyToEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ReplyToEmailOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ReplyToEmailOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ReplyToEmailOptions
    +
    +
    +
    +
    public static class ReplyToEmailOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ReplyToEmailOptions.SendStrategyEnum.Adapter.html b/site/com/mailslurp/models/ReplyToEmailOptions.SendStrategyEnum.Adapter.html new file mode 100644 index 000000000..5ed071f34 --- /dev/null +++ b/site/com/mailslurp/models/ReplyToEmailOptions.SendStrategyEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ReplyToEmailOptions.SendStrategyEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ReplyToEmailOptions.SendStrategyEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ReplyToEmailOptions.SendStrategyEnum.html b/site/com/mailslurp/models/ReplyToEmailOptions.SendStrategyEnum.html new file mode 100644 index 000000000..5ccee3743 --- /dev/null +++ b/site/com/mailslurp/models/ReplyToEmailOptions.SendStrategyEnum.html @@ -0,0 +1,398 @@ + + + + + + +ReplyToEmailOptions.SendStrategyEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ReplyToEmailOptions.SendStrategyEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ReplyToEmailOptions.SendStrategyEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ReplyToEmailOptions.SendStrategyEnum c : ReplyToEmailOptions.SendStrategyEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ReplyToEmailOptions.SendStrategyEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ReplyToEmailOptions.html b/site/com/mailslurp/models/ReplyToEmailOptions.html new file mode 100644 index 000000000..988781185 --- /dev/null +++ b/site/com/mailslurp/models/ReplyToEmailOptions.html @@ -0,0 +1,1188 @@ + + + + + + +ReplyToEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ReplyToEmailOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ReplyToEmailOptions
    +extends Object
    +
    Options for replying to email with API
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ScheduledJob.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ScheduledJob.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..204b887e9 --- /dev/null +++ b/site/com/mailslurp/models/ScheduledJob.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ScheduledJob.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ScheduledJob.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ScheduledJob.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ScheduledJob
    +
    +
    +
    +
    public static class ScheduledJob.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ScheduledJob.StatusEnum.Adapter.html b/site/com/mailslurp/models/ScheduledJob.StatusEnum.Adapter.html new file mode 100644 index 000000000..1e495c809 --- /dev/null +++ b/site/com/mailslurp/models/ScheduledJob.StatusEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ScheduledJob.StatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ScheduledJob.StatusEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ScheduledJob.StatusEnum.html b/site/com/mailslurp/models/ScheduledJob.StatusEnum.html new file mode 100644 index 000000000..c06dc9e19 --- /dev/null +++ b/site/com/mailslurp/models/ScheduledJob.StatusEnum.html @@ -0,0 +1,434 @@ + + + + + + +ScheduledJob.StatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ScheduledJob.StatusEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ScheduledJob.StatusEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ScheduledJob.StatusEnum c : ScheduledJob.StatusEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ScheduledJob.StatusEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ScheduledJob.html b/site/com/mailslurp/models/ScheduledJob.html new file mode 100644 index 000000000..f66412c97 --- /dev/null +++ b/site/com/mailslurp/models/ScheduledJob.html @@ -0,0 +1,1096 @@ + + + + + + +ScheduledJob (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ScheduledJob

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ScheduledJob
    +extends Object
    +
    ScheduledJob
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ScheduledJobDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ScheduledJobDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8ac54e77b --- /dev/null +++ b/site/com/mailslurp/models/ScheduledJobDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ScheduledJobDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ScheduledJobDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ScheduledJobDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ScheduledJobDto
    +
    +
    +
    +
    public static class ScheduledJobDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ScheduledJobDto.StatusEnum.Adapter.html b/site/com/mailslurp/models/ScheduledJobDto.StatusEnum.Adapter.html new file mode 100644 index 000000000..966b4af17 --- /dev/null +++ b/site/com/mailslurp/models/ScheduledJobDto.StatusEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +ScheduledJobDto.StatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ScheduledJobDto.StatusEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ScheduledJobDto.StatusEnum.html b/site/com/mailslurp/models/ScheduledJobDto.StatusEnum.html new file mode 100644 index 000000000..8f3ebe9c9 --- /dev/null +++ b/site/com/mailslurp/models/ScheduledJobDto.StatusEnum.html @@ -0,0 +1,434 @@ + + + + + + +ScheduledJobDto.StatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum ScheduledJobDto.StatusEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ScheduledJobDto.StatusEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ScheduledJobDto.StatusEnum c : ScheduledJobDto.StatusEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ScheduledJobDto.StatusEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ScheduledJobDto.html b/site/com/mailslurp/models/ScheduledJobDto.html new file mode 100644 index 000000000..371583afd --- /dev/null +++ b/site/com/mailslurp/models/ScheduledJobDto.html @@ -0,0 +1,1096 @@ + + + + + + +ScheduledJobDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ScheduledJobDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ScheduledJobDto
    +extends Object
    +
    ScheduledJobDto
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SendEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/SendEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..56dbac20f --- /dev/null +++ b/site/com/mailslurp/models/SendEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +SendEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SendEmailOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.SendEmailOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    SendEmailOptions
    +
    +
    +
    +
    public static class SendEmailOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SendEmailOptions.SendStrategyEnum.Adapter.html b/site/com/mailslurp/models/SendEmailOptions.SendStrategyEnum.Adapter.html new file mode 100644 index 000000000..e726e8ea7 --- /dev/null +++ b/site/com/mailslurp/models/SendEmailOptions.SendStrategyEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +SendEmailOptions.SendStrategyEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SendEmailOptions.SendStrategyEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SendEmailOptions.SendStrategyEnum.html b/site/com/mailslurp/models/SendEmailOptions.SendStrategyEnum.html new file mode 100644 index 000000000..bf990d98f --- /dev/null +++ b/site/com/mailslurp/models/SendEmailOptions.SendStrategyEnum.html @@ -0,0 +1,398 @@ + + + + + + +SendEmailOptions.SendStrategyEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum SendEmailOptions.SendStrategyEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static SendEmailOptions.SendStrategyEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (SendEmailOptions.SendStrategyEnum c : SendEmailOptions.SendStrategyEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static SendEmailOptions.SendStrategyEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SendEmailOptions.ValidateEmailAddressesEnum.Adapter.html b/site/com/mailslurp/models/SendEmailOptions.ValidateEmailAddressesEnum.Adapter.html new file mode 100644 index 000000000..0c694c84e --- /dev/null +++ b/site/com/mailslurp/models/SendEmailOptions.ValidateEmailAddressesEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +SendEmailOptions.ValidateEmailAddressesEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SendEmailOptions.ValidateEmailAddressesEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SendEmailOptions.ValidateEmailAddressesEnum.html b/site/com/mailslurp/models/SendEmailOptions.ValidateEmailAddressesEnum.html new file mode 100644 index 000000000..510681555 --- /dev/null +++ b/site/com/mailslurp/models/SendEmailOptions.ValidateEmailAddressesEnum.html @@ -0,0 +1,422 @@ + + + + + + +SendEmailOptions.ValidateEmailAddressesEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum SendEmailOptions.ValidateEmailAddressesEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SendEmailOptions.html b/site/com/mailslurp/models/SendEmailOptions.html new file mode 100644 index 000000000..6df79f062 --- /dev/null +++ b/site/com/mailslurp/models/SendEmailOptions.html @@ -0,0 +1,1822 @@ + + + + + + +SendEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SendEmailOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class SendEmailOptions
    +extends Object
    +
    Options for the email to be sent
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SendEmailOptions

        +
        public SendEmailOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getToContacts

        +
        @Nullable
        +public List<UUID> getToContacts()
        +
        Optional list of contact IDs to send email to. Manage your contacts via the API or dashboard. When contacts are used the email is sent to each contact separately so they will not see other recipients.
        +
        +
        Returns:
        +
        toContacts
        +
        +
      • +
      + + + +
        +
      • +

        setToContacts

        +
        public void setToContacts(List<UUID> toContacts)
        +
      • +
      + + + + + + + +
        +
      • +

        getToGroup

        +
        @Nullable
        +public UUID getToGroup()
        +
        Optional contact group ID to send email to. You can create contacts and contact groups in the API or dashboard and use them for email campaigns. When contact groups are used the email is sent to each contact separately so they will not see other recipients
        +
        +
        Returns:
        +
        toGroup
        +
        +
      • +
      + + + +
        +
      • +

        setToGroup

        +
        public void setToGroup(UUID toGroup)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getTo

        +
        @Nullable
        +public List<String> getTo()
        +
        List of destination email addresses. Each email address must be RFC 5322 format. Even single recipients must be in array form. Maximum recipients per email depends on your plan. If you need to send many emails try using contacts or contact groups or use a non standard sendStrategy to ensure that spam filters are not triggered (many recipients in one email can affect your spam rating). Be cautious when sending emails that your recipients exist. High bounce rates (meaning a high percentage of emails cannot be delivered because an address does not exist) can result in account freezing.
        +
        +
        Returns:
        +
        to
        +
        +
      • +
      + + + +
        +
      • +

        setTo

        +
        public void setTo(List<String> to)
        +
      • +
      + + + + + + + +
        +
      • +

        getFrom

        +
        @Nullable
        +public String getFrom()
        +
        Optional from address. Email address is RFC 5322 format and may include a display name and email in angle brackets (`my@address.com` or `My inbox <my@address.com>`). If no sender is set the source inbox address will be used for this field. If you set `useInboxName` to `true` the from field will include the inbox name as a display name: `inbox_name <inbox@address.com>`. For this to work use the name field when creating an inbox. Beware of potential spam penalties when setting the from field to an address not used by the inbox. Your emails may get blocked by services if you impersonate another address. To use a custom email addresses use a custom domain. You can create domains with the DomainController. The domain must be verified in the dashboard before it can be used.
        +
        +
        Returns:
        +
        from
        +
        +
      • +
      + + + +
        +
      • +

        setFrom

        +
        public void setFrom(String from)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getCc

        +
        @Nullable
        +public List<String> getCc()
        +
        Optional list of cc destination email addresses
        +
        +
        Returns:
        +
        cc
        +
        +
      • +
      + + + +
        +
      • +

        setCc

        +
        public void setCc(List<String> cc)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getBcc

        +
        @Nullable
        +public List<String> getBcc()
        +
        Optional list of bcc destination email addresses
        +
        +
        Returns:
        +
        bcc
        +
        +
      • +
      + + + +
        +
      • +

        setBcc

        +
        public void setBcc(List<String> bcc)
        +
      • +
      + + + + + + + +
        +
      • +

        getSubject

        +
        @Nullable
        +public String getSubject()
        +
        Optional email subject line
        +
        +
        Returns:
        +
        subject
        +
        +
      • +
      + + + +
        +
      • +

        setSubject

        +
        public void setSubject(String subject)
        +
      • +
      + + + + + + + +
        +
      • +

        getReplyTo

        +
        @Nullable
        +public String getReplyTo()
        +
        Optional replyTo header
        +
        +
        Returns:
        +
        replyTo
        +
        +
      • +
      + + + +
        +
      • +

        setReplyTo

        +
        public void setReplyTo(String replyTo)
        +
      • +
      + + + + + + + +
        +
      • +

        getBody

        +
        @Nullable
        +public String getBody()
        +
        Optional contents of email. If body contains HTML then set `isHTML` to true to ensure that email clients render it correctly. You can use moustache template syntax in the email body in conjunction with `toGroup` contact variables or `templateVariables` data. If you need more templating control consider creating a template and using the `template` property instead of the body.
        +
        +
        Returns:
        +
        body
        +
        +
      • +
      + + + +
        +
      • +

        setBody

        +
        public void setBody(String body)
        +
      • +
      + + + + + + + +
        +
      • +

        getHtml

        +
        @Nullable
        +public Boolean getHtml()
        +
        Optional HTML flag to indicate that contents is HTML. Set's a `content-type: text/html` for email. (Deprecated: use `isHTML` instead.)
        +
        +
        Returns:
        +
        html
        +
        +
      • +
      + + + +
        +
      • +

        setHtml

        +
        public void setHtml(Boolean html)
        +
      • +
      + + + + + + + +
        +
      • +

        getIsHTML

        +
        @Nullable
        +public Boolean getIsHTML()
        +
        Optional HTML flag. If true the `content-type` of the email will be `text/html`. Set to true when sending HTML to ensure proper rending on email clients
        +
        +
        Returns:
        +
        isHTML
        +
        +
      • +
      + + + +
        +
      • +

        setIsHTML

        +
        public void setIsHTML(Boolean isHTML)
        +
      • +
      + + + + + + + +
        +
      • +

        getCharset

        +
        @Nullable
        +public String getCharset()
        +
        Optional charset
        +
        +
        Returns:
        +
        charset
        +
        +
      • +
      + + + +
        +
      • +

        setCharset

        +
        public void setCharset(String charset)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getAttachments

        +
        @Nullable
        +public List<String> getAttachments()
        +
        Optional list of attachment IDs to send with this email. You must first upload each attachment separately via method call or dashboard in order to obtain attachment IDs. This way you can reuse attachments with different emails once uploaded. There are several ways to upload that support `multi-part form`, `base64 file encoding`, and octet stream binary uploads. See the `UploadController` for available methods.
        +
        +
        Returns:
        +
        attachments
        +
        +
      • +
      + + + +
        +
      • +

        setAttachments

        +
        public void setAttachments(List<String> attachments)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getTemplateVariables

        +
        @Nullable
        +public Map<String,Object> getTemplateVariables()
        +
        Optional map of template variables. Will replace moustache syntax variables in subject and body or template with the associated values if found.
        +
        +
        Returns:
        +
        templateVariables
        +
        +
      • +
      + + + +
        +
      • +

        setTemplateVariables

        +
        public void setTemplateVariables(Map<String,Object> templateVariables)
        +
      • +
      + + + + + + + +
        +
      • +

        getTemplate

        +
        @Nullable
        +public UUID getTemplate()
        +
        Optional template ID to use for body. Will override body if provided. When using a template make sure you pass the corresponding map of `templateVariables`. You can find which variables are needed by fetching the template itself or viewing it in the dashboard.
        +
        +
        Returns:
        +
        template
        +
        +
      • +
      + + + +
        +
      • +

        setTemplate

        +
        public void setTemplate(UUID template)
        +
      • +
      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getUseInboxName

        +
        @Nullable
        +public Boolean getUseInboxName()
        +
        Use name of inbox as sender email address name. Will construct RFC 5322 email address with `Inbox name <inbox@address.com>` if the inbox has a name.
        +
        +
        Returns:
        +
        useInboxName
        +
        +
      • +
      + + + +
        +
      • +

        setUseInboxName

        +
        public void setUseInboxName(Boolean useInboxName)
        +
      • +
      + + + + + + + +
        +
      • +

        getAddTrackingPixel

        +
        @Nullable
        +public Boolean getAddTrackingPixel()
        +
        Add tracking pixel to email
        +
        +
        Returns:
        +
        addTrackingPixel
        +
        +
      • +
      + + + +
        +
      • +

        setAddTrackingPixel

        +
        public void setAddTrackingPixel(Boolean addTrackingPixel)
        +
      • +
      + + + +
        +
      • +

        filterBouncedRecipients

        +
        public SendEmailOptions filterBouncedRecipients(Boolean filterBouncedRecipients)
        +
      • +
      + + + +
        +
      • +

        getFilterBouncedRecipients

        +
        @Nullable
        +public Boolean getFilterBouncedRecipients()
        +
        Filter recipients to remove any bounced recipients from to, bcc, and cc before sending
        +
        +
        Returns:
        +
        filterBouncedRecipients
        +
        +
      • +
      + + + +
        +
      • +

        setFilterBouncedRecipients

        +
        public void setFilterBouncedRecipients(Boolean filterBouncedRecipients)
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to SendEmailOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static SendEmailOptions fromJson(String jsonString)
        +                                 throws IOException
        +
        Create an instance of SendEmailOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of SendEmailOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to SendEmailOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of SendEmailOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SendSMTPEnvelopeOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/SendSMTPEnvelopeOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5d4a1cd81 --- /dev/null +++ b/site/com/mailslurp/models/SendSMTPEnvelopeOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +SendSMTPEnvelopeOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SendSMTPEnvelopeOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.SendSMTPEnvelopeOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    SendSMTPEnvelopeOptions
    +
    +
    +
    +
    public static class SendSMTPEnvelopeOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SendSMTPEnvelopeOptions.html b/site/com/mailslurp/models/SendSMTPEnvelopeOptions.html new file mode 100644 index 000000000..431950b15 --- /dev/null +++ b/site/com/mailslurp/models/SendSMTPEnvelopeOptions.html @@ -0,0 +1,655 @@ + + + + + + +SendSMTPEnvelopeOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SendSMTPEnvelopeOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class SendSMTPEnvelopeOptions
    +extends Object
    +
    Options for the email envelope
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SendSMTPEnvelopeOptions

        +
        public SendSMTPEnvelopeOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getRcptTo

        +
        @Nonnull
        +public List<String> getRcptTo()
        +
        Get rcptTo
        +
        +
        Returns:
        +
        rcptTo
        +
        +
      • +
      + + + +
        +
      • +

        setRcptTo

        +
        public void setRcptTo(List<String> rcptTo)
        +
      • +
      + + + + + + + +
        +
      • +

        getMailFrom

        +
        @Nonnull
        +public String getMailFrom()
        +
        Get mailFrom
        +
        +
        Returns:
        +
        mailFrom
        +
        +
      • +
      + + + +
        +
      • +

        setMailFrom

        +
        public void setMailFrom(String mailFrom)
        +
      • +
      + + + + + + + +
        +
      • +

        getData

        +
        @Nonnull
        +public String getData()
        +
        Get data
        +
        +
        Returns:
        +
        data
        +
        +
      • +
      + + + +
        +
      • +

        setData

        +
        public void setData(String data)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to SendSMTPEnvelopeOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static SendSMTPEnvelopeOptions fromJson(String jsonString)
        +                                        throws IOException
        +
        Create an instance of SendSMTPEnvelopeOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of SendSMTPEnvelopeOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to SendSMTPEnvelopeOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of SendSMTPEnvelopeOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SendWithQueueResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/SendWithQueueResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3a314d332 --- /dev/null +++ b/site/com/mailslurp/models/SendWithQueueResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +SendWithQueueResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SendWithQueueResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.SendWithQueueResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    SendWithQueueResult
    +
    +
    +
    +
    public static class SendWithQueueResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SendWithQueueResult.html b/site/com/mailslurp/models/SendWithQueueResult.html new file mode 100644 index 000000000..5ef28387c --- /dev/null +++ b/site/com/mailslurp/models/SendWithQueueResult.html @@ -0,0 +1,1090 @@ + + + + + + +SendWithQueueResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SendWithQueueResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class SendWithQueueResult
    +extends Object
    +
    Collection of items
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/Sender.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/Sender.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..eaa5fdb84 --- /dev/null +++ b/site/com/mailslurp/models/Sender.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +Sender.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class Sender.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.Sender.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    Sender
    +
    +
    +
    +
    public static class Sender.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/Sender.html b/site/com/mailslurp/models/Sender.html new file mode 100644 index 000000000..383a32948 --- /dev/null +++ b/site/com/mailslurp/models/Sender.html @@ -0,0 +1,642 @@ + + + + + + +Sender (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class Sender

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class Sender
    +extends Object
    +
    Sender object containing from email address and from personal name if provided in address
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Sender

        +
        public Sender()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        rawValue

        +
        public Sender rawValue(String rawValue)
        +
      • +
      + + + +
        +
      • +

        getRawValue

        +
        @Nonnull
        +public String getRawValue()
        +
        Get rawValue
        +
        +
        Returns:
        +
        rawValue
        +
        +
      • +
      + + + +
        +
      • +

        setRawValue

        +
        public void setRawValue(String rawValue)
        +
      • +
      + + + +
        +
      • +

        emailAddress

        +
        public Sender emailAddress(String emailAddress)
        +
      • +
      + + + +
        +
      • +

        getEmailAddress

        +
        @Nonnull
        +public String getEmailAddress()
        +
        Get emailAddress
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Get name
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to Sender
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static Sender fromJson(String jsonString)
        +                       throws IOException
        +
        Create an instance of Sender given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of Sender
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to Sender
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of Sender to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SentEmailDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/SentEmailDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..9fb93ee38 --- /dev/null +++ b/site/com/mailslurp/models/SentEmailDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +SentEmailDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SentEmailDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.SentEmailDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    SentEmailDto
    +
    +
    +
    +
    public static class SentEmailDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SentEmailDto.html b/site/com/mailslurp/models/SentEmailDto.html new file mode 100644 index 000000000..5f3141c70 --- /dev/null +++ b/site/com/mailslurp/models/SentEmailDto.html @@ -0,0 +1,2156 @@ + + + + + + +SentEmailDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SentEmailDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class SentEmailDto
    +extends Object
    +
    Sent email details
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SentEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/SentEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..428600b89 --- /dev/null +++ b/site/com/mailslurp/models/SentEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +SentEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SentEmailProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.SentEmailProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    SentEmailProjection
    +
    +
    +
    +
    public static class SentEmailProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SentEmailProjection.html b/site/com/mailslurp/models/SentEmailProjection.html new file mode 100644 index 000000000..4f627f562 --- /dev/null +++ b/site/com/mailslurp/models/SentEmailProjection.html @@ -0,0 +1,1270 @@ + + + + + + +SentEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SentEmailProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class SentEmailProjection
    +extends Object
    +
    Collection of items
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SetInboxFavouritedOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/SetInboxFavouritedOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5cd57bb38 --- /dev/null +++ b/site/com/mailslurp/models/SetInboxFavouritedOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +SetInboxFavouritedOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SetInboxFavouritedOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.SetInboxFavouritedOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    SetInboxFavouritedOptions
    +
    +
    +
    +
    public static class SetInboxFavouritedOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SetInboxFavouritedOptions.html b/site/com/mailslurp/models/SetInboxFavouritedOptions.html new file mode 100644 index 000000000..f0d77b91f --- /dev/null +++ b/site/com/mailslurp/models/SetInboxFavouritedOptions.html @@ -0,0 +1,514 @@ + + + + + + +SetInboxFavouritedOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SetInboxFavouritedOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class SetInboxFavouritedOptions
    +extends Object
    +
    Options for setting inbox favourite state
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SetInboxFavouritedOptions

        +
        public SetInboxFavouritedOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getState

        +
        @Nonnull
        +public Boolean getState()
        +
        Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering
        +
        +
        Returns:
        +
        state
        +
        +
      • +
      + + + +
        +
      • +

        setState

        +
        public void setState(Boolean state)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to SetInboxFavouritedOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static SetInboxFavouritedOptions fromJson(String jsonString)
        +                                          throws IOException
        +
        Create an instance of SetInboxFavouritedOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of SetInboxFavouritedOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to SetInboxFavouritedOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of SetInboxFavouritedOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SimpleSendEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/SimpleSendEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..828b8a88c --- /dev/null +++ b/site/com/mailslurp/models/SimpleSendEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +SimpleSendEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SimpleSendEmailOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.SimpleSendEmailOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    SimpleSendEmailOptions
    +
    +
    +
    +
    public static class SimpleSendEmailOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SimpleSendEmailOptions.html b/site/com/mailslurp/models/SimpleSendEmailOptions.html new file mode 100644 index 000000000..faece9f90 --- /dev/null +++ b/site/com/mailslurp/models/SimpleSendEmailOptions.html @@ -0,0 +1,706 @@ + + + + + + +SimpleSendEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SimpleSendEmailOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class SimpleSendEmailOptions
    +extends Object
    +
    Simplified send email options
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SimpleSendEmailOptions

        +
        public SimpleSendEmailOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getSenderId

        +
        @Nullable
        +public UUID getSenderId()
        +
        ID of inbox to send from. If null an inbox will be created for sending
        +
        +
        Returns:
        +
        senderId
        +
        +
      • +
      + + + +
        +
      • +

        setSenderId

        +
        public void setSenderId(UUID senderId)
        +
      • +
      + + + + + + + +
        +
      • +

        getTo

        +
        @Nonnull
        +public String getTo()
        +
        Email address to send to
        +
        +
        Returns:
        +
        to
        +
        +
      • +
      + + + +
        +
      • +

        setTo

        +
        public void setTo(String to)
        +
      • +
      + + + + + + + +
        +
      • +

        getBody

        +
        @Nullable
        +public String getBody()
        +
        Body of the email message. Supports HTML
        +
        +
        Returns:
        +
        body
        +
        +
      • +
      + + + +
        +
      • +

        setBody

        +
        public void setBody(String body)
        +
      • +
      + + + + + + + +
        +
      • +

        getSubject

        +
        @Nullable
        +public String getSubject()
        +
        Subject line of the email
        +
        +
        Returns:
        +
        subject
        +
        +
      • +
      + + + +
        +
      • +

        setSubject

        +
        public void setSubject(String subject)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to SimpleSendEmailOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static SimpleSendEmailOptions fromJson(String jsonString)
        +                                       throws IOException
        +
        Create an instance of SimpleSendEmailOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of SimpleSendEmailOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to SimpleSendEmailOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of SimpleSendEmailOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/SmsDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b025ab710 --- /dev/null +++ b/site/com/mailslurp/models/SmsDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +SmsDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SmsDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.SmsDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    SmsDto
    +
    +
    +
    +
    public static class SmsDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsDto.html b/site/com/mailslurp/models/SmsDto.html new file mode 100644 index 000000000..e21ccca04 --- /dev/null +++ b/site/com/mailslurp/models/SmsDto.html @@ -0,0 +1,962 @@ + + + + + + +SmsDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SmsDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class SmsDto
    +extends Object
    +
    SmsDto
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SmsDto

        +
        public SmsDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + +
        +
      • +

        userId

        +
        public SmsDto userId(UUID userId)
        +
      • +
      + + + +
        +
      • +

        getUserId

        +
        @Nonnull
        +public UUID getUserId()
        +
        Get userId
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + +
        +
      • +

        phoneNumber

        +
        public SmsDto phoneNumber(UUID phoneNumber)
        +
      • +
      + + + +
        +
      • +

        getPhoneNumber

        +
        @Nonnull
        +public UUID getPhoneNumber()
        +
        Get phoneNumber
        +
        +
        Returns:
        +
        phoneNumber
        +
        +
      • +
      + + + +
        +
      • +

        setPhoneNumber

        +
        public void setPhoneNumber(UUID phoneNumber)
        +
      • +
      + + + +
        +
      • +

        fromNumber

        +
        public SmsDto fromNumber(String fromNumber)
        +
      • +
      + + + +
        +
      • +

        getFromNumber

        +
        @Nonnull
        +public String getFromNumber()
        +
        Get fromNumber
        +
        +
        Returns:
        +
        fromNumber
        +
        +
      • +
      + + + +
        +
      • +

        setFromNumber

        +
        public void setFromNumber(String fromNumber)
        +
      • +
      + + + + + + + +
        +
      • +

        getBody

        +
        @Nonnull
        +public String getBody()
        +
        Get body
        +
        +
        Returns:
        +
        body
        +
        +
      • +
      + + + +
        +
      • +

        setBody

        +
        public void setBody(String body)
        +
      • +
      + + + + + + + +
        +
      • +

        getRead

        +
        @Nonnull
        +public Boolean getRead()
        +
        Get read
        +
        +
        Returns:
        +
        read
        +
        +
      • +
      + + + +
        +
      • +

        setRead

        +
        public void setRead(Boolean read)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getUpdatedAt

        +
        @Nonnull
        +public OffsetDateTime getUpdatedAt()
        +
        Get updatedAt
        +
        +
        Returns:
        +
        updatedAt
        +
        +
      • +
      + + + +
        +
      • +

        setUpdatedAt

        +
        public void setUpdatedAt(OffsetDateTime updatedAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to SmsDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static SmsDto fromJson(String jsonString)
        +                       throws IOException
        +
        Create an instance of SmsDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of SmsDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to SmsDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of SmsDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsMatchOption.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/SmsMatchOption.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f4e10e1d5 --- /dev/null +++ b/site/com/mailslurp/models/SmsMatchOption.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +SmsMatchOption.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SmsMatchOption.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.SmsMatchOption.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    SmsMatchOption
    +
    +
    +
    +
    public static class SmsMatchOption.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsMatchOption.FieldEnum.Adapter.html b/site/com/mailslurp/models/SmsMatchOption.FieldEnum.Adapter.html new file mode 100644 index 000000000..365a31930 --- /dev/null +++ b/site/com/mailslurp/models/SmsMatchOption.FieldEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +SmsMatchOption.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SmsMatchOption.FieldEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsMatchOption.FieldEnum.html b/site/com/mailslurp/models/SmsMatchOption.FieldEnum.html new file mode 100644 index 000000000..caaec02e7 --- /dev/null +++ b/site/com/mailslurp/models/SmsMatchOption.FieldEnum.html @@ -0,0 +1,410 @@ + + + + + + +SmsMatchOption.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum SmsMatchOption.FieldEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static SmsMatchOption.FieldEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (SmsMatchOption.FieldEnum c : SmsMatchOption.FieldEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static SmsMatchOption.FieldEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsMatchOption.ShouldEnum.Adapter.html b/site/com/mailslurp/models/SmsMatchOption.ShouldEnum.Adapter.html new file mode 100644 index 000000000..51024343a --- /dev/null +++ b/site/com/mailslurp/models/SmsMatchOption.ShouldEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +SmsMatchOption.ShouldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SmsMatchOption.ShouldEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsMatchOption.ShouldEnum.html b/site/com/mailslurp/models/SmsMatchOption.ShouldEnum.html new file mode 100644 index 000000000..0932267c9 --- /dev/null +++ b/site/com/mailslurp/models/SmsMatchOption.ShouldEnum.html @@ -0,0 +1,410 @@ + + + + + + +SmsMatchOption.ShouldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum SmsMatchOption.ShouldEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static SmsMatchOption.ShouldEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (SmsMatchOption.ShouldEnum c : SmsMatchOption.ShouldEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static SmsMatchOption.ShouldEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsMatchOption.html b/site/com/mailslurp/models/SmsMatchOption.html new file mode 100644 index 000000000..90a0f8a57 --- /dev/null +++ b/site/com/mailslurp/models/SmsMatchOption.html @@ -0,0 +1,654 @@ + + + + + + +SmsMatchOption (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SmsMatchOption

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class SmsMatchOption
    +extends Object
    +
    Options for matching SMS messages in a phone number. Each match option object contains a `field`, `should` and `value` property. Together they form logical conditions such as `BODY` should `CONTAIN` value.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SmsMatchOption

        +
        public SmsMatchOption()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getShould

        +
        @Nonnull
        +public SmsMatchOption.ShouldEnum getShould()
        +
        How the value of the email field specified should be compared to the value given in the match options.
        +
        +
        Returns:
        +
        should
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getValue

        +
        @Nonnull
        +public String getValue()
        +
        The value you wish to compare with the value of the field specified using the `should` value passed. For example `BODY` should `CONTAIN` a value passed.
        +
        +
        Returns:
        +
        value
        +
        +
      • +
      + + + +
        +
      • +

        setValue

        +
        public void setValue(String value)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to SmsMatchOption
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static SmsMatchOption fromJson(String jsonString)
        +                               throws IOException
        +
        Create an instance of SmsMatchOption given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of SmsMatchOption
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to SmsMatchOption
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of SmsMatchOption to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsPreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/SmsPreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..7dae606c4 --- /dev/null +++ b/site/com/mailslurp/models/SmsPreview.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +SmsPreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SmsPreview.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.SmsPreview.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    SmsPreview
    +
    +
    +
    +
    public static class SmsPreview.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsPreview.html b/site/com/mailslurp/models/SmsPreview.html new file mode 100644 index 000000000..bc3003c3f --- /dev/null +++ b/site/com/mailslurp/models/SmsPreview.html @@ -0,0 +1,834 @@ + + + + + + +SmsPreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SmsPreview

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class SmsPreview
    +extends Object
    +
    SmsPreview
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SmsPreview

        +
        public SmsPreview()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getUserId

        +
        @Nonnull
        +public UUID getUserId()
        +
        Get userId
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + + + + + +
        +
      • +

        getBody

        +
        @Nonnull
        +public String getBody()
        +
        Get body
        +
        +
        Returns:
        +
        body
        +
        +
      • +
      + + + +
        +
      • +

        setBody

        +
        public void setBody(String body)
        +
      • +
      + + + +
        +
      • +

        phoneNumber

        +
        public SmsPreview phoneNumber(UUID phoneNumber)
        +
      • +
      + + + +
        +
      • +

        getPhoneNumber

        +
        @Nonnull
        +public UUID getPhoneNumber()
        +
        Get phoneNumber
        +
        +
        Returns:
        +
        phoneNumber
        +
        +
      • +
      + + + +
        +
      • +

        setPhoneNumber

        +
        public void setPhoneNumber(UUID phoneNumber)
        +
      • +
      + + + + + + + +
        +
      • +

        getFromNumber

        +
        @Nonnull
        +public String getFromNumber()
        +
        Get fromNumber
        +
        +
        Returns:
        +
        fromNumber
        +
        +
      • +
      + + + +
        +
      • +

        setFromNumber

        +
        public void setFromNumber(String fromNumber)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to SmsPreview
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static SmsPreview fromJson(String jsonString)
        +                           throws IOException
        +
        Create an instance of SmsPreview given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of SmsPreview
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to SmsPreview
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of SmsPreview to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/SmsProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..04d418fb4 --- /dev/null +++ b/site/com/mailslurp/models/SmsProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +SmsProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SmsProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.SmsProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    SmsProjection
    +
    +
    +
    +
    public static class SmsProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/SmsProjection.html b/site/com/mailslurp/models/SmsProjection.html new file mode 100644 index 000000000..3a4e4fa5c --- /dev/null +++ b/site/com/mailslurp/models/SmsProjection.html @@ -0,0 +1,898 @@ + + + + + + +SmsProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class SmsProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class SmsProjection
    +extends Object
    +
    SMS projection
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SmsProjection

        +
        public SmsProjection()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        Get id
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getBody

        +
        @Nonnull
        +public String getBody()
        +
        Get body
        +
        +
        Returns:
        +
        body
        +
        +
      • +
      + + + +
        +
      • +

        setBody

        +
        public void setBody(String body)
        +
      • +
      + + + + + + + +
        +
      • +

        getUserId

        +
        @Nonnull
        +public UUID getUserId()
        +
        Get userId
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Get createdAt
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getPhoneNumber

        +
        @Nonnull
        +public UUID getPhoneNumber()
        +
        Get phoneNumber
        +
        +
        Returns:
        +
        phoneNumber
        +
        +
      • +
      + + + +
        +
      • +

        setPhoneNumber

        +
        public void setPhoneNumber(UUID phoneNumber)
        +
      • +
      + + + + + + + +
        +
      • +

        getFromNumber

        +
        @Nonnull
        +public String getFromNumber()
        +
        Get fromNumber
        +
        +
        Returns:
        +
        fromNumber
        +
        +
      • +
      + + + +
        +
      • +

        setFromNumber

        +
        public void setFromNumber(String fromNumber)
        +
      • +
      + + + + + + + +
        +
      • +

        getRead

        +
        @Nonnull
        +public Boolean getRead()
        +
        Get read
        +
        +
        Returns:
        +
        read
        +
        +
      • +
      + + + +
        +
      • +

        setRead

        +
        public void setRead(Boolean read)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to SmsProjection
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static SmsProjection fromJson(String jsonString)
        +                              throws IOException
        +
        Create an instance of SmsProjection given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of SmsProjection
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to SmsProjection
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of SmsProjection to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/Sort.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/Sort.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..fa4b6a271 --- /dev/null +++ b/site/com/mailslurp/models/Sort.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +Sort.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class Sort.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.Sort.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    Sort
    +
    +
    +
    +
    public static class Sort.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/Sort.html b/site/com/mailslurp/models/Sort.html new file mode 100644 index 000000000..7f2a428b1 --- /dev/null +++ b/site/com/mailslurp/models/Sort.html @@ -0,0 +1,642 @@ + + + + + + +Sort (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class Sort

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class Sort
    +extends Object
    +
    Sort
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Sort

        +
        public Sort()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getEmpty

        +
        @Nullable
        +public Boolean getEmpty()
        +
        Get empty
        +
        +
        Returns:
        +
        empty
        +
        +
      • +
      + + + +
        +
      • +

        setEmpty

        +
        public void setEmpty(Boolean empty)
        +
      • +
      + + + + + + + +
        +
      • +

        getSorted

        +
        @Nullable
        +public Boolean getSorted()
        +
        Get sorted
        +
        +
        Returns:
        +
        sorted
        +
        +
      • +
      + + + +
        +
      • +

        setSorted

        +
        public void setSorted(Boolean sorted)
        +
      • +
      + + + +
        +
      • +

        unsorted

        +
        public Sort unsorted(Boolean unsorted)
        +
      • +
      + + + +
        +
      • +

        getUnsorted

        +
        @Nullable
        +public Boolean getUnsorted()
        +
        Get unsorted
        +
        +
        Returns:
        +
        unsorted
        +
        +
      • +
      + + + +
        +
      • +

        setUnsorted

        +
        public void setUnsorted(Boolean unsorted)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to Sort
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static Sort fromJson(String jsonString)
        +                     throws IOException
        +
        Create an instance of Sort given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of Sort
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to Sort
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of Sort to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TemplateDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/TemplateDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f3bb24dba --- /dev/null +++ b/site/com/mailslurp/models/TemplateDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +TemplateDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TemplateDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.TemplateDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    TemplateDto
    +
    +
    +
    +
    public static class TemplateDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TemplateDto.html b/site/com/mailslurp/models/TemplateDto.html new file mode 100644 index 000000000..19bd17d9d --- /dev/null +++ b/site/com/mailslurp/models/TemplateDto.html @@ -0,0 +1,783 @@ + + + + + + +TemplateDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TemplateDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class TemplateDto
    +extends Object
    +
    Email template
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TemplateDto

        +
        public TemplateDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        ID of template
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        @Nonnull
        +public String getName()
        +
        Template name
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getVariables

        +
        @Nonnull
        +public List<TemplateVariable> getVariables()
        +
        Variables available in template that can be replaced with values
        +
        +
        Returns:
        +
        variables
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getContent

        +
        @Nonnull
        +public String getContent()
        +
        Content of the template
        +
        +
        Returns:
        +
        content
        +
        +
      • +
      + + + +
        +
      • +

        setContent

        +
        public void setContent(String content)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nonnull
        +public OffsetDateTime getCreatedAt()
        +
        Created at time
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to TemplateDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static TemplateDto fromJson(String jsonString)
        +                            throws IOException
        +
        Create an instance of TemplateDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of TemplateDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to TemplateDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of TemplateDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TemplatePreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/TemplatePreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4ecceac9f --- /dev/null +++ b/site/com/mailslurp/models/TemplatePreview.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +TemplatePreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TemplatePreview.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.TemplatePreview.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    TemplatePreview
    +
    +
    +
    +
    public static class TemplatePreview.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TemplatePreview.html b/site/com/mailslurp/models/TemplatePreview.html new file mode 100644 index 000000000..6eb7d5458 --- /dev/null +++ b/site/com/mailslurp/models/TemplatePreview.html @@ -0,0 +1,514 @@ + + + + + + +TemplatePreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TemplatePreview

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class TemplatePreview
    +extends Object
    +
    TemplatePreview
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TemplatePreview

        +
        public TemplatePreview()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getPreview

        +
        @Nonnull
        +public String getPreview()
        +
        Get preview
        +
        +
        Returns:
        +
        preview
        +
        +
      • +
      + + + +
        +
      • +

        setPreview

        +
        public void setPreview(String preview)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to TemplatePreview
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static TemplatePreview fromJson(String jsonString)
        +                                throws IOException
        +
        Create an instance of TemplatePreview given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of TemplatePreview
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to TemplatePreview
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of TemplatePreview to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TemplateProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/TemplateProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a91daa6b0 --- /dev/null +++ b/site/com/mailslurp/models/TemplateProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +TemplateProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TemplateProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.TemplateProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    TemplateProjection
    +
    +
    +
    +
    public static class TemplateProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TemplateProjection.html b/site/com/mailslurp/models/TemplateProjection.html new file mode 100644 index 000000000..122545d61 --- /dev/null +++ b/site/com/mailslurp/models/TemplateProjection.html @@ -0,0 +1,783 @@ + + + + + + +TemplateProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TemplateProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class TemplateProjection
    +extends Object
    +
    Email template data
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TemplateVariable.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/TemplateVariable.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..53a5a7a3f --- /dev/null +++ b/site/com/mailslurp/models/TemplateVariable.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +TemplateVariable.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TemplateVariable.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.TemplateVariable.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    TemplateVariable
    +
    +
    +
    +
    public static class TemplateVariable.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TemplateVariable.VariableTypeEnum.Adapter.html b/site/com/mailslurp/models/TemplateVariable.VariableTypeEnum.Adapter.html new file mode 100644 index 000000000..618f2626f --- /dev/null +++ b/site/com/mailslurp/models/TemplateVariable.VariableTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +TemplateVariable.VariableTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TemplateVariable.VariableTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TemplateVariable.VariableTypeEnum.html b/site/com/mailslurp/models/TemplateVariable.VariableTypeEnum.html new file mode 100644 index 000000000..f5aa0866a --- /dev/null +++ b/site/com/mailslurp/models/TemplateVariable.VariableTypeEnum.html @@ -0,0 +1,398 @@ + + + + + + +TemplateVariable.VariableTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum TemplateVariable.VariableTypeEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static TemplateVariable.VariableTypeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (TemplateVariable.VariableTypeEnum c : TemplateVariable.VariableTypeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static TemplateVariable.VariableTypeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TemplateVariable.html b/site/com/mailslurp/models/TemplateVariable.html new file mode 100644 index 000000000..41090e50c --- /dev/null +++ b/site/com/mailslurp/models/TemplateVariable.html @@ -0,0 +1,584 @@ + + + + + + +TemplateVariable (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TemplateVariable

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class TemplateVariable
    +extends Object
    +
    Variable for use with email template
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TemplateVariable

        +
        public TemplateVariable()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getName

        +
        @Nonnull
        +public String getName()
        +
        Name of variable. This can be used in a template as {{name}}
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to TemplateVariable
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static TemplateVariable fromJson(String jsonString)
        +                                 throws IOException
        +
        Create an instance of TemplateVariable given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of TemplateVariable
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to TemplateVariable
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of TemplateVariable to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TestNewInboxForwarderOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/TestNewInboxForwarderOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8043d2ad6 --- /dev/null +++ b/site/com/mailslurp/models/TestNewInboxForwarderOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +TestNewInboxForwarderOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TestNewInboxForwarderOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.TestNewInboxForwarderOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    TestNewInboxForwarderOptions
    +
    +
    +
    +
    public static class TestNewInboxForwarderOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TestNewInboxForwarderOptions.html b/site/com/mailslurp/models/TestNewInboxForwarderOptions.html new file mode 100644 index 000000000..943a84a5e --- /dev/null +++ b/site/com/mailslurp/models/TestNewInboxForwarderOptions.html @@ -0,0 +1,578 @@ + + + + + + +TestNewInboxForwarderOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TestNewInboxForwarderOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class TestNewInboxForwarderOptions
    +extends Object
    +
    Options for testing new inbox forwarder rules
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        SERIALIZED_NAME_INBOX_FORWARDER_TEST_OPTIONS

        +
        public static final String SERIALIZED_NAME_INBOX_FORWARDER_TEST_OPTIONS
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SERIALIZED_NAME_CREATE_INBOX_FORWARDER_OPTIONS

        +
        public static final String SERIALIZED_NAME_CREATE_INBOX_FORWARDER_OPTIONS
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        openapiFields

        +
        public static HashSet<String> openapiFields
        +
      • +
      + + + +
        +
      • +

        openapiRequiredFields

        +
        public static HashSet<String> openapiRequiredFields
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TestNewInboxForwarderOptions

        +
        public TestNewInboxForwarderOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getInboxForwarderTestOptions

        +
        @Nonnull
        +public InboxForwarderTestOptions getInboxForwarderTestOptions()
        +
        Get inboxForwarderTestOptions
        +
        +
        Returns:
        +
        inboxForwarderTestOptions
        +
        +
      • +
      + + + +
        +
      • +

        setInboxForwarderTestOptions

        +
        public void setInboxForwarderTestOptions(InboxForwarderTestOptions inboxForwarderTestOptions)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreateInboxForwarderOptions

        +
        @Nonnull
        +public CreateInboxForwarderOptions getCreateInboxForwarderOptions()
        +
        Get createInboxForwarderOptions
        +
        +
        Returns:
        +
        createInboxForwarderOptions
        +
        +
      • +
      + + + +
        +
      • +

        setCreateInboxForwarderOptions

        +
        public void setCreateInboxForwarderOptions(CreateInboxForwarderOptions createInboxForwarderOptions)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to TestNewInboxForwarderOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static TestNewInboxForwarderOptions fromJson(String jsonString)
        +                                             throws IOException
        +
        Create an instance of TestNewInboxForwarderOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of TestNewInboxForwarderOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to TestNewInboxForwarderOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of TestNewInboxForwarderOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TestNewInboxRulesetOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/TestNewInboxRulesetOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1b2b19870 --- /dev/null +++ b/site/com/mailslurp/models/TestNewInboxRulesetOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +TestNewInboxRulesetOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TestNewInboxRulesetOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.TestNewInboxRulesetOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    TestNewInboxRulesetOptions
    +
    +
    +
    +
    public static class TestNewInboxRulesetOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TestNewInboxRulesetOptions.html b/site/com/mailslurp/models/TestNewInboxRulesetOptions.html new file mode 100644 index 000000000..97cd575af --- /dev/null +++ b/site/com/mailslurp/models/TestNewInboxRulesetOptions.html @@ -0,0 +1,578 @@ + + + + + + +TestNewInboxRulesetOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TestNewInboxRulesetOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class TestNewInboxRulesetOptions
    +extends Object
    +
    Test inbox ruleset options
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        SERIALIZED_NAME_INBOX_RULESET_TEST_OPTIONS

        +
        public static final String SERIALIZED_NAME_INBOX_RULESET_TEST_OPTIONS
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SERIALIZED_NAME_CREATE_INBOX_RULESET_OPTIONS

        +
        public static final String SERIALIZED_NAME_CREATE_INBOX_RULESET_OPTIONS
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        openapiFields

        +
        public static HashSet<String> openapiFields
        +
      • +
      + + + +
        +
      • +

        openapiRequiredFields

        +
        public static HashSet<String> openapiRequiredFields
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TestNewInboxRulesetOptions

        +
        public TestNewInboxRulesetOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getInboxRulesetTestOptions

        +
        @Nonnull
        +public InboxRulesetTestOptions getInboxRulesetTestOptions()
        +
        Get inboxRulesetTestOptions
        +
        +
        Returns:
        +
        inboxRulesetTestOptions
        +
        +
      • +
      + + + +
        +
      • +

        setInboxRulesetTestOptions

        +
        public void setInboxRulesetTestOptions(InboxRulesetTestOptions inboxRulesetTestOptions)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreateInboxRulesetOptions

        +
        @Nonnull
        +public CreateInboxRulesetOptions getCreateInboxRulesetOptions()
        +
        Get createInboxRulesetOptions
        +
        +
        Returns:
        +
        createInboxRulesetOptions
        +
        +
      • +
      + + + +
        +
      • +

        setCreateInboxRulesetOptions

        +
        public void setCreateInboxRulesetOptions(CreateInboxRulesetOptions createInboxRulesetOptions)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to TestNewInboxRulesetOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static TestNewInboxRulesetOptions fromJson(String jsonString)
        +                                           throws IOException
        +
        Create an instance of TestNewInboxRulesetOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of TestNewInboxRulesetOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to TestNewInboxRulesetOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of TestNewInboxRulesetOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TestPhoneNumberOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/TestPhoneNumberOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b4b7230bc --- /dev/null +++ b/site/com/mailslurp/models/TestPhoneNumberOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +TestPhoneNumberOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TestPhoneNumberOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.TestPhoneNumberOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    TestPhoneNumberOptions
    +
    +
    +
    +
    public static class TestPhoneNumberOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TestPhoneNumberOptions.html b/site/com/mailslurp/models/TestPhoneNumberOptions.html new file mode 100644 index 000000000..624746ef6 --- /dev/null +++ b/site/com/mailslurp/models/TestPhoneNumberOptions.html @@ -0,0 +1,514 @@ + + + + + + +TestPhoneNumberOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TestPhoneNumberOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class TestPhoneNumberOptions
    +extends Object
    +
    TestPhoneNumberOptions
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TestPhoneNumberOptions

        +
        public TestPhoneNumberOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getMessage

        +
        @Nonnull
        +public String getMessage()
        +
        Get message
        +
        +
        Returns:
        +
        message
        +
        +
      • +
      + + + +
        +
      • +

        setMessage

        +
        public void setMessage(String message)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to TestPhoneNumberOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static TestPhoneNumberOptions fromJson(String jsonString)
        +                                       throws IOException
        +
        Create an instance of TestPhoneNumberOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of TestPhoneNumberOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to TestPhoneNumberOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of TestPhoneNumberOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ThreadProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ThreadProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b0d76ec4c --- /dev/null +++ b/site/com/mailslurp/models/ThreadProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ThreadProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ThreadProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ThreadProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ThreadProjection
    +
    +
    +
    +
    public static class ThreadProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ThreadProjection.html b/site/com/mailslurp/models/ThreadProjection.html new file mode 100644 index 000000000..b31c6ddf1 --- /dev/null +++ b/site/com/mailslurp/models/ThreadProjection.html @@ -0,0 +1,1193 @@ + + + + + + +ThreadProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ThreadProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ThreadProjection
    +extends Object
    +
    A thread is a message thread created for a message received by an alias
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TrackingPixelDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/TrackingPixelDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..372251a3a --- /dev/null +++ b/site/com/mailslurp/models/TrackingPixelDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +TrackingPixelDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TrackingPixelDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.TrackingPixelDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    TrackingPixelDto
    +
    +
    +
    +
    public static class TrackingPixelDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TrackingPixelDto.html b/site/com/mailslurp/models/TrackingPixelDto.html new file mode 100644 index 000000000..c7d678241 --- /dev/null +++ b/site/com/mailslurp/models/TrackingPixelDto.html @@ -0,0 +1,1026 @@ + + + + + + +TrackingPixelDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TrackingPixelDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class TrackingPixelDto
    +extends Object
    +
    Tracking pixel
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TrackingPixelProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/TrackingPixelProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..67df2a466 --- /dev/null +++ b/site/com/mailslurp/models/TrackingPixelProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +TrackingPixelProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TrackingPixelProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.TrackingPixelProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    TrackingPixelProjection
    +
    +
    +
    +
    public static class TrackingPixelProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/TrackingPixelProjection.html b/site/com/mailslurp/models/TrackingPixelProjection.html new file mode 100644 index 000000000..976a5161a --- /dev/null +++ b/site/com/mailslurp/models/TrackingPixelProjection.html @@ -0,0 +1,1026 @@ + + + + + + +TrackingPixelProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class TrackingPixelProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class TrackingPixelProjection
    +extends Object
    +
    Tracking pixel data
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UnknownMissedEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UnknownMissedEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..48ed23d8a --- /dev/null +++ b/site/com/mailslurp/models/UnknownMissedEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UnknownMissedEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UnknownMissedEmailProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UnknownMissedEmailProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UnknownMissedEmailProjection
    +
    +
    +
    +
    public static class UnknownMissedEmailProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UnknownMissedEmailProjection.html b/site/com/mailslurp/models/UnknownMissedEmailProjection.html new file mode 100644 index 000000000..ec8bb0f60 --- /dev/null +++ b/site/com/mailslurp/models/UnknownMissedEmailProjection.html @@ -0,0 +1,783 @@ + + + + + + +UnknownMissedEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UnknownMissedEmailProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UnknownMissedEmailProjection
    +extends Object
    +
    Unknown missed email projection
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UnreadCount.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UnreadCount.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b93bc290c --- /dev/null +++ b/site/com/mailslurp/models/UnreadCount.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UnreadCount.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UnreadCount.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UnreadCount.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UnreadCount
    +
    +
    +
    +
    public static class UnreadCount.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UnreadCount.html b/site/com/mailslurp/models/UnreadCount.html new file mode 100644 index 000000000..cf2798554 --- /dev/null +++ b/site/com/mailslurp/models/UnreadCount.html @@ -0,0 +1,514 @@ + + + + + + +UnreadCount (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UnreadCount

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UnreadCount
    +extends Object
    +
    Number of unread entities
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UnreadCount

        +
        public UnreadCount()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getCount

        +
        @Nonnull
        +public Long getCount()
        +
        Get count
        +
        +
        Returns:
        +
        count
        +
        +
      • +
      + + + +
        +
      • +

        setCount

        +
        public void setCount(Long count)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to UnreadCount
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static UnreadCount fromJson(String jsonString)
        +                            throws IOException
        +
        Create an instance of UnreadCount given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of UnreadCount
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to UnreadCount
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of UnreadCount to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UnseenErrorCountDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UnseenErrorCountDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..355833264 --- /dev/null +++ b/site/com/mailslurp/models/UnseenErrorCountDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UnseenErrorCountDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UnseenErrorCountDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UnseenErrorCountDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UnseenErrorCountDto
    +
    +
    +
    +
    public static class UnseenErrorCountDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UnseenErrorCountDto.html b/site/com/mailslurp/models/UnseenErrorCountDto.html new file mode 100644 index 000000000..08b3a6a70 --- /dev/null +++ b/site/com/mailslurp/models/UnseenErrorCountDto.html @@ -0,0 +1,514 @@ + + + + + + +UnseenErrorCountDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UnseenErrorCountDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UnseenErrorCountDto
    +extends Object
    +
    Number of unseen errors
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UnseenErrorCountDto

        +
        public UnseenErrorCountDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getCount

        +
        @Nonnull
        +public Long getCount()
        +
        Get count
        +
        +
        Returns:
        +
        count
        +
        +
      • +
      + + + +
        +
      • +

        setCount

        +
        public void setCount(Long count)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to UnseenErrorCountDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static UnseenErrorCountDto fromJson(String jsonString)
        +                                    throws IOException
        +
        Create an instance of UnseenErrorCountDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of UnseenErrorCountDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to UnseenErrorCountDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of UnseenErrorCountDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateAliasOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UpdateAliasOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5f61dbba4 --- /dev/null +++ b/site/com/mailslurp/models/UpdateAliasOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UpdateAliasOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UpdateAliasOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UpdateAliasOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UpdateAliasOptions
    +
    +
    +
    +
    public static class UpdateAliasOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateAliasOptions.html b/site/com/mailslurp/models/UpdateAliasOptions.html new file mode 100644 index 000000000..0341072ce --- /dev/null +++ b/site/com/mailslurp/models/UpdateAliasOptions.html @@ -0,0 +1,514 @@ + + + + + + +UpdateAliasOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UpdateAliasOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UpdateAliasOptions
    +extends Object
    +
    Update an email alias
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UpdateAliasOptions

        +
        public UpdateAliasOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Optional name for alias
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to UpdateAliasOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static UpdateAliasOptions fromJson(String jsonString)
        +                                   throws IOException
        +
        Create an instance of UpdateAliasOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of UpdateAliasOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to UpdateAliasOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of UpdateAliasOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateDomainOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UpdateDomainOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ddf8b040f --- /dev/null +++ b/site/com/mailslurp/models/UpdateDomainOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UpdateDomainOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UpdateDomainOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UpdateDomainOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UpdateDomainOptions
    +
    +
    +
    +
    public static class UpdateDomainOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateDomainOptions.html b/site/com/mailslurp/models/UpdateDomainOptions.html new file mode 100644 index 000000000..fc55a5a77 --- /dev/null +++ b/site/com/mailslurp/models/UpdateDomainOptions.html @@ -0,0 +1,514 @@ + + + + + + +UpdateDomainOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UpdateDomainOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UpdateDomainOptions
    +extends Object
    +
    Options for creating a domain to use with MailSlurp. You must have ownership access to this domain in order to verify it. Domains will not functionally currently until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains for help.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UpdateDomainOptions

        +
        public UpdateDomainOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getCatchAllInboxId

        +
        @Nullable
        +public UUID getCatchAllInboxId()
        +
        Get catchAllInboxId
        +
        +
        Returns:
        +
        catchAllInboxId
        +
        +
      • +
      + + + +
        +
      • +

        setCatchAllInboxId

        +
        public void setCatchAllInboxId(UUID catchAllInboxId)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to UpdateDomainOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static UpdateDomainOptions fromJson(String jsonString)
        +                                    throws IOException
        +
        Create an instance of UpdateDomainOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of UpdateDomainOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to UpdateDomainOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of UpdateDomainOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateGroupContacts.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UpdateGroupContacts.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ff9a922a2 --- /dev/null +++ b/site/com/mailslurp/models/UpdateGroupContacts.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UpdateGroupContacts.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UpdateGroupContacts.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UpdateGroupContacts.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UpdateGroupContacts
    +
    +
    +
    +
    public static class UpdateGroupContacts.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateGroupContacts.html b/site/com/mailslurp/models/UpdateGroupContacts.html new file mode 100644 index 000000000..6fd0e7b64 --- /dev/null +++ b/site/com/mailslurp/models/UpdateGroupContacts.html @@ -0,0 +1,527 @@ + + + + + + +UpdateGroupContacts (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UpdateGroupContacts

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UpdateGroupContacts
    +extends Object
    +
    Update group contacts options. Pass a list of contact ids to replace existing group contacts.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UpdateGroupContacts

        +
        public UpdateGroupContacts()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getContactIds

        +
        @Nonnull
        +public List<UUID> getContactIds()
        +
        Get contactIds
        +
        +
        Returns:
        +
        contactIds
        +
        +
      • +
      + + + +
        +
      • +

        setContactIds

        +
        public void setContactIds(List<UUID> contactIds)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to UpdateGroupContacts
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static UpdateGroupContacts fromJson(String jsonString)
        +                                    throws IOException
        +
        Create an instance of UpdateGroupContacts given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of UpdateGroupContacts
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to UpdateGroupContacts
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of UpdateGroupContacts to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateInboxOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UpdateInboxOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a9792fe40 --- /dev/null +++ b/site/com/mailslurp/models/UpdateInboxOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UpdateInboxOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UpdateInboxOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UpdateInboxOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UpdateInboxOptions
    +
    +
    +
    +
    public static class UpdateInboxOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateInboxOptions.html b/site/com/mailslurp/models/UpdateInboxOptions.html new file mode 100644 index 000000000..1b08de63e --- /dev/null +++ b/site/com/mailslurp/models/UpdateInboxOptions.html @@ -0,0 +1,783 @@ + + + + + + +UpdateInboxOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UpdateInboxOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UpdateInboxOptions
    +extends Object
    +
    Options for updating inbox properties
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UpdateInboxOptions

        +
        public UpdateInboxOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getDescription

        +
        @Nullable
        +public String getDescription()
        +
        Description of an inbox for labelling and searching purposes
        +
        +
        Returns:
        +
        description
        +
        +
      • +
      + + + +
        +
      • +

        setDescription

        +
        public void setDescription(String description)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getTags

        +
        @Nullable
        +public List<String> getTags()
        +
        Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
        +
        +
        Returns:
        +
        tags
        +
        +
      • +
      + + + +
        +
      • +

        setTags

        +
        public void setTags(List<String> tags)
        +
      • +
      + + + + + + + +
        +
      • +

        getExpiresAt

        +
        @Nullable
        +public OffsetDateTime getExpiresAt()
        +
        Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email.
        +
        +
        Returns:
        +
        expiresAt
        +
        +
      • +
      + + + +
        +
      • +

        setExpiresAt

        +
        public void setExpiresAt(OffsetDateTime expiresAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getFavourite

        +
        @Nullable
        +public Boolean getFavourite()
        +
        Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering
        +
        +
        Returns:
        +
        favourite
        +
        +
      • +
      + + + +
        +
      • +

        setFavourite

        +
        public void setFavourite(Boolean favourite)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to UpdateInboxOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static UpdateInboxOptions fromJson(String jsonString)
        +                                   throws IOException
        +
        Create an instance of UpdateInboxOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of UpdateInboxOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to UpdateInboxOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of UpdateInboxOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateInboxReplierOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UpdateInboxReplierOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0ba52fa65 --- /dev/null +++ b/site/com/mailslurp/models/UpdateInboxReplierOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UpdateInboxReplierOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UpdateInboxReplierOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UpdateInboxReplierOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UpdateInboxReplierOptions
    +
    +
    +
    +
    public static class UpdateInboxReplierOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateInboxReplierOptions.FieldEnum.Adapter.html b/site/com/mailslurp/models/UpdateInboxReplierOptions.FieldEnum.Adapter.html new file mode 100644 index 000000000..9da03ea73 --- /dev/null +++ b/site/com/mailslurp/models/UpdateInboxReplierOptions.FieldEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +UpdateInboxReplierOptions.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UpdateInboxReplierOptions.FieldEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateInboxReplierOptions.FieldEnum.html b/site/com/mailslurp/models/UpdateInboxReplierOptions.FieldEnum.html new file mode 100644 index 000000000..0a6289630 --- /dev/null +++ b/site/com/mailslurp/models/UpdateInboxReplierOptions.FieldEnum.html @@ -0,0 +1,434 @@ + + + + + + +UpdateInboxReplierOptions.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum UpdateInboxReplierOptions.FieldEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UpdateInboxReplierOptions.html b/site/com/mailslurp/models/UpdateInboxReplierOptions.html new file mode 100644 index 000000000..1cb03c425 --- /dev/null +++ b/site/com/mailslurp/models/UpdateInboxReplierOptions.html @@ -0,0 +1,1303 @@ + + + + + + +UpdateInboxReplierOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UpdateInboxReplierOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UpdateInboxReplierOptions
    +extends Object
    +
    Options for updating an inbox replier
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UploadAttachmentBytesRequest.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UploadAttachmentBytesRequest.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b969c9775 --- /dev/null +++ b/site/com/mailslurp/models/UploadAttachmentBytesRequest.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UploadAttachmentBytesRequest.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UploadAttachmentBytesRequest.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UploadAttachmentBytesRequest.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UploadAttachmentBytesRequest
    +
    +
    +
    +
    public static class UploadAttachmentBytesRequest.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UploadAttachmentBytesRequest.html b/site/com/mailslurp/models/UploadAttachmentBytesRequest.html new file mode 100644 index 000000000..5b29108d4 --- /dev/null +++ b/site/com/mailslurp/models/UploadAttachmentBytesRequest.html @@ -0,0 +1,962 @@ + + + + + + +UploadAttachmentBytesRequest (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UploadAttachmentBytesRequest

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UploadAttachmentBytesRequest
    +extends Object
    +
    Byte array request body
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UploadAttachmentOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UploadAttachmentOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..cb6ecd234 --- /dev/null +++ b/site/com/mailslurp/models/UploadAttachmentOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UploadAttachmentOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UploadAttachmentOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UploadAttachmentOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UploadAttachmentOptions
    +
    +
    +
    +
    public static class UploadAttachmentOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UploadAttachmentOptions.html b/site/com/mailslurp/models/UploadAttachmentOptions.html new file mode 100644 index 000000000..945a9b1f8 --- /dev/null +++ b/site/com/mailslurp/models/UploadAttachmentOptions.html @@ -0,0 +1,642 @@ + + + + + + +UploadAttachmentOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UploadAttachmentOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UploadAttachmentOptions
    +extends Object
    +
    Options for uploading files for attachments. When sending emails with the API that require attachments first upload each attachment. Then use the returned attachment ID in your `SendEmailOptions` when sending an email. This way you can use attachments multiple times once they have been uploaded.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UploadAttachmentOptions

        +
        public UploadAttachmentOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getContentType

        +
        @Nullable
        +public String getContentType()
        +
        Optional contentType for file. For instance `application/pdf`
        +
        +
        Returns:
        +
        contentType
        +
        +
      • +
      + + + +
        +
      • +

        setContentType

        +
        public void setContentType(String contentType)
        +
      • +
      + + + + + + + +
        +
      • +

        getFilename

        +
        @Nullable
        +public String getFilename()
        +
        Optional filename to save upload with. Will be the name that is shown in email clients
        +
        +
        Returns:
        +
        filename
        +
        +
      • +
      + + + +
        +
      • +

        setFilename

        +
        public void setFilename(String filename)
        +
      • +
      + + + + + + + +
        +
      • +

        getBase64Contents

        +
        @Nonnull
        +public String getBase64Contents()
        +
        Base64 encoded string of file contents. Typically this means reading the bytes or string content of a file and then converting that to a base64 encoded string. For examples of how to do this see https://www.mailslurp.com/guides/base64-file-uploads/
        +
        +
        Returns:
        +
        base64Contents
        +
        +
      • +
      + + + +
        +
      • +

        setBase64Contents

        +
        public void setBase64Contents(String base64Contents)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to UploadAttachmentOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static UploadAttachmentOptions fromJson(String jsonString)
        +                                        throws IOException
        +
        Create an instance of UploadAttachmentOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of UploadAttachmentOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to UploadAttachmentOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of UploadAttachmentOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UploadMultipartFormRequest.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UploadMultipartFormRequest.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..dcc968fa2 --- /dev/null +++ b/site/com/mailslurp/models/UploadMultipartFormRequest.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UploadMultipartFormRequest.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UploadMultipartFormRequest.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UploadMultipartFormRequest.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UploadMultipartFormRequest
    +
    +
    +
    +
    public static class UploadMultipartFormRequest.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UploadMultipartFormRequest.html b/site/com/mailslurp/models/UploadMultipartFormRequest.html new file mode 100644 index 000000000..a94bd883b --- /dev/null +++ b/site/com/mailslurp/models/UploadMultipartFormRequest.html @@ -0,0 +1,578 @@ + + + + + + +UploadMultipartFormRequest (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UploadMultipartFormRequest

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UploadMultipartFormRequest
    +extends Object
    +
    UploadMultipartFormRequest
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UploadMultipartFormRequest

        +
        public UploadMultipartFormRequest()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getContentTypeHeader

        +
        @Nullable
        +public String getContentTypeHeader()
        +
        Optional content type header of attachment
        +
        +
        Returns:
        +
        contentTypeHeader
        +
        +
      • +
      + + + +
        +
      • +

        setContentTypeHeader

        +
        public void setContentTypeHeader(String contentTypeHeader)
        +
      • +
      + + + + + + + +
        +
      • +

        getFile

        +
        @Nonnull
        +public File getFile()
        +
        Get _file
        +
        +
        Returns:
        +
        _file
        +
        +
      • +
      + + + +
        +
      • +

        setFile

        +
        public void setFile(File _file)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to UploadMultipartFormRequest
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static UploadMultipartFormRequest fromJson(String jsonString)
        +                                           throws IOException
        +
        Create an instance of UploadMultipartFormRequest given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of UploadMultipartFormRequest
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to UploadMultipartFormRequest
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of UploadMultipartFormRequest to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UserInfoDto.AccountStateEnum.Adapter.html b/site/com/mailslurp/models/UserInfoDto.AccountStateEnum.Adapter.html new file mode 100644 index 000000000..53bea12f3 --- /dev/null +++ b/site/com/mailslurp/models/UserInfoDto.AccountStateEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +UserInfoDto.AccountStateEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UserInfoDto.AccountStateEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UserInfoDto.AccountStateEnum.html b/site/com/mailslurp/models/UserInfoDto.AccountStateEnum.html new file mode 100644 index 000000000..bca08396b --- /dev/null +++ b/site/com/mailslurp/models/UserInfoDto.AccountStateEnum.html @@ -0,0 +1,410 @@ + + + + + + +UserInfoDto.AccountStateEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum UserInfoDto.AccountStateEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static UserInfoDto.AccountStateEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (UserInfoDto.AccountStateEnum c : UserInfoDto.AccountStateEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static UserInfoDto.AccountStateEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UserInfoDto.AccountTypeEnum.Adapter.html b/site/com/mailslurp/models/UserInfoDto.AccountTypeEnum.Adapter.html new file mode 100644 index 000000000..927e9f920 --- /dev/null +++ b/site/com/mailslurp/models/UserInfoDto.AccountTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +UserInfoDto.AccountTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UserInfoDto.AccountTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UserInfoDto.AccountTypeEnum.html b/site/com/mailslurp/models/UserInfoDto.AccountTypeEnum.html new file mode 100644 index 000000000..9f6768ded --- /dev/null +++ b/site/com/mailslurp/models/UserInfoDto.AccountTypeEnum.html @@ -0,0 +1,434 @@ + + + + + + +UserInfoDto.AccountTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum UserInfoDto.AccountTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UserInfoDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/UserInfoDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3fc479669 --- /dev/null +++ b/site/com/mailslurp/models/UserInfoDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +UserInfoDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UserInfoDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.UserInfoDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    UserInfoDto
    +
    +
    +
    +
    public static class UserInfoDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UserInfoDto.SubscriptionTypeEnum.Adapter.html b/site/com/mailslurp/models/UserInfoDto.SubscriptionTypeEnum.Adapter.html new file mode 100644 index 000000000..a3a6ffd9c --- /dev/null +++ b/site/com/mailslurp/models/UserInfoDto.SubscriptionTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +UserInfoDto.SubscriptionTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UserInfoDto.SubscriptionTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UserInfoDto.SubscriptionTypeEnum.html b/site/com/mailslurp/models/UserInfoDto.SubscriptionTypeEnum.html new file mode 100644 index 000000000..81c671d5c --- /dev/null +++ b/site/com/mailslurp/models/UserInfoDto.SubscriptionTypeEnum.html @@ -0,0 +1,434 @@ + + + + + + +UserInfoDto.SubscriptionTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum UserInfoDto.SubscriptionTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/UserInfoDto.html b/site/com/mailslurp/models/UserInfoDto.html new file mode 100644 index 000000000..a0c60cbfc --- /dev/null +++ b/site/com/mailslurp/models/UserInfoDto.html @@ -0,0 +1,852 @@ + + + + + + +UserInfoDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class UserInfoDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class UserInfoDto
    +extends Object
    +
    UserInfoDto
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ValidateEmailAddressListOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ValidateEmailAddressListOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ab849e1f9 --- /dev/null +++ b/site/com/mailslurp/models/ValidateEmailAddressListOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ValidateEmailAddressListOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ValidateEmailAddressListOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ValidateEmailAddressListOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ValidateEmailAddressListOptions
    +
    +
    +
    +
    public static class ValidateEmailAddressListOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ValidateEmailAddressListOptions.html b/site/com/mailslurp/models/ValidateEmailAddressListOptions.html new file mode 100644 index 000000000..5ec5c006d --- /dev/null +++ b/site/com/mailslurp/models/ValidateEmailAddressListOptions.html @@ -0,0 +1,527 @@ + + + + + + +ValidateEmailAddressListOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ValidateEmailAddressListOptions

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ValidateEmailAddressListOptions
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ValidateEmailAddressListOptions
    +extends Object
    +
    Options for validating a list of email addresses
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ValidateEmailAddressListOptions

        +
        public ValidateEmailAddressListOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getEmailAddressList

        +
        @Nonnull
        +public List<String> getEmailAddressList()
        +
        Get emailAddressList
        +
        +
        Returns:
        +
        emailAddressList
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddressList

        +
        public void setEmailAddressList(List<String> emailAddressList)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ValidateEmailAddressListOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ValidateEmailAddressListOptions fromJson(String jsonString)
        +                                                throws IOException
        +
        Create an instance of ValidateEmailAddressListOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ValidateEmailAddressListOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ValidateEmailAddressListOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ValidateEmailAddressListOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ValidateEmailAddressListResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ValidateEmailAddressListResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a25310c30 --- /dev/null +++ b/site/com/mailslurp/models/ValidateEmailAddressListResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ValidateEmailAddressListResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ValidateEmailAddressListResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ValidateEmailAddressListResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ValidateEmailAddressListResult
    +
    +
    +
    +
    public static class ValidateEmailAddressListResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ValidateEmailAddressListResult.html b/site/com/mailslurp/models/ValidateEmailAddressListResult.html new file mode 100644 index 000000000..e90ddab79 --- /dev/null +++ b/site/com/mailslurp/models/ValidateEmailAddressListResult.html @@ -0,0 +1,683 @@ + + + + + + +ValidateEmailAddressListResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ValidateEmailAddressListResult

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ValidateEmailAddressListResult
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ValidateEmailAddressListResult
    +extends Object
    +
    Result of validating a list of email addresses
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        SERIALIZED_NAME_VALID_EMAIL_ADDRESSES

        +
        public static final String SERIALIZED_NAME_VALID_EMAIL_ADDRESSES
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SERIALIZED_NAME_INVALID_EMAIL_ADDRESSES

        +
        public static final String SERIALIZED_NAME_INVALID_EMAIL_ADDRESSES
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SERIALIZED_NAME_RESULT_MAP_EMAIL_ADDRESS_IS_VALID

        +
        public static final String SERIALIZED_NAME_RESULT_MAP_EMAIL_ADDRESS_IS_VALID
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        openapiFields

        +
        public static HashSet<String> openapiFields
        +
      • +
      + + + +
        +
      • +

        openapiRequiredFields

        +
        public static HashSet<String> openapiRequiredFields
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ValidateEmailAddressListResult

        +
        public ValidateEmailAddressListResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        getValidEmailAddresses

        +
        @Nonnull
        +public List<String> getValidEmailAddresses()
        +
        Get validEmailAddresses
        +
        +
        Returns:
        +
        validEmailAddresses
        +
        +
      • +
      + + + +
        +
      • +

        setValidEmailAddresses

        +
        public void setValidEmailAddresses(List<String> validEmailAddresses)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getInvalidEmailAddresses

        +
        @Nonnull
        +public List<String> getInvalidEmailAddresses()
        +
        Get invalidEmailAddresses
        +
        +
        Returns:
        +
        invalidEmailAddresses
        +
        +
      • +
      + + + +
        +
      • +

        setInvalidEmailAddresses

        +
        public void setInvalidEmailAddresses(List<String> invalidEmailAddresses)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getResultMapEmailAddressIsValid

        +
        @Nonnull
        +public Map<String,Boolean> getResultMapEmailAddressIsValid()
        +
        Get resultMapEmailAddressIsValid
        +
        +
        Returns:
        +
        resultMapEmailAddressIsValid
        +
        +
      • +
      + + + +
        +
      • +

        setResultMapEmailAddressIsValid

        +
        public void setResultMapEmailAddressIsValid(Map<String,Boolean> resultMapEmailAddressIsValid)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ValidateEmailAddressListResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ValidateEmailAddressListResult fromJson(String jsonString)
        +                                               throws IOException
        +
        Create an instance of ValidateEmailAddressListResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ValidateEmailAddressListResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ValidateEmailAddressListResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ValidateEmailAddressListResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ValidationDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ValidationDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..50eaafece --- /dev/null +++ b/site/com/mailslurp/models/ValidationDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ValidationDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ValidationDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ValidationDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ValidationDto
    +
    +
    +
    +
    public static class ValidationDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ValidationDto.html b/site/com/mailslurp/models/ValidationDto.html new file mode 100644 index 000000000..1709ef431 --- /dev/null +++ b/site/com/mailslurp/models/ValidationDto.html @@ -0,0 +1,578 @@ + + + + + + +ValidationDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ValidationDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ValidationDto
    +extends Object
    +
    Response object for email validation operation
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ValidationDto

        +
        public ValidationDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getEmailId

        +
        @Nonnull
        +public UUID getEmailId()
        +
        ID of the email validated
        +
        +
        Returns:
        +
        emailId
        +
        +
      • +
      + + + +
        +
      • +

        setEmailId

        +
        public void setEmailId(UUID emailId)
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ValidationDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ValidationDto fromJson(String jsonString)
        +                              throws IOException
        +
        Create an instance of ValidationDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ValidationDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ValidationDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ValidationDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ValidationMessage.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/ValidationMessage.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5635b8a6a --- /dev/null +++ b/site/com/mailslurp/models/ValidationMessage.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +ValidationMessage.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ValidationMessage.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.ValidationMessage.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    ValidationMessage
    +
    +
    +
    +
    public static class ValidationMessage.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/ValidationMessage.html b/site/com/mailslurp/models/ValidationMessage.html new file mode 100644 index 000000000..6750050fe --- /dev/null +++ b/site/com/mailslurp/models/ValidationMessage.html @@ -0,0 +1,578 @@ + + + + + + +ValidationMessage (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class ValidationMessage

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class ValidationMessage
    +extends Object
    +
    Optional warnings resulting from HTML validation
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ValidationMessage

        +
        public ValidationMessage()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getLineNumber

        +
        @Nonnull
        +public Integer getLineNumber()
        +
        Get lineNumber
        +
        +
        Returns:
        +
        lineNumber
        +
        +
      • +
      + + + +
        +
      • +

        setLineNumber

        +
        public void setLineNumber(Integer lineNumber)
        +
      • +
      + + + + + + + +
        +
      • +

        getMessage

        +
        @Nullable
        +public String getMessage()
        +
        Get message
        +
        +
        Returns:
        +
        message
        +
        +
      • +
      + + + +
        +
      • +

        setMessage

        +
        public void setMessage(String message)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to ValidationMessage
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static ValidationMessage fromJson(String jsonString)
        +                                  throws IOException
        +
        Create an instance of ValidationMessage given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of ValidationMessage
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to ValidationMessage
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of ValidationMessage to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/VerifyEmailAddressOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/VerifyEmailAddressOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..7f728ed81 --- /dev/null +++ b/site/com/mailslurp/models/VerifyEmailAddressOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +VerifyEmailAddressOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class VerifyEmailAddressOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.VerifyEmailAddressOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    VerifyEmailAddressOptions
    +
    +
    +
    +
    public static class VerifyEmailAddressOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/VerifyEmailAddressOptions.html b/site/com/mailslurp/models/VerifyEmailAddressOptions.html new file mode 100644 index 000000000..0842fb186 --- /dev/null +++ b/site/com/mailslurp/models/VerifyEmailAddressOptions.html @@ -0,0 +1,706 @@ + + + + + + +VerifyEmailAddressOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class VerifyEmailAddressOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class VerifyEmailAddressOptions
    +extends Object
    +
    Options for verifying that an email address exists at a remote mail server.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        VerifyEmailAddressOptions

        +
        public VerifyEmailAddressOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getMailServerDomain

        +
        @Nullable
        +public String getMailServerDomain()
        +
        Get mailServerDomain
        +
        +
        Returns:
        +
        mailServerDomain
        +
        +
      • +
      + + + +
        +
      • +

        setMailServerDomain

        +
        public void setMailServerDomain(String mailServerDomain)
        +
      • +
      + + + + + + + +
        +
      • +

        getEmailAddress

        +
        @Nonnull
        +public String getEmailAddress()
        +
        Get emailAddress
        +
        +
        Returns:
        +
        emailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setEmailAddress

        +
        public void setEmailAddress(String emailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getSenderEmailAddress

        +
        @Nullable
        +public String getSenderEmailAddress()
        +
        Get senderEmailAddress
        +
        +
        Returns:
        +
        senderEmailAddress
        +
        +
      • +
      + + + +
        +
      • +

        setSenderEmailAddress

        +
        public void setSenderEmailAddress(String senderEmailAddress)
        +
      • +
      + + + + + + + +
        +
      • +

        getPort

        +
        @Nullable
        +public Integer getPort()
        +
        Get port
        +
        +
        Returns:
        +
        port
        +
        +
      • +
      + + + +
        +
      • +

        setPort

        +
        public void setPort(Integer port)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to VerifyEmailAddressOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static VerifyEmailAddressOptions fromJson(String jsonString)
        +                                          throws IOException
        +
        Create an instance of VerifyEmailAddressOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of VerifyEmailAddressOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to VerifyEmailAddressOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of VerifyEmailAddressOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/VerifyWebhookSignatureOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/VerifyWebhookSignatureOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2090c048b --- /dev/null +++ b/site/com/mailslurp/models/VerifyWebhookSignatureOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +VerifyWebhookSignatureOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class VerifyWebhookSignatureOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.VerifyWebhookSignatureOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    VerifyWebhookSignatureOptions
    +
    +
    +
    +
    public static class VerifyWebhookSignatureOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/VerifyWebhookSignatureOptions.html b/site/com/mailslurp/models/VerifyWebhookSignatureOptions.html new file mode 100644 index 000000000..f85b2d26c --- /dev/null +++ b/site/com/mailslurp/models/VerifyWebhookSignatureOptions.html @@ -0,0 +1,578 @@ + + + + + + +VerifyWebhookSignatureOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class VerifyWebhookSignatureOptions

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.VerifyWebhookSignatureOptions
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class VerifyWebhookSignatureOptions
    +extends Object
    +
    VerifyWebhookSignatureOptions
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        VerifyWebhookSignatureOptions

        +
        public VerifyWebhookSignatureOptions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getMessageId

        +
        @Nonnull
        +public String getMessageId()
        +
        Get messageId
        +
        +
        Returns:
        +
        messageId
        +
        +
      • +
      + + + +
        +
      • +

        setMessageId

        +
        public void setMessageId(String messageId)
        +
      • +
      + + + + + + + +
        +
      • +

        getSignature

        +
        @Nonnull
        +public String getSignature()
        +
        Get signature
        +
        +
        Returns:
        +
        signature
        +
        +
      • +
      + + + +
        +
      • +

        setSignature

        +
        public void setSignature(String signature)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to VerifyWebhookSignatureOptions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static VerifyWebhookSignatureOptions fromJson(String jsonString)
        +                                              throws IOException
        +
        Create an instance of VerifyWebhookSignatureOptions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of VerifyWebhookSignatureOptions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to VerifyWebhookSignatureOptions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of VerifyWebhookSignatureOptions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/VerifyWebhookSignatureResults.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/VerifyWebhookSignatureResults.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ec42d11b4 --- /dev/null +++ b/site/com/mailslurp/models/VerifyWebhookSignatureResults.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +VerifyWebhookSignatureResults.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class VerifyWebhookSignatureResults.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.VerifyWebhookSignatureResults.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    VerifyWebhookSignatureResults
    +
    +
    +
    +
    public static class VerifyWebhookSignatureResults.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/VerifyWebhookSignatureResults.html b/site/com/mailslurp/models/VerifyWebhookSignatureResults.html new file mode 100644 index 000000000..d9b46b7b1 --- /dev/null +++ b/site/com/mailslurp/models/VerifyWebhookSignatureResults.html @@ -0,0 +1,514 @@ + + + + + + +VerifyWebhookSignatureResults (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class VerifyWebhookSignatureResults

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.VerifyWebhookSignatureResults
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class VerifyWebhookSignatureResults
    +extends Object
    +
    VerifyWebhookSignatureResults
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        VerifyWebhookSignatureResults

        +
        public VerifyWebhookSignatureResults()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getIsValid

        +
        @Nonnull
        +public Boolean getIsValid()
        +
        Get isValid
        +
        +
        Returns:
        +
        isValid
        +
        +
      • +
      + + + +
        +
      • +

        setIsValid

        +
        public void setIsValid(Boolean isValid)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to VerifyWebhookSignatureResults
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static VerifyWebhookSignatureResults fromJson(String jsonString)
        +                                              throws IOException
        +
        Create an instance of VerifyWebhookSignatureResults given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of VerifyWebhookSignatureResults
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to VerifyWebhookSignatureResults
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of VerifyWebhookSignatureResults to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForConditions.CountTypeEnum.Adapter.html b/site/com/mailslurp/models/WaitForConditions.CountTypeEnum.Adapter.html new file mode 100644 index 000000000..5160efc77 --- /dev/null +++ b/site/com/mailslurp/models/WaitForConditions.CountTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WaitForConditions.CountTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WaitForConditions.CountTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForConditions.CountTypeEnum.html b/site/com/mailslurp/models/WaitForConditions.CountTypeEnum.html new file mode 100644 index 000000000..4e989c076 --- /dev/null +++ b/site/com/mailslurp/models/WaitForConditions.CountTypeEnum.html @@ -0,0 +1,410 @@ + + + + + + +WaitForConditions.CountTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WaitForConditions.CountTypeEnum

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static WaitForConditions.CountTypeEnum[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (WaitForConditions.CountTypeEnum c : WaitForConditions.CountTypeEnum.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static WaitForConditions.CountTypeEnum valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public String getValue()
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForConditions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WaitForConditions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b93308066 --- /dev/null +++ b/site/com/mailslurp/models/WaitForConditions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WaitForConditions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WaitForConditions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WaitForConditions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WaitForConditions
    +
    +
    +
    +
    public static class WaitForConditions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForConditions.SortDirectionEnum.Adapter.html b/site/com/mailslurp/models/WaitForConditions.SortDirectionEnum.Adapter.html new file mode 100644 index 000000000..06e0e3e33 --- /dev/null +++ b/site/com/mailslurp/models/WaitForConditions.SortDirectionEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WaitForConditions.SortDirectionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WaitForConditions.SortDirectionEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForConditions.SortDirectionEnum.html b/site/com/mailslurp/models/WaitForConditions.SortDirectionEnum.html new file mode 100644 index 000000000..a8215b9cd --- /dev/null +++ b/site/com/mailslurp/models/WaitForConditions.SortDirectionEnum.html @@ -0,0 +1,410 @@ + + + + + + +WaitForConditions.SortDirectionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WaitForConditions.SortDirectionEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForConditions.html b/site/com/mailslurp/models/WaitForConditions.html new file mode 100644 index 000000000..a677cd2c2 --- /dev/null +++ b/site/com/mailslurp/models/WaitForConditions.html @@ -0,0 +1,1115 @@ + + + + + + +WaitForConditions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WaitForConditions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WaitForConditions
    +extends Object
    +
    Conditions to apply to emails that you are waiting for
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WaitForConditions

        +
        public WaitForConditions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getInboxId

        +
        @Nonnull
        +public UUID getInboxId()
        +
        ID of inbox to search within and apply conditions to. Essentially filtering the emails found to give a count.
        +
        +
        Returns:
        +
        inboxId
        +
        +
      • +
      + + + +
        +
      • +

        setInboxId

        +
        public void setInboxId(UUID inboxId)
        +
      • +
      + + + + + + + +
        +
      • +

        getCount

        +
        @Nullable
        +public Integer getCount()
        +
        Number of results that should match conditions. Either exactly or at least this amount based on the `countType`. If count condition is not met and the timeout has not been reached the `waitFor` method will retry the operation.
        +
        +
        Returns:
        +
        count
        +
        +
      • +
      + + + +
        +
      • +

        setCount

        +
        public void setCount(Integer count)
        +
      • +
      + + + + + + + +
        +
      • +

        getDelayTimeout

        +
        @Nullable
        +public Long getDelayTimeout()
        +
        Max time in milliseconds to wait between retries if a `timeout` is specified.
        +
        +
        Returns:
        +
        delayTimeout
        +
        +
      • +
      + + + +
        +
      • +

        setDelayTimeout

        +
        public void setDelayTimeout(Long delayTimeout)
        +
      • +
      + + + + + + + +
        +
      • +

        getTimeout

        +
        @Nonnull
        +public Long getTimeout()
        +
        Max time in milliseconds to retry the `waitFor` operation until conditions are met.
        +
        +
        Returns:
        +
        timeout
        +
        +
      • +
      + + + +
        +
      • +

        setTimeout

        +
        public void setTimeout(Long timeout)
        +
      • +
      + + + + + + + +
        +
      • +

        getUnreadOnly

        +
        @Nullable
        +public Boolean getUnreadOnly()
        +
        Apply conditions only to **unread** emails. All emails begin with `read=false`. An email is marked `read=true` when an `EmailDto` representation of it has been returned to the user at least once. For example you have called `getEmail` or `waitForLatestEmail` etc., or you have viewed the email in the dashboard.
        +
        +
        Returns:
        +
        unreadOnly
        +
        +
      • +
      + + + +
        +
      • +

        setUnreadOnly

        +
        public void setUnreadOnly(Boolean unreadOnly)
        +
      • +
      + + + + + + + +
        +
      • +

        getCountType

        +
        @Nullable
        +public WaitForConditions.CountTypeEnum getCountType()
        +
        How result size should be compared with the expected size. Exactly or at-least matching result?
        +
        +
        Returns:
        +
        countType
        +
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        getMatches

        +
        @Nullable
        +public List<MatchOption> getMatches()
        +
        Conditions that should be matched for an email to qualify for results. Each condition will be applied in order to each email within an inbox to filter a result list of matching emails you are waiting for.
        +
        +
        Returns:
        +
        matches
        +
        +
      • +
      + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getSince

        +
        @Nullable
        +public OffsetDateTime getSince()
        +
        ISO Date Time earliest time of email to consider. Filter for matching emails that were received after this date
        +
        +
        Returns:
        +
        since
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getBefore

        +
        @Nullable
        +public OffsetDateTime getBefore()
        +
        ISO Date Time latest time of email to consider. Filter for matching emails that were received before this date
        +
        +
        Returns:
        +
        before
        +
        +
      • +
      + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to WaitForConditions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static WaitForConditions fromJson(String jsonString)
        +                                  throws IOException
        +
        Create an instance of WaitForConditions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of WaitForConditions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to WaitForConditions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of WaitForConditions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForSingleSmsOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WaitForSingleSmsOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b3c4ef220 --- /dev/null +++ b/site/com/mailslurp/models/WaitForSingleSmsOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WaitForSingleSmsOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WaitForSingleSmsOptions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WaitForSingleSmsOptions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WaitForSingleSmsOptions
    +
    +
    +
    +
    public static class WaitForSingleSmsOptions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForSingleSmsOptions.SortDirectionEnum.Adapter.html b/site/com/mailslurp/models/WaitForSingleSmsOptions.SortDirectionEnum.Adapter.html new file mode 100644 index 000000000..218cae620 --- /dev/null +++ b/site/com/mailslurp/models/WaitForSingleSmsOptions.SortDirectionEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WaitForSingleSmsOptions.SortDirectionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WaitForSingleSmsOptions.SortDirectionEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForSingleSmsOptions.SortDirectionEnum.html b/site/com/mailslurp/models/WaitForSingleSmsOptions.SortDirectionEnum.html new file mode 100644 index 000000000..5cf116e14 --- /dev/null +++ b/site/com/mailslurp/models/WaitForSingleSmsOptions.SortDirectionEnum.html @@ -0,0 +1,410 @@ + + + + + + +WaitForSingleSmsOptions.SortDirectionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WaitForSingleSmsOptions.SortDirectionEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForSingleSmsOptions.html b/site/com/mailslurp/models/WaitForSingleSmsOptions.html new file mode 100644 index 000000000..a8c4a47ed --- /dev/null +++ b/site/com/mailslurp/models/WaitForSingleSmsOptions.html @@ -0,0 +1,904 @@ + + + + + + +WaitForSingleSmsOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WaitForSingleSmsOptions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WaitForSingleSmsOptions
    +extends Object
    +
    WaitForSingleSmsOptions
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForSmsConditions.CountTypeEnum.Adapter.html b/site/com/mailslurp/models/WaitForSmsConditions.CountTypeEnum.Adapter.html new file mode 100644 index 000000000..e7b9ceb17 --- /dev/null +++ b/site/com/mailslurp/models/WaitForSmsConditions.CountTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WaitForSmsConditions.CountTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WaitForSmsConditions.CountTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForSmsConditions.CountTypeEnum.html b/site/com/mailslurp/models/WaitForSmsConditions.CountTypeEnum.html new file mode 100644 index 000000000..88b29c106 --- /dev/null +++ b/site/com/mailslurp/models/WaitForSmsConditions.CountTypeEnum.html @@ -0,0 +1,410 @@ + + + + + + +WaitForSmsConditions.CountTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WaitForSmsConditions.CountTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForSmsConditions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WaitForSmsConditions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a617c0240 --- /dev/null +++ b/site/com/mailslurp/models/WaitForSmsConditions.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WaitForSmsConditions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WaitForSmsConditions.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WaitForSmsConditions.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WaitForSmsConditions
    +
    +
    +
    +
    public static class WaitForSmsConditions.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForSmsConditions.SortDirectionEnum.Adapter.html b/site/com/mailslurp/models/WaitForSmsConditions.SortDirectionEnum.Adapter.html new file mode 100644 index 000000000..b71fefce9 --- /dev/null +++ b/site/com/mailslurp/models/WaitForSmsConditions.SortDirectionEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WaitForSmsConditions.SortDirectionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WaitForSmsConditions.SortDirectionEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForSmsConditions.SortDirectionEnum.html b/site/com/mailslurp/models/WaitForSmsConditions.SortDirectionEnum.html new file mode 100644 index 000000000..ce73d1a55 --- /dev/null +++ b/site/com/mailslurp/models/WaitForSmsConditions.SortDirectionEnum.html @@ -0,0 +1,410 @@ + + + + + + +WaitForSmsConditions.SortDirectionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WaitForSmsConditions.SortDirectionEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WaitForSmsConditions.html b/site/com/mailslurp/models/WaitForSmsConditions.html new file mode 100644 index 000000000..f39a3d128 --- /dev/null +++ b/site/com/mailslurp/models/WaitForSmsConditions.html @@ -0,0 +1,1179 @@ + + + + + + +WaitForSmsConditions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WaitForSmsConditions

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WaitForSmsConditions
    +extends Object
    +
    Conditions to apply to emails that you are waiting for
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WaitForSmsConditions

        +
        public WaitForSmsConditions()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getPhoneNumberId

        +
        @Nonnull
        +public UUID getPhoneNumberId()
        +
        ID of phone number to search within and apply conditions to. Essentially filtering the SMS found to give a count.
        +
        +
        Returns:
        +
        phoneNumberId
        +
        +
      • +
      + + + +
        +
      • +

        setPhoneNumberId

        +
        public void setPhoneNumberId(UUID phoneNumberId)
        +
      • +
      + + + + + + + +
        +
      • +

        getLimit

        +
        @Nullable
        +public Integer getLimit()
        +
        Limit results
        +
        +
        Returns:
        +
        limit
        +
        +
      • +
      + + + +
        +
      • +

        setLimit

        +
        public void setLimit(Integer limit)
        +
      • +
      + + + + + + + +
        +
      • +

        getCount

        +
        @Nonnull
        +public Long getCount()
        +
        Number of results that should match conditions. Either exactly or at least this amount based on the `countType`. If count condition is not met and the timeout has not been reached the `waitFor` method will retry the operation.
        +
        +
        Returns:
        +
        count
        +
        +
      • +
      + + + +
        +
      • +

        setCount

        +
        public void setCount(Long count)
        +
      • +
      + + + + + + + +
        +
      • +

        getDelayTimeout

        +
        @Nullable
        +public Long getDelayTimeout()
        +
        Max time in milliseconds to wait between retries if a `timeout` is specified.
        +
        +
        Returns:
        +
        delayTimeout
        +
        +
      • +
      + + + +
        +
      • +

        setDelayTimeout

        +
        public void setDelayTimeout(Long delayTimeout)
        +
      • +
      + + + + + + + +
        +
      • +

        getTimeout

        +
        @Nonnull
        +public Long getTimeout()
        +
        Max time in milliseconds to retry the `waitFor` operation until conditions are met.
        +
        +
        Returns:
        +
        timeout
        +
        +
      • +
      + + + +
        +
      • +

        setTimeout

        +
        public void setTimeout(Long timeout)
        +
      • +
      + + + + + + + +
        +
      • +

        getUnreadOnly

        +
        @Nullable
        +public Boolean getUnreadOnly()
        +
        Apply conditions only to **unread** SMS. All SMS messages begin with `read=false`. An SMS is marked `read=true` when an `SMS` has been returned to the user at least once. For example you have called `getSms` or `waitForSms` etc., or you have viewed the SMS in the dashboard.
        +
        +
        Returns:
        +
        unreadOnly
        +
        +
      • +
      + + + +
        +
      • +

        setUnreadOnly

        +
        public void setUnreadOnly(Boolean unreadOnly)
        +
      • +
      + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getMatches

        +
        @Nullable
        +public List<SmsMatchOption> getMatches()
        +
        Conditions that should be matched for an SMS to qualify for results. Each condition will be applied in order to each SMS within a phone number to filter a result list of matching SMSs you are waiting for.
        +
        +
        Returns:
        +
        matches
        +
        +
      • +
      + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getSince

        +
        @Nullable
        +public OffsetDateTime getSince()
        +
        ISO Date Time earliest time of SMS to consider. Filter for matching SMSs that were received after this date
        +
        +
        Returns:
        +
        since
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getBefore

        +
        @Nullable
        +public OffsetDateTime getBefore()
        +
        ISO Date Time latest time of SMS to consider. Filter for matching SMSs that were received before this date
        +
        +
        Returns:
        +
        before
        +
        +
      • +
      + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to WaitForSmsConditions
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static WaitForSmsConditions fromJson(String jsonString)
        +                                     throws IOException
        +
        Create an instance of WaitForSmsConditions given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of WaitForSmsConditions
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to WaitForSmsConditions
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of WaitForSmsConditions to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookBouncePayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookBouncePayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..59768e033 --- /dev/null +++ b/site/com/mailslurp/models/WebhookBouncePayload.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookBouncePayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookBouncePayload.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookBouncePayload.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookBouncePayload
    +
    +
    +
    +
    public static class WebhookBouncePayload.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookBouncePayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/WebhookBouncePayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..d7d13229a --- /dev/null +++ b/site/com/mailslurp/models/WebhookBouncePayload.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookBouncePayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookBouncePayload.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookBouncePayload.EventNameEnum.html b/site/com/mailslurp/models/WebhookBouncePayload.EventNameEnum.html new file mode 100644 index 000000000..206a8ca26 --- /dev/null +++ b/site/com/mailslurp/models/WebhookBouncePayload.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookBouncePayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookBouncePayload.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookBouncePayload.html b/site/com/mailslurp/models/WebhookBouncePayload.html new file mode 100644 index 000000000..8f9986c1d --- /dev/null +++ b/site/com/mailslurp/models/WebhookBouncePayload.html @@ -0,0 +1,994 @@ + + + + + + +WebhookBouncePayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookBouncePayload

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookBouncePayload
    +extends Object
    +
    BOUNCE webhook payload. Sent to your webhook url endpoint via HTTP POST when an email bounced or was rejected by a recipient. Save the recipients to a ban list on your server and avoid emailing them again. It is recommended you also listen to the BOUNCE_RECIPIENT payload.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WebhookBouncePayload

        +
        public WebhookBouncePayload()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getMessageId

        +
        @Nonnull
        +public String getMessageId()
        +
        Idempotent message ID. Store this ID locally or in a database to prevent message duplication.
        +
        +
        Returns:
        +
        messageId
        +
        +
      • +
      + + + +
        +
      • +

        setMessageId

        +
        public void setMessageId(String messageId)
        +
      • +
      + + + + + + + +
        +
      • +

        getWebhookId

        +
        @Nonnull
        +public UUID getWebhookId()
        +
        ID of webhook entity being triggered
        +
        +
        Returns:
        +
        webhookId
        +
        +
      • +
      + + + +
        +
      • +

        setWebhookId

        +
        public void setWebhookId(UUID webhookId)
        +
      • +
      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getWebhookName

        +
        @Nullable
        +public String getWebhookName()
        +
        Name of the webhook being triggered
        +
        +
        Returns:
        +
        webhookName
        +
        +
      • +
      + + + +
        +
      • +

        setWebhookName

        +
        public void setWebhookName(String webhookName)
        +
      • +
      + + + + + + + +
        +
      • +

        getBounceId

        +
        @Nonnull
        +public UUID getBounceId()
        +
        ID of the bounce email record. Use the ID with the bounce controller to view more information
        +
        +
        Returns:
        +
        bounceId
        +
        +
      • +
      + + + +
        +
      • +

        setBounceId

        +
        public void setBounceId(UUID bounceId)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getSentToRecipients

        +
        @Nullable
        +public List<String> getSentToRecipients()
        +
        Email sent to recipients
        +
        +
        Returns:
        +
        sentToRecipients
        +
        +
      • +
      + + + +
        +
      • +

        setSentToRecipients

        +
        public void setSentToRecipients(List<String> sentToRecipients)
        +
      • +
      + + + + + + + +
        +
      • +

        getSender

        +
        @Nonnull
        +public String getSender()
        +
        Sender causing bounce
        +
        +
        Returns:
        +
        sender
        +
        +
      • +
      + + + +
        +
      • +

        setSender

        +
        public void setSender(String sender)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getBounceRecipients

        +
        @Nullable
        +public List<String> getBounceRecipients()
        +
        Email addresses that resulted in a bounce or email being rejected. Please save these recipients and avoid emailing them in the future to maintain your reputation.
        +
        +
        Returns:
        +
        bounceRecipients
        +
        +
      • +
      + + + +
        +
      • +

        setBounceRecipients

        +
        public void setBounceRecipients(List<String> bounceRecipients)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to WebhookBouncePayload
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static WebhookBouncePayload fromJson(String jsonString)
        +                                     throws IOException
        +
        Create an instance of WebhookBouncePayload given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of WebhookBouncePayload
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to WebhookBouncePayload
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of WebhookBouncePayload to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookBounceRecipientPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookBounceRecipientPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ff2b66fa4 --- /dev/null +++ b/site/com/mailslurp/models/WebhookBounceRecipientPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookBounceRecipientPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookBounceRecipientPayload.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookBounceRecipientPayload.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookBounceRecipientPayload
    +
    +
    +
    +
    public static class WebhookBounceRecipientPayload.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookBounceRecipientPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/WebhookBounceRecipientPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..90c6fb4e9 --- /dev/null +++ b/site/com/mailslurp/models/WebhookBounceRecipientPayload.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookBounceRecipientPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookBounceRecipientPayload.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookBounceRecipientPayload.EventNameEnum.html b/site/com/mailslurp/models/WebhookBounceRecipientPayload.EventNameEnum.html new file mode 100644 index 000000000..c8cd4ece7 --- /dev/null +++ b/site/com/mailslurp/models/WebhookBounceRecipientPayload.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookBounceRecipientPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookBounceRecipientPayload.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookBounceRecipientPayload.html b/site/com/mailslurp/models/WebhookBounceRecipientPayload.html new file mode 100644 index 000000000..12700fd5d --- /dev/null +++ b/site/com/mailslurp/models/WebhookBounceRecipientPayload.html @@ -0,0 +1,776 @@ + + + + + + +WebhookBounceRecipientPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookBounceRecipientPayload

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookBounceRecipientPayload
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookBounceRecipientPayload
    +extends Object
    +
    BOUNCE_RECIPIENT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email caused a bounce to occur for a recipient. Save the recipient to a ban list of your server and avoid email them again.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookDeliveryStatusPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookDeliveryStatusPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f5debd860 --- /dev/null +++ b/site/com/mailslurp/models/WebhookDeliveryStatusPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookDeliveryStatusPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookDeliveryStatusPayload.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookDeliveryStatusPayload.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookDeliveryStatusPayload
    +
    +
    +
    +
    public static class WebhookDeliveryStatusPayload.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookDeliveryStatusPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/WebhookDeliveryStatusPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..104c7a780 --- /dev/null +++ b/site/com/mailslurp/models/WebhookDeliveryStatusPayload.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookDeliveryStatusPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookDeliveryStatusPayload.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookDeliveryStatusPayload.EventNameEnum.html b/site/com/mailslurp/models/WebhookDeliveryStatusPayload.EventNameEnum.html new file mode 100644 index 000000000..f35f45b03 --- /dev/null +++ b/site/com/mailslurp/models/WebhookDeliveryStatusPayload.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookDeliveryStatusPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookDeliveryStatusPayload.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookDeliveryStatusPayload.html b/site/com/mailslurp/models/WebhookDeliveryStatusPayload.html new file mode 100644 index 000000000..fdc2c13e6 --- /dev/null +++ b/site/com/mailslurp/models/WebhookDeliveryStatusPayload.html @@ -0,0 +1,1493 @@ + + + + + + +WebhookDeliveryStatusPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookDeliveryStatusPayload

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookDeliveryStatusPayload
    +extends Object
    +
    DELIVERY_STATUS webhook payload. Sent to your webhook url endpoint via HTTP POST when an email delivery status is created. This could be a successful delivery or a delivery failure.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..275ee29c2 --- /dev/null +++ b/site/com/mailslurp/models/WebhookDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookDto
    +
    +
    +
    +
    public static class WebhookDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookDto.EventNameEnum.Adapter.html b/site/com/mailslurp/models/WebhookDto.EventNameEnum.Adapter.html new file mode 100644 index 000000000..ddc1e5266 --- /dev/null +++ b/site/com/mailslurp/models/WebhookDto.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookDto.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookDto.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookDto.EventNameEnum.html b/site/com/mailslurp/models/WebhookDto.EventNameEnum.html new file mode 100644 index 000000000..30f1bbc8f --- /dev/null +++ b/site/com/mailslurp/models/WebhookDto.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookDto.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookDto.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookDto.MethodEnum.Adapter.html b/site/com/mailslurp/models/WebhookDto.MethodEnum.Adapter.html new file mode 100644 index 000000000..9048ffde3 --- /dev/null +++ b/site/com/mailslurp/models/WebhookDto.MethodEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookDto.MethodEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookDto.MethodEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookDto.MethodEnum.html b/site/com/mailslurp/models/WebhookDto.MethodEnum.html new file mode 100644 index 000000000..8115a1102 --- /dev/null +++ b/site/com/mailslurp/models/WebhookDto.MethodEnum.html @@ -0,0 +1,482 @@ + + + + + + +WebhookDto.MethodEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookDto.MethodEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookDto.html b/site/com/mailslurp/models/WebhookDto.html new file mode 100644 index 000000000..e5a56db53 --- /dev/null +++ b/site/com/mailslurp/models/WebhookDto.html @@ -0,0 +1,1486 @@ + + + + + + +WebhookDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookDto
    +extends Object
    +
    Representation of a webhook for an inbox. The URL specified will be using by MailSlurp whenever an email is received by the attached inbox. A webhook entity should have a URL that points to your server. Your server should accept HTTP/S POST requests and return a success 200. MailSlurp will retry your webhooks if they fail. See https://java.api.mailslurp.com/schemas/webhook-payload for the payload schema.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WebhookDto

        +
        public WebhookDto()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getId

        +
        @Nonnull
        +public UUID getId()
        +
        ID of the Webhook
        +
        +
        Returns:
        +
        id
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId(UUID id)
        +
      • +
      + + + + + + + +
        +
      • +

        getUserId

        +
        @Nonnull
        +public UUID getUserId()
        +
        User ID of the Webhook
        +
        +
        Returns:
        +
        userId
        +
        +
      • +
      + + + +
        +
      • +

        setUserId

        +
        public void setUserId(UUID userId)
        +
      • +
      + + + + + + + +
        +
      • +

        getBasicAuth

        +
        @Nonnull
        +public Boolean getBasicAuth()
        +
        Does webhook expect basic authentication? If true it means you created this webhook with a username and password. MailSlurp will use these in the URL to authenticate itself.
        +
        +
        Returns:
        +
        basicAuth
        +
        +
      • +
      + + + +
        +
      • +

        setBasicAuth

        +
        public void setBasicAuth(Boolean basicAuth)
        +
      • +
      + + + + + + + +
        +
      • +

        getName

        +
        @Nullable
        +public String getName()
        +
        Name of the webhook
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getPhoneId

        +
        @Nullable
        +public UUID getPhoneId()
        +
        The phoneNumberId that the Webhook will be triggered by. If null then webhook triggered at account level or inbox level if inboxId set
        +
        +
        Returns:
        +
        phoneId
        +
        +
      • +
      + + + +
        +
      • +

        setPhoneId

        +
        public void setPhoneId(UUID phoneId)
        +
      • +
      + + + + + + + +
        +
      • +

        getInboxId

        +
        @Nullable
        +public UUID getInboxId()
        +
        The inbox that the Webhook will be triggered by. If null then webhook triggered at account level or phone level if phoneId set
        +
        +
        Returns:
        +
        inboxId
        +
        +
      • +
      + + + +
        +
      • +

        setInboxId

        +
        public void setInboxId(UUID inboxId)
        +
      • +
      + + + +
        +
      • +

        requestBodyTemplate

        +
        public WebhookDto requestBodyTemplate(String requestBodyTemplate)
        +
      • +
      + + + +
        +
      • +

        getRequestBodyTemplate

        +
        @Nullable
        +public String getRequestBodyTemplate()
        +
        Request body template for HTTP request that will be sent for the webhook. Use Moustache style template variables to insert values from the original event payload.
        +
        +
        Returns:
        +
        requestBodyTemplate
        +
        +
      • +
      + + + +
        +
      • +

        setRequestBodyTemplate

        +
        public void setRequestBodyTemplate(String requestBodyTemplate)
        +
      • +
      + + + + + + + +
        +
      • +

        getUrl

        +
        @Nonnull
        +public String getUrl()
        +
        URL of your server that the webhook will be sent to. The schema of the JSON that is sent is described by the payloadJsonSchema.
        +
        +
        Returns:
        +
        url
        +
        +
      • +
      + + + +
        +
      • +

        setUrl

        +
        public void setUrl(String url)
        +
      • +
      + + + + + + + +
        +
      • +

        getMethod

        +
        @Nonnull
        +public WebhookDto.MethodEnum getMethod()
        +
        HTTP method that your server endpoint must listen for
        +
        +
        Returns:
        +
        method
        +
        +
      • +
      + + + + + + + +
        +
      • +

        payloadJsonSchema

        +
        public WebhookDto payloadJsonSchema(String payloadJsonSchema)
        +
      • +
      + + + +
        +
      • +

        getPayloadJsonSchema

        +
        @Nonnull
        +public String getPayloadJsonSchema()
        +
        Deprecated. Fetch JSON Schema for webhook using the getJsonSchemaForWebhookPayload method
        +
        +
        Returns:
        +
        payloadJsonSchema
        +
        +
      • +
      + + + +
        +
      • +

        setPayloadJsonSchema

        +
        public void setPayloadJsonSchema(String payloadJsonSchema)
        +
      • +
      + + + + + + + +
        +
      • +

        getCreatedAt

        +
        @Nullable
        +public OffsetDateTime getCreatedAt()
        +
        When the webhook was created
        +
        +
        Returns:
        +
        createdAt
        +
        +
      • +
      + + + +
        +
      • +

        setCreatedAt

        +
        public void setCreatedAt(OffsetDateTime createdAt)
        +
      • +
      + + + + + + + +
        +
      • +

        getUpdatedAt

        +
        @Nonnull
        +public OffsetDateTime getUpdatedAt()
        +
        Get updatedAt
        +
        +
        Returns:
        +
        updatedAt
        +
        +
      • +
      + + + +
        +
      • +

        setUpdatedAt

        +
        public void setUpdatedAt(OffsetDateTime updatedAt)
        +
      • +
      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getRequestHeaders

        +
        @Nullable
        +public WebhookHeaders getRequestHeaders()
        +
        Get requestHeaders
        +
        +
        Returns:
        +
        requestHeaders
        +
        +
      • +
      + + + +
        +
      • +

        setRequestHeaders

        +
        public void setRequestHeaders(WebhookHeaders requestHeaders)
        +
      • +
      + + + +
        +
      • +

        ignoreInsecureSslCertificates

        +
        public WebhookDto ignoreInsecureSslCertificates(Boolean ignoreInsecureSslCertificates)
        +
      • +
      + + + +
        +
      • +

        getIgnoreInsecureSslCertificates

        +
        @Nullable
        +public Boolean getIgnoreInsecureSslCertificates()
        +
        Should notifier ignore insecure SSL certificates
        +
        +
        Returns:
        +
        ignoreInsecureSslCertificates
        +
        +
      • +
      + + + +
        +
      • +

        setIgnoreInsecureSslCertificates

        +
        public void setIgnoreInsecureSslCertificates(Boolean ignoreInsecureSslCertificates)
        +
      • +
      + + + +
        +
      • +

        useStaticIpRange

        +
        public WebhookDto useStaticIpRange(Boolean useStaticIpRange)
        +
      • +
      + + + +
        +
      • +

        getUseStaticIpRange

        +
        @Nullable
        +public Boolean getUseStaticIpRange()
        +
        Should notifier use static IP range when sending webhook payload
        +
        +
        Returns:
        +
        useStaticIpRange
        +
        +
      • +
      + + + +
        +
      • +

        setUseStaticIpRange

        +
        public void setUseStaticIpRange(Boolean useStaticIpRange)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to WebhookDto
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static WebhookDto fromJson(String jsonString)
        +                           throws IOException
        +
        Create an instance of WebhookDto given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of WebhookDto
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to WebhookDto
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of WebhookDto to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookEmailOpenedPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookEmailOpenedPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..98436e63c --- /dev/null +++ b/site/com/mailslurp/models/WebhookEmailOpenedPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookEmailOpenedPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookEmailOpenedPayload.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookEmailOpenedPayload.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookEmailOpenedPayload
    +
    +
    +
    +
    public static class WebhookEmailOpenedPayload.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookEmailOpenedPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/WebhookEmailOpenedPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..8e219eb2c --- /dev/null +++ b/site/com/mailslurp/models/WebhookEmailOpenedPayload.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookEmailOpenedPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookEmailOpenedPayload.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookEmailOpenedPayload.EventNameEnum.html b/site/com/mailslurp/models/WebhookEmailOpenedPayload.EventNameEnum.html new file mode 100644 index 000000000..09c3ff09b --- /dev/null +++ b/site/com/mailslurp/models/WebhookEmailOpenedPayload.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookEmailOpenedPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookEmailOpenedPayload.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookEmailOpenedPayload.html b/site/com/mailslurp/models/WebhookEmailOpenedPayload.html new file mode 100644 index 000000000..24ec67554 --- /dev/null +++ b/site/com/mailslurp/models/WebhookEmailOpenedPayload.html @@ -0,0 +1,1032 @@ + + + + + + +WebhookEmailOpenedPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookEmailOpenedPayload

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookEmailOpenedPayload
    +extends Object
    +
    EMAIL_OPENED webhook payload. Sent to your webhook url endpoint via HTTP POST when an email containing a tracking pixel is opened and the pixel image is loaded by a reader.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookEmailReadPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookEmailReadPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..56ff6e7a8 --- /dev/null +++ b/site/com/mailslurp/models/WebhookEmailReadPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookEmailReadPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookEmailReadPayload.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookEmailReadPayload.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookEmailReadPayload
    +
    +
    +
    +
    public static class WebhookEmailReadPayload.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookEmailReadPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/WebhookEmailReadPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..566f3174f --- /dev/null +++ b/site/com/mailslurp/models/WebhookEmailReadPayload.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookEmailReadPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookEmailReadPayload.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookEmailReadPayload.EventNameEnum.html b/site/com/mailslurp/models/WebhookEmailReadPayload.EventNameEnum.html new file mode 100644 index 000000000..9f405837a --- /dev/null +++ b/site/com/mailslurp/models/WebhookEmailReadPayload.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookEmailReadPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookEmailReadPayload.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookEmailReadPayload.html b/site/com/mailslurp/models/WebhookEmailReadPayload.html new file mode 100644 index 000000000..c9581d4f8 --- /dev/null +++ b/site/com/mailslurp/models/WebhookEmailReadPayload.html @@ -0,0 +1,968 @@ + + + + + + +WebhookEmailReadPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookEmailReadPayload

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookEmailReadPayload
    +extends Object
    +
    EMAIL_READ webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is read. This happens when an email is requested in full from the API or a user views the email in the dashboard.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookHeaderNameValue.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookHeaderNameValue.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..244fa8d73 --- /dev/null +++ b/site/com/mailslurp/models/WebhookHeaderNameValue.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookHeaderNameValue.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookHeaderNameValue.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookHeaderNameValue.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookHeaderNameValue
    +
    +
    +
    +
    public static class WebhookHeaderNameValue.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookHeaderNameValue.html b/site/com/mailslurp/models/WebhookHeaderNameValue.html new file mode 100644 index 000000000..a0303d29e --- /dev/null +++ b/site/com/mailslurp/models/WebhookHeaderNameValue.html @@ -0,0 +1,578 @@ + + + + + + +WebhookHeaderNameValue (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookHeaderNameValue

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookHeaderNameValue
    +extends Object
    +
    Name value pair for webhook header
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WebhookHeaderNameValue

        +
        public WebhookHeaderNameValue()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getName

        +
        @Nonnull
        +public String getName()
        +
        Name of header
        +
        +
        Returns:
        +
        name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
      • +
      + + + + + + + +
        +
      • +

        getValue

        +
        @Nonnull
        +public String getValue()
        +
        Value of header
        +
        +
        Returns:
        +
        value
        +
        +
      • +
      + + + +
        +
      • +

        setValue

        +
        public void setValue(String value)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to WebhookHeaderNameValue
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static WebhookHeaderNameValue fromJson(String jsonString)
        +                                       throws IOException
        +
        Create an instance of WebhookHeaderNameValue given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of WebhookHeaderNameValue
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to WebhookHeaderNameValue
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of WebhookHeaderNameValue to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookHeaders.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookHeaders.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e974c9a78 --- /dev/null +++ b/site/com/mailslurp/models/WebhookHeaders.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookHeaders.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookHeaders.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookHeaders.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookHeaders
    +
    +
    +
    +
    public static class WebhookHeaders.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookHeaders.html b/site/com/mailslurp/models/WebhookHeaders.html new file mode 100644 index 000000000..652d3f8f4 --- /dev/null +++ b/site/com/mailslurp/models/WebhookHeaders.html @@ -0,0 +1,527 @@ + + + + + + +WebhookHeaders (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookHeaders

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookHeaders
    +extends Object
    +
    Webhook HTTP headers to include with each request from MailSlurp to your server
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WebhookHeaders

        +
        public WebhookHeaders()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to WebhookHeaders
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static WebhookHeaders fromJson(String jsonString)
        +                               throws IOException
        +
        Create an instance of WebhookHeaders given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of WebhookHeaders
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to WebhookHeaders
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of WebhookHeaders to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewAttachmentPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookNewAttachmentPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..58d9a631d --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewAttachmentPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookNewAttachmentPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewAttachmentPayload.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookNewAttachmentPayload.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookNewAttachmentPayload
    +
    +
    +
    +
    public static class WebhookNewAttachmentPayload.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewAttachmentPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/WebhookNewAttachmentPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..98835466b --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewAttachmentPayload.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookNewAttachmentPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewAttachmentPayload.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewAttachmentPayload.EventNameEnum.html b/site/com/mailslurp/models/WebhookNewAttachmentPayload.EventNameEnum.html new file mode 100644 index 000000000..5cf9029cf --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewAttachmentPayload.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookNewAttachmentPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookNewAttachmentPayload.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewAttachmentPayload.html b/site/com/mailslurp/models/WebhookNewAttachmentPayload.html new file mode 100644 index 000000000..15c567f20 --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewAttachmentPayload.html @@ -0,0 +1,968 @@ + + + + + + +WebhookNewAttachmentPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewAttachmentPayload

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookNewAttachmentPayload
    +extends Object
    +
    NEW_ATTACHMENT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains an attachment. You can use the attachmentId to download the attachment.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewContactPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookNewContactPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..9de515bf7 --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewContactPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookNewContactPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewContactPayload.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookNewContactPayload.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookNewContactPayload
    +
    +
    +
    +
    public static class WebhookNewContactPayload.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewContactPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/WebhookNewContactPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..d63c11190 --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewContactPayload.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookNewContactPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewContactPayload.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewContactPayload.EventNameEnum.html b/site/com/mailslurp/models/WebhookNewContactPayload.EventNameEnum.html new file mode 100644 index 000000000..01343b649 --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewContactPayload.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookNewContactPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookNewContactPayload.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewContactPayload.html b/site/com/mailslurp/models/WebhookNewContactPayload.html new file mode 100644 index 000000000..f5d7bb03b --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewContactPayload.html @@ -0,0 +1,1442 @@ + + + + + + +WebhookNewContactPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewContactPayload

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookNewContactPayload
    +extends Object
    +
    NEW_CONTACT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains a recipient that has not been saved as a contact.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewEmailPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookNewEmailPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4399ac3e8 --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewEmailPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookNewEmailPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewEmailPayload.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookNewEmailPayload.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookNewEmailPayload
    +
    +
    +
    +
    public static class WebhookNewEmailPayload.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewEmailPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/WebhookNewEmailPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..e6436e132 --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewEmailPayload.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookNewEmailPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewEmailPayload.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewEmailPayload.EventNameEnum.html b/site/com/mailslurp/models/WebhookNewEmailPayload.EventNameEnum.html new file mode 100644 index 000000000..e5f6da7dd --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewEmailPayload.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookNewEmailPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookNewEmailPayload.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewEmailPayload.html b/site/com/mailslurp/models/WebhookNewEmailPayload.html new file mode 100644 index 000000000..83a398892 --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewEmailPayload.html @@ -0,0 +1,1404 @@ + + + + + + +WebhookNewEmailPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewEmailPayload

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookNewEmailPayload
    +extends Object
    +
    NEW_EMAIL webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to. Use the email ID to fetch the full email body or attachments.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewSmsPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookNewSmsPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0088e89d7 --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewSmsPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookNewSmsPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewSmsPayload.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookNewSmsPayload.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookNewSmsPayload
    +
    +
    +
    +
    public static class WebhookNewSmsPayload.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewSmsPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/WebhookNewSmsPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..a446865f8 --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewSmsPayload.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookNewSmsPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewSmsPayload.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewSmsPayload.EventNameEnum.html b/site/com/mailslurp/models/WebhookNewSmsPayload.EventNameEnum.html new file mode 100644 index 000000000..0daf7a4cc --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewSmsPayload.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookNewSmsPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookNewSmsPayload.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookNewSmsPayload.html b/site/com/mailslurp/models/WebhookNewSmsPayload.html new file mode 100644 index 000000000..db0172b21 --- /dev/null +++ b/site/com/mailslurp/models/WebhookNewSmsPayload.html @@ -0,0 +1,1160 @@ + + + + + + +WebhookNewSmsPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookNewSmsPayload

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookNewSmsPayload
    +extends Object
    +
    NEW_SMS webhook payload. Sent to your webhook url endpoint via HTTP POST when an sms is received by the phone number that your webhook is attached to. Use the SMS ID to fetch the full SMS details.
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1f0e23c0d --- /dev/null +++ b/site/com/mailslurp/models/WebhookProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookProjection.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookProjection.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookProjection
    +
    +
    +
    +
    public static class WebhookProjection.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookProjection.EventNameEnum.Adapter.html b/site/com/mailslurp/models/WebhookProjection.EventNameEnum.Adapter.html new file mode 100644 index 000000000..e04d2a0c9 --- /dev/null +++ b/site/com/mailslurp/models/WebhookProjection.EventNameEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookProjection.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookProjection.EventNameEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookProjection.EventNameEnum.html b/site/com/mailslurp/models/WebhookProjection.EventNameEnum.html new file mode 100644 index 000000000..be28f648a --- /dev/null +++ b/site/com/mailslurp/models/WebhookProjection.EventNameEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookProjection.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookProjection.EventNameEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookProjection.html b/site/com/mailslurp/models/WebhookProjection.html new file mode 100644 index 000000000..47474f243 --- /dev/null +++ b/site/com/mailslurp/models/WebhookProjection.html @@ -0,0 +1,968 @@ + + + + + + +WebhookProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookProjection

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookProjection
    +extends Object
    +
    Representation of a webhook
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookRedriveResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookRedriveResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..73460918e --- /dev/null +++ b/site/com/mailslurp/models/WebhookRedriveResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookRedriveResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookRedriveResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookRedriveResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookRedriveResult
    +
    +
    +
    +
    public static class WebhookRedriveResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookRedriveResult.html b/site/com/mailslurp/models/WebhookRedriveResult.html new file mode 100644 index 000000000..ba3c4c24d --- /dev/null +++ b/site/com/mailslurp/models/WebhookRedriveResult.html @@ -0,0 +1,642 @@ + + + + + + +WebhookRedriveResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookRedriveResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookRedriveResult
    +extends Object
    +
    Result of retrying webhook
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WebhookRedriveResult

        +
        public WebhookRedriveResult()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getWebhookResultId

        +
        @Nonnull
        +public UUID getWebhookResultId()
        +
        Get webhookResultId
        +
        +
        Returns:
        +
        webhookResultId
        +
        +
      • +
      + + + +
        +
      • +

        setWebhookResultId

        +
        public void setWebhookResultId(UUID webhookResultId)
        +
      • +
      + + + + + + + +
        +
      • +

        getSuccess

        +
        @Nonnull
        +public Boolean getSuccess()
        +
        Get success
        +
        +
        Returns:
        +
        success
        +
        +
      • +
      + + + +
        +
      • +

        setSuccess

        +
        public void setSuccess(Boolean success)
        +
      • +
      + + + + + + + +
        +
      • +

        getMessage

        +
        @Nullable
        +public String getMessage()
        +
        Get message
        +
        +
        Returns:
        +
        message
        +
        +
      • +
      + + + +
        +
      • +

        setMessage

        +
        public void setMessage(String message)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to WebhookRedriveResult
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static WebhookRedriveResult fromJson(String jsonString)
        +                                     throws IOException
        +
        Create an instance of WebhookRedriveResult given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of WebhookRedriveResult
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to WebhookRedriveResult
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of WebhookRedriveResult to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookResultDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookResultDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5b4537aca --- /dev/null +++ b/site/com/mailslurp/models/WebhookResultDto.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookResultDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookResultDto.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookResultDto.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookResultDto
    +
    +
    +
    +
    public static class WebhookResultDto.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookResultDto.HttpMethodEnum.Adapter.html b/site/com/mailslurp/models/WebhookResultDto.HttpMethodEnum.Adapter.html new file mode 100644 index 000000000..75bf5fd43 --- /dev/null +++ b/site/com/mailslurp/models/WebhookResultDto.HttpMethodEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookResultDto.HttpMethodEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookResultDto.HttpMethodEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookResultDto.HttpMethodEnum.html b/site/com/mailslurp/models/WebhookResultDto.HttpMethodEnum.html new file mode 100644 index 000000000..644b1bf36 --- /dev/null +++ b/site/com/mailslurp/models/WebhookResultDto.HttpMethodEnum.html @@ -0,0 +1,482 @@ + + + + + + +WebhookResultDto.HttpMethodEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookResultDto.HttpMethodEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookResultDto.ResultTypeEnum.Adapter.html b/site/com/mailslurp/models/WebhookResultDto.ResultTypeEnum.Adapter.html new file mode 100644 index 000000000..bf207e7ee --- /dev/null +++ b/site/com/mailslurp/models/WebhookResultDto.ResultTypeEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookResultDto.ResultTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookResultDto.ResultTypeEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookResultDto.ResultTypeEnum.html b/site/com/mailslurp/models/WebhookResultDto.ResultTypeEnum.html new file mode 100644 index 000000000..3cf4194e2 --- /dev/null +++ b/site/com/mailslurp/models/WebhookResultDto.ResultTypeEnum.html @@ -0,0 +1,422 @@ + + + + + + +WebhookResultDto.ResultTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookResultDto.ResultTypeEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookResultDto.WebhookEventEnum.Adapter.html b/site/com/mailslurp/models/WebhookResultDto.WebhookEventEnum.Adapter.html new file mode 100644 index 000000000..2c8dd6641 --- /dev/null +++ b/site/com/mailslurp/models/WebhookResultDto.WebhookEventEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookResultDto.WebhookEventEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookResultDto.WebhookEventEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookResultDto.WebhookEventEnum.html b/site/com/mailslurp/models/WebhookResultDto.WebhookEventEnum.html new file mode 100644 index 000000000..ea2ff42d5 --- /dev/null +++ b/site/com/mailslurp/models/WebhookResultDto.WebhookEventEnum.html @@ -0,0 +1,506 @@ + + + + + + +WebhookResultDto.WebhookEventEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookResultDto.WebhookEventEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookResultDto.html b/site/com/mailslurp/models/WebhookResultDto.html new file mode 100644 index 000000000..bda2d634f --- /dev/null +++ b/site/com/mailslurp/models/WebhookResultDto.html @@ -0,0 +1,1492 @@ + + + + + + +WebhookResultDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookResultDto

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookResultDto
    +extends Object
    +
    Result of a webhook notification
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookTestRequest.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookTestRequest.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..fd6185f27 --- /dev/null +++ b/site/com/mailslurp/models/WebhookTestRequest.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookTestRequest.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookTestRequest.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookTestRequest.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookTestRequest
    +
    +
    +
    +
    public static class WebhookTestRequest.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookTestRequest.MethodEnum.Adapter.html b/site/com/mailslurp/models/WebhookTestRequest.MethodEnum.Adapter.html new file mode 100644 index 000000000..c7b52cd8e --- /dev/null +++ b/site/com/mailslurp/models/WebhookTestRequest.MethodEnum.Adapter.html @@ -0,0 +1,318 @@ + + + + + + +WebhookTestRequest.MethodEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookTestRequest.MethodEnum.Adapter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookTestRequest.MethodEnum.html b/site/com/mailslurp/models/WebhookTestRequest.MethodEnum.html new file mode 100644 index 000000000..df0baf28d --- /dev/null +++ b/site/com/mailslurp/models/WebhookTestRequest.MethodEnum.html @@ -0,0 +1,482 @@ + + + + + + +WebhookTestRequest.MethodEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Enum WebhookTestRequest.MethodEnum

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookTestRequest.html b/site/com/mailslurp/models/WebhookTestRequest.html new file mode 100644 index 000000000..ff6c79717 --- /dev/null +++ b/site/com/mailslurp/models/WebhookTestRequest.html @@ -0,0 +1,727 @@ + + + + + + +WebhookTestRequest (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookTestRequest

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookTestRequest
    +extends Object
    +
    Result of webhook test request
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookTestResponse.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookTestResponse.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..78cbf162d --- /dev/null +++ b/site/com/mailslurp/models/WebhookTestResponse.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookTestResponse.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookTestResponse.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookTestResponse.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookTestResponse
    +
    +
    +
    +
    public static class WebhookTestResponse.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookTestResponse.html b/site/com/mailslurp/models/WebhookTestResponse.html new file mode 100644 index 000000000..5264972e0 --- /dev/null +++ b/site/com/mailslurp/models/WebhookTestResponse.html @@ -0,0 +1,578 @@ + + + + + + +WebhookTestResponse (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookTestResponse

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookTestResponse
    +extends Object
    +
    Response from webhook test request
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WebhookTestResponse

        +
        public WebhookTestResponse()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getStatusCode

        +
        @Nullable
        +public Integer getStatusCode()
        +
        Get statusCode
        +
        +
        Returns:
        +
        statusCode
        +
        +
      • +
      + + + +
        +
      • +

        setStatusCode

        +
        public void setStatusCode(Integer statusCode)
        +
      • +
      + + + + + + + +
        +
      • +

        getMessage

        +
        @Nullable
        +public String getMessage()
        +
        Get message
        +
        +
        Returns:
        +
        message
        +
        +
      • +
      + + + +
        +
      • +

        setMessage

        +
        public void setMessage(String message)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateJsonObject

        +
        public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
        +                               throws IOException
        +
        Validates the JSON Object and throws an exception if issues found
        +
        +
        Parameters:
        +
        jsonObj - JSON Object
        +
        Throws:
        +
        IOException - if the JSON Object is invalid with respect to WebhookTestResponse
        +
        +
      • +
      + + + +
        +
      • +

        fromJson

        +
        public static WebhookTestResponse fromJson(String jsonString)
        +                                    throws IOException
        +
        Create an instance of WebhookTestResponse given an JSON string
        +
        +
        Parameters:
        +
        jsonString - JSON string
        +
        Returns:
        +
        An instance of WebhookTestResponse
        +
        Throws:
        +
        IOException - if the JSON string is invalid with respect to WebhookTestResponse
        +
        +
      • +
      + + + +
        +
      • +

        toJson

        +
        public String toJson()
        +
        Convert an instance of WebhookTestResponse to an JSON string
        +
        +
        Returns:
        +
        JSON string
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookTestResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/WebhookTestResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2f49c4fed --- /dev/null +++ b/site/com/mailslurp/models/WebhookTestResult.CustomTypeAdapterFactory.html @@ -0,0 +1,288 @@ + + + + + + +WebhookTestResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookTestResult.CustomTypeAdapterFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.mailslurp.models.WebhookTestResult.CustomTypeAdapterFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.google.gson.TypeAdapterFactory
    +
    +
    +
    Enclosing class:
    +
    WebhookTestResult
    +
    +
    +
    +
    public static class WebhookTestResult.CustomTypeAdapterFactory
    +extends Object
    +implements com.google.gson.TypeAdapterFactory
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomTypeAdapterFactory

        +
        public CustomTypeAdapterFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
        +                                                 com.google.gson.reflect.TypeToken<T> type)
        +
        +
        Specified by:
        +
        create in interface com.google.gson.TypeAdapterFactory
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/WebhookTestResult.html b/site/com/mailslurp/models/WebhookTestResult.html new file mode 100644 index 000000000..2cbcef290 --- /dev/null +++ b/site/com/mailslurp/models/WebhookTestResult.html @@ -0,0 +1,642 @@ + + + + + + +WebhookTestResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + + +
+
com.mailslurp.models
+

Class WebhookTestResult

+
+
+ +
+
    +
  • +
    +
    +
    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
    +           date="2023-06-12T23:33:57.654989Z[Etc/UTC]")
    +public class WebhookTestResult
    +extends Object
    +
    Results of testing a webhook
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AbstractOpenApiSchema.html b/site/com/mailslurp/models/class-use/AbstractOpenApiSchema.html new file mode 100644 index 000000000..b0f32ac03 --- /dev/null +++ b/site/com/mailslurp/models/class-use/AbstractOpenApiSchema.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.AbstractOpenApiSchema (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AbstractOpenApiSchema

+
+
No usage of com.mailslurp.models.AbstractOpenApiSchema
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AbstractWebhookPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/AbstractWebhookPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0191ee57a --- /dev/null +++ b/site/com/mailslurp/models/class-use/AbstractWebhookPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.AbstractWebhookPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AbstractWebhookPayload.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.AbstractWebhookPayload.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AbstractWebhookPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/AbstractWebhookPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..740fdb400 --- /dev/null +++ b/site/com/mailslurp/models/class-use/AbstractWebhookPayload.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.AbstractWebhookPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AbstractWebhookPayload.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.AbstractWebhookPayload.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AbstractWebhookPayload.EventNameEnum.html b/site/com/mailslurp/models/class-use/AbstractWebhookPayload.EventNameEnum.html new file mode 100644 index 000000000..7fe743bfc --- /dev/null +++ b/site/com/mailslurp/models/class-use/AbstractWebhookPayload.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.AbstractWebhookPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AbstractWebhookPayload.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AbstractWebhookPayload.html b/site/com/mailslurp/models/class-use/AbstractWebhookPayload.html new file mode 100644 index 000000000..526435df6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/AbstractWebhookPayload.html @@ -0,0 +1,260 @@ + + + + + + +Uses of Class com.mailslurp.models.AbstractWebhookPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AbstractWebhookPayload

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AliasDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/AliasDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1548dff85 --- /dev/null +++ b/site/com/mailslurp/models/class-use/AliasDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.AliasDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AliasDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.AliasDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AliasDto.html b/site/com/mailslurp/models/class-use/AliasDto.html new file mode 100644 index 000000000..464be552d --- /dev/null +++ b/site/com/mailslurp/models/class-use/AliasDto.html @@ -0,0 +1,307 @@ + + + + + + +Uses of Class com.mailslurp.models.AliasDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AliasDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AliasProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/AliasProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b7b5831fc --- /dev/null +++ b/site/com/mailslurp/models/class-use/AliasProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.AliasProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AliasProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.AliasProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AliasProjection.html b/site/com/mailslurp/models/class-use/AliasProjection.html new file mode 100644 index 000000000..3e51e2e48 --- /dev/null +++ b/site/com/mailslurp/models/class-use/AliasProjection.html @@ -0,0 +1,245 @@ + + + + + + +Uses of Class com.mailslurp.models.AliasProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AliasProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AttachmentEntity.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/AttachmentEntity.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5b2a70605 --- /dev/null +++ b/site/com/mailslurp/models/class-use/AttachmentEntity.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.AttachmentEntity.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AttachmentEntity.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.AttachmentEntity.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AttachmentEntity.html b/site/com/mailslurp/models/class-use/AttachmentEntity.html new file mode 100644 index 000000000..03f9dbd62 --- /dev/null +++ b/site/com/mailslurp/models/class-use/AttachmentEntity.html @@ -0,0 +1,259 @@ + + + + + + +Uses of Class com.mailslurp.models.AttachmentEntity (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AttachmentEntity

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AttachmentMetaData.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/AttachmentMetaData.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d4ae46e39 --- /dev/null +++ b/site/com/mailslurp/models/class-use/AttachmentMetaData.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.AttachmentMetaData.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AttachmentMetaData.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.AttachmentMetaData.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AttachmentMetaData.html b/site/com/mailslurp/models/class-use/AttachmentMetaData.html new file mode 100644 index 000000000..728c16d14 --- /dev/null +++ b/site/com/mailslurp/models/class-use/AttachmentMetaData.html @@ -0,0 +1,328 @@ + + + + + + +Uses of Class com.mailslurp.models.AttachmentMetaData (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AttachmentMetaData

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AttachmentProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/AttachmentProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3b636d1e7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/AttachmentProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.AttachmentProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AttachmentProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.AttachmentProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/AttachmentProjection.html b/site/com/mailslurp/models/class-use/AttachmentProjection.html new file mode 100644 index 000000000..ec5ea273e --- /dev/null +++ b/site/com/mailslurp/models/class-use/AttachmentProjection.html @@ -0,0 +1,241 @@ + + + + + + +Uses of Class com.mailslurp.models.AttachmentProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.AttachmentProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BasicAuthOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/BasicAuthOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..64e8550ee --- /dev/null +++ b/site/com/mailslurp/models/class-use/BasicAuthOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.BasicAuthOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BasicAuthOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.BasicAuthOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BasicAuthOptions.html b/site/com/mailslurp/models/class-use/BasicAuthOptions.html new file mode 100644 index 000000000..f9664f415 --- /dev/null +++ b/site/com/mailslurp/models/class-use/BasicAuthOptions.html @@ -0,0 +1,199 @@ + + + + + + +Uses of Class com.mailslurp.models.BasicAuthOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BasicAuthOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BounceProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/BounceProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..38ee61e47 --- /dev/null +++ b/site/com/mailslurp/models/class-use/BounceProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.BounceProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BounceProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.BounceProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BounceProjection.html b/site/com/mailslurp/models/class-use/BounceProjection.html new file mode 100644 index 000000000..72cbe4bef --- /dev/null +++ b/site/com/mailslurp/models/class-use/BounceProjection.html @@ -0,0 +1,237 @@ + + + + + + +Uses of Class com.mailslurp.models.BounceProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BounceProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BounceRecipientProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/BounceRecipientProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b0a7c9bca --- /dev/null +++ b/site/com/mailslurp/models/class-use/BounceRecipientProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.BounceRecipientProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BounceRecipientProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.BounceRecipientProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BounceRecipientProjection.html b/site/com/mailslurp/models/class-use/BounceRecipientProjection.html new file mode 100644 index 000000000..6c1bdb8d8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/BounceRecipientProjection.html @@ -0,0 +1,237 @@ + + + + + + +Uses of Class com.mailslurp.models.BounceRecipientProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BounceRecipientProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BouncedEmailDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/BouncedEmailDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8b0abc535 --- /dev/null +++ b/site/com/mailslurp/models/class-use/BouncedEmailDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.BouncedEmailDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BouncedEmailDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.BouncedEmailDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BouncedEmailDto.html b/site/com/mailslurp/models/class-use/BouncedEmailDto.html new file mode 100644 index 000000000..e8a4c6365 --- /dev/null +++ b/site/com/mailslurp/models/class-use/BouncedEmailDto.html @@ -0,0 +1,279 @@ + + + + + + +Uses of Class com.mailslurp.models.BouncedEmailDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BouncedEmailDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BouncedRecipientDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/BouncedRecipientDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e7ded59c6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/BouncedRecipientDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.BouncedRecipientDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BouncedRecipientDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.BouncedRecipientDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BouncedRecipientDto.html b/site/com/mailslurp/models/class-use/BouncedRecipientDto.html new file mode 100644 index 000000000..d6833a544 --- /dev/null +++ b/site/com/mailslurp/models/class-use/BouncedRecipientDto.html @@ -0,0 +1,255 @@ + + + + + + +Uses of Class com.mailslurp.models.BouncedRecipientDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BouncedRecipientDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BulkSendEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/BulkSendEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e8fbe7692 --- /dev/null +++ b/site/com/mailslurp/models/class-use/BulkSendEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.BulkSendEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BulkSendEmailOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.BulkSendEmailOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/BulkSendEmailOptions.html b/site/com/mailslurp/models/class-use/BulkSendEmailOptions.html new file mode 100644 index 000000000..aa5b10cc4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/BulkSendEmailOptions.html @@ -0,0 +1,224 @@ + + + + + + +Uses of Class com.mailslurp.models.BulkSendEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.BulkSendEmailOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/Complaint.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/Complaint.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5ee67ca2d --- /dev/null +++ b/site/com/mailslurp/models/class-use/Complaint.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.Complaint.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.Complaint.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.Complaint.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/Complaint.html b/site/com/mailslurp/models/class-use/Complaint.html new file mode 100644 index 000000000..03d42bd66 --- /dev/null +++ b/site/com/mailslurp/models/class-use/Complaint.html @@ -0,0 +1,245 @@ + + + + + + +Uses of Class com.mailslurp.models.Complaint (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.Complaint

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConditionOption.ConditionEnum.Adapter.html b/site/com/mailslurp/models/class-use/ConditionOption.ConditionEnum.Adapter.html new file mode 100644 index 000000000..1dcac0302 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConditionOption.ConditionEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConditionOption.ConditionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConditionOption.ConditionEnum.Adapter

+
+
No usage of com.mailslurp.models.ConditionOption.ConditionEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConditionOption.ConditionEnum.html b/site/com/mailslurp/models/class-use/ConditionOption.ConditionEnum.html new file mode 100644 index 000000000..12dfd50f6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConditionOption.ConditionEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ConditionOption.ConditionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConditionOption.ConditionEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConditionOption.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ConditionOption.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..47802ba0d --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConditionOption.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConditionOption.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConditionOption.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ConditionOption.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConditionOption.ValueEnum.Adapter.html b/site/com/mailslurp/models/class-use/ConditionOption.ValueEnum.Adapter.html new file mode 100644 index 000000000..dec6a04c9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConditionOption.ValueEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConditionOption.ValueEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConditionOption.ValueEnum.Adapter

+
+
No usage of com.mailslurp.models.ConditionOption.ValueEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConditionOption.ValueEnum.html b/site/com/mailslurp/models/class-use/ConditionOption.ValueEnum.html new file mode 100644 index 000000000..76f53d3ea --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConditionOption.ValueEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ConditionOption.ValueEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConditionOption.ValueEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConditionOption.html b/site/com/mailslurp/models/class-use/ConditionOption.html new file mode 100644 index 000000000..d917d3795 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConditionOption.html @@ -0,0 +1,221 @@ + + + + + + +Uses of Class com.mailslurp.models.ConditionOption (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConditionOption

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorAuthTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorAuthTypeEnum.Adapter.html new file mode 100644 index 000000000..31f28b0e7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorAuthTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorAuthTypeEnum.html b/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorAuthTypeEnum.html new file mode 100644 index 000000000..8179f3666 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorAuthTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorTypeEnum.Adapter.html new file mode 100644 index 000000000..a0fb58ed5 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorDto.ConnectorTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorDto.ConnectorTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.ConnectorDto.ConnectorTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorTypeEnum.html b/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorTypeEnum.html new file mode 100644 index 000000000..00cb40b50 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorDto.ConnectorTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorDto.ConnectorTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorDto.ConnectorTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ConnectorDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a16aa3bbf --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ConnectorDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorDto.SyncScheduleTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/ConnectorDto.SyncScheduleTypeEnum.Adapter.html new file mode 100644 index 000000000..46c5f639c --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorDto.SyncScheduleTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorDto.SyncScheduleTypeEnum.html b/site/com/mailslurp/models/class-use/ConnectorDto.SyncScheduleTypeEnum.html new file mode 100644 index 000000000..c86f0127b --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorDto.SyncScheduleTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorDto.html b/site/com/mailslurp/models/class-use/ConnectorDto.html new file mode 100644 index 000000000..07e5e392c --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorDto.html @@ -0,0 +1,319 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorProjection.ConnectorTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/ConnectorProjection.ConnectorTypeEnum.Adapter.html new file mode 100644 index 000000000..11fdf9620 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorProjection.ConnectorTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorProjection.ConnectorTypeEnum.html b/site/com/mailslurp/models/class-use/ConnectorProjection.ConnectorTypeEnum.html new file mode 100644 index 000000000..e729097e4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorProjection.ConnectorTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ConnectorProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3857c5d66 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ConnectorProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorProjection.SyncScheduleTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/ConnectorProjection.SyncScheduleTypeEnum.Adapter.html new file mode 100644 index 000000000..e7399df5f --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorProjection.SyncScheduleTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorProjection.SyncScheduleTypeEnum.html b/site/com/mailslurp/models/class-use/ConnectorProjection.SyncScheduleTypeEnum.html new file mode 100644 index 000000000..57e3d65e3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorProjection.SyncScheduleTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorProjection.html b/site/com/mailslurp/models/class-use/ConnectorProjection.html new file mode 100644 index 000000000..1390845be --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorProjection.html @@ -0,0 +1,245 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6a887b815 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncEventDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncEventDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ConnectorSyncEventDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.SyncStatusEnum.Adapter.html b/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.SyncStatusEnum.Adapter.html new file mode 100644 index 000000000..4f5e47815 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.SyncStatusEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum.Adapter

+
+
No usage of com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.SyncStatusEnum.html b/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.SyncStatusEnum.html new file mode 100644 index 000000000..c12076584 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.SyncStatusEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.html b/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.html new file mode 100644 index 000000000..1201b0a98 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncEventDto.html @@ -0,0 +1,247 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncEventDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncEventDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4b2acf382 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncEventProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncEventProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ConnectorSyncEventProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.SyncStatusEnum.Adapter.html b/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.SyncStatusEnum.Adapter.html new file mode 100644 index 000000000..ff19315cd --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.SyncStatusEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum.Adapter

+
+
No usage of com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.SyncStatusEnum.html b/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.SyncStatusEnum.html new file mode 100644 index 000000000..a08e79546 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.SyncStatusEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.html b/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.html new file mode 100644 index 000000000..b62c00711 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncEventProjection.html @@ -0,0 +1,237 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncEventProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncEventProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncRequestResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e14c34038 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncRequestResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncRequestResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ConnectorSyncRequestResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncRequestResult.html b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResult.html new file mode 100644 index 000000000..39bf3ccf2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResult.html @@ -0,0 +1,235 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncRequestResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncRequestResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultException.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultException.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..254992911 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultException.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncRequestResultException.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncRequestResultException.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ConnectorSyncRequestResultException.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultException.html b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultException.html new file mode 100644 index 000000000..f1dfe0824 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultException.html @@ -0,0 +1,219 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncRequestResultException (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncRequestResultException

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..69a001514 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCause.html b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCause.html new file mode 100644 index 000000000..aa4c42de2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCause.html @@ -0,0 +1,215 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncRequestResultExceptionCause

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..7e5477151 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseStackTraceInner.html b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseStackTraceInner.html new file mode 100644 index 000000000..3ba0bfb87 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseStackTraceInner.html @@ -0,0 +1,281 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a1ced01cd --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseSuppressedInner.html b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseSuppressedInner.html new file mode 100644 index 000000000..7dd0eec4d --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncRequestResultExceptionCauseSuppressedInner.html @@ -0,0 +1,247 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ConnectorSyncResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..768e63d27 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ConnectorSyncResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ConnectorSyncResult.html b/site/com/mailslurp/models/class-use/ConnectorSyncResult.html new file mode 100644 index 000000000..bc87e9c91 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ConnectorSyncResult.html @@ -0,0 +1,203 @@ + + + + + + +Uses of Class com.mailslurp.models.ConnectorSyncResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ConnectorSyncResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ContactDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ContactDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..9c9cbadd0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ContactDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ContactDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ContactDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ContactDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ContactDto.html b/site/com/mailslurp/models/class-use/ContactDto.html new file mode 100644 index 000000000..9f9b886e1 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ContactDto.html @@ -0,0 +1,339 @@ + + + + + + +Uses of Class com.mailslurp.models.ContactDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ContactDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ContactProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ContactProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..05c4b5837 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ContactProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ContactProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ContactProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ContactProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ContactProjection.html b/site/com/mailslurp/models/class-use/ContactProjection.html new file mode 100644 index 000000000..c8551ace3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ContactProjection.html @@ -0,0 +1,298 @@ + + + + + + +Uses of Class com.mailslurp.models.ContactProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ContactProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ContentMatchOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ContentMatchOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..bdba9d285 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ContentMatchOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ContentMatchOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ContentMatchOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ContentMatchOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ContentMatchOptions.html b/site/com/mailslurp/models/class-use/ContentMatchOptions.html new file mode 100644 index 000000000..9acb561c2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ContentMatchOptions.html @@ -0,0 +1,220 @@ + + + + + + +Uses of Class com.mailslurp.models.ContentMatchOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ContentMatchOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CountDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CountDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1777f65c2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CountDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CountDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CountDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CountDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CountDto.html b/site/com/mailslurp/models/class-use/CountDto.html new file mode 100644 index 000000000..5853abfa3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CountDto.html @@ -0,0 +1,263 @@ + + + + + + +Uses of Class com.mailslurp.models.CountDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CountDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateAliasOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateAliasOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2744629f9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateAliasOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateAliasOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateAliasOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateAliasOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateAliasOptions.html b/site/com/mailslurp/models/class-use/CreateAliasOptions.html new file mode 100644 index 000000000..b50578de8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateAliasOptions.html @@ -0,0 +1,228 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateAliasOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateAliasOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateConnectorImapOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateConnectorImapOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..49067aa61 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateConnectorImapOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateConnectorImapOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateConnectorImapOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateConnectorImapOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateConnectorImapOptions.html b/site/com/mailslurp/models/class-use/CreateConnectorImapOptions.html new file mode 100644 index 000000000..fc594d992 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateConnectorImapOptions.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateConnectorImapOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateConnectorImapOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter.html new file mode 100644 index 000000000..ebc29d286 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorAuthTypeEnum.html b/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorAuthTypeEnum.html new file mode 100644 index 000000000..c7d9d9afb --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorAuthTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorTypeEnum.Adapter.html new file mode 100644 index 000000000..7d518eaa9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorTypeEnum.html b/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorTypeEnum.html new file mode 100644 index 000000000..2f69d6add --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateConnectorOptions.ConnectorTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateConnectorOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateConnectorOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f1734987e --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateConnectorOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateConnectorOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateConnectorOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateConnectorOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateConnectorOptions.SyncScheduleTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/CreateConnectorOptions.SyncScheduleTypeEnum.Adapter.html new file mode 100644 index 000000000..01ae9abee --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateConnectorOptions.SyncScheduleTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateConnectorOptions.SyncScheduleTypeEnum.html b/site/com/mailslurp/models/class-use/CreateConnectorOptions.SyncScheduleTypeEnum.html new file mode 100644 index 000000000..064d76984 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateConnectorOptions.SyncScheduleTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateConnectorOptions.html b/site/com/mailslurp/models/class-use/CreateConnectorOptions.html new file mode 100644 index 000000000..9a55eef0c --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateConnectorOptions.html @@ -0,0 +1,273 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateConnectorOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateConnectorOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateContactOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateContactOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8023692d9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateContactOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateContactOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateContactOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateContactOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateContactOptions.html b/site/com/mailslurp/models/class-use/CreateContactOptions.html new file mode 100644 index 000000000..51bc72c9f --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateContactOptions.html @@ -0,0 +1,252 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateContactOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateContactOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateDomainOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateDomainOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..7fcef4a4a --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateDomainOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateDomainOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateDomainOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateDomainOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateDomainOptions.DomainTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/CreateDomainOptions.DomainTypeEnum.Adapter.html new file mode 100644 index 000000000..faaef94a8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateDomainOptions.DomainTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateDomainOptions.DomainTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateDomainOptions.DomainTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.CreateDomainOptions.DomainTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateDomainOptions.DomainTypeEnum.html b/site/com/mailslurp/models/class-use/CreateDomainOptions.DomainTypeEnum.html new file mode 100644 index 000000000..1a61e9ec8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateDomainOptions.DomainTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateDomainOptions.DomainTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateDomainOptions.DomainTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateDomainOptions.html b/site/com/mailslurp/models/class-use/CreateDomainOptions.html new file mode 100644 index 000000000..31186cd9f --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateDomainOptions.html @@ -0,0 +1,231 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateDomainOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateDomainOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..976650bf3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateEmergencyAddressOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateEmergencyAddressOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateEmergencyAddressOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter.html b/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter.html new file mode 100644 index 000000000..0ba1d91a8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter

+
+
No usage of com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.IsoCountryCodeEnum.html b/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.IsoCountryCodeEnum.html new file mode 100644 index 000000000..de799d8fb --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.IsoCountryCodeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.html b/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.html new file mode 100644 index 000000000..e1f3284fd --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateEmergencyAddressOptions.html @@ -0,0 +1,236 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateEmergencyAddressOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateEmergencyAddressOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateGroupOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateGroupOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3a9b25e3e --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateGroupOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateGroupOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateGroupOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateGroupOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateGroupOptions.html b/site/com/mailslurp/models/class-use/CreateGroupOptions.html new file mode 100644 index 000000000..6b33e8848 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateGroupOptions.html @@ -0,0 +1,220 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateGroupOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateGroupOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateInboxDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0f145ab15 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateInboxDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxDto.InboxTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/CreateInboxDto.InboxTypeEnum.Adapter.html new file mode 100644 index 000000000..4671a8963 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxDto.InboxTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxDto.InboxTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxDto.InboxTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.CreateInboxDto.InboxTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxDto.InboxTypeEnum.html b/site/com/mailslurp/models/class-use/CreateInboxDto.InboxTypeEnum.html new file mode 100644 index 000000000..ff45b2aa3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxDto.InboxTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxDto.InboxTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxDto.InboxTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxDto.html b/site/com/mailslurp/models/class-use/CreateInboxDto.html new file mode 100644 index 000000000..2dd4f6041 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxDto.html @@ -0,0 +1,272 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..48c217455 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxForwarderOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxForwarderOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateInboxForwarderOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.FieldEnum.Adapter.html b/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.FieldEnum.Adapter.html new file mode 100644 index 000000000..d3aac6d84 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.FieldEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum.Adapter

+
+
No usage of com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.FieldEnum.html b/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.FieldEnum.html new file mode 100644 index 000000000..4fd9804c7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.FieldEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.html b/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.html new file mode 100644 index 000000000..7df30e738 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxForwarderOptions.html @@ -0,0 +1,291 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxForwarderOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxForwarderOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2e0954145 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxReplierOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxReplierOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateInboxReplierOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.FieldEnum.Adapter.html b/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.FieldEnum.Adapter.html new file mode 100644 index 000000000..376c7d91b --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.FieldEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxReplierOptions.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxReplierOptions.FieldEnum.Adapter

+
+
No usage of com.mailslurp.models.CreateInboxReplierOptions.FieldEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.FieldEnum.html b/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.FieldEnum.html new file mode 100644 index 000000000..d5765f26d --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.FieldEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxReplierOptions.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxReplierOptions.FieldEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.html b/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.html new file mode 100644 index 000000000..3b81ab07c --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxReplierOptions.html @@ -0,0 +1,272 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxReplierOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxReplierOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ActionEnum.Adapter.html b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ActionEnum.Adapter.html new file mode 100644 index 000000000..04a679382 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ActionEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum.Adapter

+
+
No usage of com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ActionEnum.html b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ActionEnum.html new file mode 100644 index 000000000..738accb53 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ActionEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e7c8cc093 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxRulesetOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxRulesetOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateInboxRulesetOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ScopeEnum.Adapter.html b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ScopeEnum.Adapter.html new file mode 100644 index 000000000..b8ee985dc --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ScopeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum.Adapter

+
+
No usage of com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ScopeEnum.html b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ScopeEnum.html new file mode 100644 index 000000000..cc2055dfb --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.ScopeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.html b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.html new file mode 100644 index 000000000..e1b6d85f5 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateInboxRulesetOptions.html @@ -0,0 +1,287 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateInboxRulesetOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateInboxRulesetOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateTemplateOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateTemplateOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e13686fbb --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateTemplateOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateTemplateOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateTemplateOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateTemplateOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateTemplateOptions.html b/site/com/mailslurp/models/class-use/CreateTemplateOptions.html new file mode 100644 index 000000000..93d7bf781 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateTemplateOptions.html @@ -0,0 +1,256 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateTemplateOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateTemplateOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateTrackingPixelOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateTrackingPixelOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e9f1e02f2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateTrackingPixelOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateTrackingPixelOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateTrackingPixelOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateTrackingPixelOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateTrackingPixelOptions.html b/site/com/mailslurp/models/class-use/CreateTrackingPixelOptions.html new file mode 100644 index 000000000..99868ff78 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateTrackingPixelOptions.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateTrackingPixelOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateTrackingPixelOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateWebhookOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/CreateWebhookOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..9ea321617 --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateWebhookOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateWebhookOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateWebhookOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.CreateWebhookOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateWebhookOptions.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/CreateWebhookOptions.EventNameEnum.Adapter.html new file mode 100644 index 000000000..3632d792c --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateWebhookOptions.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateWebhookOptions.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateWebhookOptions.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.CreateWebhookOptions.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateWebhookOptions.EventNameEnum.html b/site/com/mailslurp/models/class-use/CreateWebhookOptions.EventNameEnum.html new file mode 100644 index 000000000..e0f0658be --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateWebhookOptions.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateWebhookOptions.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateWebhookOptions.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/CreateWebhookOptions.html b/site/com/mailslurp/models/class-use/CreateWebhookOptions.html new file mode 100644 index 000000000..0eeadf65b --- /dev/null +++ b/site/com/mailslurp/models/class-use/CreateWebhookOptions.html @@ -0,0 +1,313 @@ + + + + + + +Uses of Class com.mailslurp.models.CreateWebhookOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.CreateWebhookOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DNSLookupOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/DNSLookupOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..54f407df9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DNSLookupOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DNSLookupOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DNSLookupOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.DNSLookupOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DNSLookupOptions.RecordTypesEnum.Adapter.html b/site/com/mailslurp/models/class-use/DNSLookupOptions.RecordTypesEnum.Adapter.html new file mode 100644 index 000000000..7789ccb18 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DNSLookupOptions.RecordTypesEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DNSLookupOptions.RecordTypesEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DNSLookupOptions.RecordTypesEnum.Adapter

+
+
No usage of com.mailslurp.models.DNSLookupOptions.RecordTypesEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DNSLookupOptions.RecordTypesEnum.html b/site/com/mailslurp/models/class-use/DNSLookupOptions.RecordTypesEnum.html new file mode 100644 index 000000000..8446430ff --- /dev/null +++ b/site/com/mailslurp/models/class-use/DNSLookupOptions.RecordTypesEnum.html @@ -0,0 +1,233 @@ + + + + + + +Uses of Class com.mailslurp.models.DNSLookupOptions.RecordTypesEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DNSLookupOptions.RecordTypesEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DNSLookupOptions.html b/site/com/mailslurp/models/class-use/DNSLookupOptions.html new file mode 100644 index 000000000..dc42c35c7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DNSLookupOptions.html @@ -0,0 +1,228 @@ + + + + + + +Uses of Class com.mailslurp.models.DNSLookupOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DNSLookupOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DNSLookupResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/DNSLookupResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6617e7436 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DNSLookupResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DNSLookupResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DNSLookupResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.DNSLookupResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DNSLookupResult.RecordTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/DNSLookupResult.RecordTypeEnum.Adapter.html new file mode 100644 index 000000000..d0c91a462 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DNSLookupResult.RecordTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DNSLookupResult.RecordTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DNSLookupResult.RecordTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.DNSLookupResult.RecordTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DNSLookupResult.RecordTypeEnum.html b/site/com/mailslurp/models/class-use/DNSLookupResult.RecordTypeEnum.html new file mode 100644 index 000000000..d4ce91aa3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DNSLookupResult.RecordTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.DNSLookupResult.RecordTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DNSLookupResult.RecordTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DNSLookupResult.html b/site/com/mailslurp/models/class-use/DNSLookupResult.html new file mode 100644 index 000000000..84ba51745 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DNSLookupResult.html @@ -0,0 +1,233 @@ + + + + + + +Uses of Class com.mailslurp.models.DNSLookupResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DNSLookupResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DNSLookupResults.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/DNSLookupResults.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a057aaf95 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DNSLookupResults.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DNSLookupResults.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DNSLookupResults.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.DNSLookupResults.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DNSLookupResults.html b/site/com/mailslurp/models/class-use/DNSLookupResults.html new file mode 100644 index 000000000..e7f0c84d8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DNSLookupResults.html @@ -0,0 +1,231 @@ + + + + + + +Uses of Class com.mailslurp.models.DNSLookupResults (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DNSLookupResults

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DeliveryStatusDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/DeliveryStatusDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1f19a112c --- /dev/null +++ b/site/com/mailslurp/models/class-use/DeliveryStatusDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DeliveryStatusDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DeliveryStatusDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.DeliveryStatusDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DeliveryStatusDto.html b/site/com/mailslurp/models/class-use/DeliveryStatusDto.html new file mode 100644 index 000000000..3c9494fbd --- /dev/null +++ b/site/com/mailslurp/models/class-use/DeliveryStatusDto.html @@ -0,0 +1,364 @@ + + + + + + +Uses of Class com.mailslurp.models.DeliveryStatusDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DeliveryStatusDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DescribeDomainOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/DescribeDomainOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..adda9fb3d --- /dev/null +++ b/site/com/mailslurp/models/class-use/DescribeDomainOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DescribeDomainOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DescribeDomainOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.DescribeDomainOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DescribeDomainOptions.html b/site/com/mailslurp/models/class-use/DescribeDomainOptions.html new file mode 100644 index 000000000..cc1f19b43 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DescribeDomainOptions.html @@ -0,0 +1,216 @@ + + + + + + +Uses of Class com.mailslurp.models.DescribeDomainOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DescribeDomainOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DescribeMailServerDomainResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/DescribeMailServerDomainResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1db503f5f --- /dev/null +++ b/site/com/mailslurp/models/class-use/DescribeMailServerDomainResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DescribeMailServerDomainResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DescribeMailServerDomainResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.DescribeMailServerDomainResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DescribeMailServerDomainResult.html b/site/com/mailslurp/models/class-use/DescribeMailServerDomainResult.html new file mode 100644 index 000000000..c65e9d33c --- /dev/null +++ b/site/com/mailslurp/models/class-use/DescribeMailServerDomainResult.html @@ -0,0 +1,239 @@ + + + + + + +Uses of Class com.mailslurp.models.DescribeMailServerDomainResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DescribeMailServerDomainResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/DomainDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3468b4c18 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.DomainDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainDto.DomainTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/DomainDto.DomainTypeEnum.Adapter.html new file mode 100644 index 000000000..a18a3e9eb --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainDto.DomainTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainDto.DomainTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainDto.DomainTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.DomainDto.DomainTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainDto.DomainTypeEnum.html b/site/com/mailslurp/models/class-use/DomainDto.DomainTypeEnum.html new file mode 100644 index 000000000..117dc01eb --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainDto.DomainTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainDto.DomainTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainDto.DomainTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainDto.html b/site/com/mailslurp/models/class-use/DomainDto.html new file mode 100644 index 000000000..dfa7cdee4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainDto.html @@ -0,0 +1,358 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainIssuesDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/DomainIssuesDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e7d8872ea --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainIssuesDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainIssuesDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainIssuesDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.DomainIssuesDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainIssuesDto.html b/site/com/mailslurp/models/class-use/DomainIssuesDto.html new file mode 100644 index 000000000..6f2c35e46 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainIssuesDto.html @@ -0,0 +1,229 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainIssuesDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainIssuesDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainNameRecord.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/DomainNameRecord.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..37d40358a --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainNameRecord.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainNameRecord.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainNameRecord.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.DomainNameRecord.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainNameRecord.LabelEnum.Adapter.html b/site/com/mailslurp/models/class-use/DomainNameRecord.LabelEnum.Adapter.html new file mode 100644 index 000000000..73b72bf59 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainNameRecord.LabelEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainNameRecord.LabelEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainNameRecord.LabelEnum.Adapter

+
+
No usage of com.mailslurp.models.DomainNameRecord.LabelEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainNameRecord.LabelEnum.html b/site/com/mailslurp/models/class-use/DomainNameRecord.LabelEnum.html new file mode 100644 index 000000000..558cdeb5b --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainNameRecord.LabelEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainNameRecord.LabelEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainNameRecord.LabelEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainNameRecord.RecordTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/DomainNameRecord.RecordTypeEnum.Adapter.html new file mode 100644 index 000000000..e090282c6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainNameRecord.RecordTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainNameRecord.RecordTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainNameRecord.RecordTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.DomainNameRecord.RecordTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainNameRecord.RecordTypeEnum.html b/site/com/mailslurp/models/class-use/DomainNameRecord.RecordTypeEnum.html new file mode 100644 index 000000000..46d41a56e --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainNameRecord.RecordTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainNameRecord.RecordTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainNameRecord.RecordTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainNameRecord.html b/site/com/mailslurp/models/class-use/DomainNameRecord.html new file mode 100644 index 000000000..e15e04c52 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainNameRecord.html @@ -0,0 +1,241 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainNameRecord (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainNameRecord

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainPreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/DomainPreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d11b36228 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainPreview.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainPreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainPreview.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.DomainPreview.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainPreview.DomainTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/DomainPreview.DomainTypeEnum.Adapter.html new file mode 100644 index 000000000..a2eb15e1b --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainPreview.DomainTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainPreview.DomainTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainPreview.DomainTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.DomainPreview.DomainTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainPreview.DomainTypeEnum.html b/site/com/mailslurp/models/class-use/DomainPreview.DomainTypeEnum.html new file mode 100644 index 000000000..248b27271 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainPreview.DomainTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainPreview.DomainTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainPreview.DomainTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DomainPreview.html b/site/com/mailslurp/models/class-use/DomainPreview.html new file mode 100644 index 000000000..4750c4569 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DomainPreview.html @@ -0,0 +1,244 @@ + + + + + + +Uses of Class com.mailslurp.models.DomainPreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DomainPreview

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DownloadAttachmentDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/DownloadAttachmentDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..aa7cd518a --- /dev/null +++ b/site/com/mailslurp/models/class-use/DownloadAttachmentDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.DownloadAttachmentDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DownloadAttachmentDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.DownloadAttachmentDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/DownloadAttachmentDto.html b/site/com/mailslurp/models/class-use/DownloadAttachmentDto.html new file mode 100644 index 000000000..c748c7915 --- /dev/null +++ b/site/com/mailslurp/models/class-use/DownloadAttachmentDto.html @@ -0,0 +1,257 @@ + + + + + + +Uses of Class com.mailslurp.models.DownloadAttachmentDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.DownloadAttachmentDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/Email.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/Email.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..97881d334 --- /dev/null +++ b/site/com/mailslurp/models/class-use/Email.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.Email.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.Email.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.Email.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/Email.html b/site/com/mailslurp/models/class-use/Email.html new file mode 100644 index 000000000..21647548b --- /dev/null +++ b/site/com/mailslurp/models/class-use/Email.html @@ -0,0 +1,539 @@ + + + + + + +Uses of Class com.mailslurp.models.Email (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.Email

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailAnalysis.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmailAnalysis.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..c03085349 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailAnalysis.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailAnalysis.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailAnalysis.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmailAnalysis.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailAnalysis.html b/site/com/mailslurp/models/class-use/EmailAnalysis.html new file mode 100644 index 000000000..3b195515f --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailAnalysis.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailAnalysis (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailAnalysis

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailContentMatchResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmailContentMatchResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..27faffb15 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailContentMatchResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailContentMatchResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailContentMatchResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmailContentMatchResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailContentMatchResult.html b/site/com/mailslurp/models/class-use/EmailContentMatchResult.html new file mode 100644 index 000000000..6ef0dfb8a --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailContentMatchResult.html @@ -0,0 +1,238 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailContentMatchResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailContentMatchResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailHtmlDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmailHtmlDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a40f26f27 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailHtmlDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailHtmlDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailHtmlDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmailHtmlDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailHtmlDto.html b/site/com/mailslurp/models/class-use/EmailHtmlDto.html new file mode 100644 index 000000000..ca26d1622 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailHtmlDto.html @@ -0,0 +1,234 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailHtmlDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailHtmlDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailLinksResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmailLinksResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5614271e7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailLinksResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailLinksResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailLinksResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmailLinksResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailLinksResult.html b/site/com/mailslurp/models/class-use/EmailLinksResult.html new file mode 100644 index 000000000..6b2e6f606 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailLinksResult.html @@ -0,0 +1,238 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailLinksResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailLinksResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailPreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmailPreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1313ced7d --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailPreview.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailPreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailPreview.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmailPreview.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailPreview.html b/site/com/mailslurp/models/class-use/EmailPreview.html new file mode 100644 index 000000000..d29e770f8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailPreview.html @@ -0,0 +1,503 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailPreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailPreview

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailPreviewUrls.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmailPreviewUrls.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d7885dd0f --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailPreviewUrls.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailPreviewUrls.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailPreviewUrls.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmailPreviewUrls.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailPreviewUrls.html b/site/com/mailslurp/models/class-use/EmailPreviewUrls.html new file mode 100644 index 000000000..cf17ff496 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailPreviewUrls.html @@ -0,0 +1,256 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailPreviewUrls (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailPreviewUrls

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a8adc8d1c --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmailProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailProjection.html b/site/com/mailslurp/models/class-use/EmailProjection.html new file mode 100644 index 000000000..bf8461bc0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailProjection.html @@ -0,0 +1,285 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailRecipients.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmailRecipients.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..96ac02989 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailRecipients.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailRecipients.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailRecipients.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmailRecipients.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailRecipients.html b/site/com/mailslurp/models/class-use/EmailRecipients.html new file mode 100644 index 000000000..770d37a45 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailRecipients.html @@ -0,0 +1,215 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailRecipients (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailRecipients

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailTextLinesResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmailTextLinesResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..bd372611e --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailTextLinesResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailTextLinesResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailTextLinesResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmailTextLinesResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailTextLinesResult.html b/site/com/mailslurp/models/class-use/EmailTextLinesResult.html new file mode 100644 index 000000000..1d426fbd8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailTextLinesResult.html @@ -0,0 +1,269 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailTextLinesResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailTextLinesResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailValidationRequestDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmailValidationRequestDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5caa05314 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailValidationRequestDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailValidationRequestDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailValidationRequestDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmailValidationRequestDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailValidationRequestDto.html b/site/com/mailslurp/models/class-use/EmailValidationRequestDto.html new file mode 100644 index 000000000..061da8597 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailValidationRequestDto.html @@ -0,0 +1,237 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailValidationRequestDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailValidationRequestDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailVerificationResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmailVerificationResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e4769930e --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailVerificationResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailVerificationResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailVerificationResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmailVerificationResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmailVerificationResult.html b/site/com/mailslurp/models/class-use/EmailVerificationResult.html new file mode 100644 index 000000000..7f5edc302 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmailVerificationResult.html @@ -0,0 +1,243 @@ + + + + + + +Uses of Class com.mailslurp.models.EmailVerificationResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmailVerificationResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmergencyAddress.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmergencyAddress.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..82602982a --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmergencyAddress.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmergencyAddress.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmergencyAddress.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmergencyAddress.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmergencyAddress.PhoneCountryEnum.Adapter.html b/site/com/mailslurp/models/class-use/EmergencyAddress.PhoneCountryEnum.Adapter.html new file mode 100644 index 000000000..1ef93c2b9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmergencyAddress.PhoneCountryEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmergencyAddress.PhoneCountryEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmergencyAddress.PhoneCountryEnum.Adapter

+
+
No usage of com.mailslurp.models.EmergencyAddress.PhoneCountryEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmergencyAddress.PhoneCountryEnum.html b/site/com/mailslurp/models/class-use/EmergencyAddress.PhoneCountryEnum.html new file mode 100644 index 000000000..9e336a4b9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmergencyAddress.PhoneCountryEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.EmergencyAddress.PhoneCountryEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmergencyAddress.PhoneCountryEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmergencyAddress.html b/site/com/mailslurp/models/class-use/EmergencyAddress.html new file mode 100644 index 000000000..81aae6ba0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmergencyAddress.html @@ -0,0 +1,286 @@ + + + + + + +Uses of Class com.mailslurp.models.EmergencyAddress (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmergencyAddress

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmergencyAddressDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmergencyAddressDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f127cf52f --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmergencyAddressDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmergencyAddressDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmergencyAddressDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmergencyAddressDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmergencyAddressDto.PhoneCountryEnum.Adapter.html b/site/com/mailslurp/models/class-use/EmergencyAddressDto.PhoneCountryEnum.Adapter.html new file mode 100644 index 000000000..52c224846 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmergencyAddressDto.PhoneCountryEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum.Adapter

+
+
No usage of com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmergencyAddressDto.PhoneCountryEnum.html b/site/com/mailslurp/models/class-use/EmergencyAddressDto.PhoneCountryEnum.html new file mode 100644 index 000000000..220aa7ca4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmergencyAddressDto.PhoneCountryEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmergencyAddressDto.html b/site/com/mailslurp/models/class-use/EmergencyAddressDto.html new file mode 100644 index 000000000..48d0c2777 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmergencyAddressDto.html @@ -0,0 +1,221 @@ + + + + + + +Uses of Class com.mailslurp.models.EmergencyAddressDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmergencyAddressDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmptyResponseDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/EmptyResponseDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..184bc2f91 --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmptyResponseDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.EmptyResponseDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmptyResponseDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.EmptyResponseDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/EmptyResponseDto.html b/site/com/mailslurp/models/class-use/EmptyResponseDto.html new file mode 100644 index 000000000..542115fff --- /dev/null +++ b/site/com/mailslurp/models/class-use/EmptyResponseDto.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Class com.mailslurp.models.EmptyResponseDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.EmptyResponseDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExpirationDefaults.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ExpirationDefaults.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a46ae6ee3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExpirationDefaults.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ExpirationDefaults.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExpirationDefaults.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ExpirationDefaults.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExpirationDefaults.html b/site/com/mailslurp/models/class-use/ExpirationDefaults.html new file mode 100644 index 000000000..352b51bde --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExpirationDefaults.html @@ -0,0 +1,245 @@ + + + + + + +Uses of Class com.mailslurp.models.ExpirationDefaults (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExpirationDefaults

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExpiredInboxDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ExpiredInboxDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f64c76a5b --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExpiredInboxDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ExpiredInboxDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExpiredInboxDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ExpiredInboxDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExpiredInboxDto.html b/site/com/mailslurp/models/class-use/ExpiredInboxDto.html new file mode 100644 index 000000000..9e8b87885 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExpiredInboxDto.html @@ -0,0 +1,260 @@ + + + + + + +Uses of Class com.mailslurp.models.ExpiredInboxDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExpiredInboxDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExpiredInboxRecordProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ExpiredInboxRecordProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ba6f24e7d --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExpiredInboxRecordProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ExpiredInboxRecordProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExpiredInboxRecordProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ExpiredInboxRecordProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExpiredInboxRecordProjection.html b/site/com/mailslurp/models/class-use/ExpiredInboxRecordProjection.html new file mode 100644 index 000000000..ae1b07cf8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExpiredInboxRecordProjection.html @@ -0,0 +1,229 @@ + + + + + + +Uses of Class com.mailslurp.models.ExpiredInboxRecordProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExpiredInboxRecordProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExportLink.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ExportLink.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d6e5d5298 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExportLink.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ExportLink.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExportLink.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ExportLink.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExportLink.html b/site/com/mailslurp/models/class-use/ExportLink.html new file mode 100644 index 000000000..82fb8904b --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExportLink.html @@ -0,0 +1,233 @@ + + + + + + +Uses of Class com.mailslurp.models.ExportLink (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExportLink

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExportOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ExportOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..296c3bf69 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExportOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ExportOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExportOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ExportOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExportOptions.OutputFormatEnum.Adapter.html b/site/com/mailslurp/models/class-use/ExportOptions.OutputFormatEnum.Adapter.html new file mode 100644 index 000000000..925534d26 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExportOptions.OutputFormatEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ExportOptions.OutputFormatEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExportOptions.OutputFormatEnum.Adapter

+
+
No usage of com.mailslurp.models.ExportOptions.OutputFormatEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExportOptions.OutputFormatEnum.html b/site/com/mailslurp/models/class-use/ExportOptions.OutputFormatEnum.html new file mode 100644 index 000000000..252c57eba --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExportOptions.OutputFormatEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ExportOptions.OutputFormatEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExportOptions.OutputFormatEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ExportOptions.html b/site/com/mailslurp/models/class-use/ExportOptions.html new file mode 100644 index 000000000..c1d83acd5 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ExportOptions.html @@ -0,0 +1,244 @@ + + + + + + +Uses of Class com.mailslurp.models.ExportOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ExportOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/FilterBouncedRecipientsOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/FilterBouncedRecipientsOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a6fc1e961 --- /dev/null +++ b/site/com/mailslurp/models/class-use/FilterBouncedRecipientsOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.FilterBouncedRecipientsOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.FilterBouncedRecipientsOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.FilterBouncedRecipientsOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/FilterBouncedRecipientsOptions.html b/site/com/mailslurp/models/class-use/FilterBouncedRecipientsOptions.html new file mode 100644 index 000000000..0561a6bbf --- /dev/null +++ b/site/com/mailslurp/models/class-use/FilterBouncedRecipientsOptions.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Class com.mailslurp.models.FilterBouncedRecipientsOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.FilterBouncedRecipientsOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/FilterBouncedRecipientsResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/FilterBouncedRecipientsResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..05e84d41b --- /dev/null +++ b/site/com/mailslurp/models/class-use/FilterBouncedRecipientsResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.FilterBouncedRecipientsResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.FilterBouncedRecipientsResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.FilterBouncedRecipientsResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/FilterBouncedRecipientsResult.html b/site/com/mailslurp/models/class-use/FilterBouncedRecipientsResult.html new file mode 100644 index 000000000..1adf87691 --- /dev/null +++ b/site/com/mailslurp/models/class-use/FilterBouncedRecipientsResult.html @@ -0,0 +1,234 @@ + + + + + + +Uses of Class com.mailslurp.models.FilterBouncedRecipientsResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.FilterBouncedRecipientsResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/FlushExpiredInboxesResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/FlushExpiredInboxesResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..fcf7bfc85 --- /dev/null +++ b/site/com/mailslurp/models/class-use/FlushExpiredInboxesResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.FlushExpiredInboxesResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.FlushExpiredInboxesResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.FlushExpiredInboxesResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/FlushExpiredInboxesResult.html b/site/com/mailslurp/models/class-use/FlushExpiredInboxesResult.html new file mode 100644 index 000000000..4ef92d96b --- /dev/null +++ b/site/com/mailslurp/models/class-use/FlushExpiredInboxesResult.html @@ -0,0 +1,238 @@ + + + + + + +Uses of Class com.mailslurp.models.FlushExpiredInboxesResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.FlushExpiredInboxesResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ForwardEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ForwardEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..687365744 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ForwardEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ForwardEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ForwardEmailOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ForwardEmailOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ForwardEmailOptions.html b/site/com/mailslurp/models/class-use/ForwardEmailOptions.html new file mode 100644 index 000000000..824d0e993 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ForwardEmailOptions.html @@ -0,0 +1,259 @@ + + + + + + +Uses of Class com.mailslurp.models.ForwardEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ForwardEmailOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/GravatarUrl.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/GravatarUrl.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d3e05b0c3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/GravatarUrl.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.GravatarUrl.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.GravatarUrl.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.GravatarUrl.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/GravatarUrl.html b/site/com/mailslurp/models/class-use/GravatarUrl.html new file mode 100644 index 000000000..90dad7d3b --- /dev/null +++ b/site/com/mailslurp/models/class-use/GravatarUrl.html @@ -0,0 +1,235 @@ + + + + + + +Uses of Class com.mailslurp.models.GravatarUrl (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.GravatarUrl

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/GroupContactsDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/GroupContactsDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2f9bb53e5 --- /dev/null +++ b/site/com/mailslurp/models/class-use/GroupContactsDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.GroupContactsDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.GroupContactsDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.GroupContactsDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/GroupContactsDto.html b/site/com/mailslurp/models/class-use/GroupContactsDto.html new file mode 100644 index 000000000..847976857 --- /dev/null +++ b/site/com/mailslurp/models/class-use/GroupContactsDto.html @@ -0,0 +1,279 @@ + + + + + + +Uses of Class com.mailslurp.models.GroupContactsDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.GroupContactsDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/GroupDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/GroupDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1ac302fc5 --- /dev/null +++ b/site/com/mailslurp/models/class-use/GroupDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.GroupDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.GroupDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.GroupDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/GroupDto.html b/site/com/mailslurp/models/class-use/GroupDto.html new file mode 100644 index 000000000..f19c73e4e --- /dev/null +++ b/site/com/mailslurp/models/class-use/GroupDto.html @@ -0,0 +1,281 @@ + + + + + + +Uses of Class com.mailslurp.models.GroupDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.GroupDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/GroupProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/GroupProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..426e3633a --- /dev/null +++ b/site/com/mailslurp/models/class-use/GroupProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.GroupProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.GroupProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.GroupProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/GroupProjection.html b/site/com/mailslurp/models/class-use/GroupProjection.html new file mode 100644 index 000000000..10e5fded3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/GroupProjection.html @@ -0,0 +1,274 @@ + + + + + + +Uses of Class com.mailslurp.models.GroupProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.GroupProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/HTMLValidationResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/HTMLValidationResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f081010ac --- /dev/null +++ b/site/com/mailslurp/models/class-use/HTMLValidationResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.HTMLValidationResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.HTMLValidationResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.HTMLValidationResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/HTMLValidationResult.html b/site/com/mailslurp/models/class-use/HTMLValidationResult.html new file mode 100644 index 000000000..435802e95 --- /dev/null +++ b/site/com/mailslurp/models/class-use/HTMLValidationResult.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.HTMLValidationResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.HTMLValidationResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/IPAddressResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/IPAddressResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1f15d5531 --- /dev/null +++ b/site/com/mailslurp/models/class-use/IPAddressResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.IPAddressResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.IPAddressResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.IPAddressResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/IPAddressResult.html b/site/com/mailslurp/models/class-use/IPAddressResult.html new file mode 100644 index 000000000..c879ccce9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/IPAddressResult.html @@ -0,0 +1,231 @@ + + + + + + +Uses of Class com.mailslurp.models.IPAddressResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.IPAddressResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..50f6149a7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ImapFlagOperationOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ImapFlagOperationOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ImapFlagOperationOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.FlagOperationEnum.Adapter.html b/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.FlagOperationEnum.Adapter.html new file mode 100644 index 000000000..236da2308 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.FlagOperationEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum.Adapter

+
+
No usage of com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.FlagOperationEnum.html b/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.FlagOperationEnum.html new file mode 100644 index 000000000..344e60560 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.FlagOperationEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.html b/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.html new file mode 100644 index 000000000..597b2b672 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ImapFlagOperationOptions.html @@ -0,0 +1,228 @@ + + + + + + +Uses of Class com.mailslurp.models.ImapFlagOperationOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ImapFlagOperationOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ImapSmtpAccessDetails.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ImapSmtpAccessDetails.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e4b3e0d19 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ImapSmtpAccessDetails.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ImapSmtpAccessDetails.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ImapSmtpAccessDetails.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ImapSmtpAccessDetails.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ImapSmtpAccessDetails.html b/site/com/mailslurp/models/class-use/ImapSmtpAccessDetails.html new file mode 100644 index 000000000..6c0e09fc3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ImapSmtpAccessDetails.html @@ -0,0 +1,272 @@ + + + + + + +Uses of Class com.mailslurp.models.ImapSmtpAccessDetails (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ImapSmtpAccessDetails

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxByEmailAddressResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxByEmailAddressResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..28916f3e4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxByEmailAddressResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxByEmailAddressResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxByEmailAddressResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxByEmailAddressResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxByEmailAddressResult.html b/site/com/mailslurp/models/class-use/InboxByEmailAddressResult.html new file mode 100644 index 000000000..a2a24f01e --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxByEmailAddressResult.html @@ -0,0 +1,234 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxByEmailAddressResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxByEmailAddressResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxByNameResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxByNameResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..725f18544 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxByNameResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxByNameResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxByNameResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxByNameResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxByNameResult.html b/site/com/mailslurp/models/class-use/InboxByNameResult.html new file mode 100644 index 000000000..9efcfd03f --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxByNameResult.html @@ -0,0 +1,234 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxByNameResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxByNameResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..9a34523b2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxDto.InboxTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/InboxDto.InboxTypeEnum.Adapter.html new file mode 100644 index 000000000..fcc04744a --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxDto.InboxTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxDto.InboxTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxDto.InboxTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.InboxDto.InboxTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxDto.InboxTypeEnum.html b/site/com/mailslurp/models/class-use/InboxDto.InboxTypeEnum.html new file mode 100644 index 000000000..c361e0972 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxDto.InboxTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxDto.InboxTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxDto.InboxTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxDto.html b/site/com/mailslurp/models/class-use/InboxDto.html new file mode 100644 index 000000000..a93024ef8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxDto.html @@ -0,0 +1,615 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxExistsDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxExistsDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0432f24d1 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxExistsDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxExistsDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxExistsDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxExistsDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxExistsDto.html b/site/com/mailslurp/models/class-use/InboxExistsDto.html new file mode 100644 index 000000000..4792aa9e9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxExistsDto.html @@ -0,0 +1,233 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxExistsDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxExistsDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxForwarderDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e3627c60e --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxForwarderDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderDto.FieldEnum.Adapter.html b/site/com/mailslurp/models/class-use/InboxForwarderDto.FieldEnum.Adapter.html new file mode 100644 index 000000000..f8e35405f --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderDto.FieldEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderDto.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderDto.FieldEnum.Adapter

+
+
No usage of com.mailslurp.models.InboxForwarderDto.FieldEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderDto.FieldEnum.html b/site/com/mailslurp/models/class-use/InboxForwarderDto.FieldEnum.html new file mode 100644 index 000000000..d24d8dac8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderDto.FieldEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderDto.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderDto.FieldEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderDto.html b/site/com/mailslurp/models/class-use/InboxForwarderDto.html new file mode 100644 index 000000000..9839a1fa4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderDto.html @@ -0,0 +1,353 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..171a3567b --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderEventProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderEventProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxForwarderEventProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.StatusEnum.Adapter.html b/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.StatusEnum.Adapter.html new file mode 100644 index 000000000..34a83c389 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.StatusEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderEventProjection.StatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderEventProjection.StatusEnum.Adapter

+
+
No usage of com.mailslurp.models.InboxForwarderEventProjection.StatusEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.StatusEnum.html b/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.StatusEnum.html new file mode 100644 index 000000000..f9c75f2b7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.StatusEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderEventProjection.StatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderEventProjection.StatusEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.html b/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.html new file mode 100644 index 000000000..1d9344888 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderEventProjection.html @@ -0,0 +1,245 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderEventProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderEventProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderTestOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxForwarderTestOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d7be443dd --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderTestOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderTestOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderTestOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxForwarderTestOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderTestOptions.html b/site/com/mailslurp/models/class-use/InboxForwarderTestOptions.html new file mode 100644 index 000000000..46a713e5c --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderTestOptions.html @@ -0,0 +1,279 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderTestOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderTestOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderTestResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxForwarderTestResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..393fa6a82 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderTestResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderTestResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderTestResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxForwarderTestResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxForwarderTestResult.html b/site/com/mailslurp/models/class-use/InboxForwarderTestResult.html new file mode 100644 index 000000000..47e10bded --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxForwarderTestResult.html @@ -0,0 +1,289 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxForwarderTestResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxForwarderTestResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxIdItem.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxIdItem.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6b56e0698 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxIdItem.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxIdItem.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxIdItem.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxIdItem.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxIdItem.html b/site/com/mailslurp/models/class-use/InboxIdItem.html new file mode 100644 index 000000000..ab30ccad7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxIdItem.html @@ -0,0 +1,221 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxIdItem (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxIdItem

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxIdsResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxIdsResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a04df301d --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxIdsResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxIdsResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxIdsResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxIdsResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxIdsResult.html b/site/com/mailslurp/models/class-use/InboxIdsResult.html new file mode 100644 index 000000000..c31a9972a --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxIdsResult.html @@ -0,0 +1,233 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxIdsResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxIdsResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxPreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxPreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8a413ad00 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxPreview.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxPreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxPreview.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxPreview.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxPreview.InboxTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/InboxPreview.InboxTypeEnum.Adapter.html new file mode 100644 index 000000000..3b1f422aa --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxPreview.InboxTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxPreview.InboxTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxPreview.InboxTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.InboxPreview.InboxTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxPreview.InboxTypeEnum.html b/site/com/mailslurp/models/class-use/InboxPreview.InboxTypeEnum.html new file mode 100644 index 000000000..111e99a6c --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxPreview.InboxTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxPreview.InboxTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxPreview.InboxTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxPreview.html b/site/com/mailslurp/models/class-use/InboxPreview.html new file mode 100644 index 000000000..9e960276d --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxPreview.html @@ -0,0 +1,261 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxPreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxPreview

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxReplierDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxReplierDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a5d7d528b --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxReplierDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxReplierDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxReplierDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxReplierDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxReplierDto.FieldEnum.Adapter.html b/site/com/mailslurp/models/class-use/InboxReplierDto.FieldEnum.Adapter.html new file mode 100644 index 000000000..9b0fa4727 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxReplierDto.FieldEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxReplierDto.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxReplierDto.FieldEnum.Adapter

+
+
No usage of com.mailslurp.models.InboxReplierDto.FieldEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxReplierDto.FieldEnum.html b/site/com/mailslurp/models/class-use/InboxReplierDto.FieldEnum.html new file mode 100644 index 000000000..4b2b9e1b6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxReplierDto.FieldEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxReplierDto.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxReplierDto.FieldEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxReplierDto.html b/site/com/mailslurp/models/class-use/InboxReplierDto.html new file mode 100644 index 000000000..3dd410517 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxReplierDto.html @@ -0,0 +1,379 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxReplierDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxReplierDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxReplierEventProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxReplierEventProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2aaaa5f14 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxReplierEventProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxReplierEventProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxReplierEventProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxReplierEventProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxReplierEventProjection.StatusEnum.Adapter.html b/site/com/mailslurp/models/class-use/InboxReplierEventProjection.StatusEnum.Adapter.html new file mode 100644 index 000000000..a8565ad0e --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxReplierEventProjection.StatusEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxReplierEventProjection.StatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxReplierEventProjection.StatusEnum.Adapter

+
+
No usage of com.mailslurp.models.InboxReplierEventProjection.StatusEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxReplierEventProjection.StatusEnum.html b/site/com/mailslurp/models/class-use/InboxReplierEventProjection.StatusEnum.html new file mode 100644 index 000000000..f7ee8b8fe --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxReplierEventProjection.StatusEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxReplierEventProjection.StatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxReplierEventProjection.StatusEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxReplierEventProjection.html b/site/com/mailslurp/models/class-use/InboxReplierEventProjection.html new file mode 100644 index 000000000..21e299a87 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxReplierEventProjection.html @@ -0,0 +1,257 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxReplierEventProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxReplierEventProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetDto.ActionEnum.Adapter.html b/site/com/mailslurp/models/class-use/InboxRulesetDto.ActionEnum.Adapter.html new file mode 100644 index 000000000..ef82d353c --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetDto.ActionEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetDto.ActionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetDto.ActionEnum.Adapter

+
+
No usage of com.mailslurp.models.InboxRulesetDto.ActionEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetDto.ActionEnum.html b/site/com/mailslurp/models/class-use/InboxRulesetDto.ActionEnum.html new file mode 100644 index 000000000..5b648791b --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetDto.ActionEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetDto.ActionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetDto.ActionEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxRulesetDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..cd05d82e9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxRulesetDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetDto.HandlerEnum.Adapter.html b/site/com/mailslurp/models/class-use/InboxRulesetDto.HandlerEnum.Adapter.html new file mode 100644 index 000000000..3c984b159 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetDto.HandlerEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetDto.HandlerEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetDto.HandlerEnum.Adapter

+
+
No usage of com.mailslurp.models.InboxRulesetDto.HandlerEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetDto.HandlerEnum.html b/site/com/mailslurp/models/class-use/InboxRulesetDto.HandlerEnum.html new file mode 100644 index 000000000..84bd74bfa --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetDto.HandlerEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetDto.HandlerEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetDto.HandlerEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetDto.ScopeEnum.Adapter.html b/site/com/mailslurp/models/class-use/InboxRulesetDto.ScopeEnum.Adapter.html new file mode 100644 index 000000000..54ca90dc2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetDto.ScopeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetDto.ScopeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetDto.ScopeEnum.Adapter

+
+
No usage of com.mailslurp.models.InboxRulesetDto.ScopeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetDto.ScopeEnum.html b/site/com/mailslurp/models/class-use/InboxRulesetDto.ScopeEnum.html new file mode 100644 index 000000000..c701dff82 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetDto.ScopeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetDto.ScopeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetDto.ScopeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetDto.html b/site/com/mailslurp/models/class-use/InboxRulesetDto.html new file mode 100644 index 000000000..d48c861d3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetDto.html @@ -0,0 +1,349 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetTestOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxRulesetTestOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..907283eac --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetTestOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetTestOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetTestOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxRulesetTestOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetTestOptions.html b/site/com/mailslurp/models/class-use/InboxRulesetTestOptions.html new file mode 100644 index 000000000..4b5acbedf --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetTestOptions.html @@ -0,0 +1,279 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetTestOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetTestOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetTestResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/InboxRulesetTestResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b7ee90bed --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetTestResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetTestResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetTestResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.InboxRulesetTestResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/InboxRulesetTestResult.html b/site/com/mailslurp/models/class-use/InboxRulesetTestResult.html new file mode 100644 index 000000000..57293eff5 --- /dev/null +++ b/site/com/mailslurp/models/class-use/InboxRulesetTestResult.html @@ -0,0 +1,289 @@ + + + + + + +Uses of Class com.mailslurp.models.InboxRulesetTestResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.InboxRulesetTestResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/JSONSchemaDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/JSONSchemaDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..792bf5d4d --- /dev/null +++ b/site/com/mailslurp/models/class-use/JSONSchemaDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.JSONSchemaDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.JSONSchemaDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.JSONSchemaDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/JSONSchemaDto.html b/site/com/mailslurp/models/class-use/JSONSchemaDto.html new file mode 100644 index 000000000..770321beb --- /dev/null +++ b/site/com/mailslurp/models/class-use/JSONSchemaDto.html @@ -0,0 +1,248 @@ + + + + + + +Uses of Class com.mailslurp.models.JSONSchemaDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.JSONSchemaDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..bcae41d6d --- /dev/null +++ b/site/com/mailslurp/models/class-use/ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ListUnsubscribeRecipientProjection.html b/site/com/mailslurp/models/class-use/ListUnsubscribeRecipientProjection.html new file mode 100644 index 000000000..925d19cd2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ListUnsubscribeRecipientProjection.html @@ -0,0 +1,229 @@ + + + + + + +Uses of Class com.mailslurp.models.ListUnsubscribeRecipientProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ListUnsubscribeRecipientProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MatchOption.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/MatchOption.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6d72ee227 --- /dev/null +++ b/site/com/mailslurp/models/class-use/MatchOption.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.MatchOption.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MatchOption.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.MatchOption.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MatchOption.FieldEnum.Adapter.html b/site/com/mailslurp/models/class-use/MatchOption.FieldEnum.Adapter.html new file mode 100644 index 000000000..b21310d55 --- /dev/null +++ b/site/com/mailslurp/models/class-use/MatchOption.FieldEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.MatchOption.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MatchOption.FieldEnum.Adapter

+
+
No usage of com.mailslurp.models.MatchOption.FieldEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MatchOption.FieldEnum.html b/site/com/mailslurp/models/class-use/MatchOption.FieldEnum.html new file mode 100644 index 000000000..053f93ae8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/MatchOption.FieldEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.MatchOption.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MatchOption.FieldEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MatchOption.ShouldEnum.Adapter.html b/site/com/mailslurp/models/class-use/MatchOption.ShouldEnum.Adapter.html new file mode 100644 index 000000000..62ce41ba3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/MatchOption.ShouldEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.MatchOption.ShouldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MatchOption.ShouldEnum.Adapter

+
+
No usage of com.mailslurp.models.MatchOption.ShouldEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MatchOption.ShouldEnum.html b/site/com/mailslurp/models/class-use/MatchOption.ShouldEnum.html new file mode 100644 index 000000000..90ec199b0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/MatchOption.ShouldEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.MatchOption.ShouldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MatchOption.ShouldEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MatchOption.html b/site/com/mailslurp/models/class-use/MatchOption.html new file mode 100644 index 000000000..53d0d46fa --- /dev/null +++ b/site/com/mailslurp/models/class-use/MatchOption.html @@ -0,0 +1,243 @@ + + + + + + +Uses of Class com.mailslurp.models.MatchOption (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MatchOption

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MatchOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/MatchOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a982a27d9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/MatchOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.MatchOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MatchOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.MatchOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MatchOptions.html b/site/com/mailslurp/models/class-use/MatchOptions.html new file mode 100644 index 000000000..3dbb36879 --- /dev/null +++ b/site/com/mailslurp/models/class-use/MatchOptions.html @@ -0,0 +1,320 @@ + + + + + + +Uses of Class com.mailslurp.models.MatchOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MatchOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MissedEmailDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/MissedEmailDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..26317ae61 --- /dev/null +++ b/site/com/mailslurp/models/class-use/MissedEmailDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.MissedEmailDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MissedEmailDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.MissedEmailDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MissedEmailDto.html b/site/com/mailslurp/models/class-use/MissedEmailDto.html new file mode 100644 index 000000000..b92ee79a1 --- /dev/null +++ b/site/com/mailslurp/models/class-use/MissedEmailDto.html @@ -0,0 +1,340 @@ + + + + + + +Uses of Class com.mailslurp.models.MissedEmailDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MissedEmailDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MissedEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/MissedEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..617427df6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/MissedEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.MissedEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MissedEmailProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.MissedEmailProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/MissedEmailProjection.html b/site/com/mailslurp/models/class-use/MissedEmailProjection.html new file mode 100644 index 000000000..2b8bb1dd1 --- /dev/null +++ b/site/com/mailslurp/models/class-use/MissedEmailProjection.html @@ -0,0 +1,233 @@ + + + + + + +Uses of Class com.mailslurp.models.MissedEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.MissedEmailProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/NameServerRecord.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/NameServerRecord.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e6536b67b --- /dev/null +++ b/site/com/mailslurp/models/class-use/NameServerRecord.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.NameServerRecord.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.NameServerRecord.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.NameServerRecord.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/NameServerRecord.html b/site/com/mailslurp/models/class-use/NameServerRecord.html new file mode 100644 index 000000000..d19db1c85 --- /dev/null +++ b/site/com/mailslurp/models/class-use/NameServerRecord.html @@ -0,0 +1,229 @@ + + + + + + +Uses of Class com.mailslurp.models.NameServerRecord (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.NameServerRecord

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/OrganizationInboxProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/OrganizationInboxProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4c4d682ea --- /dev/null +++ b/site/com/mailslurp/models/class-use/OrganizationInboxProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.OrganizationInboxProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.OrganizationInboxProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.OrganizationInboxProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/OrganizationInboxProjection.InboxTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/OrganizationInboxProjection.InboxTypeEnum.Adapter.html new file mode 100644 index 000000000..e4f6e4b62 --- /dev/null +++ b/site/com/mailslurp/models/class-use/OrganizationInboxProjection.InboxTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/OrganizationInboxProjection.InboxTypeEnum.html b/site/com/mailslurp/models/class-use/OrganizationInboxProjection.InboxTypeEnum.html new file mode 100644 index 000000000..e10612178 --- /dev/null +++ b/site/com/mailslurp/models/class-use/OrganizationInboxProjection.InboxTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/OrganizationInboxProjection.html b/site/com/mailslurp/models/class-use/OrganizationInboxProjection.html new file mode 100644 index 000000000..8fbb1f3f3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/OrganizationInboxProjection.html @@ -0,0 +1,261 @@ + + + + + + +Uses of Class com.mailslurp.models.OrganizationInboxProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.OrganizationInboxProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageAlias.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageAlias.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ea531297b --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageAlias.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageAlias.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageAlias.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageAlias.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageAlias.html b/site/com/mailslurp/models/class-use/PageAlias.html new file mode 100644 index 000000000..4a7a01e88 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageAlias.html @@ -0,0 +1,290 @@ + + + + + + +Uses of Class com.mailslurp.models.PageAlias (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageAlias

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageAttachmentEntity.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageAttachmentEntity.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0052ba64a --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageAttachmentEntity.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageAttachmentEntity.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageAttachmentEntity.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageAttachmentEntity.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageAttachmentEntity.html b/site/com/mailslurp/models/class-use/PageAttachmentEntity.html new file mode 100644 index 000000000..52ccd27f5 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageAttachmentEntity.html @@ -0,0 +1,293 @@ + + + + + + +Uses of Class com.mailslurp.models.PageAttachmentEntity (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageAttachmentEntity

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageBouncedEmail.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageBouncedEmail.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..46c71da1a --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageBouncedEmail.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageBouncedEmail.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageBouncedEmail.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageBouncedEmail.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageBouncedEmail.html b/site/com/mailslurp/models/class-use/PageBouncedEmail.html new file mode 100644 index 000000000..7da37680d --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageBouncedEmail.html @@ -0,0 +1,287 @@ + + + + + + +Uses of Class com.mailslurp.models.PageBouncedEmail (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageBouncedEmail

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageBouncedRecipients.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageBouncedRecipients.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d35291b04 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageBouncedRecipients.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageBouncedRecipients.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageBouncedRecipients.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageBouncedRecipients.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageBouncedRecipients.html b/site/com/mailslurp/models/class-use/PageBouncedRecipients.html new file mode 100644 index 000000000..e6d38d98b --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageBouncedRecipients.html @@ -0,0 +1,287 @@ + + + + + + +Uses of Class com.mailslurp.models.PageBouncedRecipients (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageBouncedRecipients

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageComplaint.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageComplaint.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..acb0f703a --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageComplaint.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageComplaint.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageComplaint.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageComplaint.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageComplaint.html b/site/com/mailslurp/models/class-use/PageComplaint.html new file mode 100644 index 000000000..2250efbfe --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageComplaint.html @@ -0,0 +1,287 @@ + + + + + + +Uses of Class com.mailslurp.models.PageComplaint (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageComplaint

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageConnector.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageConnector.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4a8a42625 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageConnector.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageConnector.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageConnector.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageConnector.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageConnector.html b/site/com/mailslurp/models/class-use/PageConnector.html new file mode 100644 index 000000000..a7580575f --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageConnector.html @@ -0,0 +1,290 @@ + + + + + + +Uses of Class com.mailslurp.models.PageConnector (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageConnector

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageConnectorSyncEvents.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageConnectorSyncEvents.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d6a909f3f --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageConnectorSyncEvents.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageConnectorSyncEvents.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageConnectorSyncEvents.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageConnectorSyncEvents.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageConnectorSyncEvents.html b/site/com/mailslurp/models/class-use/PageConnectorSyncEvents.html new file mode 100644 index 000000000..65a429308 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageConnectorSyncEvents.html @@ -0,0 +1,321 @@ + + + + + + +Uses of Class com.mailslurp.models.PageConnectorSyncEvents (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageConnectorSyncEvents

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageContactProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageContactProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1d84a7a90 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageContactProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageContactProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageContactProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageContactProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageContactProjection.html b/site/com/mailslurp/models/class-use/PageContactProjection.html new file mode 100644 index 000000000..683d72216 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageContactProjection.html @@ -0,0 +1,322 @@ + + + + + + +Uses of Class com.mailslurp.models.PageContactProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageContactProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageDeliveryStatus.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageDeliveryStatus.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..21e7d7ca3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageDeliveryStatus.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageDeliveryStatus.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageDeliveryStatus.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageDeliveryStatus.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageDeliveryStatus.html b/site/com/mailslurp/models/class-use/PageDeliveryStatus.html new file mode 100644 index 000000000..91bd9b1cd --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageDeliveryStatus.html @@ -0,0 +1,358 @@ + + + + + + +Uses of Class com.mailslurp.models.PageDeliveryStatus (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageDeliveryStatus

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageEmailPreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageEmailPreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3b857011f --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageEmailPreview.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageEmailPreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageEmailPreview.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageEmailPreview.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageEmailPreview.html b/site/com/mailslurp/models/class-use/PageEmailPreview.html new file mode 100644 index 000000000..78406c339 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageEmailPreview.html @@ -0,0 +1,293 @@ + + + + + + +Uses of Class com.mailslurp.models.PageEmailPreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageEmailPreview

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..53bf82484 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageEmailProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageEmailProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageEmailProjection.html b/site/com/mailslurp/models/class-use/PageEmailProjection.html new file mode 100644 index 000000000..e930cf047 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageEmailProjection.html @@ -0,0 +1,373 @@ + + + + + + +Uses of Class com.mailslurp.models.PageEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageEmailProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageEmailValidationRequest.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageEmailValidationRequest.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..75284d0e9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageEmailValidationRequest.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageEmailValidationRequest.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageEmailValidationRequest.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageEmailValidationRequest.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageEmailValidationRequest.html b/site/com/mailslurp/models/class-use/PageEmailValidationRequest.html new file mode 100644 index 000000000..7f6bdae95 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageEmailValidationRequest.html @@ -0,0 +1,293 @@ + + + + + + +Uses of Class com.mailslurp.models.PageEmailValidationRequest (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageEmailValidationRequest

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageExpiredInboxRecordProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageExpiredInboxRecordProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6123cea12 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageExpiredInboxRecordProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageExpiredInboxRecordProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageExpiredInboxRecordProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageExpiredInboxRecordProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageExpiredInboxRecordProjection.html b/site/com/mailslurp/models/class-use/PageExpiredInboxRecordProjection.html new file mode 100644 index 000000000..3b0ee9775 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageExpiredInboxRecordProjection.html @@ -0,0 +1,290 @@ + + + + + + +Uses of Class com.mailslurp.models.PageExpiredInboxRecordProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageExpiredInboxRecordProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageGroupProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageGroupProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..aa450ee9c --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageGroupProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageGroupProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageGroupProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageGroupProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageGroupProjection.html b/site/com/mailslurp/models/class-use/PageGroupProjection.html new file mode 100644 index 000000000..7e087445d --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageGroupProjection.html @@ -0,0 +1,287 @@ + + + + + + +Uses of Class com.mailslurp.models.PageGroupProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageGroupProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxForwarderDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageInboxForwarderDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..437ea682e --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxForwarderDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxForwarderDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxForwarderDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageInboxForwarderDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxForwarderDto.html b/site/com/mailslurp/models/class-use/PageInboxForwarderDto.html new file mode 100644 index 000000000..c106c503c --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxForwarderDto.html @@ -0,0 +1,296 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxForwarderDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxForwarderDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxForwarderEvents.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageInboxForwarderEvents.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2172b54d8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxForwarderEvents.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxForwarderEvents.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxForwarderEvents.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageInboxForwarderEvents.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxForwarderEvents.html b/site/com/mailslurp/models/class-use/PageInboxForwarderEvents.html new file mode 100644 index 000000000..6896edc2f --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxForwarderEvents.html @@ -0,0 +1,287 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxForwarderEvents (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxForwarderEvents

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageInboxProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3bad6e01c --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageInboxProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxProjection.html b/site/com/mailslurp/models/class-use/PageInboxProjection.html new file mode 100644 index 000000000..b2f94d3ef --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxProjection.html @@ -0,0 +1,308 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxReplierDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageInboxReplierDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5ff2b8a0b --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxReplierDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxReplierDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxReplierDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageInboxReplierDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxReplierDto.html b/site/com/mailslurp/models/class-use/PageInboxReplierDto.html new file mode 100644 index 000000000..d7144b18e --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxReplierDto.html @@ -0,0 +1,293 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxReplierDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxReplierDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxReplierEvents.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageInboxReplierEvents.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..dddb249cc --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxReplierEvents.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxReplierEvents.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxReplierEvents.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageInboxReplierEvents.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxReplierEvents.html b/site/com/mailslurp/models/class-use/PageInboxReplierEvents.html new file mode 100644 index 000000000..71fb1be2c --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxReplierEvents.html @@ -0,0 +1,287 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxReplierEvents (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxReplierEvents

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxRulesetDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageInboxRulesetDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d9a3c39c0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxRulesetDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxRulesetDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxRulesetDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageInboxRulesetDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageInboxRulesetDto.html b/site/com/mailslurp/models/class-use/PageInboxRulesetDto.html new file mode 100644 index 000000000..5c4cb9fee --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageInboxRulesetDto.html @@ -0,0 +1,336 @@ + + + + + + +Uses of Class com.mailslurp.models.PageInboxRulesetDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageInboxRulesetDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageListUnsubscribeRecipients.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageListUnsubscribeRecipients.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..743bfc571 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageListUnsubscribeRecipients.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageListUnsubscribeRecipients.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageListUnsubscribeRecipients.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageListUnsubscribeRecipients.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageListUnsubscribeRecipients.html b/site/com/mailslurp/models/class-use/PageListUnsubscribeRecipients.html new file mode 100644 index 000000000..98098e380 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageListUnsubscribeRecipients.html @@ -0,0 +1,284 @@ + + + + + + +Uses of Class com.mailslurp.models.PageListUnsubscribeRecipients (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageListUnsubscribeRecipients

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageMissedEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageMissedEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..36605b920 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageMissedEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageMissedEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageMissedEmailProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageMissedEmailProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageMissedEmailProjection.html b/site/com/mailslurp/models/class-use/PageMissedEmailProjection.html new file mode 100644 index 000000000..3b3fde993 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageMissedEmailProjection.html @@ -0,0 +1,293 @@ + + + + + + +Uses of Class com.mailslurp.models.PageMissedEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageMissedEmailProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageOrganizationInboxProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageOrganizationInboxProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2201614d6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageOrganizationInboxProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageOrganizationInboxProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageOrganizationInboxProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageOrganizationInboxProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageOrganizationInboxProjection.html b/site/com/mailslurp/models/class-use/PageOrganizationInboxProjection.html new file mode 100644 index 000000000..47f9256a6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageOrganizationInboxProjection.html @@ -0,0 +1,293 @@ + + + + + + +Uses of Class com.mailslurp.models.PageOrganizationInboxProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageOrganizationInboxProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PagePhoneNumberProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PagePhoneNumberProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..986a32b6f --- /dev/null +++ b/site/com/mailslurp/models/class-use/PagePhoneNumberProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PagePhoneNumberProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PagePhoneNumberProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PagePhoneNumberProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PagePhoneNumberProjection.html b/site/com/mailslurp/models/class-use/PagePhoneNumberProjection.html new file mode 100644 index 000000000..033ca5af4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PagePhoneNumberProjection.html @@ -0,0 +1,286 @@ + + + + + + +Uses of Class com.mailslurp.models.PagePhoneNumberProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PagePhoneNumberProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageScheduledJobs.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageScheduledJobs.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f3edeb5bd --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageScheduledJobs.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageScheduledJobs.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageScheduledJobs.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageScheduledJobs.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageScheduledJobs.html b/site/com/mailslurp/models/class-use/PageScheduledJobs.html new file mode 100644 index 000000000..c95d75123 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageScheduledJobs.html @@ -0,0 +1,327 @@ + + + + + + +Uses of Class com.mailslurp.models.PageScheduledJobs (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageScheduledJobs

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageSentEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageSentEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6d76d2cb4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageSentEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageSentEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageSentEmailProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageSentEmailProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageSentEmailProjection.html b/site/com/mailslurp/models/class-use/PageSentEmailProjection.html new file mode 100644 index 000000000..76fe1a677 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageSentEmailProjection.html @@ -0,0 +1,371 @@ + + + + + + +Uses of Class com.mailslurp.models.PageSentEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageSentEmailProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageSentEmailWithQueueProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageSentEmailWithQueueProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a1a1d84b8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageSentEmailWithQueueProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageSentEmailWithQueueProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageSentEmailWithQueueProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageSentEmailWithQueueProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageSentEmailWithQueueProjection.html b/site/com/mailslurp/models/class-use/PageSentEmailWithQueueProjection.html new file mode 100644 index 000000000..620b6ce54 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageSentEmailWithQueueProjection.html @@ -0,0 +1,287 @@ + + + + + + +Uses of Class com.mailslurp.models.PageSentEmailWithQueueProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageSentEmailWithQueueProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageSmsProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageSmsProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..06f35018a --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageSmsProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageSmsProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageSmsProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageSmsProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageSmsProjection.html b/site/com/mailslurp/models/class-use/PageSmsProjection.html new file mode 100644 index 000000000..1256ac52f --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageSmsProjection.html @@ -0,0 +1,293 @@ + + + + + + +Uses of Class com.mailslurp.models.PageSmsProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageSmsProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageTemplateProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageTemplateProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ce1978f5f --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageTemplateProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageTemplateProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageTemplateProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageTemplateProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageTemplateProjection.html b/site/com/mailslurp/models/class-use/PageTemplateProjection.html new file mode 100644 index 000000000..544982069 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageTemplateProjection.html @@ -0,0 +1,290 @@ + + + + + + +Uses of Class com.mailslurp.models.PageTemplateProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageTemplateProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageThreadProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageThreadProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..373046031 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageThreadProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageThreadProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageThreadProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageThreadProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageThreadProjection.html b/site/com/mailslurp/models/class-use/PageThreadProjection.html new file mode 100644 index 000000000..acb483b17 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageThreadProjection.html @@ -0,0 +1,293 @@ + + + + + + +Uses of Class com.mailslurp.models.PageThreadProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageThreadProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageTrackingPixelProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageTrackingPixelProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8849dbc4f --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageTrackingPixelProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageTrackingPixelProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageTrackingPixelProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageTrackingPixelProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageTrackingPixelProjection.html b/site/com/mailslurp/models/class-use/PageTrackingPixelProjection.html new file mode 100644 index 000000000..3cfe48a4b --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageTrackingPixelProjection.html @@ -0,0 +1,406 @@ + + + + + + +Uses of Class com.mailslurp.models.PageTrackingPixelProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageTrackingPixelProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageUnknownMissedEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageUnknownMissedEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b7c8076d0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageUnknownMissedEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageUnknownMissedEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageUnknownMissedEmailProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageUnknownMissedEmailProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageUnknownMissedEmailProjection.html b/site/com/mailslurp/models/class-use/PageUnknownMissedEmailProjection.html new file mode 100644 index 000000000..3d932705d --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageUnknownMissedEmailProjection.html @@ -0,0 +1,296 @@ + + + + + + +Uses of Class com.mailslurp.models.PageUnknownMissedEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageUnknownMissedEmailProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageWebhookProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageWebhookProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..7322075d6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageWebhookProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageWebhookProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageWebhookProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageWebhookProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageWebhookProjection.html b/site/com/mailslurp/models/class-use/PageWebhookProjection.html new file mode 100644 index 000000000..46cfc32eb --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageWebhookProjection.html @@ -0,0 +1,407 @@ + + + + + + +Uses of Class com.mailslurp.models.PageWebhookProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageWebhookProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageWebhookResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageWebhookResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..36155020d --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageWebhookResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageWebhookResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageWebhookResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageWebhookResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageWebhookResult.html b/site/com/mailslurp/models/class-use/PageWebhookResult.html new file mode 100644 index 000000000..fa5af76e2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageWebhookResult.html @@ -0,0 +1,333 @@ + + + + + + +Uses of Class com.mailslurp.models.PageWebhookResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageWebhookResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageableObject.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PageableObject.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..44d3e8139 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageableObject.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PageableObject.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageableObject.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PageableObject.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PageableObject.html b/site/com/mailslurp/models/class-use/PageableObject.html new file mode 100644 index 000000000..559e0fb25 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PageableObject.html @@ -0,0 +1,677 @@ + + + + + + +Uses of Class com.mailslurp.models.PageableObject (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PageableObject

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhoneNumberDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PhoneNumberDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..c89f7d57c --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhoneNumberDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PhoneNumberDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhoneNumberDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PhoneNumberDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhoneNumberDto.PhoneCountryEnum.Adapter.html b/site/com/mailslurp/models/class-use/PhoneNumberDto.PhoneCountryEnum.Adapter.html new file mode 100644 index 000000000..a4c3906bc --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhoneNumberDto.PhoneCountryEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum.Adapter

+
+
No usage of com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhoneNumberDto.PhoneCountryEnum.html b/site/com/mailslurp/models/class-use/PhoneNumberDto.PhoneCountryEnum.html new file mode 100644 index 000000000..27054ab79 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhoneNumberDto.PhoneCountryEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhoneNumberDto.html b/site/com/mailslurp/models/class-use/PhoneNumberDto.html new file mode 100644 index 000000000..1f234dbb7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhoneNumberDto.html @@ -0,0 +1,255 @@ + + + + + + +Uses of Class com.mailslurp.models.PhoneNumberDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhoneNumberDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhoneNumberProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PhoneNumberProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..20a188076 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhoneNumberProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PhoneNumberProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhoneNumberProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PhoneNumberProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhoneNumberProjection.PhoneCountryEnum.Adapter.html b/site/com/mailslurp/models/class-use/PhoneNumberProjection.PhoneCountryEnum.Adapter.html new file mode 100644 index 000000000..be908c43b --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhoneNumberProjection.PhoneCountryEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum.Adapter

+
+
No usage of com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhoneNumberProjection.PhoneCountryEnum.html b/site/com/mailslurp/models/class-use/PhoneNumberProjection.PhoneCountryEnum.html new file mode 100644 index 000000000..a8426be57 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhoneNumberProjection.PhoneCountryEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhoneNumberProjection.html b/site/com/mailslurp/models/class-use/PhoneNumberProjection.html new file mode 100644 index 000000000..8fd37504c --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhoneNumberProjection.html @@ -0,0 +1,233 @@ + + + + + + +Uses of Class com.mailslurp.models.PhoneNumberProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhoneNumberProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhonePlanDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/PhonePlanDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..c5b8862c9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhonePlanDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PhonePlanDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhonePlanDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.PhonePlanDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhonePlanDto.PhoneCountryEnum.Adapter.html b/site/com/mailslurp/models/class-use/PhonePlanDto.PhoneCountryEnum.Adapter.html new file mode 100644 index 000000000..3c2def00d --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhonePlanDto.PhoneCountryEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.PhonePlanDto.PhoneCountryEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhonePlanDto.PhoneCountryEnum.Adapter

+
+
No usage of com.mailslurp.models.PhonePlanDto.PhoneCountryEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhonePlanDto.PhoneCountryEnum.html b/site/com/mailslurp/models/class-use/PhonePlanDto.PhoneCountryEnum.html new file mode 100644 index 000000000..00b9d8a13 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhonePlanDto.PhoneCountryEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.PhonePlanDto.PhoneCountryEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhonePlanDto.PhoneCountryEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/PhonePlanDto.html b/site/com/mailslurp/models/class-use/PhonePlanDto.html new file mode 100644 index 000000000..734a8c453 --- /dev/null +++ b/site/com/mailslurp/models/class-use/PhonePlanDto.html @@ -0,0 +1,225 @@ + + + + + + +Uses of Class com.mailslurp.models.PhonePlanDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.PhonePlanDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/RawEmailJson.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/RawEmailJson.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6f981c4d0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/RawEmailJson.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.RawEmailJson.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.RawEmailJson.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.RawEmailJson.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/RawEmailJson.html b/site/com/mailslurp/models/class-use/RawEmailJson.html new file mode 100644 index 000000000..a8d869d03 --- /dev/null +++ b/site/com/mailslurp/models/class-use/RawEmailJson.html @@ -0,0 +1,246 @@ + + + + + + +Uses of Class com.mailslurp.models.RawEmailJson (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.RawEmailJson

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/Recipient.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/Recipient.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..c744638ac --- /dev/null +++ b/site/com/mailslurp/models/class-use/Recipient.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.Recipient.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.Recipient.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.Recipient.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/Recipient.html b/site/com/mailslurp/models/class-use/Recipient.html new file mode 100644 index 000000000..2cb315e44 --- /dev/null +++ b/site/com/mailslurp/models/class-use/Recipient.html @@ -0,0 +1,261 @@ + + + + + + +Uses of Class com.mailslurp.models.Recipient (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.Recipient

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0b25616bf --- /dev/null +++ b/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ReplyToAliasEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ReplyToAliasEmailOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ReplyToAliasEmailOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.SendStrategyEnum.Adapter.html b/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.SendStrategyEnum.Adapter.html new file mode 100644 index 000000000..086a0a556 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.SendStrategyEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum.Adapter

+
+
No usage of com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.SendStrategyEnum.html b/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.SendStrategyEnum.html new file mode 100644 index 000000000..9e17e0f46 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.SendStrategyEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.html b/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.html new file mode 100644 index 000000000..7279f040f --- /dev/null +++ b/site/com/mailslurp/models/class-use/ReplyToAliasEmailOptions.html @@ -0,0 +1,268 @@ + + + + + + +Uses of Class com.mailslurp.models.ReplyToAliasEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ReplyToAliasEmailOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ReplyToEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ReplyToEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d13beedbc --- /dev/null +++ b/site/com/mailslurp/models/class-use/ReplyToEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ReplyToEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ReplyToEmailOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ReplyToEmailOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ReplyToEmailOptions.SendStrategyEnum.Adapter.html b/site/com/mailslurp/models/class-use/ReplyToEmailOptions.SendStrategyEnum.Adapter.html new file mode 100644 index 000000000..79f4b4ffd --- /dev/null +++ b/site/com/mailslurp/models/class-use/ReplyToEmailOptions.SendStrategyEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum.Adapter

+
+
No usage of com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ReplyToEmailOptions.SendStrategyEnum.html b/site/com/mailslurp/models/class-use/ReplyToEmailOptions.SendStrategyEnum.html new file mode 100644 index 000000000..f1e9f4077 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ReplyToEmailOptions.SendStrategyEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ReplyToEmailOptions.html b/site/com/mailslurp/models/class-use/ReplyToEmailOptions.html new file mode 100644 index 000000000..488b2e944 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ReplyToEmailOptions.html @@ -0,0 +1,272 @@ + + + + + + +Uses of Class com.mailslurp.models.ReplyToEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ReplyToEmailOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ScheduledJob.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ScheduledJob.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..be1be9772 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ScheduledJob.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ScheduledJob.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ScheduledJob.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ScheduledJob.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ScheduledJob.StatusEnum.Adapter.html b/site/com/mailslurp/models/class-use/ScheduledJob.StatusEnum.Adapter.html new file mode 100644 index 000000000..74cebcdbc --- /dev/null +++ b/site/com/mailslurp/models/class-use/ScheduledJob.StatusEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ScheduledJob.StatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ScheduledJob.StatusEnum.Adapter

+
+
No usage of com.mailslurp.models.ScheduledJob.StatusEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ScheduledJob.StatusEnum.html b/site/com/mailslurp/models/class-use/ScheduledJob.StatusEnum.html new file mode 100644 index 000000000..615bf5ef8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ScheduledJob.StatusEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ScheduledJob.StatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ScheduledJob.StatusEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ScheduledJob.html b/site/com/mailslurp/models/class-use/ScheduledJob.html new file mode 100644 index 000000000..414675213 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ScheduledJob.html @@ -0,0 +1,253 @@ + + + + + + +Uses of Class com.mailslurp.models.ScheduledJob (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ScheduledJob

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ScheduledJobDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ScheduledJobDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e4590ccb2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ScheduledJobDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ScheduledJobDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ScheduledJobDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ScheduledJobDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ScheduledJobDto.StatusEnum.Adapter.html b/site/com/mailslurp/models/class-use/ScheduledJobDto.StatusEnum.Adapter.html new file mode 100644 index 000000000..de68323aa --- /dev/null +++ b/site/com/mailslurp/models/class-use/ScheduledJobDto.StatusEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ScheduledJobDto.StatusEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ScheduledJobDto.StatusEnum.Adapter

+
+
No usage of com.mailslurp.models.ScheduledJobDto.StatusEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ScheduledJobDto.StatusEnum.html b/site/com/mailslurp/models/class-use/ScheduledJobDto.StatusEnum.html new file mode 100644 index 000000000..0ab753283 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ScheduledJobDto.StatusEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.ScheduledJobDto.StatusEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ScheduledJobDto.StatusEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ScheduledJobDto.html b/site/com/mailslurp/models/class-use/ScheduledJobDto.html new file mode 100644 index 000000000..530b29902 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ScheduledJobDto.html @@ -0,0 +1,322 @@ + + + + + + +Uses of Class com.mailslurp.models.ScheduledJobDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ScheduledJobDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SendEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/SendEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..027d8e690 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SendEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SendEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SendEmailOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.SendEmailOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SendEmailOptions.SendStrategyEnum.Adapter.html b/site/com/mailslurp/models/class-use/SendEmailOptions.SendStrategyEnum.Adapter.html new file mode 100644 index 000000000..026bdd3c0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SendEmailOptions.SendStrategyEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SendEmailOptions.SendStrategyEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SendEmailOptions.SendStrategyEnum.Adapter

+
+
No usage of com.mailslurp.models.SendEmailOptions.SendStrategyEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SendEmailOptions.SendStrategyEnum.html b/site/com/mailslurp/models/class-use/SendEmailOptions.SendStrategyEnum.html new file mode 100644 index 000000000..2bdba9753 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SendEmailOptions.SendStrategyEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.SendEmailOptions.SendStrategyEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SendEmailOptions.SendStrategyEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SendEmailOptions.ValidateEmailAddressesEnum.Adapter.html b/site/com/mailslurp/models/class-use/SendEmailOptions.ValidateEmailAddressesEnum.Adapter.html new file mode 100644 index 000000000..7d577e890 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SendEmailOptions.ValidateEmailAddressesEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum.Adapter

+
+
No usage of com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SendEmailOptions.ValidateEmailAddressesEnum.html b/site/com/mailslurp/models/class-use/SendEmailOptions.ValidateEmailAddressesEnum.html new file mode 100644 index 000000000..35fd2a3a2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SendEmailOptions.ValidateEmailAddressesEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SendEmailOptions.html b/site/com/mailslurp/models/class-use/SendEmailOptions.html new file mode 100644 index 000000000..84b1139e4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SendEmailOptions.html @@ -0,0 +1,536 @@ + + + + + + +Uses of Class com.mailslurp.models.SendEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SendEmailOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SendSMTPEnvelopeOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/SendSMTPEnvelopeOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..69abc2246 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SendSMTPEnvelopeOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SendSMTPEnvelopeOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SendSMTPEnvelopeOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.SendSMTPEnvelopeOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SendSMTPEnvelopeOptions.html b/site/com/mailslurp/models/class-use/SendSMTPEnvelopeOptions.html new file mode 100644 index 000000000..ddca6f72f --- /dev/null +++ b/site/com/mailslurp/models/class-use/SendSMTPEnvelopeOptions.html @@ -0,0 +1,235 @@ + + + + + + +Uses of Class com.mailslurp.models.SendSMTPEnvelopeOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SendSMTPEnvelopeOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SendWithQueueResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/SendWithQueueResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e07e6475b --- /dev/null +++ b/site/com/mailslurp/models/class-use/SendWithQueueResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SendWithQueueResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SendWithQueueResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.SendWithQueueResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SendWithQueueResult.html b/site/com/mailslurp/models/class-use/SendWithQueueResult.html new file mode 100644 index 000000000..b2d5fc10a --- /dev/null +++ b/site/com/mailslurp/models/class-use/SendWithQueueResult.html @@ -0,0 +1,253 @@ + + + + + + +Uses of Class com.mailslurp.models.SendWithQueueResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SendWithQueueResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/Sender.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/Sender.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..f5c72ced7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/Sender.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.Sender.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.Sender.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.Sender.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/Sender.html b/site/com/mailslurp/models/class-use/Sender.html new file mode 100644 index 000000000..985d03e0c --- /dev/null +++ b/site/com/mailslurp/models/class-use/Sender.html @@ -0,0 +1,203 @@ + + + + + + +Uses of Class com.mailslurp.models.Sender (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.Sender

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SentEmailDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/SentEmailDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ed8799ac1 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SentEmailDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SentEmailDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SentEmailDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.SentEmailDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SentEmailDto.html b/site/com/mailslurp/models/class-use/SentEmailDto.html new file mode 100644 index 000000000..a606bacd0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SentEmailDto.html @@ -0,0 +1,509 @@ + + + + + + +Uses of Class com.mailslurp.models.SentEmailDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SentEmailDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SentEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/SentEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..853484666 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SentEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SentEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SentEmailProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.SentEmailProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SentEmailProjection.html b/site/com/mailslurp/models/class-use/SentEmailProjection.html new file mode 100644 index 000000000..588d1dc60 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SentEmailProjection.html @@ -0,0 +1,277 @@ + + + + + + +Uses of Class com.mailslurp.models.SentEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SentEmailProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SetInboxFavouritedOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/SetInboxFavouritedOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..05da1b2f3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SetInboxFavouritedOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SetInboxFavouritedOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SetInboxFavouritedOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.SetInboxFavouritedOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SetInboxFavouritedOptions.html b/site/com/mailslurp/models/class-use/SetInboxFavouritedOptions.html new file mode 100644 index 000000000..1a8499981 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SetInboxFavouritedOptions.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Class com.mailslurp.models.SetInboxFavouritedOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SetInboxFavouritedOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SimpleSendEmailOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/SimpleSendEmailOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..37b8245c9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SimpleSendEmailOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SimpleSendEmailOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SimpleSendEmailOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.SimpleSendEmailOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SimpleSendEmailOptions.html b/site/com/mailslurp/models/class-use/SimpleSendEmailOptions.html new file mode 100644 index 000000000..224be251f --- /dev/null +++ b/site/com/mailslurp/models/class-use/SimpleSendEmailOptions.html @@ -0,0 +1,231 @@ + + + + + + +Uses of Class com.mailslurp.models.SimpleSendEmailOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SimpleSendEmailOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/SmsDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..cb0afe3b0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.SmsDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsDto.html b/site/com/mailslurp/models/class-use/SmsDto.html new file mode 100644 index 000000000..a6eb20e22 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsDto.html @@ -0,0 +1,274 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsMatchOption.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/SmsMatchOption.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e52bacdf1 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsMatchOption.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsMatchOption.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsMatchOption.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.SmsMatchOption.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsMatchOption.FieldEnum.Adapter.html b/site/com/mailslurp/models/class-use/SmsMatchOption.FieldEnum.Adapter.html new file mode 100644 index 000000000..dff41c08f --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsMatchOption.FieldEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsMatchOption.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsMatchOption.FieldEnum.Adapter

+
+
No usage of com.mailslurp.models.SmsMatchOption.FieldEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsMatchOption.FieldEnum.html b/site/com/mailslurp/models/class-use/SmsMatchOption.FieldEnum.html new file mode 100644 index 000000000..97d49b076 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsMatchOption.FieldEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsMatchOption.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsMatchOption.FieldEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsMatchOption.ShouldEnum.Adapter.html b/site/com/mailslurp/models/class-use/SmsMatchOption.ShouldEnum.Adapter.html new file mode 100644 index 000000000..8c3647442 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsMatchOption.ShouldEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsMatchOption.ShouldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsMatchOption.ShouldEnum.Adapter

+
+
No usage of com.mailslurp.models.SmsMatchOption.ShouldEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsMatchOption.ShouldEnum.html b/site/com/mailslurp/models/class-use/SmsMatchOption.ShouldEnum.html new file mode 100644 index 000000000..2b4d685cc --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsMatchOption.ShouldEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsMatchOption.ShouldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsMatchOption.ShouldEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsMatchOption.html b/site/com/mailslurp/models/class-use/SmsMatchOption.html new file mode 100644 index 000000000..e62c060d7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsMatchOption.html @@ -0,0 +1,225 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsMatchOption (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsMatchOption

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsPreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/SmsPreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4aae0da2d --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsPreview.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsPreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsPreview.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.SmsPreview.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsPreview.html b/site/com/mailslurp/models/class-use/SmsPreview.html new file mode 100644 index 000000000..b6c9f7233 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsPreview.html @@ -0,0 +1,238 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsPreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsPreview

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/SmsProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1f832fc8c --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.SmsProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/SmsProjection.html b/site/com/mailslurp/models/class-use/SmsProjection.html new file mode 100644 index 000000000..9f33c17b6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/SmsProjection.html @@ -0,0 +1,241 @@ + + + + + + +Uses of Class com.mailslurp.models.SmsProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.SmsProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/Sort.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/Sort.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..424b8e300 --- /dev/null +++ b/site/com/mailslurp/models/class-use/Sort.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.Sort.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.Sort.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.Sort.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/Sort.html b/site/com/mailslurp/models/class-use/Sort.html new file mode 100644 index 000000000..7408a92a2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/Sort.html @@ -0,0 +1,679 @@ + + + + + + +Uses of Class com.mailslurp.models.Sort (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.Sort

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TemplateDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/TemplateDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ee7e02040 --- /dev/null +++ b/site/com/mailslurp/models/class-use/TemplateDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.TemplateDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TemplateDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.TemplateDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TemplateDto.html b/site/com/mailslurp/models/class-use/TemplateDto.html new file mode 100644 index 000000000..f0f745a5a --- /dev/null +++ b/site/com/mailslurp/models/class-use/TemplateDto.html @@ -0,0 +1,297 @@ + + + + + + +Uses of Class com.mailslurp.models.TemplateDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TemplateDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TemplatePreview.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/TemplatePreview.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..78b74528c --- /dev/null +++ b/site/com/mailslurp/models/class-use/TemplatePreview.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.TemplatePreview.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TemplatePreview.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.TemplatePreview.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TemplatePreview.html b/site/com/mailslurp/models/class-use/TemplatePreview.html new file mode 100644 index 000000000..33bac0e8c --- /dev/null +++ b/site/com/mailslurp/models/class-use/TemplatePreview.html @@ -0,0 +1,230 @@ + + + + + + +Uses of Class com.mailslurp.models.TemplatePreview (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TemplatePreview

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TemplateProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/TemplateProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..a337d062e --- /dev/null +++ b/site/com/mailslurp/models/class-use/TemplateProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.TemplateProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TemplateProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.TemplateProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TemplateProjection.html b/site/com/mailslurp/models/class-use/TemplateProjection.html new file mode 100644 index 000000000..ebd7fea39 --- /dev/null +++ b/site/com/mailslurp/models/class-use/TemplateProjection.html @@ -0,0 +1,285 @@ + + + + + + +Uses of Class com.mailslurp.models.TemplateProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TemplateProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TemplateVariable.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/TemplateVariable.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..da874680e --- /dev/null +++ b/site/com/mailslurp/models/class-use/TemplateVariable.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.TemplateVariable.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TemplateVariable.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.TemplateVariable.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TemplateVariable.VariableTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/TemplateVariable.VariableTypeEnum.Adapter.html new file mode 100644 index 000000000..6621acd75 --- /dev/null +++ b/site/com/mailslurp/models/class-use/TemplateVariable.VariableTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.TemplateVariable.VariableTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TemplateVariable.VariableTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.TemplateVariable.VariableTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TemplateVariable.VariableTypeEnum.html b/site/com/mailslurp/models/class-use/TemplateVariable.VariableTypeEnum.html new file mode 100644 index 000000000..5ac89f140 --- /dev/null +++ b/site/com/mailslurp/models/class-use/TemplateVariable.VariableTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.TemplateVariable.VariableTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TemplateVariable.VariableTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TemplateVariable.html b/site/com/mailslurp/models/class-use/TemplateVariable.html new file mode 100644 index 000000000..233ff02e6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/TemplateVariable.html @@ -0,0 +1,221 @@ + + + + + + +Uses of Class com.mailslurp.models.TemplateVariable (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TemplateVariable

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TestNewInboxForwarderOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/TestNewInboxForwarderOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..d8f32cebf --- /dev/null +++ b/site/com/mailslurp/models/class-use/TestNewInboxForwarderOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.TestNewInboxForwarderOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TestNewInboxForwarderOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.TestNewInboxForwarderOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TestNewInboxForwarderOptions.html b/site/com/mailslurp/models/class-use/TestNewInboxForwarderOptions.html new file mode 100644 index 000000000..b82e881ff --- /dev/null +++ b/site/com/mailslurp/models/class-use/TestNewInboxForwarderOptions.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Class com.mailslurp.models.TestNewInboxForwarderOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TestNewInboxForwarderOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TestNewInboxRulesetOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/TestNewInboxRulesetOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..3bf086c61 --- /dev/null +++ b/site/com/mailslurp/models/class-use/TestNewInboxRulesetOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.TestNewInboxRulesetOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TestNewInboxRulesetOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.TestNewInboxRulesetOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TestNewInboxRulesetOptions.html b/site/com/mailslurp/models/class-use/TestNewInboxRulesetOptions.html new file mode 100644 index 000000000..c0dcaf678 --- /dev/null +++ b/site/com/mailslurp/models/class-use/TestNewInboxRulesetOptions.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Class com.mailslurp.models.TestNewInboxRulesetOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TestNewInboxRulesetOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TestPhoneNumberOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/TestPhoneNumberOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e5e102f8f --- /dev/null +++ b/site/com/mailslurp/models/class-use/TestPhoneNumberOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.TestPhoneNumberOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TestPhoneNumberOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.TestPhoneNumberOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TestPhoneNumberOptions.html b/site/com/mailslurp/models/class-use/TestPhoneNumberOptions.html new file mode 100644 index 000000000..41fde1308 --- /dev/null +++ b/site/com/mailslurp/models/class-use/TestPhoneNumberOptions.html @@ -0,0 +1,220 @@ + + + + + + +Uses of Class com.mailslurp.models.TestPhoneNumberOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TestPhoneNumberOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ThreadProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ThreadProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..87bf142f8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ThreadProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ThreadProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ThreadProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ThreadProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ThreadProjection.html b/site/com/mailslurp/models/class-use/ThreadProjection.html new file mode 100644 index 000000000..af91d42a3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ThreadProjection.html @@ -0,0 +1,269 @@ + + + + + + +Uses of Class com.mailslurp.models.ThreadProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ThreadProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TrackingPixelDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/TrackingPixelDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..11c0a6ede --- /dev/null +++ b/site/com/mailslurp/models/class-use/TrackingPixelDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.TrackingPixelDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TrackingPixelDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.TrackingPixelDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TrackingPixelDto.html b/site/com/mailslurp/models/class-use/TrackingPixelDto.html new file mode 100644 index 000000000..f86bff305 --- /dev/null +++ b/site/com/mailslurp/models/class-use/TrackingPixelDto.html @@ -0,0 +1,281 @@ + + + + + + +Uses of Class com.mailslurp.models.TrackingPixelDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TrackingPixelDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TrackingPixelProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/TrackingPixelProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2a6643183 --- /dev/null +++ b/site/com/mailslurp/models/class-use/TrackingPixelProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.TrackingPixelProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TrackingPixelProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.TrackingPixelProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/TrackingPixelProjection.html b/site/com/mailslurp/models/class-use/TrackingPixelProjection.html new file mode 100644 index 000000000..ab134261e --- /dev/null +++ b/site/com/mailslurp/models/class-use/TrackingPixelProjection.html @@ -0,0 +1,249 @@ + + + + + + +Uses of Class com.mailslurp.models.TrackingPixelProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.TrackingPixelProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UnknownMissedEmailProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UnknownMissedEmailProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0253fc524 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UnknownMissedEmailProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UnknownMissedEmailProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UnknownMissedEmailProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UnknownMissedEmailProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UnknownMissedEmailProjection.html b/site/com/mailslurp/models/class-use/UnknownMissedEmailProjection.html new file mode 100644 index 000000000..d715bf571 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UnknownMissedEmailProjection.html @@ -0,0 +1,237 @@ + + + + + + +Uses of Class com.mailslurp.models.UnknownMissedEmailProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UnknownMissedEmailProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UnreadCount.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UnreadCount.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..faa6fe043 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UnreadCount.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UnreadCount.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UnreadCount.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UnreadCount.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UnreadCount.html b/site/com/mailslurp/models/class-use/UnreadCount.html new file mode 100644 index 000000000..e55a77bed --- /dev/null +++ b/site/com/mailslurp/models/class-use/UnreadCount.html @@ -0,0 +1,250 @@ + + + + + + +Uses of Class com.mailslurp.models.UnreadCount (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UnreadCount

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UnseenErrorCountDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UnseenErrorCountDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0acab0ccf --- /dev/null +++ b/site/com/mailslurp/models/class-use/UnseenErrorCountDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UnseenErrorCountDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UnseenErrorCountDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UnseenErrorCountDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UnseenErrorCountDto.html b/site/com/mailslurp/models/class-use/UnseenErrorCountDto.html new file mode 100644 index 000000000..135e231f7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UnseenErrorCountDto.html @@ -0,0 +1,226 @@ + + + + + + +Uses of Class com.mailslurp.models.UnseenErrorCountDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UnseenErrorCountDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateAliasOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UpdateAliasOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..c6a4ff5ae --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateAliasOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateAliasOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateAliasOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UpdateAliasOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateAliasOptions.html b/site/com/mailslurp/models/class-use/UpdateAliasOptions.html new file mode 100644 index 000000000..34417d480 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateAliasOptions.html @@ -0,0 +1,220 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateAliasOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateAliasOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateDomainOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UpdateDomainOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..62e262ebf --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateDomainOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateDomainOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateDomainOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UpdateDomainOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateDomainOptions.html b/site/com/mailslurp/models/class-use/UpdateDomainOptions.html new file mode 100644 index 000000000..42e31369c --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateDomainOptions.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateDomainOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateDomainOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateGroupContacts.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UpdateGroupContacts.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..ea63aa96a --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateGroupContacts.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateGroupContacts.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateGroupContacts.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UpdateGroupContacts.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateGroupContacts.html b/site/com/mailslurp/models/class-use/UpdateGroupContacts.html new file mode 100644 index 000000000..9e8a10c92 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateGroupContacts.html @@ -0,0 +1,254 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateGroupContacts (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateGroupContacts

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateInboxOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UpdateInboxOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1b54f7b4d --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateInboxOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateInboxOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateInboxOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UpdateInboxOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateInboxOptions.html b/site/com/mailslurp/models/class-use/UpdateInboxOptions.html new file mode 100644 index 000000000..708160a8b --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateInboxOptions.html @@ -0,0 +1,240 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateInboxOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateInboxOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..cd68c31ca --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateInboxReplierOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateInboxReplierOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UpdateInboxReplierOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.FieldEnum.Adapter.html b/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.FieldEnum.Adapter.html new file mode 100644 index 000000000..b2fc49268 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.FieldEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum.Adapter

+
+
No usage of com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.FieldEnum.html b/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.FieldEnum.html new file mode 100644 index 000000000..0d6538f58 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.FieldEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.html b/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.html new file mode 100644 index 000000000..775158582 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UpdateInboxReplierOptions.html @@ -0,0 +1,276 @@ + + + + + + +Uses of Class com.mailslurp.models.UpdateInboxReplierOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UpdateInboxReplierOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UploadAttachmentBytesRequest.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UploadAttachmentBytesRequest.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..390c1d4f6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UploadAttachmentBytesRequest.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UploadAttachmentBytesRequest.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UploadAttachmentBytesRequest.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UploadAttachmentBytesRequest.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UploadAttachmentBytesRequest.html b/site/com/mailslurp/models/class-use/UploadAttachmentBytesRequest.html new file mode 100644 index 000000000..94876688b --- /dev/null +++ b/site/com/mailslurp/models/class-use/UploadAttachmentBytesRequest.html @@ -0,0 +1,252 @@ + + + + + + +Uses of Class com.mailslurp.models.UploadAttachmentBytesRequest (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UploadAttachmentBytesRequest

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UploadAttachmentOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UploadAttachmentOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..fe9ab53cf --- /dev/null +++ b/site/com/mailslurp/models/class-use/UploadAttachmentOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UploadAttachmentOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UploadAttachmentOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UploadAttachmentOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UploadAttachmentOptions.html b/site/com/mailslurp/models/class-use/UploadAttachmentOptions.html new file mode 100644 index 000000000..29443c9fc --- /dev/null +++ b/site/com/mailslurp/models/class-use/UploadAttachmentOptions.html @@ -0,0 +1,224 @@ + + + + + + +Uses of Class com.mailslurp.models.UploadAttachmentOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UploadAttachmentOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UploadMultipartFormRequest.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UploadMultipartFormRequest.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..93beb63aa --- /dev/null +++ b/site/com/mailslurp/models/class-use/UploadMultipartFormRequest.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UploadMultipartFormRequest.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UploadMultipartFormRequest.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UploadMultipartFormRequest.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UploadMultipartFormRequest.html b/site/com/mailslurp/models/class-use/UploadMultipartFormRequest.html new file mode 100644 index 000000000..fa274d4e3 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UploadMultipartFormRequest.html @@ -0,0 +1,232 @@ + + + + + + +Uses of Class com.mailslurp.models.UploadMultipartFormRequest (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UploadMultipartFormRequest

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UserInfoDto.AccountStateEnum.Adapter.html b/site/com/mailslurp/models/class-use/UserInfoDto.AccountStateEnum.Adapter.html new file mode 100644 index 000000000..d92aac9c4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UserInfoDto.AccountStateEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UserInfoDto.AccountStateEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UserInfoDto.AccountStateEnum.Adapter

+
+
No usage of com.mailslurp.models.UserInfoDto.AccountStateEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UserInfoDto.AccountStateEnum.html b/site/com/mailslurp/models/class-use/UserInfoDto.AccountStateEnum.html new file mode 100644 index 000000000..b4b42f1c5 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UserInfoDto.AccountStateEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.UserInfoDto.AccountStateEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UserInfoDto.AccountStateEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UserInfoDto.AccountTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/UserInfoDto.AccountTypeEnum.Adapter.html new file mode 100644 index 000000000..d3a601921 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UserInfoDto.AccountTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UserInfoDto.AccountTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UserInfoDto.AccountTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.UserInfoDto.AccountTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UserInfoDto.AccountTypeEnum.html b/site/com/mailslurp/models/class-use/UserInfoDto.AccountTypeEnum.html new file mode 100644 index 000000000..5bd81bc53 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UserInfoDto.AccountTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.UserInfoDto.AccountTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UserInfoDto.AccountTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UserInfoDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/UserInfoDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..46c5f45bf --- /dev/null +++ b/site/com/mailslurp/models/class-use/UserInfoDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UserInfoDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UserInfoDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.UserInfoDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UserInfoDto.SubscriptionTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/UserInfoDto.SubscriptionTypeEnum.Adapter.html new file mode 100644 index 000000000..c55958031 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UserInfoDto.SubscriptionTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UserInfoDto.SubscriptionTypeEnum.html b/site/com/mailslurp/models/class-use/UserInfoDto.SubscriptionTypeEnum.html new file mode 100644 index 000000000..0296c8777 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UserInfoDto.SubscriptionTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/UserInfoDto.html b/site/com/mailslurp/models/class-use/UserInfoDto.html new file mode 100644 index 000000000..02fc21571 --- /dev/null +++ b/site/com/mailslurp/models/class-use/UserInfoDto.html @@ -0,0 +1,247 @@ + + + + + + +Uses of Class com.mailslurp.models.UserInfoDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.UserInfoDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ValidateEmailAddressListOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ValidateEmailAddressListOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..8d71d0115 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ValidateEmailAddressListOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ValidateEmailAddressListOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ValidateEmailAddressListOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ValidateEmailAddressListOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ValidateEmailAddressListOptions.html b/site/com/mailslurp/models/class-use/ValidateEmailAddressListOptions.html new file mode 100644 index 000000000..fe52d90a4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ValidateEmailAddressListOptions.html @@ -0,0 +1,220 @@ + + + + + + +Uses of Class com.mailslurp.models.ValidateEmailAddressListOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ValidateEmailAddressListOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ValidateEmailAddressListResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ValidateEmailAddressListResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..4f4480d40 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ValidateEmailAddressListResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ValidateEmailAddressListResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ValidateEmailAddressListResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ValidateEmailAddressListResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ValidateEmailAddressListResult.html b/site/com/mailslurp/models/class-use/ValidateEmailAddressListResult.html new file mode 100644 index 000000000..2eeea6ee9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ValidateEmailAddressListResult.html @@ -0,0 +1,248 @@ + + + + + + +Uses of Class com.mailslurp.models.ValidateEmailAddressListResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ValidateEmailAddressListResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ValidationDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ValidationDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..139d956c4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ValidationDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ValidationDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ValidationDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ValidationDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ValidationDto.html b/site/com/mailslurp/models/class-use/ValidationDto.html new file mode 100644 index 000000000..f4fe288e1 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ValidationDto.html @@ -0,0 +1,234 @@ + + + + + + +Uses of Class com.mailslurp.models.ValidationDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ValidationDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ValidationMessage.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/ValidationMessage.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..436573319 --- /dev/null +++ b/site/com/mailslurp/models/class-use/ValidationMessage.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.ValidationMessage.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ValidationMessage.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.ValidationMessage.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/ValidationMessage.html b/site/com/mailslurp/models/class-use/ValidationMessage.html new file mode 100644 index 000000000..bd50e005c --- /dev/null +++ b/site/com/mailslurp/models/class-use/ValidationMessage.html @@ -0,0 +1,239 @@ + + + + + + +Uses of Class com.mailslurp.models.ValidationMessage (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.ValidationMessage

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/VerifyEmailAddressOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/VerifyEmailAddressOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..096f58493 --- /dev/null +++ b/site/com/mailslurp/models/class-use/VerifyEmailAddressOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.VerifyEmailAddressOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.VerifyEmailAddressOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.VerifyEmailAddressOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/VerifyEmailAddressOptions.html b/site/com/mailslurp/models/class-use/VerifyEmailAddressOptions.html new file mode 100644 index 000000000..a2e545096 --- /dev/null +++ b/site/com/mailslurp/models/class-use/VerifyEmailAddressOptions.html @@ -0,0 +1,228 @@ + + + + + + +Uses of Class com.mailslurp.models.VerifyEmailAddressOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.VerifyEmailAddressOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/VerifyWebhookSignatureOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/VerifyWebhookSignatureOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2378af79f --- /dev/null +++ b/site/com/mailslurp/models/class-use/VerifyWebhookSignatureOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.VerifyWebhookSignatureOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.VerifyWebhookSignatureOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.VerifyWebhookSignatureOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/VerifyWebhookSignatureOptions.html b/site/com/mailslurp/models/class-use/VerifyWebhookSignatureOptions.html new file mode 100644 index 000000000..ce5d45ba6 --- /dev/null +++ b/site/com/mailslurp/models/class-use/VerifyWebhookSignatureOptions.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Class com.mailslurp.models.VerifyWebhookSignatureOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.VerifyWebhookSignatureOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/VerifyWebhookSignatureResults.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/VerifyWebhookSignatureResults.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..74ca8ec60 --- /dev/null +++ b/site/com/mailslurp/models/class-use/VerifyWebhookSignatureResults.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.VerifyWebhookSignatureResults.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.VerifyWebhookSignatureResults.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.VerifyWebhookSignatureResults.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/VerifyWebhookSignatureResults.html b/site/com/mailslurp/models/class-use/VerifyWebhookSignatureResults.html new file mode 100644 index 000000000..70fbf663f --- /dev/null +++ b/site/com/mailslurp/models/class-use/VerifyWebhookSignatureResults.html @@ -0,0 +1,230 @@ + + + + + + +Uses of Class com.mailslurp.models.VerifyWebhookSignatureResults (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.VerifyWebhookSignatureResults

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForConditions.CountTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/WaitForConditions.CountTypeEnum.Adapter.html new file mode 100644 index 000000000..2357a1e65 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForConditions.CountTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForConditions.CountTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForConditions.CountTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.WaitForConditions.CountTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForConditions.CountTypeEnum.html b/site/com/mailslurp/models/class-use/WaitForConditions.CountTypeEnum.html new file mode 100644 index 000000000..d8b305f0c --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForConditions.CountTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForConditions.CountTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForConditions.CountTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForConditions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WaitForConditions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..dac519393 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForConditions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForConditions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForConditions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WaitForConditions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForConditions.SortDirectionEnum.Adapter.html b/site/com/mailslurp/models/class-use/WaitForConditions.SortDirectionEnum.Adapter.html new file mode 100644 index 000000000..38cb54c4d --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForConditions.SortDirectionEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForConditions.SortDirectionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForConditions.SortDirectionEnum.Adapter

+
+
No usage of com.mailslurp.models.WaitForConditions.SortDirectionEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForConditions.SortDirectionEnum.html b/site/com/mailslurp/models/class-use/WaitForConditions.SortDirectionEnum.html new file mode 100644 index 000000000..cf40c2506 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForConditions.SortDirectionEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForConditions.SortDirectionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForConditions.SortDirectionEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForConditions.html b/site/com/mailslurp/models/class-use/WaitForConditions.html new file mode 100644 index 000000000..843847ddc --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForConditions.html @@ -0,0 +1,256 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForConditions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForConditions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b26381b80 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForSingleSmsOptions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForSingleSmsOptions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WaitForSingleSmsOptions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.SortDirectionEnum.Adapter.html b/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.SortDirectionEnum.Adapter.html new file mode 100644 index 000000000..e294228e8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.SortDirectionEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum.Adapter

+
+
No usage of com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.SortDirectionEnum.html b/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.SortDirectionEnum.html new file mode 100644 index 000000000..522b79fae --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.SortDirectionEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.html b/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.html new file mode 100644 index 000000000..8e34a2b30 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForSingleSmsOptions.html @@ -0,0 +1,240 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForSingleSmsOptions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForSingleSmsOptions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForSmsConditions.CountTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/WaitForSmsConditions.CountTypeEnum.Adapter.html new file mode 100644 index 000000000..89ae40363 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForSmsConditions.CountTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForSmsConditions.CountTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForSmsConditions.CountTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.WaitForSmsConditions.CountTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForSmsConditions.CountTypeEnum.html b/site/com/mailslurp/models/class-use/WaitForSmsConditions.CountTypeEnum.html new file mode 100644 index 000000000..bccc53920 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForSmsConditions.CountTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForSmsConditions.CountTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForSmsConditions.CountTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForSmsConditions.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WaitForSmsConditions.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..cb72a3e7d --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForSmsConditions.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForSmsConditions.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForSmsConditions.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WaitForSmsConditions.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForSmsConditions.SortDirectionEnum.Adapter.html b/site/com/mailslurp/models/class-use/WaitForSmsConditions.SortDirectionEnum.Adapter.html new file mode 100644 index 000000000..8da72a9ce --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForSmsConditions.SortDirectionEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum.Adapter

+
+
No usage of com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForSmsConditions.SortDirectionEnum.html b/site/com/mailslurp/models/class-use/WaitForSmsConditions.SortDirectionEnum.html new file mode 100644 index 000000000..f11a0e232 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForSmsConditions.SortDirectionEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WaitForSmsConditions.html b/site/com/mailslurp/models/class-use/WaitForSmsConditions.html new file mode 100644 index 000000000..97099e9f0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WaitForSmsConditions.html @@ -0,0 +1,260 @@ + + + + + + +Uses of Class com.mailslurp.models.WaitForSmsConditions (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WaitForSmsConditions

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookBouncePayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookBouncePayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..5f1c1cbce --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookBouncePayload.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookBouncePayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookBouncePayload.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookBouncePayload.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookBouncePayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookBouncePayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..daeeb1abe --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookBouncePayload.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookBouncePayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookBouncePayload.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookBouncePayload.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookBouncePayload.EventNameEnum.html b/site/com/mailslurp/models/class-use/WebhookBouncePayload.EventNameEnum.html new file mode 100644 index 000000000..71e935171 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookBouncePayload.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookBouncePayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookBouncePayload.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookBouncePayload.html b/site/com/mailslurp/models/class-use/WebhookBouncePayload.html new file mode 100644 index 000000000..3dcb0b0ba --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookBouncePayload.html @@ -0,0 +1,263 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookBouncePayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookBouncePayload

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..32dc28850 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookBounceRecipientPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookBounceRecipientPayload.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookBounceRecipientPayload.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..503caed2d --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.EventNameEnum.html b/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.EventNameEnum.html new file mode 100644 index 000000000..6a2bb5db8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.html b/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.html new file mode 100644 index 000000000..4452869aa --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookBounceRecipientPayload.html @@ -0,0 +1,243 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookBounceRecipientPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookBounceRecipientPayload

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..66599997e --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookDeliveryStatusPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookDeliveryStatusPayload.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookDeliveryStatusPayload.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..2ce538207 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.EventNameEnum.html b/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.EventNameEnum.html new file mode 100644 index 000000000..2ecc5802a --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.html b/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.html new file mode 100644 index 000000000..1d39755be --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookDeliveryStatusPayload.html @@ -0,0 +1,290 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookDeliveryStatusPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookDeliveryStatusPayload

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..239a06f2b --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookDto.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookDto.EventNameEnum.Adapter.html new file mode 100644 index 000000000..b38f060c2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookDto.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookDto.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookDto.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookDto.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookDto.EventNameEnum.html b/site/com/mailslurp/models/class-use/WebhookDto.EventNameEnum.html new file mode 100644 index 000000000..07fe80319 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookDto.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookDto.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookDto.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookDto.MethodEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookDto.MethodEnum.Adapter.html new file mode 100644 index 000000000..51b1f1bf9 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookDto.MethodEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookDto.MethodEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookDto.MethodEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookDto.MethodEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookDto.MethodEnum.html b/site/com/mailslurp/models/class-use/WebhookDto.MethodEnum.html new file mode 100644 index 000000000..78c7437e1 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookDto.MethodEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookDto.MethodEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookDto.MethodEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookDto.html b/site/com/mailslurp/models/class-use/WebhookDto.html new file mode 100644 index 000000000..3efe2a208 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookDto.html @@ -0,0 +1,400 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..9ec918522 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookEmailOpenedPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookEmailOpenedPayload.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookEmailOpenedPayload.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..6fc88f803 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.EventNameEnum.html b/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.EventNameEnum.html new file mode 100644 index 000000000..a9c438dfe --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.html b/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.html new file mode 100644 index 000000000..444c7b066 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookEmailOpenedPayload.html @@ -0,0 +1,259 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookEmailOpenedPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookEmailOpenedPayload

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..7a4302e55 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookEmailReadPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookEmailReadPayload.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookEmailReadPayload.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..28668d29d --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.EventNameEnum.html b/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.EventNameEnum.html new file mode 100644 index 000000000..2537d329c --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.html b/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.html new file mode 100644 index 000000000..33d986966 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookEmailReadPayload.html @@ -0,0 +1,255 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookEmailReadPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookEmailReadPayload

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookHeaderNameValue.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookHeaderNameValue.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b1a7cc448 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookHeaderNameValue.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookHeaderNameValue.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookHeaderNameValue.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookHeaderNameValue.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookHeaderNameValue.html b/site/com/mailslurp/models/class-use/WebhookHeaderNameValue.html new file mode 100644 index 000000000..8dad82a02 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookHeaderNameValue.html @@ -0,0 +1,221 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookHeaderNameValue (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookHeaderNameValue

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookHeaders.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookHeaders.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..1536309ea --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookHeaders.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookHeaders.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookHeaders.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookHeaders.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookHeaders.html b/site/com/mailslurp/models/class-use/WebhookHeaders.html new file mode 100644 index 000000000..c4c0ddae8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookHeaders.html @@ -0,0 +1,261 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookHeaders (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookHeaders

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..6c5b79f3b --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewAttachmentPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewAttachmentPayload.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookNewAttachmentPayload.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..73faf741a --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.EventNameEnum.html b/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.EventNameEnum.html new file mode 100644 index 000000000..a3ba48435 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.html b/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.html new file mode 100644 index 000000000..3d304e3ce --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewAttachmentPayload.html @@ -0,0 +1,254 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewAttachmentPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewAttachmentPayload

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewContactPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookNewContactPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..b9aad6ce1 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewContactPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewContactPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewContactPayload.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookNewContactPayload.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewContactPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookNewContactPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..02b6a135c --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewContactPayload.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewContactPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewContactPayload.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookNewContactPayload.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewContactPayload.EventNameEnum.html b/site/com/mailslurp/models/class-use/WebhookNewContactPayload.EventNameEnum.html new file mode 100644 index 000000000..cda6a8448 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewContactPayload.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewContactPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewContactPayload.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewContactPayload.html b/site/com/mailslurp/models/class-use/WebhookNewContactPayload.html new file mode 100644 index 000000000..b7f3caa3d --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewContactPayload.html @@ -0,0 +1,290 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewContactPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewContactPayload

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..c7cbe073f --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewEmailPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewEmailPayload.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookNewEmailPayload.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..cec732331 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.EventNameEnum.html b/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.EventNameEnum.html new file mode 100644 index 000000000..3d2eb909c --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.html b/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.html new file mode 100644 index 000000000..9b2923d67 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewEmailPayload.html @@ -0,0 +1,294 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewEmailPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewEmailPayload

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..e443a5ba0 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewSmsPayload.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewSmsPayload.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookNewSmsPayload.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.EventNameEnum.Adapter.html new file mode 100644 index 000000000..ed9b3eb88 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.EventNameEnum.html b/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.EventNameEnum.html new file mode 100644 index 000000000..7f6a9293c --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.html b/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.html new file mode 100644 index 000000000..b1cfa57aa --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookNewSmsPayload.html @@ -0,0 +1,266 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookNewSmsPayload (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookNewSmsPayload

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookProjection.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookProjection.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..0c71b6e34 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookProjection.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookProjection.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookProjection.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookProjection.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookProjection.EventNameEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookProjection.EventNameEnum.Adapter.html new file mode 100644 index 000000000..0cd9b9930 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookProjection.EventNameEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookProjection.EventNameEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookProjection.EventNameEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookProjection.EventNameEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookProjection.EventNameEnum.html b/site/com/mailslurp/models/class-use/WebhookProjection.EventNameEnum.html new file mode 100644 index 000000000..8397378e7 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookProjection.EventNameEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookProjection.EventNameEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookProjection.EventNameEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookProjection.html b/site/com/mailslurp/models/class-use/WebhookProjection.html new file mode 100644 index 000000000..a35cfa712 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookProjection.html @@ -0,0 +1,245 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookProjection (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookProjection

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookRedriveResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookRedriveResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..95d0bf772 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookRedriveResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookRedriveResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookRedriveResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookRedriveResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookRedriveResult.html b/site/com/mailslurp/models/class-use/WebhookRedriveResult.html new file mode 100644 index 000000000..5325589d8 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookRedriveResult.html @@ -0,0 +1,238 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookRedriveResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookRedriveResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookResultDto.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookResultDto.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..bbb869ba2 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookResultDto.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookResultDto.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookResultDto.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookResultDto.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookResultDto.HttpMethodEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookResultDto.HttpMethodEnum.Adapter.html new file mode 100644 index 000000000..3d1412963 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookResultDto.HttpMethodEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookResultDto.HttpMethodEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookResultDto.HttpMethodEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookResultDto.HttpMethodEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookResultDto.HttpMethodEnum.html b/site/com/mailslurp/models/class-use/WebhookResultDto.HttpMethodEnum.html new file mode 100644 index 000000000..8b97a58f4 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookResultDto.HttpMethodEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookResultDto.HttpMethodEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookResultDto.HttpMethodEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookResultDto.ResultTypeEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookResultDto.ResultTypeEnum.Adapter.html new file mode 100644 index 000000000..91381a49f --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookResultDto.ResultTypeEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookResultDto.ResultTypeEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookResultDto.ResultTypeEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookResultDto.ResultTypeEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookResultDto.ResultTypeEnum.html b/site/com/mailslurp/models/class-use/WebhookResultDto.ResultTypeEnum.html new file mode 100644 index 000000000..21977b64d --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookResultDto.ResultTypeEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookResultDto.ResultTypeEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookResultDto.ResultTypeEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookResultDto.WebhookEventEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookResultDto.WebhookEventEnum.Adapter.html new file mode 100644 index 000000000..87674d84c --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookResultDto.WebhookEventEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookResultDto.WebhookEventEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookResultDto.WebhookEventEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookResultDto.WebhookEventEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookResultDto.WebhookEventEnum.html b/site/com/mailslurp/models/class-use/WebhookResultDto.WebhookEventEnum.html new file mode 100644 index 000000000..2b6734daf --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookResultDto.WebhookEventEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookResultDto.WebhookEventEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookResultDto.WebhookEventEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookResultDto.html b/site/com/mailslurp/models/class-use/WebhookResultDto.html new file mode 100644 index 000000000..08b05e06e --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookResultDto.html @@ -0,0 +1,332 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookResultDto (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookResultDto

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookTestRequest.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookTestRequest.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..07506b156 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookTestRequest.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookTestRequest.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookTestRequest.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookTestRequest.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookTestRequest.MethodEnum.Adapter.html b/site/com/mailslurp/models/class-use/WebhookTestRequest.MethodEnum.Adapter.html new file mode 100644 index 000000000..c6e800efc --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookTestRequest.MethodEnum.Adapter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookTestRequest.MethodEnum.Adapter (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookTestRequest.MethodEnum.Adapter

+
+
No usage of com.mailslurp.models.WebhookTestRequest.MethodEnum.Adapter
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookTestRequest.MethodEnum.html b/site/com/mailslurp/models/class-use/WebhookTestRequest.MethodEnum.html new file mode 100644 index 000000000..3224de945 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookTestRequest.MethodEnum.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookTestRequest.MethodEnum (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookTestRequest.MethodEnum

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookTestRequest.html b/site/com/mailslurp/models/class-use/WebhookTestRequest.html new file mode 100644 index 000000000..44346165f --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookTestRequest.html @@ -0,0 +1,212 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookTestRequest (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookTestRequest

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookTestResponse.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookTestResponse.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..2847693ab --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookTestResponse.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookTestResponse.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookTestResponse.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookTestResponse.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookTestResponse.html b/site/com/mailslurp/models/class-use/WebhookTestResponse.html new file mode 100644 index 000000000..8aebd5f68 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookTestResponse.html @@ -0,0 +1,199 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookTestResponse (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookTestResponse

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookTestResult.CustomTypeAdapterFactory.html b/site/com/mailslurp/models/class-use/WebhookTestResult.CustomTypeAdapterFactory.html new file mode 100644 index 000000000..adf656675 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookTestResult.CustomTypeAdapterFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookTestResult.CustomTypeAdapterFactory (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookTestResult.CustomTypeAdapterFactory

+
+
No usage of com.mailslurp.models.WebhookTestResult.CustomTypeAdapterFactory
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/class-use/WebhookTestResult.html b/site/com/mailslurp/models/class-use/WebhookTestResult.html new file mode 100644 index 000000000..6c10ecf56 --- /dev/null +++ b/site/com/mailslurp/models/class-use/WebhookTestResult.html @@ -0,0 +1,235 @@ + + + + + + +Uses of Class com.mailslurp.models.WebhookTestResult (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Class
com.mailslurp.models.WebhookTestResult

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/package-frame.html b/site/com/mailslurp/models/package-frame.html new file mode 100644 index 000000000..b852b746e --- /dev/null +++ b/site/com/mailslurp/models/package-frame.html @@ -0,0 +1,616 @@ + + + + + + +com.mailslurp.models (mailslurp-client-java 15.17.17 API) + + + + + +

com.mailslurp.models

+
+

Classes

+ +

Enums

+ +
+ + diff --git a/site/com/mailslurp/models/package-summary.html b/site/com/mailslurp/models/package-summary.html new file mode 100644 index 000000000..ab5002c29 --- /dev/null +++ b/site/com/mailslurp/models/package-summary.html @@ -0,0 +1,3117 @@ + + + + + + +com.mailslurp.models (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Package com.mailslurp.models

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/package-tree.html b/site/com/mailslurp/models/package-tree.html new file mode 100644 index 000000000..c2608a221 --- /dev/null +++ b/site/com/mailslurp/models/package-tree.html @@ -0,0 +1,746 @@ + + + + + + +com.mailslurp.models Class Hierarchy (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Hierarchy For Package com.mailslurp.models

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/com/mailslurp/models/package-use.html b/site/com/mailslurp/models/package-use.html new file mode 100644 index 000000000..ea7aaed73 --- /dev/null +++ b/site/com/mailslurp/models/package-use.html @@ -0,0 +1,2477 @@ + + + + + + +Uses of Package com.mailslurp.models (mailslurp-client-java 15.17.17 API) + + + + + + + + + + + +
+

Uses of Package
com.mailslurp.models

+
+
+ +
+ + + + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/constant-values.html b/site/constant-values.html new file mode 100644 index 000000000..14f6f7eb6 --- /dev/null +++ b/site/constant-values.html @@ -0,0 +1,12948 @@ + + + + + + +Constant Field Values (mailslurp-client-java 15.17.17 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+ +
+
+ + +

com.mailslurp.*

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/deprecated-list.html b/site/deprecated-list.html new file mode 100644 index 000000000..8bab19629 --- /dev/null +++ b/site/deprecated-list.html @@ -0,0 +1,184 @@ + + + + + + +Deprecated List (mailslurp-client-java 15.17.17 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+ + +
+ + + + + + + +
+ + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/help-doc.html b/site/help-doc.html new file mode 100644 index 000000000..baee96259 --- /dev/null +++ b/site/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +API Help (mailslurp-client-java 15.17.17 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+
    +
  • +

    Overview

    +

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    +
  • +
  • +

    Package

    +

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    +
      +
    • Interfaces (italic)
    • +
    • Classes
    • +
    • Enums
    • +
    • Exceptions
    • +
    • Errors
    • +
    • Annotation Types
    • +
    +
  • +
  • +

    Class/Interface

    +

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
      +
    • Class inheritance diagram
    • +
    • Direct Subclasses
    • +
    • All Known Subinterfaces
    • +
    • All Known Implementing Classes
    • +
    • Class/interface declaration
    • +
    • Class/interface description
    • +
    +
      +
    • Nested Class Summary
    • +
    • Field Summary
    • +
    • Constructor Summary
    • +
    • Method Summary
    • +
    +
      +
    • Field Detail
    • +
    • Constructor Detail
    • +
    • Method Detail
    • +
    +

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    +
  • +
  • +

    Annotation Type

    +

    Each annotation type has its own separate page with the following sections:

    +
      +
    • Annotation Type declaration
    • +
    • Annotation Type description
    • +
    • Required Element Summary
    • +
    • Optional Element Summary
    • +
    • Element Detail
    • +
    +
  • +
  • +

    Enum

    +

    Each enum has its own separate page with the following sections:

    +
      +
    • Enum declaration
    • +
    • Enum description
    • +
    • Enum Constant Summary
    • +
    • Enum Constant Detail
    • +
    +
  • +
  • +

    Use

    +

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    +
  • +
  • +

    Tree (Class Hierarchy)

    +

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    +
      +
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • +
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • +
    +
  • +
  • +

    Deprecated API

    +

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    +
  • +
  • +

    Index

    +

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    +
  • +
  • +

    Prev/Next

    +

    These links take you to the next or previous class, interface, package, or related page.

    +
  • +
  • +

    Frames/No Frames

    +

    These links show and hide the HTML frames. All pages are available with or without frames.

    +
  • +
  • +

    All Classes

    +

    The All Classes link shows all classes and interfaces except non-static nested types.

    +
  • +
  • +

    Serialized Form

    +

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    +
  • +
  • +

    Constant Field Values

    +

    The Constant Field Values page lists the static final fields and their values.

    +
  • +
+This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/index-all.html b/site/index-all.html new file mode 100644 index 000000000..c97f66076 --- /dev/null +++ b/site/index-all.html @@ -0,0 +1,30383 @@ + + + + + + +Index (mailslurp-client-java 15.17.17 API) + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I J L M N O P R S T U V W _  + + +

A

+
+
AbstractOpenApiSchema - Class in com.mailslurp.models
+
+
Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
+
+
AbstractOpenApiSchema(String, Boolean) - Constructor for class com.mailslurp.models.AbstractOpenApiSchema
+
 
+
AbstractWebhookPayload - Class in com.mailslurp.models
+
+
Abstract webhook payload.
+
+
AbstractWebhookPayload() - Constructor for class com.mailslurp.models.AbstractWebhookPayload
+
 
+
AbstractWebhookPayload.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
AbstractWebhookPayload.EventNameEnum - Enum in com.mailslurp.models
+
+
Gets or Sets eventName
+
+
AbstractWebhookPayload.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
accountSid(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
accountState(UserInfoDto.AccountStateEnum) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
accountType(UserInfoDto.AccountTypeEnum) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
action(String) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
action(String) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
action(CreateInboxRulesetOptions.ActionEnum) - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
action(InboxRulesetDto.ActionEnum) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
Adapter() - Constructor for class com.mailslurp.models.AbstractWebhookPayload.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ConditionOption.ConditionEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ConditionOption.ValueEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ConnectorDto.ConnectorTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.CreateDomainOptions.DomainTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.CreateInboxDto.InboxTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.CreateInboxReplierOptions.FieldEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.CreateWebhookOptions.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.DNSLookupOptions.RecordTypesEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.DNSLookupResult.RecordTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.DomainDto.DomainTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.DomainNameRecord.LabelEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.DomainNameRecord.RecordTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.DomainPreview.DomainTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.EmergencyAddress.PhoneCountryEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ExportOptions.OutputFormatEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.InboxDto.InboxTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.InboxForwarderDto.FieldEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.InboxForwarderEventProjection.StatusEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.InboxPreview.InboxTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.InboxReplierDto.FieldEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.InboxReplierEventProjection.StatusEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.InboxRulesetDto.ActionEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.InboxRulesetDto.HandlerEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.InboxRulesetDto.ScopeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.MatchOption.FieldEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.MatchOption.ShouldEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.PhonePlanDto.PhoneCountryEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ScheduledJob.StatusEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.ScheduledJobDto.StatusEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.SendEmailOptions.SendStrategyEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.SmsMatchOption.FieldEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.SmsMatchOption.ShouldEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.TemplateVariable.VariableTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.UserInfoDto.AccountStateEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.UserInfoDto.AccountTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WaitForConditions.CountTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WaitForConditions.SortDirectionEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WaitForSmsConditions.CountTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookBouncePayload.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookDto.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookDto.MethodEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookNewContactPayload.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookProjection.EventNameEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookResultDto.HttpMethodEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookResultDto.ResultTypeEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookResultDto.WebhookEventEnum.Adapter
+
 
+
Adapter() - Constructor for class com.mailslurp.models.WebhookTestRequest.MethodEnum.Adapter
+
 
+
addAttachmentMetaDatasItem(AttachmentMetaData) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
addAttachmentsItem(String) - Method in class com.mailslurp.models.Email
+
 
+
addAttachmentsItem(String) - Method in class com.mailslurp.models.EmailPreview
+
 
+
addAttachmentsItem(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
addAttachmentsItem(String) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
addAttachmentsItem(String) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
addAttachmentsItem(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
addAttachmentsItem(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
addAttachmentsItem(String) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
addBccItem(String) - Method in class com.mailslurp.models.Email
+
 
+
addBccItem(String) - Method in class com.mailslurp.models.EmailPreview
+
 
+
addBccItem(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
addBccItem(Recipient) - Method in class com.mailslurp.models.EmailRecipients
+
 
+
addBccItem(String) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
addBccItem(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
addBccItem(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
addBccItem(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
addBccItem(String) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
addBccItem(String) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
addBccItem(String) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
addBounceRecipientsItem(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
addBounceRecipientsItem(String) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
addCcItem(String) - Method in class com.mailslurp.models.Email
+
 
+
addCcItem(String) - Method in class com.mailslurp.models.EmailPreview
+
 
+
addCcItem(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
addCcItem(Recipient) - Method in class com.mailslurp.models.EmailRecipients
+
 
+
addCcItem(String) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
addCcItem(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
addCcItem(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
addCcItem(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
addCcItem(String) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
addCcItem(String) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
addCcItem(String) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
addConditionsItem(ConditionOption) - Method in class com.mailslurp.models.MatchOptions
+
 
+
addContactIdsItem(UUID) - Method in class com.mailslurp.models.UpdateGroupContacts
+
 
+
addContactsItem(ContactDto) - Method in class com.mailslurp.models.GroupContactsDto
+
 
+
addContactsToGroup(UUID, UpdateGroupContacts) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Add contacts to a group
+
+
addContactsToGroupAsync(UUID, UpdateGroupContacts, ApiCallback<GroupContactsDto>) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Add contacts to a group (asynchronously)
+
+
addContactsToGroupCall(UUID, UpdateGroupContacts, ApiCallback) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Build call for addContactsToGroup
+
+
addContactsToGroupWithHttpInfo(UUID, UpdateGroupContacts) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Add contacts to a group
+
+
addContentItem(AliasProjection) - Method in class com.mailslurp.models.PageAlias
+
 
+
addContentItem(AttachmentProjection) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
addContentItem(BounceProjection) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
addContentItem(BounceRecipientProjection) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
addContentItem(Complaint) - Method in class com.mailslurp.models.PageComplaint
+
 
+
addContentItem(ConnectorProjection) - Method in class com.mailslurp.models.PageConnector
+
 
+
addContentItem(ConnectorSyncEventProjection) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
addContentItem(ContactProjection) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
addContentItem(DeliveryStatusDto) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
addContentItem(EmailPreview) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
addContentItem(EmailProjection) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
addContentItem(EmailValidationRequestDto) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
addContentItem(ExpiredInboxRecordProjection) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
addContentItem(GroupProjection) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
addContentItem(InboxForwarderDto) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
addContentItem(InboxForwarderEventProjection) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
addContentItem(InboxPreview) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
addContentItem(InboxReplierDto) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
addContentItem(InboxReplierEventProjection) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
addContentItem(InboxRulesetDto) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
addContentItem(ListUnsubscribeRecipientProjection) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
addContentItem(MissedEmailProjection) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
addContentItem(OrganizationInboxProjection) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
addContentItem(PhoneNumberProjection) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
addContentItem(ScheduledJob) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
addContentItem(SentEmailProjection) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
addContentItem(SendWithQueueResult) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
addContentItem(SmsProjection) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
addContentItem(TemplateProjection) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
addContentItem(ThreadProjection) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
addContentItem(TrackingPixelProjection) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
addContentItem(UnknownMissedEmailProjection) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
addContentItem(WebhookProjection) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
addContentItem(WebhookResultDto) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
addDefaultCookie(String, String) - Method in class com.mailslurp.clients.ApiClient
+
+
Add a default cookie.
+
+
addDefaultHeader(String, String) - Method in class com.mailslurp.clients.ApiClient
+
+
Add a default header.
+
+
addDkimTokensItem(String) - Method in class com.mailslurp.models.DomainDto
+
 
+
addDomainNameRecordsItem(DomainNameRecord) - Method in class com.mailslurp.models.DomainDto
+
 
+
addDomainWildcardCatchAll(UUID) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Add catch all wild card inbox to domain + Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated
+
+
addDomainWildcardCatchAllAsync(UUID, ApiCallback<DomainDto>) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Add catch all wild card inbox to domain (asynchronously) + Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated
+
+
addDomainWildcardCatchAllCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Build call for addDomainWildcardCatchAll
+
+
addDomainWildcardCatchAllWithHttpInfo(UUID) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Add catch all wild card inbox to domain + Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated
+
+
addEmailAddressesItem(String) - Method in class com.mailslurp.models.ContactDto
+
 
+
addEmailAddressesItem(String) - Method in class com.mailslurp.models.ContactProjection
+
 
+
addEmailAddressesItem(String) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
addEmailAddressesItem(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
addEmailAddressListItem(String) - Method in class com.mailslurp.models.ValidateEmailAddressListOptions
+
 
+
addEmailRecipientsItem(String) - Method in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
 
+
addErrorsItem(ValidationMessage) - Method in class com.mailslurp.models.HTMLValidationResult
+
 
+
addFilteredRecipientsItem(String) - Method in class com.mailslurp.models.FilterBouncedRecipientsResult
+
 
+
addFlagsItem(String) - Method in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
addForwardToRecipientsItem(String) - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
addForwardToRecipientsItem(String) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
addHeadersItem(WebhookHeaderNameValue) - Method in class com.mailslurp.models.WebhookHeaders
+
 
+
addInboxIdsItem(UUID) - Method in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
addInboxIdsItem(UUID) - Method in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
addInboxIdsItem(InboxIdItem) - Method in class com.mailslurp.models.InboxIdsResult
+
 
+
addInboxIdsItem(UUID) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
addInvalidEmailAddressesItem(String) - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
addLinesItem(String) - Method in class com.mailslurp.models.EmailTextLinesResult
+
 
+
addLinksItem(String) - Method in class com.mailslurp.models.EmailLinksResult
+
 
+
addLogLinesItem(String) - Method in class com.mailslurp.models.ConnectorSyncResult
+
 
+
addMatchesItem(String) - Method in class com.mailslurp.models.EmailContentMatchResult
+
 
+
addMatchesItem(MatchOption) - Method in class com.mailslurp.models.MatchOptions
+
 
+
addMatchesItem(MatchOption) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
addMatchesItem(SmsMatchOption) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
addMessageIdsItem(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
addMxRecordsItem(NameServerRecord) - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
addPixelIdsItem(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
addRcptToItem(String) - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
addRecipientsItem(String) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
addRecipientsItem(String) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
addRecipientsItem(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
addRecordEntriesItem(String) - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
addRecordEntriesItem(String) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
addRecordTypesItem(DNSLookupOptions.RecordTypesEnum) - Method in class com.mailslurp.models.DNSLookupOptions
+
 
+
address(String) - Method in class com.mailslurp.models.IPAddressResult
+
 
+
address1(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
address1(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
address1(String) - Method in class com.mailslurp.models.EmergencyAddressDto
+
 
+
addResultsItem(DNSLookupResult) - Method in class com.mailslurp.models.DNSLookupResults
+
 
+
addSentToRecipientsItem(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
addSentToRecipientsItem(String) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
addStackTraceItem(ConnectorSyncRequestResultExceptionCauseStackTraceInner) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
addStackTraceItem(ConnectorSyncRequestResultExceptionCauseStackTraceInner) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
addStackTraceItem(ConnectorSyncRequestResultExceptionCauseStackTraceInner) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
addSuppressedItem(ConnectorSyncRequestResultExceptionCauseSuppressedInner) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
addSuppressedItem(ConnectorSyncRequestResultExceptionCauseSuppressedInner) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
addTagsItem(String) - Method in class com.mailslurp.models.ContactDto
+
 
+
addTagsItem(String) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
addTagsItem(String) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
addTagsItem(String) - Method in class com.mailslurp.models.InboxDto
+
 
+
addTagsItem(String) - Method in class com.mailslurp.models.InboxPreview
+
 
+
addTagsItem(String) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
addTagsItem(String) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
addTagsItem(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
addToContactsItem(UUID) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
addToContactsItem(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
addToItem(String) - Method in class com.mailslurp.models.Email
+
 
+
addToItem(String) - Method in class com.mailslurp.models.EmailPreview
+
 
+
addToItem(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
addToItem(Recipient) - Method in class com.mailslurp.models.EmailRecipients
+
 
+
addToItem(String) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
addToItem(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
addToItem(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
addToItem(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
addToItem(String) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
addToItem(String) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
addToItem(String) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
addToItem(String) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
addTrackingPixel(Boolean) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
addValidEmailAddressesItem(String) - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
addVariablesItem(TemplateVariable) - Method in class com.mailslurp.models.TemplateDto
+
 
+
addVariablesItem(String) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
addWarningsItem(ValidationMessage) - Method in class com.mailslurp.models.HTMLValidationResult
+
 
+
AliasControllerApi - Class in com.mailslurp.apis
+
 
+
AliasControllerApi() - Constructor for class com.mailslurp.apis.AliasControllerApi
+
 
+
AliasControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.AliasControllerApi
+
 
+
AliasDto - Class in com.mailslurp.models
+
+
Email alias representation
+
+
AliasDto() - Constructor for class com.mailslurp.models.AliasDto
+
 
+
AliasDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
aliasId(UUID) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
AliasProjection - Class in com.mailslurp.models
+
+
Representation of a alias
+
+
AliasProjection() - Constructor for class com.mailslurp.models.AliasProjection
+
 
+
AliasProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
allowTeamAccess(Boolean) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
analysis(EmailAnalysis) - Method in class com.mailslurp.models.Email
+
 
+
ApiCallback<T> - Interface in com.mailslurp.clients
+
+
Callback for asynchronous API call.
+
+
ApiClient - Class in com.mailslurp.clients
+
+
ApiClient class.
+
+
ApiClient() - Constructor for class com.mailslurp.clients.ApiClient
+
+
Basic constructor for ApiClient
+
+
ApiClient(OkHttpClient) - Constructor for class com.mailslurp.clients.ApiClient
+
+
Basic constructor with custom OkHttpClient
+
+
ApiException - Exception in com.mailslurp.clients
+
+
ApiException class.
+
+
ApiException() - Constructor for exception com.mailslurp.clients.ApiException
+
+
Constructor for ApiException.
+
+
ApiException(Throwable) - Constructor for exception com.mailslurp.clients.ApiException
+
+
Constructor for ApiException.
+
+
ApiException(String) - Constructor for exception com.mailslurp.clients.ApiException
+
+
Constructor for ApiException.
+
+
ApiException(String, Throwable, int, Map<String, List<String>>, String) - Constructor for exception com.mailslurp.clients.ApiException
+
+
Constructor for ApiException.
+
+
ApiException(String, int, Map<String, List<String>>, String) - Constructor for exception com.mailslurp.clients.ApiException
+
+
Constructor for ApiException.
+
+
ApiException(String, Throwable, int, Map<String, List<String>>) - Constructor for exception com.mailslurp.clients.ApiException
+
+
Constructor for ApiException.
+
+
ApiException(int, Map<String, List<String>>, String) - Constructor for exception com.mailslurp.clients.ApiException
+
+
Constructor for ApiException.
+
+
ApiException(int, String) - Constructor for exception com.mailslurp.clients.ApiException
+
+
Constructor for ApiException.
+
+
ApiException(int, String, Map<String, List<String>>, String) - Constructor for exception com.mailslurp.clients.ApiException
+
+
Constructor for ApiException.
+
+
ApiKeyAuth - Class in com.mailslurp.clients.auth
+
 
+
ApiKeyAuth(String, String) - Constructor for class com.mailslurp.clients.auth.ApiKeyAuth
+
 
+
ApiResponse<T> - Class in com.mailslurp.clients
+
+
API response returned by API call.
+
+
ApiResponse(int, Map<String, List<String>>) - Constructor for class com.mailslurp.clients.ApiResponse
+
+
Constructor for ApiResponse.
+
+
ApiResponse(int, Map<String, List<String>>, T) - Constructor for class com.mailslurp.clients.ApiResponse
+
+
Constructor for ApiResponse.
+
+
applyImapFlagOperation(UUID, ImapFlagOperationOptions) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Set IMAP flags associated with a message.
+
+
applyImapFlagOperationAsync(UUID, ImapFlagOperationOptions, ApiCallback<EmailPreview>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Set IMAP flags associated with a message.
+
+
applyImapFlagOperationCall(UUID, ImapFlagOperationOptions, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for applyImapFlagOperation
+
+
applyImapFlagOperationWithHttpInfo(UUID, ImapFlagOperationOptions) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Set IMAP flags associated with a message.
+
+
applyToParams(List<Pair>, Map<String, String>, Map<String, String>, String, String, URI) - Method in class com.mailslurp.clients.auth.ApiKeyAuth
+
 
+
applyToParams(List<Pair>, Map<String, String>, Map<String, String>, String, String, URI) - Method in interface com.mailslurp.clients.auth.Authentication
+
+
Apply authentication settings to header and query params.
+
+
applyToParams(List<Pair>, Map<String, String>, Map<String, String>, String, String, URI) - Method in class com.mailslurp.clients.auth.HttpBasicAuth
+
 
+
applyToParams(List<Pair>, Map<String, String>, Map<String, String>, String, String, URI) - Method in class com.mailslurp.clients.auth.HttpBearerAuth
+
 
+
AttachmentControllerApi - Class in com.mailslurp.apis
+
 
+
AttachmentControllerApi() - Constructor for class com.mailslurp.apis.AttachmentControllerApi
+
 
+
AttachmentControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.AttachmentControllerApi
+
 
+
attachmentCount(Integer) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
AttachmentEntity - Class in com.mailslurp.models
+
+
AttachmentEntity
+
+
AttachmentEntity() - Constructor for class com.mailslurp.models.AttachmentEntity
+
 
+
AttachmentEntity.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
attachmentId(String) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
attachmentId(String) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
attachmentId(String) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
AttachmentMetaData - Class in com.mailslurp.models
+
+
Meta data associated with an attachment.
+
+
AttachmentMetaData() - Constructor for class com.mailslurp.models.AttachmentMetaData
+
 
+
AttachmentMetaData.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
attachmentMetaDatas(List<AttachmentMetaData>) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
AttachmentProjection - Class in com.mailslurp.models
+
+
Email attachment data
+
+
AttachmentProjection() - Constructor for class com.mailslurp.models.AttachmentProjection
+
 
+
AttachmentProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
attachments(List<String>) - Method in class com.mailslurp.models.Email
+
 
+
attachments(List<String>) - Method in class com.mailslurp.models.EmailPreview
+
 
+
attachments(List<String>) - Method in class com.mailslurp.models.EmailProjection
+
 
+
attachments(List<String>) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
attachments(List<String>) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
attachments(List<String>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
attachments(List<String>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
attachments(List<String>) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
Authentication - Interface in com.mailslurp.clients.auth
+
 
+
+ + + +

B

+
+
base64Contents(String) - Method in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
base64FileContents(String) - Method in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
basicAuth(BasicAuthOptions) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
basicAuth(Boolean) - Method in class com.mailslurp.models.WebhookDto
+
 
+
BasicAuthOptions - Class in com.mailslurp.models
+
+
Basic Authentication options for webhooks.
+
+
BasicAuthOptions() - Constructor for class com.mailslurp.models.BasicAuthOptions
+
 
+
BasicAuthOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
bcc(List<String>) - Method in class com.mailslurp.models.Email
+
 
+
bcc(List<String>) - Method in class com.mailslurp.models.EmailPreview
+
 
+
bcc(List<String>) - Method in class com.mailslurp.models.EmailProjection
+
 
+
bcc(List<Recipient>) - Method in class com.mailslurp.models.EmailRecipients
+
 
+
bcc(List<String>) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
bcc(List<String>) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
bcc(List<String>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
bcc(List<String>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
bcc(List<String>) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
bcc(List<String>) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
bcc(List<String>) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
before(OffsetDateTime) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
before(OffsetDateTime) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
before(OffsetDateTime) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
body(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
body(String) - Method in class com.mailslurp.models.Email
+
 
+
body(String) - Method in class com.mailslurp.models.EmailHtmlDto
+
 
+
body(String) - Method in class com.mailslurp.models.EmailLinksResult
+
 
+
body(String) - Method in class com.mailslurp.models.EmailTextLinesResult
+
 
+
body(String) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
body(String) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
body(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
body(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
body(String) - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
body(String) - Method in class com.mailslurp.models.SmsDto
+
 
+
body(String) - Method in class com.mailslurp.models.SmsPreview
+
 
+
body(String) - Method in class com.mailslurp.models.SmsProjection
+
 
+
body(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
body(String) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
bodyExcerpt(String) - Method in class com.mailslurp.models.Email
+
 
+
bodyExcerpt(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
bodyExcerpt(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
bodyMD5Hash(String) - Method in class com.mailslurp.models.Email
+
 
+
bodyMD5Hash(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
bodyMD5Hash(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
bodyMD5Hash(String) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
BounceControllerApi - Class in com.mailslurp.apis
+
 
+
BounceControllerApi() - Constructor for class com.mailslurp.apis.BounceControllerApi
+
 
+
BounceControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.BounceControllerApi
+
 
+
BouncedEmailDto - Class in com.mailslurp.models
+
+
Bounced email
+
+
BouncedEmailDto() - Constructor for class com.mailslurp.models.BouncedEmailDto
+
 
+
BouncedEmailDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
BouncedRecipientDto - Class in com.mailslurp.models
+
+
Bounced recipient
+
+
BouncedRecipientDto() - Constructor for class com.mailslurp.models.BouncedRecipientDto
+
 
+
BouncedRecipientDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
bounceId(UUID) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
bounceMta(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
bounceMta(String) - Method in class com.mailslurp.models.BounceProjection
+
 
+
BounceProjection - Class in com.mailslurp.models
+
+
Bounced email event
+
+
BounceProjection() - Constructor for class com.mailslurp.models.BounceProjection
+
 
+
BounceProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
BounceRecipientProjection - Class in com.mailslurp.models
+
+
Bounced recipient
+
+
BounceRecipientProjection() - Constructor for class com.mailslurp.models.BounceRecipientProjection
+
 
+
BounceRecipientProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
bounceRecipients(List<String>) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
bounceRecipients(List<String>) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
bounceSubType(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
bounceType(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
bounceType(String) - Method in class com.mailslurp.models.BounceProjection
+
 
+
bucket(String) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
buildCall(String, String, String, List<Pair>, List<Pair>, Object, Map<String, String>, Map<String, String>, Map<String, Object>, String[], ApiCallback) - Method in class com.mailslurp.clients.ApiClient
+
+
Build HTTP call with the given options.
+
+
buildRequest(String, String, String, List<Pair>, List<Pair>, Object, Map<String, String>, Map<String, String>, Map<String, Object>, String[], ApiCallback) - Method in class com.mailslurp.clients.ApiClient
+
+
Build an HTTP request with the given options.
+
+
buildRequestBodyFormEncoding(Map<String, Object>) - Method in class com.mailslurp.clients.ApiClient
+
+
Build a form-encoding request body with the given form parameters.
+
+
buildRequestBodyMultipart(Map<String, Object>) - Method in class com.mailslurp.clients.ApiClient
+
+
Build a multipart (file uploading) request body with the given form parameters, + which could contain text fields and file fields.
+
+
buildUrl(String, String, List<Pair>, List<Pair>) - Method in class com.mailslurp.clients.ApiClient
+
+
Build full URL by concatenating base path, the given sub path and query parameters.
+
+
BulkActionsControllerApi - Class in com.mailslurp.apis
+
 
+
BulkActionsControllerApi() - Constructor for class com.mailslurp.apis.BulkActionsControllerApi
+
 
+
BulkActionsControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.BulkActionsControllerApi
+
 
+
bulkCreateInboxes(Integer) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Bulk create Inboxes (email addresses)
+
+
bulkCreateInboxesAsync(Integer, ApiCallback<List<InboxDto>>) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Bulk create Inboxes (email addresses) (asynchronously)
+
+
bulkCreateInboxesCall(Integer, ApiCallback) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Build call for bulkCreateInboxes
+
+
bulkCreateInboxesWithHttpInfo(Integer) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Bulk create Inboxes (email addresses)
+
+
bulkDeleteInboxes(List<UUID>) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Bulk Delete Inboxes
+
+
bulkDeleteInboxesAsync(List<UUID>, ApiCallback<Void>) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Bulk Delete Inboxes (asynchronously)
+
+
bulkDeleteInboxesCall(List<UUID>, ApiCallback) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Build call for bulkDeleteInboxes
+
+
bulkDeleteInboxesWithHttpInfo(List<UUID>) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Bulk Delete Inboxes
+
+
BulkSendEmailOptions - Class in com.mailslurp.models
+
+
Options for bulk sending an email from multiple addresses.
+
+
BulkSendEmailOptions() - Constructor for class com.mailslurp.models.BulkSendEmailOptions
+
 
+
BulkSendEmailOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
bulkSendEmails(BulkSendEmailOptions) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Bulk Send Emails
+
+
bulkSendEmailsAsync(BulkSendEmailOptions, ApiCallback<Void>) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Bulk Send Emails (asynchronously)
+
+
bulkSendEmailsCall(BulkSendEmailOptions, ApiCallback) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Build call for bulkSendEmails
+
+
bulkSendEmailsWithHttpInfo(BulkSendEmailOptions) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
+
Bulk Send Emails
+
+
ByteArrayAdapter() - Constructor for class com.mailslurp.clients.JSON.ByteArrayAdapter
+
 
+
+ + + +

C

+
+
cancelScheduledJob(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Cancel a scheduled email job + Get a scheduled email job and cancel it.
+
+
cancelScheduledJobAsync(UUID, ApiCallback<ScheduledJobDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Cancel a scheduled email job (asynchronously) + Get a scheduled email job and cancel it.
+
+
cancelScheduledJobCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for cancelScheduledJob
+
+
cancelScheduledJobWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Cancel a scheduled email job + Get a scheduled email job and cancel it.
+
+
canPermanentInbox(Boolean) - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
canRestore(Boolean) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
catchAllInboxId(UUID) - Method in class com.mailslurp.models.DomainDto
+
 
+
catchAllInboxId(UUID) - Method in class com.mailslurp.models.DomainPreview
+
 
+
catchAllInboxId(UUID) - Method in class com.mailslurp.models.UpdateDomainOptions
+
 
+
cause(ConnectorSyncRequestResultExceptionCause) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
cc(List<String>) - Method in class com.mailslurp.models.Email
+
 
+
cc(List<String>) - Method in class com.mailslurp.models.EmailPreview
+
 
+
cc(List<String>) - Method in class com.mailslurp.models.EmailProjection
+
 
+
cc(List<Recipient>) - Method in class com.mailslurp.models.EmailRecipients
+
 
+
cc(List<String>) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
cc(List<String>) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
cc(List<String>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
cc(List<String>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
cc(List<String>) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
cc(List<String>) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
cc(List<String>) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
charset(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
charset(String) - Method in class com.mailslurp.models.Email
+
 
+
charset(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
charset(String) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
charset(String) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
charset(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
charset(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
charset(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
city(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
city(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
classLoaderName(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
className(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
collectionPathParameterToString(String, Collection) - Method in class com.mailslurp.clients.ApiClient
+
+
Formats the specified collection path parameter to a string value.
+
+
com.mailslurp.apis - package com.mailslurp.apis
+
 
+
com.mailslurp.clients - package com.mailslurp.clients
+
 
+
com.mailslurp.clients.auth - package com.mailslurp.clients.auth
+
 
+
com.mailslurp.models - package com.mailslurp.models
+
 
+
CommonActionsControllerApi - Class in com.mailslurp.apis
+
 
+
CommonActionsControllerApi() - Constructor for class com.mailslurp.apis.CommonActionsControllerApi
+
 
+
CommonActionsControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.CommonActionsControllerApi
+
 
+
company(String) - Method in class com.mailslurp.models.ContactDto
+
 
+
company(String) - Method in class com.mailslurp.models.ContactProjection
+
 
+
company(String) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
company(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
Complaint - Class in com.mailslurp.models
+
+
Complaint
+
+
Complaint() - Constructor for class com.mailslurp.models.Complaint
+
 
+
Complaint.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
complaintRecipient(String) - Method in class com.mailslurp.models.Complaint
+
 
+
complianceAddress(UUID) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
condition(ConditionOption.ConditionEnum) - Method in class com.mailslurp.models.ConditionOption
+
 
+
ConditionOption - Class in com.mailslurp.models
+
+
Options for matching emails in an inbox based on a condition such as `HAS_ATTACHMENTS=TRUE`
+
+
ConditionOption() - Constructor for class com.mailslurp.models.ConditionOption
+
 
+
ConditionOption.ConditionEnum - Enum in com.mailslurp.models
+
+
Condition of an email object that can be used to filter results
+
+
ConditionOption.ConditionEnum.Adapter - Class in com.mailslurp.models
+
 
+
ConditionOption.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ConditionOption.ValueEnum - Enum in com.mailslurp.models
+
+
Expected condition value
+
+
ConditionOption.ValueEnum.Adapter - Class in com.mailslurp.models
+
 
+
conditions(List<ConditionOption>) - Method in class com.mailslurp.models.MatchOptions
+
 
+
Configuration - Class in com.mailslurp.clients
+
 
+
Configuration() - Constructor for class com.mailslurp.clients.Configuration
+
 
+
connectorAuthType(ConnectorDto.ConnectorAuthTypeEnum) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
connectorAuthType(CreateConnectorOptions.ConnectorAuthTypeEnum) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
ConnectorControllerApi - Class in com.mailslurp.apis
+
 
+
ConnectorControllerApi() - Constructor for class com.mailslurp.apis.ConnectorControllerApi
+
 
+
ConnectorControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.ConnectorControllerApi
+
 
+
ConnectorDto - Class in com.mailslurp.models
+
+
ConnectorDto
+
+
ConnectorDto() - Constructor for class com.mailslurp.models.ConnectorDto
+
 
+
ConnectorDto.ConnectorAuthTypeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets connectorAuthType
+
+
ConnectorDto.ConnectorAuthTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
ConnectorDto.ConnectorTypeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets connectorType
+
+
ConnectorDto.ConnectorTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
ConnectorDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ConnectorDto.SyncScheduleTypeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets syncScheduleType
+
+
ConnectorDto.SyncScheduleTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
connectorId(UUID) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
connectorId(UUID) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
ConnectorProjection - Class in com.mailslurp.models
+
+
Connector
+
+
ConnectorProjection() - Constructor for class com.mailslurp.models.ConnectorProjection
+
 
+
ConnectorProjection.ConnectorTypeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets connectorType
+
+
ConnectorProjection.ConnectorTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
ConnectorProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ConnectorProjection.SyncScheduleTypeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets syncScheduleType
+
+
ConnectorProjection.SyncScheduleTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
ConnectorSyncEventDto - Class in com.mailslurp.models
+
+
ConnectorSyncEventDto
+
+
ConnectorSyncEventDto() - Constructor for class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
ConnectorSyncEventDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ConnectorSyncEventDto.SyncStatusEnum - Enum in com.mailslurp.models
+
+
Gets or Sets syncStatus
+
+
ConnectorSyncEventDto.SyncStatusEnum.Adapter - Class in com.mailslurp.models
+
 
+
ConnectorSyncEventProjection - Class in com.mailslurp.models
+
+
ConnectorSyncEventProjection
+
+
ConnectorSyncEventProjection() - Constructor for class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
ConnectorSyncEventProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ConnectorSyncEventProjection.SyncStatusEnum - Enum in com.mailslurp.models
+
+
Gets or Sets syncStatus
+
+
ConnectorSyncEventProjection.SyncStatusEnum.Adapter - Class in com.mailslurp.models
+
 
+
ConnectorSyncRequestResult - Class in com.mailslurp.models
+
+
ConnectorSyncRequestResult
+
+
ConnectorSyncRequestResult() - Constructor for class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
ConnectorSyncRequestResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ConnectorSyncRequestResultException - Class in com.mailslurp.models
+
+
ConnectorSyncRequestResultException
+
+
ConnectorSyncRequestResultException() - Constructor for class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
ConnectorSyncRequestResultException.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ConnectorSyncRequestResultExceptionCause - Class in com.mailslurp.models
+
+
ConnectorSyncRequestResultExceptionCause
+
+
ConnectorSyncRequestResultExceptionCause() - Constructor for class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ConnectorSyncRequestResultExceptionCauseStackTraceInner - Class in com.mailslurp.models
+
+
ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
ConnectorSyncRequestResultExceptionCauseStackTraceInner() - Constructor for class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ConnectorSyncRequestResultExceptionCauseSuppressedInner - Class in com.mailslurp.models
+
+
ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
+
ConnectorSyncRequestResultExceptionCauseSuppressedInner() - Constructor for class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ConnectorSyncResult - Class in com.mailslurp.models
+
+
ConnectorSyncResult
+
+
ConnectorSyncResult() - Constructor for class com.mailslurp.models.ConnectorSyncResult
+
 
+
ConnectorSyncResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
connectorType(ConnectorDto.ConnectorTypeEnum) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
connectorType(ConnectorProjection.ConnectorTypeEnum) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
connectorType(CreateConnectorOptions.ConnectorTypeEnum) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
ContactControllerApi - Class in com.mailslurp.apis
+
 
+
ContactControllerApi() - Constructor for class com.mailslurp.apis.ContactControllerApi
+
 
+
ContactControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.ContactControllerApi
+
 
+
ContactDto - Class in com.mailslurp.models
+
+
Contact object.
+
+
ContactDto() - Constructor for class com.mailslurp.models.ContactDto
+
 
+
ContactDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
contactId(UUID) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
contactIds(List<UUID>) - Method in class com.mailslurp.models.UpdateGroupContacts
+
 
+
ContactProjection - Class in com.mailslurp.models
+
+
Email contact for address book
+
+
ContactProjection() - Constructor for class com.mailslurp.models.ContactProjection
+
 
+
ContactProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
contacts(List<ContactDto>) - Method in class com.mailslurp.models.GroupContactsDto
+
 
+
containsIgnoreCase(String[], String) - Static method in class com.mailslurp.clients.StringUtil
+
+
Check if the given array contains the given value (with case-insensitive comparison).
+
+
content(String) - Method in class com.mailslurp.models.CreateTemplateOptions
+
 
+
content(List<AliasProjection>) - Method in class com.mailslurp.models.PageAlias
+
 
+
content(List<AttachmentProjection>) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
content(List<BounceProjection>) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
content(List<BounceRecipientProjection>) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
content(List<Complaint>) - Method in class com.mailslurp.models.PageComplaint
+
 
+
content(List<ConnectorProjection>) - Method in class com.mailslurp.models.PageConnector
+
 
+
content(List<ConnectorSyncEventProjection>) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
content(List<ContactProjection>) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
content(List<DeliveryStatusDto>) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
content(List<EmailPreview>) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
content(List<EmailProjection>) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
content(List<EmailValidationRequestDto>) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
content(List<ExpiredInboxRecordProjection>) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
content(List<GroupProjection>) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
content(List<InboxForwarderDto>) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
content(List<InboxForwarderEventProjection>) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
content(List<InboxPreview>) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
content(List<InboxReplierDto>) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
content(List<InboxReplierEventProjection>) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
content(List<InboxRulesetDto>) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
content(List<ListUnsubscribeRecipientProjection>) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
content(List<MissedEmailProjection>) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
content(List<OrganizationInboxProjection>) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
content(List<PhoneNumberProjection>) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
content(List<ScheduledJob>) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
content(List<SentEmailProjection>) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
content(List<SendWithQueueResult>) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
content(List<SmsProjection>) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
content(List<TemplateProjection>) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
content(List<ThreadProjection>) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
content(List<TrackingPixelProjection>) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
content(List<UnknownMissedEmailProjection>) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
content(List<WebhookProjection>) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
content(List<WebhookResultDto>) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
content(String) - Method in class com.mailslurp.models.RawEmailJson
+
 
+
content(String) - Method in class com.mailslurp.models.TemplateDto
+
 
+
contentLength() - Method in class com.mailslurp.clients.ProgressRequestBody
+
 
+
contentLength() - Method in class com.mailslurp.clients.ProgressResponseBody
+
 
+
contentLength(Long) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
contentLength(Long) - Method in class com.mailslurp.models.AttachmentMetaData
+
 
+
contentLength(Long) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
contentLength(Long) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
ContentMatchOptions - Class in com.mailslurp.models
+
+
Options for matching content using regex patterns based on Java Pattern syntax
+
+
ContentMatchOptions() - Constructor for class com.mailslurp.models.ContentMatchOptions
+
 
+
ContentMatchOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
contentType() - Method in class com.mailslurp.clients.ProgressRequestBody
+
 
+
contentType() - Method in class com.mailslurp.clients.ProgressResponseBody
+
 
+
contentType(String) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
contentType(String) - Method in class com.mailslurp.models.AttachmentMetaData
+
 
+
contentType(String) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
contentType(String) - Method in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
contentType(String) - Method in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
contentType(String) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
contentTypeHeader(String) - Method in class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
count(Long) - Method in class com.mailslurp.models.UnreadCount
+
 
+
count(Long) - Method in class com.mailslurp.models.UnseenErrorCountDto
+
 
+
count(Integer) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
count(Long) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
CountDto - Class in com.mailslurp.models
+
+
Number of elements
+
+
CountDto() - Constructor for class com.mailslurp.models.CountDto
+
 
+
CountDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
countType(WaitForConditions.CountTypeEnum) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
countType(WaitForSmsConditions.CountTypeEnum) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.AbstractWebhookPayload.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.AliasDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.AliasProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.AttachmentEntity.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.AttachmentMetaData.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.AttachmentProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.BasicAuthOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.BouncedEmailDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.BouncedRecipientDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.BounceProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.BounceRecipientProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.BulkSendEmailOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.Complaint.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ConditionOption.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ConnectorDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ConnectorProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ConnectorSyncEventDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ConnectorSyncEventProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ConnectorSyncRequestResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ConnectorSyncResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ContactDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ContactProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ContentMatchOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CountDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateAliasOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateConnectorImapOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateConnectorOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateContactOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateDomainOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateGroupOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateInboxDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateInboxForwarderOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateInboxReplierOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateInboxRulesetOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateTemplateOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateTrackingPixelOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.CreateWebhookOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.DeliveryStatusDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.DescribeDomainOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.DescribeMailServerDomainResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.DNSLookupOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.DNSLookupResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.DNSLookupResults.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.DomainDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.DomainIssuesDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.DomainNameRecord.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.DomainPreview.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.DownloadAttachmentDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.Email.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmailAnalysis.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmailContentMatchResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmailHtmlDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmailLinksResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmailPreview.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmailPreviewUrls.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmailProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmailRecipients.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmailTextLinesResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmailValidationRequestDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmailVerificationResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmergencyAddress.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmergencyAddressDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.EmptyResponseDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ExpirationDefaults.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ExpiredInboxDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ExpiredInboxRecordProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ExportLink.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ExportOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.FilterBouncedRecipientsOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.FilterBouncedRecipientsResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.FlushExpiredInboxesResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ForwardEmailOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.GravatarUrl.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.GroupContactsDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.GroupDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.GroupProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.HTMLValidationResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ImapFlagOperationOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ImapSmtpAccessDetails.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxByEmailAddressResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxByNameResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxExistsDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxForwarderDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxForwarderEventProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxForwarderTestOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxForwarderTestResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxIdItem.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxIdsResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxPreview.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxReplierDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxReplierEventProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxRulesetDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxRulesetTestOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.InboxRulesetTestResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.IPAddressResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.JSONSchemaDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.MatchOption.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.MatchOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.MissedEmailDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.MissedEmailProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.NameServerRecord.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.OrganizationInboxProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageableObject.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageAlias.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageAttachmentEntity.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageBouncedEmail.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageBouncedRecipients.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageComplaint.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageConnector.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageConnectorSyncEvents.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageContactProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageDeliveryStatus.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageEmailPreview.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageEmailProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageEmailValidationRequest.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageGroupProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageInboxForwarderDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageInboxForwarderEvents.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageInboxProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageInboxReplierDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageInboxReplierEvents.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageInboxRulesetDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageMissedEmailProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageOrganizationInboxProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PagePhoneNumberProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageScheduledJobs.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageSentEmailProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageSmsProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageTemplateProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageThreadProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageTrackingPixelProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageWebhookProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PageWebhookResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PhoneNumberDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PhoneNumberProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.PhonePlanDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.RawEmailJson.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.Recipient.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ReplyToEmailOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ScheduledJob.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ScheduledJobDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.SendEmailOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.Sender.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.SendWithQueueResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.SentEmailDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.SentEmailProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.SetInboxFavouritedOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.SimpleSendEmailOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.SmsDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.SmsMatchOption.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.SmsPreview.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.SmsProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.Sort.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.TemplateDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.TemplatePreview.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.TemplateProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.TemplateVariable.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.TestNewInboxForwarderOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.TestNewInboxRulesetOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.TestPhoneNumberOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ThreadProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.TrackingPixelDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.TrackingPixelProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UnknownMissedEmailProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UnreadCount.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UnseenErrorCountDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UpdateAliasOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UpdateDomainOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UpdateGroupContacts.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UpdateInboxOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UpdateInboxReplierOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UploadAttachmentOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UploadMultipartFormRequest.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.UserInfoDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ValidateEmailAddressListOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ValidateEmailAddressListResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ValidationDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.ValidationMessage.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.VerifyEmailAddressOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.VerifyWebhookSignatureOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.VerifyWebhookSignatureResults.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WaitForConditions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WaitForSingleSmsOptions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WaitForSmsConditions.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookBouncePayload.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookEmailReadPayload.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookHeaderNameValue.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookHeaders.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookNewContactPayload.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookNewEmailPayload.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookNewSmsPayload.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookProjection.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookRedriveResult.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookResultDto.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookTestRequest.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookTestResponse.CustomTypeAdapterFactory
+
 
+
create(Gson, TypeToken<T>) - Method in class com.mailslurp.models.WebhookTestResult.CustomTypeAdapterFactory
+
 
+
createAccountWebhook(CreateWebhookOptions) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Attach a WebHook URL to an inbox + Get notified of account level events such as bounce and bounce recipient.
+
+
createAccountWebhookAsync(CreateWebhookOptions, ApiCallback<WebhookDto>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Attach a WebHook URL to an inbox (asynchronously) + Get notified of account level events such as bounce and bounce recipient.
+
+
createAccountWebhookCall(CreateWebhookOptions, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for createAccountWebhook
+
+
createAccountWebhookWithHttpInfo(CreateWebhookOptions) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Attach a WebHook URL to an inbox + Get notified of account level events such as bounce and bounce recipient.
+
+
createAlias(CreateAliasOptions) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Create an email alias.
+
+
createAliasAsync(CreateAliasOptions, ApiCallback<AliasDto>) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Create an email alias.
+
+
createAliasCall(CreateAliasOptions, ApiCallback) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Build call for createAlias
+
+
CreateAliasOptions - Class in com.mailslurp.models
+
+
Create email alias options.
+
+
CreateAliasOptions() - Constructor for class com.mailslurp.models.CreateAliasOptions
+
 
+
CreateAliasOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
createAliasWithHttpInfo(CreateAliasOptions) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Create an email alias.
+
+
createConnector(CreateConnectorOptions) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Create an inbox connector + Sync emails between external mailboxes and MailSlurp inboxes
+
+
createConnectorAsync(CreateConnectorOptions, ApiCallback<ConnectorDto>) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Create an inbox connector (asynchronously) + Sync emails between external mailboxes and MailSlurp inboxes
+
+
createConnectorCall(CreateConnectorOptions, ApiCallback) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Build call for createConnector
+
+
CreateConnectorImapOptions - Class in com.mailslurp.models
+
+
CreateConnectorImapOptions
+
+
CreateConnectorImapOptions() - Constructor for class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
CreateConnectorImapOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
CreateConnectorOptions - Class in com.mailslurp.models
+
+
CreateConnectorOptions
+
+
CreateConnectorOptions() - Constructor for class com.mailslurp.models.CreateConnectorOptions
+
 
+
CreateConnectorOptions.ConnectorAuthTypeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets connectorAuthType
+
+
CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
CreateConnectorOptions.ConnectorTypeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets connectorType
+
+
CreateConnectorOptions.ConnectorTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
CreateConnectorOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
CreateConnectorOptions.SyncScheduleTypeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets syncScheduleType
+
+
CreateConnectorOptions.SyncScheduleTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
createConnectorWithHttpInfo(CreateConnectorOptions) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Create an inbox connector + Sync emails between external mailboxes and MailSlurp inboxes
+
+
createContact(CreateContactOptions) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Create a contact
+
+
createContactAsync(CreateContactOptions, ApiCallback<ContactDto>) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Create a contact (asynchronously)
+
+
createContactCall(CreateContactOptions, ApiCallback) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Build call for createContact
+
+
CreateContactOptions - Class in com.mailslurp.models
+
+
Options for creating an email contact in address book
+
+
CreateContactOptions() - Constructor for class com.mailslurp.models.CreateContactOptions
+
 
+
CreateContactOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
createContactWithHttpInfo(CreateContactOptions) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Create a contact
+
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.AliasDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.AliasProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.BounceProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.Complaint
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.ContactDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.ContactProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.DomainDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.DomainPreview
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.Email
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.EmailPreview
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.EmailProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.GroupDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.GroupProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxPreview
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.PhonePlanDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.SmsDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.SmsPreview
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.SmsProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.TemplateDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookDto
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
createdAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
createdCatchAllInbox(Boolean) - Method in class com.mailslurp.models.CreateDomainOptions
+
 
+
createdEarliestTime(OffsetDateTime) - Method in class com.mailslurp.models.ExportOptions
+
 
+
createdOldestTime(OffsetDateTime) - Method in class com.mailslurp.models.ExportOptions
+
 
+
createDomain(CreateDomainOptions) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Create Domain + Link a domain that you own with MailSlurp so you can create email addresses using it.
+
+
createDomainAsync(CreateDomainOptions, ApiCallback<DomainDto>) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Create Domain (asynchronously) + Link a domain that you own with MailSlurp so you can create email addresses using it.
+
+
createDomainCall(CreateDomainOptions, ApiCallback) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Build call for createDomain
+
+
CreateDomainOptions - Class in com.mailslurp.models
+
+
Options for creating a domain to use with MailSlurp.
+
+
CreateDomainOptions() - Constructor for class com.mailslurp.models.CreateDomainOptions
+
 
+
CreateDomainOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
CreateDomainOptions.DomainTypeEnum - Enum in com.mailslurp.models
+
+
Type of domain.
+
+
CreateDomainOptions.DomainTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
createDomainWithHttpInfo(CreateDomainOptions) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Create Domain + Link a domain that you own with MailSlurp so you can create email addresses using it.
+
+
createEmergencyAddress(CreateEmergencyAddressOptions) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
createEmergencyAddressAsync(CreateEmergencyAddressOptions, ApiCallback<EmergencyAddress>) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
(asynchronously)
+
+
createEmergencyAddressCall(CreateEmergencyAddressOptions, ApiCallback) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
Build call for createEmergencyAddress
+
+
CreateEmergencyAddressOptions - Class in com.mailslurp.models
+
+
CreateEmergencyAddressOptions
+
+
CreateEmergencyAddressOptions() - Constructor for class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
CreateEmergencyAddressOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
CreateEmergencyAddressOptions.IsoCountryCodeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets isoCountryCode
+
+
CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter - Class in com.mailslurp.models
+
 
+
createEmergencyAddressWithHttpInfo(CreateEmergencyAddressOptions) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
createGroup(CreateGroupOptions) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Create a group
+
+
createGroupAsync(CreateGroupOptions, ApiCallback<GroupDto>) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Create a group (asynchronously)
+
+
createGroupCall(CreateGroupOptions, ApiCallback) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Build call for createGroup
+
+
CreateGroupOptions - Class in com.mailslurp.models
+
+
Create contact group options
+
+
CreateGroupOptions() - Constructor for class com.mailslurp.models.CreateGroupOptions
+
 
+
CreateGroupOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
createGroupWithHttpInfo(CreateGroupOptions) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Create a group
+
+
createGson() - Static method in class com.mailslurp.clients.JSON
+
 
+
createInbox(String, List<String>, String, String, Boolean, Boolean, OffsetDateTime, Long, Boolean, String, Boolean, Boolean, UUID, String) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox email address.
+
+
createInboxAsync(String, List<String>, String, String, Boolean, Boolean, OffsetDateTime, Long, Boolean, String, Boolean, Boolean, UUID, String, ApiCallback<InboxDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox email address.
+
+
createInboxCall(String, List<String>, String, String, Boolean, Boolean, OffsetDateTime, Long, Boolean, String, Boolean, Boolean, UUID, String, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for createInbox
+
+
CreateInboxDto - Class in com.mailslurp.models
+
+
Options for creating an inbox.
+
+
CreateInboxDto() - Constructor for class com.mailslurp.models.CreateInboxDto
+
 
+
CreateInboxDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
CreateInboxDto.InboxTypeEnum - Enum in com.mailslurp.models
+
+
Type of inbox.
+
+
CreateInboxDto.InboxTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
CreateInboxForwarderOptions - Class in com.mailslurp.models
+
+
Options for creating an inbox forwarder
+
+
CreateInboxForwarderOptions() - Constructor for class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
createInboxForwarderOptions(CreateInboxForwarderOptions) - Method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
CreateInboxForwarderOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
CreateInboxForwarderOptions.FieldEnum - Enum in com.mailslurp.models
+
+
Field to match against to trigger inbox forwarding for inbound email
+
+
CreateInboxForwarderOptions.FieldEnum.Adapter - Class in com.mailslurp.models
+
 
+
CreateInboxReplierOptions - Class in com.mailslurp.models
+
+
Options for creating an inbox replier.
+
+
CreateInboxReplierOptions() - Constructor for class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
CreateInboxReplierOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
CreateInboxReplierOptions.FieldEnum - Enum in com.mailslurp.models
+
+
Field to match against to trigger inbox replier for inbound email
+
+
CreateInboxReplierOptions.FieldEnum.Adapter - Class in com.mailslurp.models
+
 
+
createInboxRuleset(UUID, CreateInboxRulesetOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox ruleset + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
+
+
createInboxRulesetAsync(UUID, CreateInboxRulesetOptions, ApiCallback<InboxRulesetDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox ruleset (asynchronously) + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
+
+
createInboxRulesetCall(UUID, CreateInboxRulesetOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for createInboxRuleset
+
+
CreateInboxRulesetOptions - Class in com.mailslurp.models
+
+
Options for creating inbox rulesets.
+
+
CreateInboxRulesetOptions() - Constructor for class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
createInboxRulesetOptions(CreateInboxRulesetOptions) - Method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
CreateInboxRulesetOptions.ActionEnum - Enum in com.mailslurp.models
+
+
Action to be taken when the ruleset matches an email for the given scope.
+
+
CreateInboxRulesetOptions.ActionEnum.Adapter - Class in com.mailslurp.models
+
 
+
CreateInboxRulesetOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
CreateInboxRulesetOptions.ScopeEnum - Enum in com.mailslurp.models
+
+
What type of emails actions to apply ruleset to.
+
+
CreateInboxRulesetOptions.ScopeEnum.Adapter - Class in com.mailslurp.models
+
 
+
createInboxRulesetWithHttpInfo(UUID, CreateInboxRulesetOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox ruleset + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
+
+
createInboxWithDefaults() - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox with default options.
+
+
createInboxWithDefaultsAsync(ApiCallback<InboxDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox with default options.
+
+
createInboxWithDefaultsCall(ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for createInboxWithDefaults
+
+
createInboxWithDefaultsWithHttpInfo() - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox with default options.
+
+
createInboxWithHttpInfo(String, List<String>, String, String, Boolean, Boolean, OffsetDateTime, Long, Boolean, String, Boolean, Boolean, UUID, String) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox email address.
+
+
createInboxWithOptions(CreateInboxDto) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox with options.
+
+
createInboxWithOptionsAsync(CreateInboxDto, ApiCallback<InboxDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox with options.
+
+
createInboxWithOptionsCall(CreateInboxDto, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for createInboxWithOptions
+
+
createInboxWithOptionsWithHttpInfo(CreateInboxDto) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Create an inbox with options.
+
+
createNewEmailAddress(Boolean, Boolean, OffsetDateTime, Long, String, String, String, String, List<String>, Boolean, Boolean, Boolean, String, UUID) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Create new random inbox + Returns an Inbox with an `id` and an `emailAddress`
+
+
createNewEmailAddressAsync(Boolean, Boolean, OffsetDateTime, Long, String, String, String, String, List<String>, Boolean, Boolean, Boolean, String, UUID, ApiCallback<InboxDto>) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Create new random inbox (asynchronously) + Returns an Inbox with an `id` and an `emailAddress`
+
+
createNewEmailAddressCall(Boolean, Boolean, OffsetDateTime, Long, String, String, String, String, List<String>, Boolean, Boolean, Boolean, String, UUID, ApiCallback) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Build call for createNewEmailAddress
+
+
createNewEmailAddressWithHttpInfo(Boolean, Boolean, OffsetDateTime, Long, String, String, String, String, List<String>, Boolean, Boolean, Boolean, String, UUID) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Create new random inbox + Returns an Inbox with an `id` and an `emailAddress`
+
+
createNewInboxForwarder(UUID, CreateInboxForwarderOptions) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Create an inbox forwarder + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
+
+
createNewInboxForwarderAsync(UUID, CreateInboxForwarderOptions, ApiCallback<InboxForwarderDto>) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Create an inbox forwarder (asynchronously) + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
+
+
createNewInboxForwarderCall(UUID, CreateInboxForwarderOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Build call for createNewInboxForwarder
+
+
createNewInboxForwarderWithHttpInfo(UUID, CreateInboxForwarderOptions) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Create an inbox forwarder + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
+
+
createNewInboxReplier(CreateInboxReplierOptions) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Create an inbox replier + Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving
+
+
createNewInboxReplierAsync(CreateInboxReplierOptions, ApiCallback<InboxReplierDto>) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Create an inbox replier (asynchronously) + Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving
+
+
createNewInboxReplierCall(CreateInboxReplierOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Build call for createNewInboxReplier
+
+
createNewInboxReplierWithHttpInfo(CreateInboxReplierOptions) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Create an inbox replier + Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving
+
+
createNewInboxRuleset(CreateInboxRulesetOptions, UUID) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Create an inbox ruleset + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
+
+
createNewInboxRulesetAsync(CreateInboxRulesetOptions, UUID, ApiCallback<InboxRulesetDto>) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Create an inbox ruleset (asynchronously) + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
+
+
createNewInboxRulesetCall(CreateInboxRulesetOptions, UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Build call for createNewInboxRuleset
+
+
createNewInboxRulesetWithHttpInfo(CreateInboxRulesetOptions, UUID) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Create an inbox ruleset + Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
+
+
createRandomInbox(Boolean, Boolean, OffsetDateTime, Long, String, String, String, String, List<String>, Boolean, Boolean, Boolean, String, UUID) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Create new random inbox + Returns an Inbox with an `id` and an `emailAddress`
+
+
createRandomInboxAsync(Boolean, Boolean, OffsetDateTime, Long, String, String, String, String, List<String>, Boolean, Boolean, Boolean, String, UUID, ApiCallback<InboxDto>) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Create new random inbox (asynchronously) + Returns an Inbox with an `id` and an `emailAddress`
+
+
createRandomInboxCall(Boolean, Boolean, OffsetDateTime, Long, String, String, String, String, List<String>, Boolean, Boolean, Boolean, String, UUID, ApiCallback) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Build call for createRandomInbox
+
+
createRandomInboxWithHttpInfo(Boolean, Boolean, OffsetDateTime, Long, String, String, String, String, List<String>, Boolean, Boolean, Boolean, String, UUID) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Create new random inbox + Returns an Inbox with an `id` and an `emailAddress`
+
+
createTemplate(CreateTemplateOptions) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Create a Template + Create an email template with variables for use with templated transactional emails.
+
+
createTemplateAsync(CreateTemplateOptions, ApiCallback<TemplateDto>) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Create a Template (asynchronously) + Create an email template with variables for use with templated transactional emails.
+
+
createTemplateCall(CreateTemplateOptions, ApiCallback) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Build call for createTemplate
+
+
CreateTemplateOptions - Class in com.mailslurp.models
+
+
Create template options
+
+
CreateTemplateOptions() - Constructor for class com.mailslurp.models.CreateTemplateOptions
+
 
+
CreateTemplateOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
createTemplateWithHttpInfo(CreateTemplateOptions) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Create a Template + Create an email template with variables for use with templated transactional emails.
+
+
createTrackingPixel(CreateTrackingPixelOptions) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Create tracking pixel + Create a tracking pixel.
+
+
createTrackingPixelAsync(CreateTrackingPixelOptions, ApiCallback<TrackingPixelDto>) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Create tracking pixel (asynchronously) + Create a tracking pixel.
+
+
createTrackingPixelCall(CreateTrackingPixelOptions, ApiCallback) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Build call for createTrackingPixel
+
+
CreateTrackingPixelOptions - Class in com.mailslurp.models
+
+
Options for creating a tracking pixel for email open tracking
+
+
CreateTrackingPixelOptions() - Constructor for class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
CreateTrackingPixelOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
createTrackingPixelWithHttpInfo(CreateTrackingPixelOptions) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Create tracking pixel + Create a tracking pixel.
+
+
createWebhook(UUID, CreateWebhookOptions) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Attach a WebHook URL to an inbox + Get notified whenever an inbox receives an email via a WebHook URL.
+
+
createWebhookAsync(UUID, CreateWebhookOptions, ApiCallback<WebhookDto>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Attach a WebHook URL to an inbox (asynchronously) + Get notified whenever an inbox receives an email via a WebHook URL.
+
+
createWebhookCall(UUID, CreateWebhookOptions, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for createWebhook
+
+
createWebhookForPhoneNumber(UUID, CreateWebhookOptions) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Attach a WebHook URL to a phone number + Get notified whenever a phone number receives an SMS via a WebHook URL.
+
+
createWebhookForPhoneNumberAsync(UUID, CreateWebhookOptions, ApiCallback<WebhookDto>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Attach a WebHook URL to a phone number (asynchronously) + Get notified whenever a phone number receives an SMS via a WebHook URL.
+
+
createWebhookForPhoneNumberCall(UUID, CreateWebhookOptions, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for createWebhookForPhoneNumber
+
+
createWebhookForPhoneNumberWithHttpInfo(UUID, CreateWebhookOptions) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Attach a WebHook URL to a phone number + Get notified whenever a phone number receives an SMS via a WebHook URL.
+
+
CreateWebhookOptions - Class in com.mailslurp.models
+
+
Options for creating a webhook.
+
+
CreateWebhookOptions() - Constructor for class com.mailslurp.models.CreateWebhookOptions
+
 
+
CreateWebhookOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
CreateWebhookOptions.EventNameEnum - Enum in com.mailslurp.models
+
+
Optional webhook event name.
+
+
CreateWebhookOptions.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
createWebhookWithHttpInfo(UUID, CreateWebhookOptions) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Attach a WebHook URL to an inbox + Get notified whenever an inbox receives an email via a WebHook URL.
+
+
customerName(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
customerName(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.AbstractWebhookPayload.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.AliasDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.AliasProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.AttachmentEntity.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.AttachmentMetaData.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.AttachmentProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.BasicAuthOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.BouncedEmailDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.BouncedRecipientDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.BounceProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.BounceRecipientProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.BulkSendEmailOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.Complaint.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ConditionOption.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ConnectorDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ConnectorProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ConnectorSyncEventDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ConnectorSyncEventProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ConnectorSyncRequestResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ConnectorSyncRequestResultException.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ConnectorSyncResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ContactDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ContactProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ContentMatchOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CountDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateAliasOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateConnectorImapOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateConnectorOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateContactOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateDomainOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateEmergencyAddressOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateGroupOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateInboxDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateInboxForwarderOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateInboxReplierOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateInboxRulesetOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateTemplateOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateTrackingPixelOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.CreateWebhookOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.DeliveryStatusDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.DescribeDomainOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.DescribeMailServerDomainResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.DNSLookupOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.DNSLookupResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.DNSLookupResults.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.DomainDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.DomainIssuesDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.DomainNameRecord.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.DomainPreview.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.DownloadAttachmentDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.Email.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmailAnalysis.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmailContentMatchResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmailHtmlDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmailLinksResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmailPreview.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmailPreviewUrls.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmailProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmailRecipients.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmailTextLinesResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmailValidationRequestDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmailVerificationResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmergencyAddress.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmergencyAddressDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.EmptyResponseDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ExpirationDefaults.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ExpiredInboxDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ExpiredInboxRecordProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ExportLink.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ExportOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.FilterBouncedRecipientsOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.FilterBouncedRecipientsResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.FlushExpiredInboxesResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ForwardEmailOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.GravatarUrl.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.GroupContactsDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.GroupDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.GroupProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.HTMLValidationResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ImapFlagOperationOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ImapSmtpAccessDetails.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxByEmailAddressResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxByNameResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxExistsDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxForwarderDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxForwarderEventProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxForwarderTestOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxForwarderTestResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxIdItem.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxIdsResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxPreview.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxReplierDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxReplierEventProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxRulesetDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxRulesetTestOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.InboxRulesetTestResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.IPAddressResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.JSONSchemaDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.MatchOption.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.MatchOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.MissedEmailDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.MissedEmailProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.NameServerRecord.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.OrganizationInboxProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageableObject.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageAlias.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageAttachmentEntity.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageBouncedEmail.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageBouncedRecipients.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageComplaint.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageConnector.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageConnectorSyncEvents.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageContactProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageDeliveryStatus.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageEmailPreview.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageEmailProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageEmailValidationRequest.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageExpiredInboxRecordProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageGroupProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageInboxForwarderDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageInboxForwarderEvents.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageInboxProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageInboxReplierDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageInboxReplierEvents.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageInboxRulesetDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageListUnsubscribeRecipients.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageMissedEmailProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageOrganizationInboxProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PagePhoneNumberProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageScheduledJobs.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageSentEmailProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageSentEmailWithQueueProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageSmsProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageTemplateProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageThreadProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageTrackingPixelProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageUnknownMissedEmailProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageWebhookProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PageWebhookResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PhoneNumberDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PhoneNumberProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.PhonePlanDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.RawEmailJson.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.Recipient.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ReplyToAliasEmailOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ReplyToEmailOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ScheduledJob.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ScheduledJobDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.SendEmailOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.Sender.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.SendSMTPEnvelopeOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.SendWithQueueResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.SentEmailDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.SentEmailProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.SetInboxFavouritedOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.SimpleSendEmailOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.SmsDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.SmsMatchOption.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.SmsPreview.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.SmsProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.Sort.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.TemplateDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.TemplatePreview.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.TemplateProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.TemplateVariable.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.TestNewInboxForwarderOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.TestNewInboxRulesetOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.TestPhoneNumberOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ThreadProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.TrackingPixelDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.TrackingPixelProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UnknownMissedEmailProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UnreadCount.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UnseenErrorCountDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UpdateAliasOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UpdateDomainOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UpdateGroupContacts.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UpdateInboxOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UpdateInboxReplierOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UploadAttachmentBytesRequest.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UploadAttachmentOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UploadMultipartFormRequest.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.UserInfoDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ValidateEmailAddressListOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ValidateEmailAddressListResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ValidationDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.ValidationMessage.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.VerifyEmailAddressOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.VerifyWebhookSignatureOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.VerifyWebhookSignatureResults.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WaitForConditions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WaitForSingleSmsOptions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WaitForSmsConditions.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookBouncePayload.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookBounceRecipientPayload.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookDeliveryStatusPayload.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookEmailOpenedPayload.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookEmailReadPayload.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookHeaderNameValue.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookHeaders.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookNewAttachmentPayload.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookNewContactPayload.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookNewEmailPayload.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookNewSmsPayload.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookProjection.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookRedriveResult.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookResultDto.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookTestRequest.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookTestResponse.CustomTypeAdapterFactory
+
 
+
CustomTypeAdapterFactory() - Constructor for class com.mailslurp.models.WebhookTestResult.CustomTypeAdapterFactory
+
 
+
+ + + +

D

+
+
data(String) - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
DateTypeAdapter() - Constructor for class com.mailslurp.clients.JSON.DateTypeAdapter
+
 
+
DateTypeAdapter(DateFormat) - Constructor for class com.mailslurp.clients.JSON.DateTypeAdapter
+
 
+
defaultExpirationMillis(Long) - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
defaultExpiresAt(OffsetDateTime) - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
defaultValue - Variable in class com.mailslurp.clients.ServerVariable
+
 
+
delay(Long) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
delayTimeout(Long) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
delayTimeout(Long) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
deleteAlias(UUID) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Delete an email alias
+
+
deleteAliasAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Delete an email alias (asynchronously)
+
+
deleteAliasCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Build call for deleteAlias
+
+
deleteAliasWithHttpInfo(UUID) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Delete an email alias
+
+
deleteAllAttachments() - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Delete all attachments
+
+
deleteAllAttachmentsAsync(ApiCallback<Void>) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Delete all attachments (asynchronously)
+
+
deleteAllAttachmentsCall(ApiCallback) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Build call for deleteAllAttachments
+
+
deleteAllAttachmentsWithHttpInfo() - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Delete all attachments
+
+
deleteAllEmails() - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Delete all emails in all inboxes.
+
+
deleteAllEmailsAsync(ApiCallback<Void>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Delete all emails in all inboxes.
+
+
deleteAllEmailsCall(ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for deleteAllEmails
+
+
deleteAllEmailsWithHttpInfo() - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Delete all emails in all inboxes.
+
+
deleteAllInboxEmails(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Delete all emails in a given inboxes.
+
+
deleteAllInboxEmailsAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Delete all emails in a given inboxes.
+
+
deleteAllInboxEmailsCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for deleteAllInboxEmails
+
+
deleteAllInboxEmailsWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Delete all emails in a given inboxes.
+
+
deleteAllInboxes() - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Delete all inboxes + Permanently delete all inboxes and associated email addresses.
+
+
deleteAllInboxesAsync(ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Delete all inboxes (asynchronously) + Permanently delete all inboxes and associated email addresses.
+
+
deleteAllInboxesCall(ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for deleteAllInboxes
+
+
deleteAllInboxesWithHttpInfo() - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Delete all inboxes + Permanently delete all inboxes and associated email addresses.
+
+
deleteAllSentEmails() - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Delete all sent email receipts
+
+
deleteAllSentEmailsAsync(ApiCallback<Void>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Delete all sent email receipts (asynchronously)
+
+
deleteAllSentEmailsCall(ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for deleteAllSentEmails
+
+
deleteAllSentEmailsWithHttpInfo() - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Delete all sent email receipts
+
+
deleteAllWebhooks(OffsetDateTime) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Delete all webhooks
+
+
deleteAllWebhooksAsync(OffsetDateTime, ApiCallback<Void>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Delete all webhooks (asynchronously)
+
+
deleteAllWebhooksCall(OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for deleteAllWebhooks
+
+
deleteAllWebhooksWithHttpInfo(OffsetDateTime) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Delete all webhooks
+
+
deleteAttachment(String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Delete an attachment
+
+
deleteAttachmentAsync(String, ApiCallback<Void>) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Delete an attachment (asynchronously)
+
+
deleteAttachmentCall(String, ApiCallback) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Build call for deleteAttachment
+
+
deleteAttachmentWithHttpInfo(String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Delete an attachment
+
+
deleteConnector(UUID) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Delete an inbox connector
+
+
deleteConnectorAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Delete an inbox connector (asynchronously)
+
+
deleteConnectorCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Build call for deleteConnector
+
+
deleteConnectorWithHttpInfo(UUID) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Delete an inbox connector
+
+
deleteContact(UUID) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Delete contact
+
+
deleteContactAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Delete contact (asynchronously)
+
+
deleteContactCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Build call for deleteContact
+
+
deleteContactWithHttpInfo(UUID) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Delete contact
+
+
deleteDomain(UUID) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Delete a domain + Delete a domain.
+
+
deleteDomainAsync(UUID, ApiCallback<List<String>>) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Delete a domain (asynchronously) + Delete a domain.
+
+
deleteDomainCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Build call for deleteDomain
+
+
deleteDomainWithHttpInfo(UUID) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Delete a domain + Delete a domain.
+
+
deleteEmail(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Delete an email + Deletes an email and removes it from the inbox.
+
+
deleteEmailAddress(UUID) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Delete inbox email address by inbox id + Deletes inbox email address
+
+
deleteEmailAddressAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Delete inbox email address by inbox id (asynchronously) + Deletes inbox email address
+
+
deleteEmailAddressCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Build call for deleteEmailAddress
+
+
deleteEmailAddressWithHttpInfo(UUID) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Delete inbox email address by inbox id + Deletes inbox email address
+
+
deleteEmailAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Delete an email (asynchronously) + Deletes an email and removes it from the inbox.
+
+
deleteEmailCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for deleteEmail
+
+
deleteEmailWithHttpInfo(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Delete an email + Deletes an email and removes it from the inbox.
+
+
deleteEmergencyAddress(UUID) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
deleteEmergencyAddressAsync(UUID, ApiCallback<EmptyResponseDto>) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
(asynchronously)
+
+
deleteEmergencyAddressCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
Build call for deleteEmergencyAddress
+
+
deleteEmergencyAddressWithHttpInfo(UUID) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
deleteGroup(UUID) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Delete group
+
+
deleteGroupAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Delete group (asynchronously)
+
+
deleteGroupCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Build call for deleteGroup
+
+
deleteGroupWithHttpInfo(UUID) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Delete group
+
+
deleteInbox(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Delete inbox + Permanently delete an inbox and associated email address as well as all emails within the given inbox.
+
+
deleteInboxAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Delete inbox (asynchronously) + Permanently delete an inbox and associated email address as well as all emails within the given inbox.
+
+
deleteInboxCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for deleteInbox
+
+
deleteInboxForwarder(UUID) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Delete an inbox forwarder + Delete inbox forwarder
+
+
deleteInboxForwarderAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Delete an inbox forwarder (asynchronously) + Delete inbox forwarder
+
+
deleteInboxForwarderCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Build call for deleteInboxForwarder
+
+
deleteInboxForwarders(UUID) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Delete inbox forwarders + Delete inbox forwarders.
+
+
deleteInboxForwardersAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Delete inbox forwarders (asynchronously) + Delete inbox forwarders.
+
+
deleteInboxForwardersCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Build call for deleteInboxForwarders
+
+
deleteInboxForwardersWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Delete inbox forwarders + Delete inbox forwarders.
+
+
deleteInboxForwarderWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Delete an inbox forwarder + Delete inbox forwarder
+
+
deleteInboxReplier(UUID) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Delete an inbox replier + Delete inbox replier
+
+
deleteInboxReplierAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Delete an inbox replier (asynchronously) + Delete inbox replier
+
+
deleteInboxReplierCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Build call for deleteInboxReplier
+
+
deleteInboxRepliers(UUID) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Delete inbox repliers + Delete inbox repliers.
+
+
deleteInboxRepliersAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Delete inbox repliers (asynchronously) + Delete inbox repliers.
+
+
deleteInboxRepliersCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Build call for deleteInboxRepliers
+
+
deleteInboxRepliersWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Delete inbox repliers + Delete inbox repliers.
+
+
deleteInboxReplierWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Delete an inbox replier + Delete inbox replier
+
+
deleteInboxRuleset(UUID) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Delete an inbox ruleset + Delete inbox ruleset
+
+
deleteInboxRulesetAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Delete an inbox ruleset (asynchronously) + Delete inbox ruleset
+
+
deleteInboxRulesetCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Build call for deleteInboxRuleset
+
+
deleteInboxRulesets(UUID) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Delete inbox rulesets + Delete inbox rulesets.
+
+
deleteInboxRulesetsAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Delete inbox rulesets (asynchronously) + Delete inbox rulesets.
+
+
deleteInboxRulesetsCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Build call for deleteInboxRulesets
+
+
deleteInboxRulesetsWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Delete inbox rulesets + Delete inbox rulesets.
+
+
deleteInboxRulesetWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Delete an inbox ruleset + Delete inbox ruleset
+
+
deleteInboxWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Delete inbox + Permanently delete an inbox and associated email address as well as all emails within the given inbox.
+
+
deletePhoneNumber(UUID) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
deletePhoneNumberAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
(asynchronously)
+
+
deletePhoneNumberCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
Build call for deletePhoneNumber
+
+
deletePhoneNumberWithHttpInfo(UUID) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
deleteSentEmail(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Delete sent email receipt
+
+
deleteSentEmailAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Delete sent email receipt (asynchronously)
+
+
deleteSentEmailCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for deleteSentEmail
+
+
deleteSentEmailWithHttpInfo(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Delete sent email receipt
+
+
deleteSmsMessage(UUID) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Delete SMS message.
+
+
deleteSmsMessageAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Delete SMS message.
+
+
deleteSmsMessageCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Build call for deleteSmsMessage
+
+
deleteSmsMessages(UUID) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Delete all SMS messages + Delete all SMS messages or all messages for a given phone number
+
+
deleteSmsMessagesAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Delete all SMS messages (asynchronously) + Delete all SMS messages or all messages for a given phone number
+
+
deleteSmsMessagesCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Build call for deleteSmsMessages
+
+
deleteSmsMessagesWithHttpInfo(UUID) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Delete all SMS messages + Delete all SMS messages or all messages for a given phone number
+
+
deleteSmsMessageWithHttpInfo(UUID) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Delete SMS message.
+
+
deleteTemplate(UUID) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Delete email template + Delete template
+
+
deleteTemplateAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Delete email template (asynchronously) + Delete template
+
+
deleteTemplateCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Build call for deleteTemplate
+
+
deleteTemplateWithHttpInfo(UUID) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Delete email template + Delete template
+
+
deleteWebhook(UUID, UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Delete and disable a Webhook for an Inbox
+
+
deleteWebhookAsync(UUID, UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Delete and disable a Webhook for an Inbox (asynchronously)
+
+
deleteWebhookById(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Delete a webhook
+
+
deleteWebhookByIdAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Delete a webhook (asynchronously)
+
+
deleteWebhookByIdCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for deleteWebhookById
+
+
deleteWebhookByIdWithHttpInfo(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Delete a webhook
+
+
deleteWebhookCall(UUID, UUID, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for deleteWebhook
+
+
deleteWebhookWithHttpInfo(UUID, UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Delete and disable a Webhook for an Inbox
+
+
delivered(Boolean) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
DeliveryStatusDto - Class in com.mailslurp.models
+
+
DeliveryStatusDto
+
+
DeliveryStatusDto() - Constructor for class com.mailslurp.models.DeliveryStatusDto
+
 
+
DeliveryStatusDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
DescribeDomainOptions - Class in com.mailslurp.models
+
+
Domain record description
+
+
DescribeDomainOptions() - Constructor for class com.mailslurp.models.DescribeDomainOptions
+
 
+
DescribeDomainOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
describeMailServerDomain(DescribeDomainOptions) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Get DNS Mail Server records for a domain
+
+
describeMailServerDomainAsync(DescribeDomainOptions, ApiCallback<DescribeMailServerDomainResult>) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Get DNS Mail Server records for a domain (asynchronously)
+
+
describeMailServerDomainCall(DescribeDomainOptions, ApiCallback) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Build call for describeMailServerDomain
+
+
DescribeMailServerDomainResult - Class in com.mailslurp.models
+
+
Name Server lookup result
+
+
DescribeMailServerDomainResult() - Constructor for class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
DescribeMailServerDomainResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
describeMailServerDomainWithHttpInfo(DescribeDomainOptions) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Get DNS Mail Server records for a domain
+
+
description - Variable in class com.mailslurp.clients.ServerConfiguration
+
 
+
description - Variable in class com.mailslurp.clients.ServerVariable
+
 
+
description(String) - Method in class com.mailslurp.models.CreateDomainOptions
+
 
+
description(String) - Method in class com.mailslurp.models.CreateGroupOptions
+
 
+
description(String) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
description(String) - Method in class com.mailslurp.models.GroupDto
+
 
+
description(String) - Method in class com.mailslurp.models.GroupProjection
+
 
+
description(String) - Method in class com.mailslurp.models.InboxDto
+
 
+
description(String) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
deserialize(Response, Type) - Method in class com.mailslurp.clients.ApiClient
+
+
Deserialize response body to Java object, according to the return type and + the Content-Type response header.
+
+
deserialize(String, Type) - Static method in class com.mailslurp.clients.JSON
+
+
Deserialize the given JSON string to Java object.
+
+
diagnosticCode(String) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
direct(Boolean) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
displayName(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
displayName(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
dkimTokens(List<String>) - Method in class com.mailslurp.models.DomainDto
+
 
+
dkimVerdict(String) - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
dmarcVerdict(String) - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
DNSLookupOptions - Class in com.mailslurp.models
+
+
Options for DNS query.
+
+
DNSLookupOptions() - Constructor for class com.mailslurp.models.DNSLookupOptions
+
 
+
DNSLookupOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
DNSLookupOptions.RecordTypesEnum - Enum in com.mailslurp.models
+
+
Domain Name Server Record Types
+
+
DNSLookupOptions.RecordTypesEnum.Adapter - Class in com.mailslurp.models
+
 
+
DNSLookupResult - Class in com.mailslurp.models
+
+
DNS lookup result.
+
+
DNSLookupResult() - Constructor for class com.mailslurp.models.DNSLookupResult
+
 
+
DNSLookupResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
DNSLookupResult.RecordTypeEnum - Enum in com.mailslurp.models
+
+
Domain Name Server Record Types
+
+
DNSLookupResult.RecordTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
DNSLookupResults - Class in com.mailslurp.models
+
+
Results of query on domain name servers
+
+
DNSLookupResults() - Constructor for class com.mailslurp.models.DNSLookupResults
+
 
+
DNSLookupResults.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
doesInboxExist(String, Boolean) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Does inbox exist + Check if inboxes exist by email address.
+
+
doesInboxExistAsync(String, Boolean, ApiCallback<InboxExistsDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Does inbox exist (asynchronously) + Check if inboxes exist by email address.
+
+
doesInboxExistCall(String, Boolean, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for doesInboxExist
+
+
doesInboxExistWithHttpInfo(String, Boolean) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Does inbox exist + Check if inboxes exist by email address.
+
+
doesMatch(Boolean) - Method in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
domain(String) - Method in class com.mailslurp.models.CreateDomainOptions
+
 
+
domain(String) - Method in class com.mailslurp.models.DescribeDomainOptions
+
 
+
domain(String) - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
domain(String) - Method in class com.mailslurp.models.DomainDto
+
 
+
domain(String) - Method in class com.mailslurp.models.DomainPreview
+
 
+
DomainControllerApi - Class in com.mailslurp.apis
+
 
+
DomainControllerApi() - Constructor for class com.mailslurp.apis.DomainControllerApi
+
 
+
DomainControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.DomainControllerApi
+
 
+
DomainDto - Class in com.mailslurp.models
+
+
Domain plus verification records and status
+
+
DomainDto() - Constructor for class com.mailslurp.models.DomainDto
+
 
+
DomainDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
DomainDto.DomainTypeEnum - Enum in com.mailslurp.models
+
+
Type of domain.
+
+
DomainDto.DomainTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
domainId(UUID) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
domainId(UUID) - Method in class com.mailslurp.models.Email
+
 
+
domainId(UUID) - Method in class com.mailslurp.models.EmailPreview
+
 
+
domainId(UUID) - Method in class com.mailslurp.models.EmailProjection
+
 
+
domainId(UUID) - Method in class com.mailslurp.models.InboxDto
+
 
+
domainId(UUID) - Method in class com.mailslurp.models.InboxPreview
+
 
+
domainId(UUID) - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
domainId(UUID) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
domainId(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
domainId(UUID) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
DomainIssuesDto - Class in com.mailslurp.models
+
+
DomainIssuesDto
+
+
DomainIssuesDto() - Constructor for class com.mailslurp.models.DomainIssuesDto
+
 
+
DomainIssuesDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
domainName(String) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
domainName(String) - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
DomainNameRecord - Class in com.mailslurp.models
+
+
DNS Record required for verification of a domain.
+
+
DomainNameRecord() - Constructor for class com.mailslurp.models.DomainNameRecord
+
 
+
DomainNameRecord.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
DomainNameRecord.LabelEnum - Enum in com.mailslurp.models
+
+
Domain Name Server Record Label
+
+
DomainNameRecord.LabelEnum.Adapter - Class in com.mailslurp.models
+
 
+
DomainNameRecord.RecordTypeEnum - Enum in com.mailslurp.models
+
+
Domain Name Server Record Types
+
+
DomainNameRecord.RecordTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
domainNameRecords(List<DomainNameRecord>) - Method in class com.mailslurp.models.DomainDto
+
 
+
DomainPreview - Class in com.mailslurp.models
+
+
Preview object for domain entity
+
+
DomainPreview() - Constructor for class com.mailslurp.models.DomainPreview
+
 
+
DomainPreview.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
DomainPreview.DomainTypeEnum - Enum in com.mailslurp.models
+
+
Type of domain.
+
+
DomainPreview.DomainTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
domainType(CreateDomainOptions.DomainTypeEnum) - Method in class com.mailslurp.models.CreateDomainOptions
+
 
+
domainType(DomainDto.DomainTypeEnum) - Method in class com.mailslurp.models.DomainDto
+
 
+
domainType(DomainPreview.DomainTypeEnum) - Method in class com.mailslurp.models.DomainPreview
+
 
+
downloadAttachment(UUID, String, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email attachment bytes.
+
+
downloadAttachmentAsBase64Encoded(String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get email attachment as base64 encoded string as alternative to binary responses.
+
+
downloadAttachmentAsBase64EncodedAsync(String, ApiCallback<DownloadAttachmentDto>) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get email attachment as base64 encoded string as alternative to binary responses.
+
+
downloadAttachmentAsBase64EncodedCall(String, ApiCallback) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Build call for downloadAttachmentAsBase64Encoded
+
+
downloadAttachmentAsBase64EncodedWithHttpInfo(String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get email attachment as base64 encoded string as alternative to binary responses.
+
+
downloadAttachmentAsBytes(String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Download attachments.
+
+
downloadAttachmentAsBytesAsync(String, ApiCallback<byte[]>) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Download attachments.
+
+
downloadAttachmentAsBytesCall(String, ApiCallback) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Build call for downloadAttachmentAsBytes
+
+
downloadAttachmentAsBytesWithHttpInfo(String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Download attachments.
+
+
downloadAttachmentAsync(UUID, String, String, ApiCallback<byte[]>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email attachment bytes.
+
+
downloadAttachmentBase64(UUID, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email attachment as base64 encoded string as an alternative to binary responses.
+
+
downloadAttachmentBase64Async(UUID, String, ApiCallback<DownloadAttachmentDto>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email attachment as base64 encoded string as an alternative to binary responses.
+
+
downloadAttachmentBase64Call(UUID, String, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for downloadAttachmentBase64
+
+
downloadAttachmentBase64WithHttpInfo(UUID, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email attachment as base64 encoded string as an alternative to binary responses.
+
+
downloadAttachmentCall(UUID, String, String, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for downloadAttachment
+
+
DownloadAttachmentDto - Class in com.mailslurp.models
+
+
Content of attachment
+
+
DownloadAttachmentDto() - Constructor for class com.mailslurp.models.DownloadAttachmentDto
+
 
+
DownloadAttachmentDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
downloadAttachmentWithHttpInfo(UUID, String, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email attachment bytes.
+
+
downloadBody(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email body as string.
+
+
downloadBodyAsync(UUID, ApiCallback<String>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email body as string.
+
+
downloadBodyBytes(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email body in bytes.
+
+
downloadBodyBytesAsync(UUID, ApiCallback<byte[]>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email body in bytes.
+
+
downloadBodyBytesCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for downloadBodyBytes
+
+
downloadBodyBytesWithHttpInfo(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email body in bytes.
+
+
downloadBodyCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for downloadBody
+
+
downloadBodyWithHttpInfo(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email body as string.
+
+
downloadFileFromResponse(Response) - Method in class com.mailslurp.clients.ApiClient
+
+
Download file from the given response.
+
+
downloadLink(String) - Method in class com.mailslurp.models.ExportLink
+
 
+
+ + + +

E

+
+
Email - Class in com.mailslurp.models
+
+
Email entity (also known as EmailDto).
+
+
Email() - Constructor for class com.mailslurp.models.Email
+
 
+
Email.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.AliasDto
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.AliasProjection
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.ContactProjection
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.CreateAliasOptions
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.ExpiredInboxDto
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.InboxDto
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.InboxIdItem
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.InboxPreview
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.Recipient
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.Sender
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
emailAddress(String) - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
emailAddresses(List<String>) - Method in class com.mailslurp.models.ContactDto
+
 
+
emailAddresses(List<String>) - Method in class com.mailslurp.models.ContactProjection
+
 
+
emailAddresses(List<String>) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
emailAddresses(List<String>) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
emailAddressList(List<String>) - Method in class com.mailslurp.models.ValidateEmailAddressListOptions
+
 
+
EmailAnalysis - Class in com.mailslurp.models
+
+
Analysis result for email.
+
+
EmailAnalysis() - Constructor for class com.mailslurp.models.EmailAnalysis
+
 
+
EmailAnalysis.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
EmailContentMatchResult - Class in com.mailslurp.models
+
+
Matches for the given pattern
+
+
EmailContentMatchResult() - Constructor for class com.mailslurp.models.EmailContentMatchResult
+
 
+
EmailContentMatchResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
EmailControllerApi - Class in com.mailslurp.apis
+
 
+
EmailControllerApi() - Constructor for class com.mailslurp.apis.EmailControllerApi
+
 
+
EmailControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.EmailControllerApi
+
 
+
EmailHtmlDto - Class in com.mailslurp.models
+
+
EmailHtmlDto
+
+
EmailHtmlDto() - Constructor for class com.mailslurp.models.EmailHtmlDto
+
 
+
EmailHtmlDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
emailId(UUID) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
emailId(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
emailId(UUID) - Method in class com.mailslurp.models.ValidationDto
+
 
+
emailId(UUID) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
emailId(UUID) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
emailIsRead(Boolean) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
EmailLinksResult - Class in com.mailslurp.models
+
+
Links found in HTML
+
+
EmailLinksResult() - Constructor for class com.mailslurp.models.EmailLinksResult
+
 
+
EmailLinksResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
EmailPreview - Class in com.mailslurp.models
+
+
Preview of an email message.
+
+
EmailPreview() - Constructor for class com.mailslurp.models.EmailPreview
+
 
+
EmailPreview.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
EmailPreviewUrls - Class in com.mailslurp.models
+
+
URLs for email body
+
+
EmailPreviewUrls() - Constructor for class com.mailslurp.models.EmailPreviewUrls
+
 
+
EmailPreviewUrls.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
EmailProjection - Class in com.mailslurp.models
+
+
A compact representation of a full email.
+
+
EmailProjection() - Constructor for class com.mailslurp.models.EmailProjection
+
 
+
EmailProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
EmailRecipients - Class in com.mailslurp.models
+
+
The `To`,`CC`,`BCC` recipients stored in object form with email address and name accessible.
+
+
EmailRecipients() - Constructor for class com.mailslurp.models.EmailRecipients
+
 
+
emailRecipients(List<String>) - Method in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
 
+
EmailRecipients.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
emailSyncCount(Long) - Method in class com.mailslurp.models.ConnectorSyncResult
+
 
+
EmailTextLinesResult - Class in com.mailslurp.models
+
+
Parsed text of an email
+
+
EmailTextLinesResult() - Constructor for class com.mailslurp.models.EmailTextLinesResult
+
 
+
EmailTextLinesResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
EmailValidationRequestDto - Class in com.mailslurp.models
+
+
Email validation request
+
+
EmailValidationRequestDto() - Constructor for class com.mailslurp.models.EmailValidationRequestDto
+
 
+
EmailValidationRequestDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
EmailVerificationControllerApi - Class in com.mailslurp.apis
+
 
+
EmailVerificationControllerApi() - Constructor for class com.mailslurp.apis.EmailVerificationControllerApi
+
 
+
EmailVerificationControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.EmailVerificationControllerApi
+
 
+
EmailVerificationResult - Class in com.mailslurp.models
+
+
Email verification result.
+
+
EmailVerificationResult() - Constructor for class com.mailslurp.models.EmailVerificationResult
+
 
+
EmailVerificationResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
EmergencyAddress - Class in com.mailslurp.models
+
+
EmergencyAddress
+
+
EmergencyAddress() - Constructor for class com.mailslurp.models.EmergencyAddress
+
 
+
emergencyAddress(UUID) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
EmergencyAddress.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
EmergencyAddress.PhoneCountryEnum - Enum in com.mailslurp.models
+
+
Gets or Sets phoneCountry
+
+
EmergencyAddress.PhoneCountryEnum.Adapter - Class in com.mailslurp.models
+
 
+
EmergencyAddressDto - Class in com.mailslurp.models
+
+
EmergencyAddressDto
+
+
EmergencyAddressDto() - Constructor for class com.mailslurp.models.EmergencyAddressDto
+
 
+
EmergencyAddressDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
EmergencyAddressDto.PhoneCountryEnum - Enum in com.mailslurp.models
+
+
Gets or Sets phoneCountry
+
+
EmergencyAddressDto.PhoneCountryEnum.Adapter - Class in com.mailslurp.models
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageAlias
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageComplaint
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageConnector
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
empty(Boolean) - Method in class com.mailslurp.models.Sort
+
 
+
emptyInbox(UUID) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Delete all emails in an inbox + Deletes all emails
+
+
emptyInboxAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Delete all emails in an inbox (asynchronously) + Deletes all emails
+
+
emptyInboxCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Build call for emptyInbox
+
+
emptyInboxWithHttpInfo(UUID) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Delete all emails in an inbox + Deletes all emails
+
+
EmptyResponseDto - Class in com.mailslurp.models
+
+
EmptyResponseDto
+
+
EmptyResponseDto() - Constructor for class com.mailslurp.models.EmptyResponseDto
+
 
+
EmptyResponseDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
enumValues - Variable in class com.mailslurp.clients.ServerVariable
+
 
+
equals(Object) - Method in class com.mailslurp.models.AbstractOpenApiSchema
+
 
+
equals(Object) - Method in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
equals(Object) - Method in class com.mailslurp.models.AliasDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.AliasProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
equals(Object) - Method in class com.mailslurp.models.AttachmentMetaData
+
 
+
equals(Object) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.BasicAuthOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.BounceProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.Complaint
+
 
+
equals(Object) - Method in class com.mailslurp.models.ConditionOption
+
 
+
equals(Object) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
equals(Object) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
equals(Object) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
equals(Object) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
equals(Object) - Method in class com.mailslurp.models.ConnectorSyncResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.ContactDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.ContactProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.ContentMatchOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CountDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateAliasOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateDomainOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateGroupOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateTemplateOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.DescribeDomainOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.DNSLookupOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.DNSLookupResults
+
 
+
equals(Object) - Method in class com.mailslurp.models.DomainDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.DomainIssuesDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
equals(Object) - Method in class com.mailslurp.models.DomainPreview
+
 
+
equals(Object) - Method in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.Email
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmailContentMatchResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmailHtmlDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmailLinksResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmailPreview
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmailPreviewUrls
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmailProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmailRecipients
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmailTextLinesResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmergencyAddressDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.EmptyResponseDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
equals(Object) - Method in class com.mailslurp.models.ExpiredInboxDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.ExportLink
+
 
+
equals(Object) - Method in class com.mailslurp.models.ExportOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.FilterBouncedRecipientsResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.GravatarUrl
+
 
+
equals(Object) - Method in class com.mailslurp.models.GroupContactsDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.GroupDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.GroupProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.HTMLValidationResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxByNameResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxExistsDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxForwarderTestOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxIdItem
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxIdsResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxPreview
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxRulesetTestOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.IPAddressResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.JSONSchemaDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.MatchOption
+
 
+
equals(Object) - Method in class com.mailslurp.models.MatchOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.NameServerRecord
+
 
+
equals(Object) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageableObject
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageAlias
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageComplaint
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageConnector
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.PhonePlanDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.RawEmailJson
+
 
+
equals(Object) - Method in class com.mailslurp.models.Recipient
+
 
+
equals(Object) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
equals(Object) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.Sender
+
 
+
equals(Object) - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.SetInboxFavouritedOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.SmsDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.SmsMatchOption
+
 
+
equals(Object) - Method in class com.mailslurp.models.SmsPreview
+
 
+
equals(Object) - Method in class com.mailslurp.models.SmsProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.Sort
+
 
+
equals(Object) - Method in class com.mailslurp.models.TemplateDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.TemplatePreview
+
 
+
equals(Object) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.TemplateVariable
+
 
+
equals(Object) - Method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.TestPhoneNumberOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.UnreadCount
+
 
+
equals(Object) - Method in class com.mailslurp.models.UnseenErrorCountDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.UpdateAliasOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.UpdateDomainOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.UpdateGroupContacts
+
 
+
equals(Object) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
equals(Object) - Method in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
equals(Object) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.ValidateEmailAddressListOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.ValidationDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.ValidationMessage
+
 
+
equals(Object) - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.VerifyWebhookSignatureResults
+
 
+
equals(Object) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
equals(Object) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
equals(Object) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookHeaders
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookRedriveResult
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookTestResponse
+
 
+
equals(Object) - Method in class com.mailslurp.models.WebhookTestResult
+
 
+
error(String) - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
errors(List<ValidationMessage>) - Method in class com.mailslurp.models.HTMLValidationResult
+
 
+
escapeString(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Escape the given string to be used as URL query value.
+
+
eventId(UUID) - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
eventName(AbstractWebhookPayload.EventNameEnum) - Method in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
eventName(CreateWebhookOptions.EventNameEnum) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
eventName(WebhookBouncePayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
eventName(WebhookBounceRecipientPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
eventName(WebhookDeliveryStatusPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
eventName(WebhookDto.EventNameEnum) - Method in class com.mailslurp.models.WebhookDto
+
 
+
eventName(WebhookEmailOpenedPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
eventName(WebhookEmailReadPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
eventName(WebhookNewAttachmentPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
eventName(WebhookNewContactPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
eventName(WebhookNewEmailPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
eventName(WebhookNewSmsPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
eventName(WebhookProjection.EventNameEnum) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
eventType(String) - Method in class com.mailslurp.models.Complaint
+
 
+
exception(ConnectorSyncRequestResultException) - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
exceptionName(String) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
excludePreviouslyExported(Boolean) - Method in class com.mailslurp.models.ExportOptions
+
 
+
execute(Call) - Method in class com.mailslurp.clients.ApiClient
+
+ +
+
execute(Call, Type) - Method in class com.mailslurp.clients.ApiClient
+
+
Execute HTTP call and deserialize the HTTP response body into the given return type.
+
+
executeAsync(Call, ApiCallback<T>) - Method in class com.mailslurp.clients.ApiClient
+
+ +
+
executeAsync(Call, Type, ApiCallback<T>) - Method in class com.mailslurp.clients.ApiClient
+
+
Execute HTTP call asynchronously.
+
+
exists(Boolean) - Method in class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
exists(Boolean) - Method in class com.mailslurp.models.InboxByNameResult
+
 
+
exists(Boolean) - Method in class com.mailslurp.models.InboxExistsDto
+
 
+
ExpirationDefaults - Class in com.mailslurp.models
+
+
Expiration defaults for your account
+
+
ExpirationDefaults() - Constructor for class com.mailslurp.models.ExpirationDefaults
+
 
+
ExpirationDefaults.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
expireBefore(OffsetDateTime) - Method in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
ExpiredControllerApi - Class in com.mailslurp.apis
+
 
+
ExpiredControllerApi() - Constructor for class com.mailslurp.apis.ExpiredControllerApi
+
 
+
ExpiredControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.ExpiredControllerApi
+
 
+
ExpiredInboxDto - Class in com.mailslurp.models
+
+
Expired inbox
+
+
ExpiredInboxDto() - Constructor for class com.mailslurp.models.ExpiredInboxDto
+
 
+
ExpiredInboxDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ExpiredInboxRecordProjection - Class in com.mailslurp.models
+
+
Record of inbox expiration
+
+
ExpiredInboxRecordProjection() - Constructor for class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
ExpiredInboxRecordProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
expiresAt(OffsetDateTime) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
expiresAt(String) - Method in class com.mailslurp.models.InboxDto
+
 
+
expiresAt(String) - Method in class com.mailslurp.models.InboxPreview
+
 
+
expiresAt(OffsetDateTime) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
expiresIn(Long) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
ExportControllerApi - Class in com.mailslurp.apis
+
 
+
ExportControllerApi() - Constructor for class com.mailslurp.apis.ExportControllerApi
+
 
+
ExportControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.ExportControllerApi
+
 
+
exportEntities(String, String, String, String, String, Boolean, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ExportControllerApi
+
+
Export inboxes link callable via browser
+
+
exportEntitiesAsync(String, String, String, String, String, Boolean, OffsetDateTime, OffsetDateTime, ApiCallback<List<byte[]>>) - Method in class com.mailslurp.apis.ExportControllerApi
+
+
Export inboxes link callable via browser (asynchronously)
+
+
exportEntitiesCall(String, String, String, String, String, Boolean, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.ExportControllerApi
+
+
Build call for exportEntities
+
+
exportEntitiesWithHttpInfo(String, String, String, String, String, Boolean, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ExportControllerApi
+
+
Export inboxes link callable via browser
+
+
ExportLink - Class in com.mailslurp.models
+
+
Export download link
+
+
ExportLink() - Constructor for class com.mailslurp.models.ExportLink
+
 
+
ExportLink.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ExportOptions - Class in com.mailslurp.models
+
+
Options for exporting user data
+
+
ExportOptions() - Constructor for class com.mailslurp.models.ExportOptions
+
 
+
ExportOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ExportOptions.OutputFormatEnum - Enum in com.mailslurp.models
+
+
Gets or Sets outputFormat
+
+
ExportOptions.OutputFormatEnum.Adapter - Class in com.mailslurp.models
+
 
+
+ + + +

F

+
+
favourite(Boolean) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
favourite(Boolean) - Method in class com.mailslurp.models.InboxDto
+
 
+
favourite(Boolean) - Method in class com.mailslurp.models.InboxPreview
+
 
+
favourite(Boolean) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
favourite(Boolean) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
field(CreateInboxForwarderOptions.FieldEnum) - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
field(CreateInboxReplierOptions.FieldEnum) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
field(InboxForwarderDto.FieldEnum) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
field(InboxReplierDto.FieldEnum) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
field(MatchOption.FieldEnum) - Method in class com.mailslurp.models.MatchOption
+
 
+
field(SmsMatchOption.FieldEnum) - Method in class com.mailslurp.models.SmsMatchOption
+
 
+
field(UpdateInboxReplierOptions.FieldEnum) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
fileName(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
filename(String) - Method in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
filter(String) - Method in class com.mailslurp.models.ExportOptions
+
 
+
filterBouncedRecipient(FilterBouncedRecipientsOptions) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Filter a list of email recipients and remove those who have bounced + Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints
+
+
filterBouncedRecipientAsync(FilterBouncedRecipientsOptions, ApiCallback<FilterBouncedRecipientsResult>) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Filter a list of email recipients and remove those who have bounced (asynchronously) + Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints
+
+
filterBouncedRecipientCall(FilterBouncedRecipientsOptions, ApiCallback) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Build call for filterBouncedRecipient
+
+
filterBouncedRecipients(Boolean) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
filterBouncedRecipients(Boolean) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
FilterBouncedRecipientsOptions - Class in com.mailslurp.models
+
+
Options for filtering bounced email recipients
+
+
FilterBouncedRecipientsOptions() - Constructor for class com.mailslurp.models.FilterBouncedRecipientsOptions
+
 
+
FilterBouncedRecipientsOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
FilterBouncedRecipientsResult - Class in com.mailslurp.models
+
+
Remaining recipients that were filtered to remove bounced recipients
+
+
FilterBouncedRecipientsResult() - Constructor for class com.mailslurp.models.FilterBouncedRecipientsResult
+
 
+
FilterBouncedRecipientsResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
filterBouncedRecipientWithHttpInfo(FilterBouncedRecipientsOptions) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Filter a list of email recipients and remove those who have bounced + Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints
+
+
filteredRecipients(List<String>) - Method in class com.mailslurp.models.FilterBouncedRecipientsResult
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageAlias
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageComplaint
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageConnector
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
first(Boolean) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
firstName(String) - Method in class com.mailslurp.models.ContactDto
+
 
+
firstName(String) - Method in class com.mailslurp.models.ContactProjection
+
 
+
firstName(String) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
firstName(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
flagOperation(ImapFlagOperationOptions.FlagOperationEnum) - Method in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
flags(List<String>) - Method in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
flushExpired(OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Remove expired inboxes + Remove any expired inboxes for your account (instead of waiting for scheduled removal on server)
+
+
flushExpiredAsync(OffsetDateTime, ApiCallback<FlushExpiredInboxesResult>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Remove expired inboxes (asynchronously) + Remove any expired inboxes for your account (instead of waiting for scheduled removal on server)
+
+
flushExpiredCall(OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for flushExpired
+
+
FlushExpiredInboxesResult - Class in com.mailslurp.models
+
+
Result from calling expire on any inboxes that have applicable expiration dates given current time.
+
+
FlushExpiredInboxesResult() - Constructor for class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
FlushExpiredInboxesResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
flushExpiredWithHttpInfo(OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Remove expired inboxes + Remove any expired inboxes for your account (instead of waiting for scheduled removal on server)
+
+
FormControllerApi - Class in com.mailslurp.apis
+
 
+
FormControllerApi() - Constructor for class com.mailslurp.apis.FormControllerApi
+
 
+
FormControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.FormControllerApi
+
 
+
forwardEmail(UUID, ForwardEmailOptions) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Forward email to recipients + Forward an existing email to new recipients.
+
+
forwardEmailAsync(UUID, ForwardEmailOptions, ApiCallback<SentEmailDto>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Forward email to recipients (asynchronously) + Forward an existing email to new recipients.
+
+
forwardEmailCall(UUID, ForwardEmailOptions, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for forwardEmail
+
+
ForwardEmailOptions - Class in com.mailslurp.models
+
+
Options for forwarding an email
+
+
ForwardEmailOptions() - Constructor for class com.mailslurp.models.ForwardEmailOptions
+
 
+
ForwardEmailOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
forwardEmailWithHttpInfo(UUID, ForwardEmailOptions) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Forward email to recipients + Forward an existing email to new recipients.
+
+
forwarderId(UUID) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
forwardToRecipients(List<String>) - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
forwardToRecipients(List<String>) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
from(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
from(String) - Method in class com.mailslurp.models.Email
+
 
+
from(String) - Method in class com.mailslurp.models.EmailPreview
+
 
+
from(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
from(String) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
from(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
from(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
from(String) - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
from(String) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
from(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
from(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
from(String) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
from(String) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
from(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
from(String) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
fromJson(String) - Static method in class com.mailslurp.models.AbstractWebhookPayload
+
+
Create an instance of AbstractWebhookPayload given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.AliasDto
+
+
Create an instance of AliasDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.AliasProjection
+
+
Create an instance of AliasProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.AttachmentEntity
+
+
Create an instance of AttachmentEntity given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.AttachmentMetaData
+
+
Create an instance of AttachmentMetaData given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.AttachmentProjection
+
+
Create an instance of AttachmentProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.BasicAuthOptions
+
+
Create an instance of BasicAuthOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.BouncedEmailDto
+
+
Create an instance of BouncedEmailDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.BouncedRecipientDto
+
+
Create an instance of BouncedRecipientDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.BounceProjection
+
+
Create an instance of BounceProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.BounceRecipientProjection
+
+
Create an instance of BounceRecipientProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.BulkSendEmailOptions
+
+
Create an instance of BulkSendEmailOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.Complaint
+
+
Create an instance of Complaint given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ConditionOption
+
+
Create an instance of ConditionOption given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ConnectorDto
+
+
Create an instance of ConnectorDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ConnectorProjection
+
+
Create an instance of ConnectorProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ConnectorSyncEventDto
+
+
Create an instance of ConnectorSyncEventDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ConnectorSyncEventProjection
+
+
Create an instance of ConnectorSyncEventProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ConnectorSyncRequestResult
+
+
Create an instance of ConnectorSyncRequestResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
+
Create an instance of ConnectorSyncRequestResultException given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
+
Create an instance of ConnectorSyncRequestResultExceptionCause given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
Create an instance of ConnectorSyncRequestResultExceptionCauseStackTraceInner given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
+
Create an instance of ConnectorSyncRequestResultExceptionCauseSuppressedInner given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ConnectorSyncResult
+
+
Create an instance of ConnectorSyncResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ContactDto
+
+
Create an instance of ContactDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ContactProjection
+
+
Create an instance of ContactProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ContentMatchOptions
+
+
Create an instance of ContentMatchOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CountDto
+
+
Create an instance of CountDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateAliasOptions
+
+
Create an instance of CreateAliasOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateConnectorImapOptions
+
+
Create an instance of CreateConnectorImapOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateConnectorOptions
+
+
Create an instance of CreateConnectorOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateContactOptions
+
+
Create an instance of CreateContactOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateDomainOptions
+
+
Create an instance of CreateDomainOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
+
Create an instance of CreateEmergencyAddressOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateGroupOptions
+
+
Create an instance of CreateGroupOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateInboxDto
+
+
Create an instance of CreateInboxDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateInboxForwarderOptions
+
+
Create an instance of CreateInboxForwarderOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Create an instance of CreateInboxReplierOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateInboxRulesetOptions
+
+
Create an instance of CreateInboxRulesetOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateTemplateOptions
+
+
Create an instance of CreateTemplateOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateTrackingPixelOptions
+
+
Create an instance of CreateTrackingPixelOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.CreateWebhookOptions
+
+
Create an instance of CreateWebhookOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.DeliveryStatusDto
+
+
Create an instance of DeliveryStatusDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.DescribeDomainOptions
+
+
Create an instance of DescribeDomainOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.DescribeMailServerDomainResult
+
+
Create an instance of DescribeMailServerDomainResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.DNSLookupOptions
+
+
Create an instance of DNSLookupOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.DNSLookupResult
+
+
Create an instance of DNSLookupResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.DNSLookupResults
+
+
Create an instance of DNSLookupResults given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.DomainDto
+
+
Create an instance of DomainDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.DomainIssuesDto
+
+
Create an instance of DomainIssuesDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.DomainNameRecord
+
+
Create an instance of DomainNameRecord given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.DomainPreview
+
+
Create an instance of DomainPreview given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.DownloadAttachmentDto
+
+
Create an instance of DownloadAttachmentDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.Email
+
+
Create an instance of Email given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmailAnalysis
+
+
Create an instance of EmailAnalysis given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmailContentMatchResult
+
+
Create an instance of EmailContentMatchResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmailHtmlDto
+
+
Create an instance of EmailHtmlDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmailLinksResult
+
+
Create an instance of EmailLinksResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmailPreview
+
+
Create an instance of EmailPreview given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmailPreviewUrls
+
+
Create an instance of EmailPreviewUrls given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmailProjection
+
+
Create an instance of EmailProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmailRecipients
+
+
Create an instance of EmailRecipients given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmailTextLinesResult
+
+
Create an instance of EmailTextLinesResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmailValidationRequestDto
+
+
Create an instance of EmailValidationRequestDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmailVerificationResult
+
+
Create an instance of EmailVerificationResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmergencyAddress
+
+
Create an instance of EmergencyAddress given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmergencyAddressDto
+
+
Create an instance of EmergencyAddressDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.EmptyResponseDto
+
+
Create an instance of EmptyResponseDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ExpirationDefaults
+
+
Create an instance of ExpirationDefaults given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ExpiredInboxDto
+
+
Create an instance of ExpiredInboxDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
+
Create an instance of ExpiredInboxRecordProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ExportLink
+
+
Create an instance of ExportLink given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ExportOptions
+
+
Create an instance of ExportOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
+
Create an instance of FilterBouncedRecipientsOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.FilterBouncedRecipientsResult
+
+
Create an instance of FilterBouncedRecipientsResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.FlushExpiredInboxesResult
+
+
Create an instance of FlushExpiredInboxesResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ForwardEmailOptions
+
+
Create an instance of ForwardEmailOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.GravatarUrl
+
+
Create an instance of GravatarUrl given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.GroupContactsDto
+
+
Create an instance of GroupContactsDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.GroupDto
+
+
Create an instance of GroupDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.GroupProjection
+
+
Create an instance of GroupProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.HTMLValidationResult
+
+
Create an instance of HTMLValidationResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ImapFlagOperationOptions
+
+
Create an instance of ImapFlagOperationOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
Create an instance of ImapSmtpAccessDetails given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxByEmailAddressResult
+
+
Create an instance of InboxByEmailAddressResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxByNameResult
+
+
Create an instance of InboxByNameResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxDto
+
+
Create an instance of InboxDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxExistsDto
+
+
Create an instance of InboxExistsDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxForwarderDto
+
+
Create an instance of InboxForwarderDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxForwarderEventProjection
+
+
Create an instance of InboxForwarderEventProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxForwarderTestOptions
+
+
Create an instance of InboxForwarderTestOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxForwarderTestResult
+
+
Create an instance of InboxForwarderTestResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxIdItem
+
+
Create an instance of InboxIdItem given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxIdsResult
+
+
Create an instance of InboxIdsResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxPreview
+
+
Create an instance of InboxPreview given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxReplierDto
+
+
Create an instance of InboxReplierDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Create an instance of InboxReplierEventProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxRulesetDto
+
+
Create an instance of InboxRulesetDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxRulesetTestOptions
+
+
Create an instance of InboxRulesetTestOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.InboxRulesetTestResult
+
+
Create an instance of InboxRulesetTestResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.IPAddressResult
+
+
Create an instance of IPAddressResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.JSONSchemaDto
+
+
Create an instance of JSONSchemaDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
+
Create an instance of ListUnsubscribeRecipientProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.MatchOption
+
+
Create an instance of MatchOption given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.MatchOptions
+
+
Create an instance of MatchOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.MissedEmailDto
+
+
Create an instance of MissedEmailDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.MissedEmailProjection
+
+
Create an instance of MissedEmailProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.NameServerRecord
+
+
Create an instance of NameServerRecord given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.OrganizationInboxProjection
+
+
Create an instance of OrganizationInboxProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageableObject
+
+
Create an instance of PageableObject given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageAlias
+
+
Create an instance of PageAlias given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageAttachmentEntity
+
+
Create an instance of PageAttachmentEntity given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageBouncedEmail
+
+
Create an instance of PageBouncedEmail given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageBouncedRecipients
+
+
Create an instance of PageBouncedRecipients given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageComplaint
+
+
Create an instance of PageComplaint given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageConnector
+
+
Create an instance of PageConnector given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Create an instance of PageConnectorSyncEvents given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageContactProjection
+
+
Create an instance of PageContactProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageDeliveryStatus
+
+
Create an instance of PageDeliveryStatus given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageEmailPreview
+
+
Create an instance of PageEmailPreview given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageEmailProjection
+
+
Create an instance of PageEmailProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Create an instance of PageEmailValidationRequest given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Create an instance of PageExpiredInboxRecordProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageGroupProjection
+
+
Create an instance of PageGroupProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Create an instance of PageInboxForwarderDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Create an instance of PageInboxForwarderEvents given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageInboxProjection
+
+
Create an instance of PageInboxProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageInboxReplierDto
+
+
Create an instance of PageInboxReplierDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Create an instance of PageInboxReplierEvents given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Create an instance of PageInboxRulesetDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Create an instance of PageListUnsubscribeRecipients given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Create an instance of PageMissedEmailProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Create an instance of PageOrganizationInboxProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Create an instance of PagePhoneNumberProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageScheduledJobs
+
+
Create an instance of PageScheduledJobs given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageSentEmailProjection
+
+
Create an instance of PageSentEmailProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Create an instance of PageSentEmailWithQueueProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageSmsProjection
+
+
Create an instance of PageSmsProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageTemplateProjection
+
+
Create an instance of PageTemplateProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageThreadProjection
+
+
Create an instance of PageThreadProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Create an instance of PageTrackingPixelProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Create an instance of PageUnknownMissedEmailProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageWebhookProjection
+
+
Create an instance of PageWebhookProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PageWebhookResult
+
+
Create an instance of PageWebhookResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PhoneNumberDto
+
+
Create an instance of PhoneNumberDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PhoneNumberProjection
+
+
Create an instance of PhoneNumberProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.PhonePlanDto
+
+
Create an instance of PhonePlanDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.RawEmailJson
+
+
Create an instance of RawEmailJson given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.Recipient
+
+
Create an instance of Recipient given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
Create an instance of ReplyToAliasEmailOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ReplyToEmailOptions
+
+
Create an instance of ReplyToEmailOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ScheduledJob
+
+
Create an instance of ScheduledJob given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ScheduledJobDto
+
+
Create an instance of ScheduledJobDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.SendEmailOptions
+
+
Create an instance of SendEmailOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.Sender
+
+
Create an instance of Sender given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
+
Create an instance of SendSMTPEnvelopeOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.SendWithQueueResult
+
+
Create an instance of SendWithQueueResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.SentEmailDto
+
+
Create an instance of SentEmailDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.SentEmailProjection
+
+
Create an instance of SentEmailProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.SetInboxFavouritedOptions
+
+
Create an instance of SetInboxFavouritedOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.SimpleSendEmailOptions
+
+
Create an instance of SimpleSendEmailOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.SmsDto
+
+
Create an instance of SmsDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.SmsMatchOption
+
+
Create an instance of SmsMatchOption given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.SmsPreview
+
+
Create an instance of SmsPreview given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.SmsProjection
+
+
Create an instance of SmsProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.Sort
+
+
Create an instance of Sort given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.TemplateDto
+
+
Create an instance of TemplateDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.TemplatePreview
+
+
Create an instance of TemplatePreview given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.TemplateProjection
+
+
Create an instance of TemplateProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.TemplateVariable
+
+
Create an instance of TemplateVariable given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
+
Create an instance of TestNewInboxForwarderOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
+
Create an instance of TestNewInboxRulesetOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.TestPhoneNumberOptions
+
+
Create an instance of TestPhoneNumberOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ThreadProjection
+
+
Create an instance of ThreadProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.TrackingPixelDto
+
+
Create an instance of TrackingPixelDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.TrackingPixelProjection
+
+
Create an instance of TrackingPixelProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UnknownMissedEmailProjection
+
+
Create an instance of UnknownMissedEmailProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UnreadCount
+
+
Create an instance of UnreadCount given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UnseenErrorCountDto
+
+
Create an instance of UnseenErrorCountDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UpdateAliasOptions
+
+
Create an instance of UpdateAliasOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UpdateDomainOptions
+
+
Create an instance of UpdateDomainOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UpdateGroupContacts
+
+
Create an instance of UpdateGroupContacts given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UpdateInboxOptions
+
+
Create an instance of UpdateInboxOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Create an instance of UpdateInboxReplierOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
+
Create an instance of UploadAttachmentBytesRequest given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UploadAttachmentOptions
+
+
Create an instance of UploadAttachmentOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UploadMultipartFormRequest
+
+
Create an instance of UploadMultipartFormRequest given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.UserInfoDto
+
+
Create an instance of UserInfoDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ValidateEmailAddressListOptions
+
+
Create an instance of ValidateEmailAddressListOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ValidateEmailAddressListResult
+
+
Create an instance of ValidateEmailAddressListResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ValidationDto
+
+
Create an instance of ValidationDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.ValidationMessage
+
+
Create an instance of ValidationMessage given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.VerifyEmailAddressOptions
+
+
Create an instance of VerifyEmailAddressOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
+
Create an instance of VerifyWebhookSignatureOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.VerifyWebhookSignatureResults
+
+
Create an instance of VerifyWebhookSignatureResults given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WaitForConditions
+
+
Create an instance of WaitForConditions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WaitForSingleSmsOptions
+
+
Create an instance of WaitForSingleSmsOptions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WaitForSmsConditions
+
+
Create an instance of WaitForSmsConditions given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookBouncePayload
+
+
Create an instance of WebhookBouncePayload given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
+
Create an instance of WebhookBounceRecipientPayload given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Create an instance of WebhookDeliveryStatusPayload given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookDto
+
+
Create an instance of WebhookDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
Create an instance of WebhookEmailOpenedPayload given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookEmailReadPayload
+
+
Create an instance of WebhookEmailReadPayload given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookHeaderNameValue
+
+
Create an instance of WebhookHeaderNameValue given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookHeaders
+
+
Create an instance of WebhookHeaders given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
+
Create an instance of WebhookNewAttachmentPayload given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Create an instance of WebhookNewContactPayload given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
Create an instance of WebhookNewEmailPayload given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
Create an instance of WebhookNewSmsPayload given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookProjection
+
+
Create an instance of WebhookProjection given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookRedriveResult
+
+
Create an instance of WebhookRedriveResult given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookResultDto
+
+
Create an instance of WebhookResultDto given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookTestRequest
+
+
Create an instance of WebhookTestRequest given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookTestResponse
+
+
Create an instance of WebhookTestResponse given an JSON string
+
+
fromJson(String) - Static method in class com.mailslurp.models.WebhookTestResult
+
+
Create an instance of WebhookTestResult given an JSON string
+
+
fromNumber(String) - Method in class com.mailslurp.models.SmsDto
+
 
+
fromNumber(String) - Method in class com.mailslurp.models.SmsPreview
+
 
+
fromNumber(String) - Method in class com.mailslurp.models.SmsProjection
+
 
+
fromNumber(String) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.AbstractWebhookPayload.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ConditionOption.ConditionEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ConditionOption.ValueEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ConnectorDto.ConnectorTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.CreateDomainOptions.DomainTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.CreateInboxDto.InboxTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.CreateInboxReplierOptions.FieldEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.CreateWebhookOptions.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.DNSLookupOptions.RecordTypesEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.DNSLookupResult.RecordTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.DomainDto.DomainTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.DomainNameRecord.LabelEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.DomainNameRecord.RecordTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.DomainPreview.DomainTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.EmergencyAddress.PhoneCountryEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ExportOptions.OutputFormatEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.InboxDto.InboxTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.InboxForwarderDto.FieldEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.InboxForwarderEventProjection.StatusEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.InboxPreview.InboxTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.InboxReplierDto.FieldEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.InboxReplierEventProjection.StatusEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.InboxRulesetDto.ActionEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.InboxRulesetDto.HandlerEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.InboxRulesetDto.ScopeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.MatchOption.FieldEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.MatchOption.ShouldEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.PhonePlanDto.PhoneCountryEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ScheduledJob.StatusEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.ScheduledJobDto.StatusEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.SendEmailOptions.SendStrategyEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.SmsMatchOption.FieldEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.SmsMatchOption.ShouldEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.TemplateVariable.VariableTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.UserInfoDto.AccountStateEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.UserInfoDto.AccountTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WaitForConditions.CountTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WaitForConditions.SortDirectionEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WaitForSmsConditions.CountTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookBouncePayload.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookDto.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookDto.MethodEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookNewContactPayload.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookProjection.EventNameEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookResultDto.HttpMethodEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookResultDto.ResultTypeEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookResultDto.WebhookEventEnum
+
 
+
fromValue(String) - Static method in enum com.mailslurp.models.WebhookTestRequest.MethodEnum
+
 
+
+ + + +

G

+
+
getAccountSid() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get accountSid
+
+
getAccountState() - Method in class com.mailslurp.models.UserInfoDto
+
+
Get accountState
+
+
getAccountType() - Method in class com.mailslurp.models.UserInfoDto
+
+
Get accountType
+
+
getAction() - Method in class com.mailslurp.models.BouncedRecipientDto
+
+
Get action
+
+
getAction() - Method in class com.mailslurp.models.BounceRecipientProjection
+
+
Get action
+
+
getAction() - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
+
Action to be taken when the ruleset matches an email for the given scope.
+
+
getAction() - Method in class com.mailslurp.models.InboxRulesetDto
+
+
Get action
+
+
getActualInstance() - Method in class com.mailslurp.models.AbstractOpenApiSchema
+
+
Get the actual instance
+
+
getActualInstanceRecursively() - Method in class com.mailslurp.models.AbstractOpenApiSchema
+
+
Get the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf schema as well
+
+
getAddress() - Method in class com.mailslurp.models.IPAddressResult
+
+
Get address
+
+
getAddress1() - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
+
Get address1
+
+
getAddress1() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get address1
+
+
getAddress1() - Method in class com.mailslurp.models.EmergencyAddressDto
+
+
Get address1
+
+
getAddTrackingPixel() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Add tracking pixel to email
+
+
getAlias(UUID) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get an email alias + Get an email alias by ID
+
+
getAliasAsync(UUID, ApiCallback<AliasDto>) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get an email alias (asynchronously) + Get an email alias by ID
+
+
getAliasCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Build call for getAlias
+
+
getAliasEmails(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get emails for an alias + Get paginated emails for an alias by ID
+
+
getAliasEmailsAsync(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageEmailProjection>) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get emails for an alias (asynchronously) + Get paginated emails for an alias by ID
+
+
getAliasEmailsCall(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Build call for getAliasEmails
+
+
getAliasEmailsWithHttpInfo(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get emails for an alias + Get paginated emails for an alias by ID
+
+
getAliases(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get all email aliases you have created + Get all email aliases in paginated form
+
+
getAliasesAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageAlias>) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get all email aliases you have created (asynchronously) + Get all email aliases in paginated form
+
+
getAliasesCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Build call for getAliases
+
+
getAliasesWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get all email aliases you have created + Get all email aliases in paginated form
+
+
getAliasId() - Method in class com.mailslurp.models.ThreadProjection
+
+
Alias ID
+
+
getAliasThreads(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get threads created for an alias + Returns threads created for an email alias in paginated form
+
+
getAliasThreadsAsync(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageThreadProjection>) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get threads created for an alias (asynchronously) + Returns threads created for an email alias in paginated form
+
+
getAliasThreadsCall(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Build call for getAliasThreads
+
+
getAliasThreadsWithHttpInfo(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get threads created for an alias + Returns threads created for an email alias in paginated form
+
+
getAliasWithHttpInfo(UUID) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Get an email alias + Get an email alias by ID
+
+
getAllAccountWebhooks(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
List account webhooks Paginated + List account webhooks in paginated form.
+
+
getAllAccountWebhooksAsync(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageWebhookProjection>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
List account webhooks Paginated (asynchronously) + List account webhooks in paginated form.
+
+
getAllAccountWebhooksCall(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getAllAccountWebhooks
+
+
getAllAccountWebhooksWithHttpInfo(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
List account webhooks Paginated + List account webhooks in paginated form.
+
+
getAllConnectorSyncEvents(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get all inbox connector sync events
+
+
getAllConnectorSyncEventsAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageConnectorSyncEvents>) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get all inbox connector sync events (asynchronously)
+
+
getAllConnectorSyncEventsCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Build call for getAllConnectorSyncEvents
+
+
getAllConnectorSyncEventsWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get all inbox connector sync events
+
+
getAllContacts(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get all contacts
+
+
getAllContactsAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageContactProjection>) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get all contacts (asynchronously)
+
+
getAllContactsCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Build call for getAllContacts
+
+
getAllContactsWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get all contacts
+
+
getAllGroups(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get all Contact Groups in paginated format
+
+
getAllGroupsAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageGroupProjection>) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get all Contact Groups in paginated format (asynchronously)
+
+
getAllGroupsCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Build call for getAllGroups
+
+
getAllGroupsWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get all Contact Groups in paginated format
+
+
getAllInboxes(Integer, Integer, String, Boolean, String, String, Boolean, OffsetDateTime, OffsetDateTime, String, UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List All Inboxes Paginated + List inboxes in paginated form.
+
+
getAllInboxesAsync(Integer, Integer, String, Boolean, String, String, Boolean, OffsetDateTime, OffsetDateTime, String, UUID, ApiCallback<PageInboxProjection>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List All Inboxes Paginated (asynchronously) + List inboxes in paginated form.
+
+
getAllInboxesCall(Integer, Integer, String, Boolean, String, String, Boolean, OffsetDateTime, OffsetDateTime, String, UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getAllInboxes
+
+
getAllInboxesWithHttpInfo(Integer, Integer, String, Boolean, String, String, Boolean, OffsetDateTime, OffsetDateTime, String, UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List All Inboxes Paginated + List inboxes in paginated form.
+
+
getAllMissedEmails(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, UUID) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Get all MissedEmails in paginated format
+
+
getAllMissedEmailsAsync(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, UUID, ApiCallback<PageMissedEmailProjection>) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Get all MissedEmails in paginated format (asynchronously)
+
+
getAllMissedEmailsCall(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, UUID, ApiCallback) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Build call for getAllMissedEmails
+
+
getAllMissedEmailsWithHttpInfo(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, UUID) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Get all MissedEmails in paginated format
+
+
getAllowTeamAccess() - Method in class com.mailslurp.models.CreateInboxDto
+
+
DEPRECATED (team access is always true).
+
+
getAllScheduledJobs(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get all scheduled email sending jobs for account + Schedule sending of emails using scheduled jobs.
+
+
getAllScheduledJobsAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageScheduledJobs>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get all scheduled email sending jobs for account (asynchronously) + Schedule sending of emails using scheduled jobs.
+
+
getAllScheduledJobsCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getAllScheduledJobs
+
+
getAllScheduledJobsWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get all scheduled email sending jobs for account + Schedule sending of emails using scheduled jobs.
+
+
getAllSentTrackingPixels(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all sent email tracking pixels in paginated form
+
+
getAllSentTrackingPixelsAsync(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageTrackingPixelProjection>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
(asynchronously) + Get all sent email tracking pixels in paginated form
+
+
getAllSentTrackingPixelsCall(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getAllSentTrackingPixels
+
+
getAllSentTrackingPixelsWithHttpInfo(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all sent email tracking pixels in paginated form
+
+
getAllTemplates(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
List templates + Get all templates in paginated format
+
+
getAllTemplatesAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageTemplateProjection>) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
List templates (asynchronously) + Get all templates in paginated format
+
+
getAllTemplatesCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Build call for getAllTemplates
+
+
getAllTemplatesWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
List templates + Get all templates in paginated format
+
+
getAllTrackingPixels(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Get tracking pixels + List tracking pixels in paginated form
+
+
getAllTrackingPixelsAsync(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageTrackingPixelProjection>) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Get tracking pixels (asynchronously) + List tracking pixels in paginated form
+
+
getAllTrackingPixelsCall(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Build call for getAllTrackingPixels
+
+
getAllTrackingPixelsWithHttpInfo(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Get tracking pixels + List tracking pixels in paginated form
+
+
getAllUnknownMissedEmails(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, UUID) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Get all unknown missed emails in paginated format + Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox.
+
+
getAllUnknownMissedEmailsAsync(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, UUID, ApiCallback<PageUnknownMissedEmailProjection>) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Get all unknown missed emails in paginated format (asynchronously) + Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox.
+
+
getAllUnknownMissedEmailsCall(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, UUID, ApiCallback) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Build call for getAllUnknownMissedEmails
+
+
getAllUnknownMissedEmailsWithHttpInfo(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, UUID) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Get all unknown missed emails in paginated format + Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox.
+
+
getAllWebhookResults(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get results for all webhooks
+
+
getAllWebhookResultsAsync(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean, ApiCallback<PageWebhookResult>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get results for all webhooks (asynchronously)
+
+
getAllWebhookResultsCall(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getAllWebhookResults
+
+
getAllWebhookResultsWithHttpInfo(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get results for all webhooks
+
+
getAllWebhooks(Integer, Integer, String, String, OffsetDateTime, UUID, UUID, OffsetDateTime) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
List Webhooks Paginated + List webhooks in paginated form.
+
+
getAllWebhooksAsync(Integer, Integer, String, String, OffsetDateTime, UUID, UUID, OffsetDateTime, ApiCallback<PageWebhookProjection>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
List Webhooks Paginated (asynchronously) + List webhooks in paginated form.
+
+
getAllWebhooksCall(Integer, Integer, String, String, OffsetDateTime, UUID, UUID, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getAllWebhooks
+
+
getAllWebhooksWithHttpInfo(Integer, Integer, String, String, OffsetDateTime, UUID, UUID, OffsetDateTime) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
List Webhooks Paginated + List webhooks in paginated form.
+
+
getAnalysis() - Method in class com.mailslurp.models.Email
+
+
Get analysis
+
+
getApiClient() - Method in class com.mailslurp.apis.AliasControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.AttachmentControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.BounceControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.ConnectorControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.ContactControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.DomainControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.EmailControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.ExpiredControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.ExportControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.FormControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.GroupControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.InboxControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.MailServerControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.SmsControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.TemplateControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.TrackingControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.UserControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.WaitForControllerApi
+
 
+
getApiClient() - Method in class com.mailslurp.apis.WebhookControllerApi
+
 
+
getApiKey() - Method in class com.mailslurp.clients.auth.ApiKeyAuth
+
 
+
getApiKeyPrefix() - Method in class com.mailslurp.clients.auth.ApiKeyAuth
+
 
+
getAttachment(String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get an attachment entity
+
+
getAttachmentAsync(String, ApiCallback<AttachmentEntity>) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get an attachment entity (asynchronously)
+
+
getAttachmentCall(String, ApiCallback) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Build call for getAttachment
+
+
getAttachmentCount() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get attachmentCount
+
+
getAttachmentId() - Method in class com.mailslurp.models.AttachmentEntity
+
+
Get attachmentId
+
+
getAttachmentId() - Method in class com.mailslurp.models.AttachmentProjection
+
+
Attachment ID
+
+
getAttachmentId() - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
+
ID of attachment.
+
+
getAttachmentInfo(String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get email attachment metadata information + Returns the metadata for an attachment.
+
+
getAttachmentInfoAsync(String, ApiCallback<AttachmentMetaData>) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get email attachment metadata information (asynchronously) + Returns the metadata for an attachment.
+
+
getAttachmentInfoCall(String, ApiCallback) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Build call for getAttachmentInfo
+
+
getAttachmentInfoWithHttpInfo(String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get email attachment metadata information + Returns the metadata for an attachment.
+
+
getAttachmentMetaData(UUID, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email attachment metadata.
+
+
getAttachmentMetaDataAsync(UUID, String, ApiCallback<AttachmentMetaData>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email attachment metadata.
+
+
getAttachmentMetaDataCall(UUID, String, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getAttachmentMetaData
+
+
getAttachmentMetaDatas() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
List of attachment meta data objects if attachments present
+
+
getAttachmentMetaDataWithHttpInfo(UUID, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email attachment metadata.
+
+
getAttachments(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get email attachments + Get all attachments in paginated response.
+
+
getAttachments() - Method in class com.mailslurp.models.Email
+
+
List of IDs of attachments found in the email.
+
+
getAttachments() - Method in class com.mailslurp.models.EmailPreview
+
+
List of IDs of attachments found in the email.
+
+
getAttachments() - Method in class com.mailslurp.models.EmailProjection
+
+
Get attachments
+
+
getAttachments() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
List of uploaded attachments to send with the reply.
+
+
getAttachments() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
List of uploaded attachments to send with the reply.
+
+
getAttachments() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional list of attachment IDs to send with this email.
+
+
getAttachments() - Method in class com.mailslurp.models.SentEmailDto
+
+
Array of IDs of attachments that were sent with this email
+
+
getAttachments() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get attachments
+
+
getAttachmentsAsync(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageAttachmentEntity>) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get email attachments (asynchronously) + Get all attachments in paginated response.
+
+
getAttachmentsCall(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Build call for getAttachments
+
+
getAttachmentsWithHttpInfo(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get email attachments + Get all attachments in paginated response.
+
+
getAttachmentWithHttpInfo(String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Get an attachment entity
+
+
getAuthentication(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Get authentication for the given name.
+
+
getAuthentications() - Method in class com.mailslurp.clients.ApiClient
+
+
Get authentications (key: authentication name, value: authentication).
+
+
getBase64Contents() - Method in class com.mailslurp.models.UploadAttachmentOptions
+
+
Base64 encoded string of file contents.
+
+
getBase64FileContents() - Method in class com.mailslurp.models.DownloadAttachmentDto
+
+
Base64 encoded string of attachment bytes.
+
+
getBasePath() - Method in class com.mailslurp.clients.ApiClient
+
+
Get base path
+
+
getBasicAuth() - Method in class com.mailslurp.models.CreateWebhookOptions
+
+
Get basicAuth
+
+
getBasicAuth() - Method in class com.mailslurp.models.WebhookDto
+
+
Does webhook expect basic authentication? If true it means you created this webhook with a username and password.
+
+
getBcc() - Method in class com.mailslurp.models.Email
+
+
List of `BCC` recipients email addresses that the email was addressed to.
+
+
getBcc() - Method in class com.mailslurp.models.EmailPreview
+
+
List of `BCC` recipients email addresses that the email was addressed to.
+
+
getBcc() - Method in class com.mailslurp.models.EmailProjection
+
+
Get bcc
+
+
getBcc() - Method in class com.mailslurp.models.EmailRecipients
+
+
Get bcc
+
+
getBcc() - Method in class com.mailslurp.models.ForwardEmailOptions
+
+
Optional bcc recipients
+
+
getBcc() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get bcc
+
+
getBcc() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional list of bcc destination email addresses
+
+
getBcc() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get bcc
+
+
getBcc() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get bcc
+
+
getBcc() - Method in class com.mailslurp.models.ThreadProjection
+
+
BCC recipients
+
+
getBcc() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
List of `BCC` recipients email addresses that the email was addressed to.
+
+
getBearerToken() - Method in class com.mailslurp.clients.auth.HttpBearerAuth
+
+
Gets the token, which together with the scheme, will be sent as the value of the Authorization header.
+
+
getBefore() - Method in class com.mailslurp.models.WaitForConditions
+
+
ISO Date Time latest time of email to consider.
+
+
getBefore() - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
+
Get before
+
+
getBefore() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
ISO Date Time latest time of SMS to consider.
+
+
getBody() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Email body for reply
+
+
getBody() - Method in class com.mailslurp.models.Email
+
+
The body of the email message as text parsed from the SMTP message body (does not include attachments).
+
+
getBody() - Method in class com.mailslurp.models.EmailHtmlDto
+
+
Get body
+
+
getBody() - Method in class com.mailslurp.models.EmailLinksResult
+
+
Get body
+
+
getBody() - Method in class com.mailslurp.models.EmailTextLinesResult
+
+
Get body
+
+
getBody() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
Body of the reply email you want to send
+
+
getBody() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
Body of the reply email you want to send
+
+
getBody() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional contents of email.
+
+
getBody() - Method in class com.mailslurp.models.SentEmailDto
+
+
Sent email body
+
+
getBody() - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
+
Body of the email message.
+
+
getBody() - Method in class com.mailslurp.models.SmsDto
+
+
Get body
+
+
getBody() - Method in class com.mailslurp.models.SmsPreview
+
+
Get body
+
+
getBody() - Method in class com.mailslurp.models.SmsProjection
+
+
Get body
+
+
getBody() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Email body for reply
+
+
getBody() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
SMS message body
+
+
getBodyExcerpt() - Method in class com.mailslurp.models.Email
+
+
An excerpt of the body of the email message for quick preview .
+
+
getBodyExcerpt() - Method in class com.mailslurp.models.EmailProjection
+
+
Get bodyExcerpt
+
+
getBodyExcerpt() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get bodyExcerpt
+
+
getBodyMD5Hash() - Method in class com.mailslurp.models.Email
+
+
A hash signature of the email message using MD5.
+
+
getBodyMD5Hash() - Method in class com.mailslurp.models.EmailProjection
+
+
Get bodyMD5Hash
+
+
getBodyMD5Hash() - Method in class com.mailslurp.models.SentEmailDto
+
+
MD5 Hash
+
+
getBodyMD5Hash() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get bodyMD5Hash
+
+
getBouncedEmail(UUID) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get a bounced email.
+
+
getBouncedEmailAsync(UUID, ApiCallback<BouncedEmailDto>) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get a bounced email.
+
+
getBouncedEmailCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Build call for getBouncedEmail
+
+
getBouncedEmails(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of bounced emails.
+
+
getBouncedEmailsAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageBouncedEmail>) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of bounced emails.
+
+
getBouncedEmailsCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Build call for getBouncedEmails
+
+
getBouncedEmailsWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of bounced emails.
+
+
getBouncedEmailWithHttpInfo(UUID) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get a bounced email.
+
+
getBouncedRecipient(UUID) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get a bounced email.
+
+
getBouncedRecipientAsync(UUID, ApiCallback<BouncedRecipientDto>) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get a bounced email.
+
+
getBouncedRecipientCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Build call for getBouncedRecipient
+
+
getBouncedRecipients(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of bounced recipients.
+
+
getBouncedRecipientsAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageBouncedRecipients>) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of bounced recipients.
+
+
getBouncedRecipientsCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Build call for getBouncedRecipients
+
+
getBouncedRecipientsWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of bounced recipients.
+
+
getBouncedRecipientWithHttpInfo(UUID) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get a bounced email.
+
+
getBounceId() - Method in class com.mailslurp.models.WebhookBouncePayload
+
+
ID of the bounce email record.
+
+
getBounceMta() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get bounceMta
+
+
getBounceMta() - Method in class com.mailslurp.models.BounceProjection
+
+
Get bounceMta
+
+
getBounceRecipients() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get bounceRecipients
+
+
getBounceRecipients() - Method in class com.mailslurp.models.WebhookBouncePayload
+
+
Email addresses that resulted in a bounce or email being rejected.
+
+
getBounceSubType() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get bounceSubType
+
+
getBounceType() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get bounceType
+
+
getBounceType() - Method in class com.mailslurp.models.BounceProjection
+
+
Get bounceType
+
+
getBucket() - Method in class com.mailslurp.models.AttachmentEntity
+
+
Get bucket
+
+
getCanPermanentInbox() - Method in class com.mailslurp.models.ExpirationDefaults
+
+
Get canPermanentInbox
+
+
getCanRestore() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get canRestore
+
+
getCatchAllInboxId() - Method in class com.mailslurp.models.DomainDto
+
+
The optional catch all inbox that will receive emails sent to the domain that cannot be matched.
+
+
getCatchAllInboxId() - Method in class com.mailslurp.models.DomainPreview
+
+
Get catchAllInboxId
+
+
getCatchAllInboxId() - Method in class com.mailslurp.models.UpdateDomainOptions
+
+
Get catchAllInboxId
+
+
getCause() - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
+
Get cause
+
+
getCc() - Method in class com.mailslurp.models.Email
+
+
List of `CC` recipients email addresses that the email was addressed to.
+
+
getCc() - Method in class com.mailslurp.models.EmailPreview
+
+
List of `CC` recipients email addresses that the email was addressed to.
+
+
getCc() - Method in class com.mailslurp.models.EmailProjection
+
+
Get cc
+
+
getCc() - Method in class com.mailslurp.models.EmailRecipients
+
+
Get cc
+
+
getCc() - Method in class com.mailslurp.models.ForwardEmailOptions
+
+
Optional cc recipients
+
+
getCc() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get cc
+
+
getCc() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional list of cc destination email addresses
+
+
getCc() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get cc
+
+
getCc() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get cc
+
+
getCc() - Method in class com.mailslurp.models.ThreadProjection
+
+
CC recipients
+
+
getCc() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
List of `CC` recipients email addresses that the email was addressed to.
+
+
getChar() - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
+
Get _char
+
+
getCharset() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Email reply charset
+
+
getCharset() - Method in class com.mailslurp.models.Email
+
+
Detected character set of the email body such as UTF-8
+
+
getCharset() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get charset
+
+
getCharset() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
The charset that your message should be sent with.
+
+
getCharset() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
The charset that your message should be sent with.
+
+
getCharset() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional charset
+
+
getCharset() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get charset
+
+
getCharset() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Email reply charset
+
+
getCity() - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
+
Get city
+
+
getCity() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get city
+
+
getClassLoaderName() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
Get classLoaderName
+
+
getClassName() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
Get className
+
+
getCode() - Method in exception com.mailslurp.clients.ApiException
+
+
Get the HTTP status code.
+
+
getCompany() - Method in class com.mailslurp.models.ContactDto
+
+
Get company
+
+
getCompany() - Method in class com.mailslurp.models.ContactProjection
+
+
Get company
+
+
getCompany() - Method in class com.mailslurp.models.CreateContactOptions
+
+
Get company
+
+
getCompany() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Contact company name
+
+
getComplaintRecipient() - Method in class com.mailslurp.models.Complaint
+
+
Get complaintRecipient
+
+
getComplaints(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of complaints.
+
+
getComplaintsAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageComplaint>) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of complaints.
+
+
getComplaintsCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Build call for getComplaints
+
+
getComplaintsWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of complaints.
+
+
getComplianceAddress() - Method in class com.mailslurp.models.PhoneNumberDto
+
+
Get complianceAddress
+
+
getCondition() - Method in class com.mailslurp.models.ConditionOption
+
+
Condition of an email object that can be used to filter results
+
+
getConditions() - Method in class com.mailslurp.models.MatchOptions
+
+
Zero or more conditions such as `{ condition: 'HAS_ATTACHMENTS', value: 'TRUE' }`.
+
+
getConnector(UUID) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get an inbox connector
+
+
getConnectorAsync(UUID, ApiCallback<ConnectorDto>) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get an inbox connector (asynchronously)
+
+
getConnectorAuthType() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get connectorAuthType
+
+
getConnectorAuthType() - Method in class com.mailslurp.models.CreateConnectorOptions
+
+
Get connectorAuthType
+
+
getConnectorCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Build call for getConnector
+
+
getConnectorId() - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
+
Get connectorId
+
+
getConnectorId() - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
+
Get connectorId
+
+
getConnectors(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get inbox connectors + List inbox connectors that sync external emails to MailSlurp inboxes
+
+
getConnectorsAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageConnector>) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get inbox connectors (asynchronously) + List inbox connectors that sync external emails to MailSlurp inboxes
+
+
getConnectorsCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Build call for getConnectors
+
+
getConnectorsWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get inbox connectors + List inbox connectors that sync external emails to MailSlurp inboxes
+
+
getConnectorSyncEvent(UUID) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get an inbox connector sync event
+
+
getConnectorSyncEventAsync(UUID, ApiCallback<ConnectorSyncEventDto>) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get an inbox connector sync event (asynchronously)
+
+
getConnectorSyncEventCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Build call for getConnectorSyncEvent
+
+
getConnectorSyncEvents(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get an inbox connector sync events
+
+
getConnectorSyncEventsAsync(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageConnectorSyncEvents>) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get an inbox connector sync events (asynchronously)
+
+
getConnectorSyncEventsCall(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Build call for getConnectorSyncEvents
+
+
getConnectorSyncEventsWithHttpInfo(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get an inbox connector sync events
+
+
getConnectorSyncEventWithHttpInfo(UUID) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get an inbox connector sync event
+
+
getConnectorType() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get connectorType
+
+
getConnectorType() - Method in class com.mailslurp.models.ConnectorProjection
+
+
Get connectorType
+
+
getConnectorType() - Method in class com.mailslurp.models.CreateConnectorOptions
+
+
Get connectorType
+
+
getConnectorWithHttpInfo(UUID) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Get an inbox connector
+
+
getConnectTimeout() - Method in class com.mailslurp.clients.ApiClient
+
+
Get connection timeout (in milliseconds).
+
+
getContact(UUID) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get contact
+
+
getContactAsync(UUID, ApiCallback<ContactDto>) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get contact (asynchronously)
+
+
getContactCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Build call for getContact
+
+
getContactId() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Contact ID
+
+
getContactIds() - Method in class com.mailslurp.models.UpdateGroupContacts
+
+
Get contactIds
+
+
getContacts() - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get all contacts
+
+
getContacts() - Method in class com.mailslurp.models.GroupContactsDto
+
+
Get contacts
+
+
getContactsAsync(ApiCallback<List<ContactProjection>>) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get all contacts (asynchronously)
+
+
getContactsCall(ApiCallback) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Build call for getContacts
+
+
getContactsWithHttpInfo() - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get all contacts
+
+
getContactVCard(UUID) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get contact vCard vcf file
+
+
getContactVCardAsync(UUID, ApiCallback<List<byte[]>>) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get contact vCard vcf file (asynchronously)
+
+
getContactVCardCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Build call for getContactVCard
+
+
getContactVCardWithHttpInfo(UUID) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get contact vCard vcf file
+
+
getContactWithHttpInfo(UUID) - Method in class com.mailslurp.apis.ContactControllerApi
+
+
Get contact
+
+
getContent() - Method in class com.mailslurp.models.CreateTemplateOptions
+
+
Template content.
+
+
getContent() - Method in class com.mailslurp.models.PageAlias
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageComplaint
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageConnector
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Collection of items
+
+
getContent() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Collection of items
+
+
getContent() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.RawEmailJson
+
+
Get content
+
+
getContent() - Method in class com.mailslurp.models.TemplateDto
+
+
Content of the template
+
+
getContentLength() - Method in class com.mailslurp.models.AttachmentEntity
+
+
Get contentLength
+
+
getContentLength() - Method in class com.mailslurp.models.AttachmentMetaData
+
+
Size of attachment in bytes
+
+
getContentLength() - Method in class com.mailslurp.models.AttachmentProjection
+
+
Content length of attachment in bytes
+
+
getContentLength() - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
+
Size of attachment in bytes
+
+
getContentType() - Method in class com.mailslurp.models.AttachmentEntity
+
+
Get contentType
+
+
getContentType() - Method in class com.mailslurp.models.AttachmentMetaData
+
+
Content type of attachment such as `image/png`
+
+
getContentType() - Method in class com.mailslurp.models.AttachmentProjection
+
+
Content type of attachment.
+
+
getContentType() - Method in class com.mailslurp.models.DownloadAttachmentDto
+
+
Content type of attachment.
+
+
getContentType() - Method in class com.mailslurp.models.UploadAttachmentOptions
+
+
Optional contentType for file.
+
+
getContentType() - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
+
Content type of attachment such as 'image/png' or 'application/pdf
+
+
getContentTypeHeader() - Method in class com.mailslurp.models.UploadMultipartFormRequest
+
+
Optional content type header of attachment
+
+
getCount() - Method in class com.mailslurp.models.UnreadCount
+
+
Get count
+
+
getCount() - Method in class com.mailslurp.models.UnseenErrorCountDto
+
+
Get count
+
+
getCount() - Method in class com.mailslurp.models.WaitForConditions
+
+
Number of results that should match conditions.
+
+
getCount() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
Number of results that should match conditions.
+
+
getCountType() - Method in class com.mailslurp.models.WaitForConditions
+
+
How result size should be compared with the expected size.
+
+
getCountType() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
How result size should be compared with the expected size.
+
+
getCreatedAt() - Method in class com.mailslurp.models.AliasDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.AliasProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.AttachmentEntity
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.AttachmentProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.BouncedRecipientDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.BounceProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.BounceRecipientProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.Complaint
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.ConnectorProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.ContactDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.ContactProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.DomainDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.DomainPreview
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.Email
+
+
When was the email received by MailSlurp
+
+
getCreatedAt() - Method in class com.mailslurp.models.EmailPreview
+
+
When was the email received by MailSlurp
+
+
getCreatedAt() - Method in class com.mailslurp.models.EmailProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.EmailValidationRequestDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.GroupDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.GroupProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.InboxDto
+
+
When the inbox was created.
+
+
getCreatedAt() - Method in class com.mailslurp.models.InboxForwarderDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.InboxPreview
+
+
When the inbox was created.
+
+
getCreatedAt() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.InboxRulesetDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.MissedEmailProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
When the inbox was created.
+
+
getCreatedAt() - Method in class com.mailslurp.models.PhoneNumberDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.PhoneNumberProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.PhonePlanDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.ScheduledJob
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.ScheduledJobDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.SendWithQueueResult
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.SmsDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.SmsPreview
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.SmsProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.TemplateDto
+
+
Created at time
+
+
getCreatedAt() - Method in class com.mailslurp.models.TemplateProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.ThreadProjection
+
+
Created at DateTime
+
+
getCreatedAt() - Method in class com.mailslurp.models.TrackingPixelDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.TrackingPixelProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.UserInfoDto
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.WebhookDto
+
+
When the webhook was created
+
+
getCreatedAt() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
Date time of event creation
+
+
getCreatedAt() - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
+
Date time of event creation
+
+
getCreatedAt() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Date time of event creation
+
+
getCreatedAt() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
Date time of event creation
+
+
getCreatedAt() - Method in class com.mailslurp.models.WebhookProjection
+
+
Get createdAt
+
+
getCreatedAt() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get createdAt
+
+
getCreatedCatchAllInbox() - Method in class com.mailslurp.models.CreateDomainOptions
+
+
Whether to create a catch all inbox for the domain.
+
+
getCreatedEarliestTime() - Method in class com.mailslurp.models.ExportOptions
+
+
Get createdEarliestTime
+
+
getCreatedOldestTime() - Method in class com.mailslurp.models.ExportOptions
+
+
Get createdOldestTime
+
+
getCreateInboxForwarderOptions() - Method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
+
Get createInboxForwarderOptions
+
+
getCreateInboxRulesetOptions() - Method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
+
Get createInboxRulesetOptions
+
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.AliasControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.AttachmentControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.BounceControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.ConnectorControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.ContactControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.DomainControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.EmailControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.ExpiredControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.ExportControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.FormControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.GroupControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.InboxControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.MailServerControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.SmsControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.TemplateControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.TrackingControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.UserControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.WaitForControllerApi
+
 
+
getCustomBaseUrl() - Method in class com.mailslurp.apis.WebhookControllerApi
+
 
+
getCustomerName() - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
+
Get customerName
+
+
getCustomerName() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get customerName
+
+
getData() - Method in class com.mailslurp.clients.ApiResponse
+
+
Get the data.
+
+
getData() - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
+
Get data
+
+
getDateFormat() - Method in class com.mailslurp.clients.ApiClient
+
+
Getter for the field dateFormat.
+
+
getDefaultApiClient() - Static method in class com.mailslurp.clients.Configuration
+
+
Get the default API client, which would be used when creating API + instances without providing an API client.
+
+
getDefaultExpirationMillis() - Method in class com.mailslurp.models.ExpirationDefaults
+
+
Get defaultExpirationMillis
+
+
getDefaultExpiresAt() - Method in class com.mailslurp.models.ExpirationDefaults
+
+
Get defaultExpiresAt
+
+
getDelay() - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
+
Get delay
+
+
getDelayTimeout() - Method in class com.mailslurp.models.WaitForConditions
+
+
Max time in milliseconds to wait between retries if a `timeout` is specified.
+
+
getDelayTimeout() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
Max time in milliseconds to wait between retries if a `timeout` is specified.
+
+
getDelivered() - Method in class com.mailslurp.models.SendWithQueueResult
+
+
Get delivered
+
+
getDeliveryStatusesByInboxId(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get all email delivery statuses for an inbox
+
+
getDeliveryStatusesByInboxIdAsync(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageDeliveryStatus>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
(asynchronously) + Get all email delivery statuses for an inbox
+
+
getDeliveryStatusesByInboxIdCall(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getDeliveryStatusesByInboxId
+
+
getDeliveryStatusesByInboxIdWithHttpInfo(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get all email delivery statuses for an inbox
+
+
getDescription() - Method in class com.mailslurp.models.CreateDomainOptions
+
+
Optional description of the domain.
+
+
getDescription() - Method in class com.mailslurp.models.CreateGroupOptions
+
+
Get description
+
+
getDescription() - Method in class com.mailslurp.models.CreateInboxDto
+
+
Optional description of the inbox for labelling purposes.
+
+
getDescription() - Method in class com.mailslurp.models.GroupDto
+
+
Get description
+
+
getDescription() - Method in class com.mailslurp.models.GroupProjection
+
+
Get description
+
+
getDescription() - Method in class com.mailslurp.models.InboxDto
+
+
Description of an inbox for labelling and searching purposes
+
+
getDescription() - Method in class com.mailslurp.models.UpdateInboxOptions
+
+
Description of an inbox for labelling and searching purposes
+
+
getDiagnosticCode() - Method in class com.mailslurp.models.BouncedRecipientDto
+
+
Get diagnosticCode
+
+
getDirect() - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
+
Get direct
+
+
getDisplayName() - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
+
Get displayName
+
+
getDisplayName() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get displayName
+
+
getDkimTokens() - Method in class com.mailslurp.models.DomainDto
+
+
Unique token DKIM tokens
+
+
getDkimVerdict() - Method in class com.mailslurp.models.EmailAnalysis
+
+
Verdict of DomainKeys Identified Mail analysis
+
+
getDmarcVerdict() - Method in class com.mailslurp.models.EmailAnalysis
+
+
Verdict of Domain-based Message Authentication Reporting and Conformance analysis
+
+
getDnsLookup(DNSLookupOptions) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Lookup DNS records for a domain
+
+
getDnsLookupAsync(DNSLookupOptions, ApiCallback<DNSLookupResults>) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Lookup DNS records for a domain (asynchronously)
+
+
getDnsLookupCall(DNSLookupOptions, ApiCallback) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Build call for getDnsLookup
+
+
getDnsLookupWithHttpInfo(DNSLookupOptions) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Lookup DNS records for a domain
+
+
getDoesMatch() - Method in class com.mailslurp.models.InboxForwarderTestResult
+
+
Get doesMatch
+
+
getDomain(UUID, Boolean) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get a domain + Returns domain verification status and tokens for a given domain
+
+
getDomain() - Method in class com.mailslurp.models.CreateDomainOptions
+
+
The top level domain you wish to use with MailSlurp.
+
+
getDomain() - Method in class com.mailslurp.models.DescribeDomainOptions
+
+
Get domain
+
+
getDomain() - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
+
Get domain
+
+
getDomain() - Method in class com.mailslurp.models.DomainDto
+
+
Custom domain name
+
+
getDomain() - Method in class com.mailslurp.models.DomainPreview
+
+
Get domain
+
+
getDomainAsync(UUID, Boolean, ApiCallback<DomainDto>) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get a domain (asynchronously) + Returns domain verification status and tokens for a given domain
+
+
getDomainCall(UUID, Boolean, ApiCallback) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Build call for getDomain
+
+
getDomainId() - Method in class com.mailslurp.models.CreateInboxDto
+
+
ID of custom domain to use for email address.
+
+
getDomainId() - Method in class com.mailslurp.models.Email
+
+
ID of the domain that received the email
+
+
getDomainId() - Method in class com.mailslurp.models.EmailPreview
+
+
ID of the domain that received the email
+
+
getDomainId() - Method in class com.mailslurp.models.EmailProjection
+
+
Get domainId
+
+
getDomainId() - Method in class com.mailslurp.models.InboxDto
+
+
ID of custom domain used by the inbox if any
+
+
getDomainId() - Method in class com.mailslurp.models.InboxPreview
+
+
ID of custom domain used by the inbox if any
+
+
getDomainId() - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
+
Get domainId
+
+
getDomainId() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
ID of custom domain used by the inbox if any
+
+
getDomainId() - Method in class com.mailslurp.models.SentEmailDto
+
+
Domain ID
+
+
getDomainId() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
Id of the domain that received an email
+
+
getDomainIssues() - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get domain issues + List domain issues for domains you have created
+
+
getDomainIssuesAsync(ApiCallback<DomainIssuesDto>) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get domain issues (asynchronously) + List domain issues for domains you have created
+
+
getDomainIssuesCall(ApiCallback) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Build call for getDomainIssues
+
+
getDomainIssuesWithHttpInfo() - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get domain issues + List domain issues for domains you have created
+
+
getDomainName() - Method in class com.mailslurp.models.CreateInboxDto
+
+
FQDN domain name for the domain you have verified.
+
+
getDomainName() - Method in class com.mailslurp.models.EmailVerificationResult
+
+
Get domainName
+
+
getDomainNameRecords() - Method in class com.mailslurp.models.DomainDto
+
+
List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider.
+
+
getDomains() - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get domains + List all custom domains you have created
+
+
getDomainsAsync(ApiCallback<List<DomainPreview>>) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get domains (asynchronously) + List all custom domains you have created
+
+
getDomainsCall(ApiCallback) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Build call for getDomains
+
+
getDomainsWithHttpInfo() - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get domains + List all custom domains you have created
+
+
getDomainType() - Method in class com.mailslurp.models.CreateDomainOptions
+
+
Type of domain.
+
+
getDomainType() - Method in class com.mailslurp.models.DomainDto
+
+
Type of domain.
+
+
getDomainType() - Method in class com.mailslurp.models.DomainPreview
+
+
Type of domain.
+
+
getDomainWildcardCatchAllInbox(UUID) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get catch all wild card inbox for domain + Get the catch all inbox for a domain for missed emails
+
+
getDomainWildcardCatchAllInboxAsync(UUID, ApiCallback<InboxDto>) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get catch all wild card inbox for domain (asynchronously) + Get the catch all inbox for a domain for missed emails
+
+
getDomainWildcardCatchAllInboxCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Build call for getDomainWildcardCatchAllInbox
+
+
getDomainWildcardCatchAllInboxWithHttpInfo(UUID) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get catch all wild card inbox for domain + Get the catch all inbox for a domain for missed emails
+
+
getDomainWithHttpInfo(UUID, Boolean) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Get a domain + Returns domain verification status and tokens for a given domain
+
+
getDouble() - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
+
Get _double
+
+
getDownloadLink() - Method in class com.mailslurp.models.ExportLink
+
+
Get downloadLink
+
+
getEmail(UUID, Boolean) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content including headers and body.
+
+
getEmailAddress() - Method in class com.mailslurp.models.AliasDto
+
+
The alias's email address for receiving email
+
+
getEmailAddress() - Method in class com.mailslurp.models.AliasProjection
+
+
Get emailAddress
+
+
getEmailAddress() - Method in class com.mailslurp.models.ContactProjection
+
+
Get emailAddress
+
+
getEmailAddress() - Method in class com.mailslurp.models.CreateAliasOptions
+
+
Email address to be hidden behind alias.
+
+
getEmailAddress() - Method in class com.mailslurp.models.CreateInboxDto
+
+
A custom email address to use with the inbox.
+
+
getEmailAddress() - Method in class com.mailslurp.models.EmailValidationRequestDto
+
+
Get emailAddress
+
+
getEmailAddress() - Method in class com.mailslurp.models.EmailVerificationResult
+
+
Get emailAddress
+
+
getEmailAddress() - Method in class com.mailslurp.models.ExpiredInboxDto
+
+
Get emailAddress
+
+
getEmailAddress() - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
+
Get emailAddress
+
+
getEmailAddress() - Method in class com.mailslurp.models.InboxDto
+
+
The inbox's email address.
+
+
getEmailAddress() - Method in class com.mailslurp.models.InboxIdItem
+
+
Get emailAddress
+
+
getEmailAddress() - Method in class com.mailslurp.models.InboxPreview
+
+
The inbox's email address.
+
+
getEmailAddress() - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
+
Get emailAddress
+
+
getEmailAddress() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
The inbox's email address.
+
+
getEmailAddress() - Method in class com.mailslurp.models.Recipient
+
+
Get emailAddress
+
+
getEmailAddress() - Method in class com.mailslurp.models.Sender
+
+
Get emailAddress
+
+
getEmailAddress() - Method in class com.mailslurp.models.UserInfoDto
+
+
Get emailAddress
+
+
getEmailAddress() - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
+
Get emailAddress
+
+
getEmailAddresses() - Method in class com.mailslurp.models.ContactDto
+
+
Get emailAddresses
+
+
getEmailAddresses() - Method in class com.mailslurp.models.ContactProjection
+
+
Get emailAddresses
+
+
getEmailAddresses() - Method in class com.mailslurp.models.CreateContactOptions
+
+
Set of email addresses belonging to the contact
+
+
getEmailAddresses() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Email addresses for contact
+
+
getEmailAddressList() - Method in class com.mailslurp.models.ValidateEmailAddressListOptions
+
+
Get emailAddressList
+
+
getEmailAsync(UUID, Boolean, ApiCallback<Email>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content including headers and body.
+
+
getEmailAttachments(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get all email attachment metadata.
+
+
getEmailAttachmentsAsync(UUID, ApiCallback<List<AttachmentMetaData>>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get all email attachment metadata.
+
+
getEmailAttachmentsCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getEmailAttachments
+
+
getEmailAttachmentsWithHttpInfo(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get all email attachment metadata.
+
+
getEmailCall(UUID, Boolean, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getEmail
+
+
getEmailContentMatch(UUID, ContentMatchOptions) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content regex pattern match results.
+
+
getEmailContentMatchAsync(UUID, ContentMatchOptions, ApiCallback<EmailContentMatchResult>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content regex pattern match results.
+
+
getEmailContentMatchCall(UUID, ContentMatchOptions, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getEmailContentMatch
+
+
getEmailContentMatchWithHttpInfo(UUID, ContentMatchOptions) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content regex pattern match results.
+
+
getEmailCount() - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email count
+
+
getEmailCountAsync(ApiCallback<CountDto>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email count (asynchronously)
+
+
getEmailCountCall(ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getEmailCount
+
+
getEmailCountWithHttpInfo() - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email count
+
+
getEmailHTML(UUID, Boolean) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content as HTML.
+
+
getEmailHTMLAsync(UUID, Boolean, ApiCallback<String>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content as HTML.
+
+
getEmailHTMLCall(UUID, Boolean, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getEmailHTML
+
+
getEmailHTMLJson(UUID, Boolean) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content as HTML in JSON wrapper.
+
+
getEmailHTMLJsonAsync(UUID, Boolean, ApiCallback<EmailHtmlDto>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content as HTML in JSON wrapper.
+
+
getEmailHTMLJsonCall(UUID, Boolean, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getEmailHTMLJson
+
+
getEmailHTMLJsonWithHttpInfo(UUID, Boolean) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content as HTML in JSON wrapper.
+
+
getEmailHTMLQuery(UUID, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Parse and return text from an email, stripping HTML and decoding encoded characters + Parse an email body and return the content as an array of text.
+
+
getEmailHTMLQueryAsync(UUID, String, ApiCallback<EmailTextLinesResult>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Parse and return text from an email, stripping HTML and decoding encoded characters (asynchronously) + Parse an email body and return the content as an array of text.
+
+
getEmailHTMLQueryCall(UUID, String, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getEmailHTMLQuery
+
+
getEmailHTMLQueryWithHttpInfo(UUID, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Parse and return text from an email, stripping HTML and decoding encoded characters + Parse an email body and return the content as an array of text.
+
+
getEmailHTMLWithHttpInfo(UUID, Boolean) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content as HTML.
+
+
getEmailId() - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
+
Get emailId
+
+
getEmailId() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Get emailId
+
+
getEmailId() - Method in class com.mailslurp.models.ValidationDto
+
+
ID of the email validated
+
+
getEmailId() - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
+
ID of the email that was received.
+
+
getEmailId() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
ID of the email that was received.
+
+
getEmailIsRead() - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
+
Is the email read
+
+
getEmailLinks(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Parse and return list of links found in an email (only works for HTML content) + HTML parsing uses JSoup and UNIX line separators.
+
+
getEmailLinksAsync(UUID, ApiCallback<EmailLinksResult>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Parse and return list of links found in an email (only works for HTML content) (asynchronously) + HTML parsing uses JSoup and UNIX line separators.
+
+
getEmailLinksCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getEmailLinks
+
+
getEmailLinksWithHttpInfo(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Parse and return list of links found in an email (only works for HTML content) + HTML parsing uses JSoup and UNIX line separators.
+
+
getEmailPreviewURLs(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email URLs for viewing in browser or downloading + Get a list of URLs for email content as text/html or raw SMTP message for viewing the message in a browser.
+
+
getEmailPreviewURLsAsync(UUID, ApiCallback<EmailPreviewUrls>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email URLs for viewing in browser or downloading (asynchronously) + Get a list of URLs for email content as text/html or raw SMTP message for viewing the message in a browser.
+
+
getEmailPreviewURLsCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getEmailPreviewURLs
+
+
getEmailPreviewURLsWithHttpInfo(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email URLs for viewing in browser or downloading + Get a list of URLs for email content as text/html or raw SMTP message for viewing the message in a browser.
+
+
getEmailRecipients() - Method in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
+
Get emailRecipients
+
+
getEmails(UUID, Integer, Integer, String, Long, Long, Long, Boolean, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get emails in an Inbox.
+
+
getEmailsAsync(UUID, Integer, Integer, String, Long, Long, Long, Boolean, OffsetDateTime, OffsetDateTime, ApiCallback<List<EmailPreview>>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get emails in an Inbox.
+
+
getEmailsCall(UUID, Integer, Integer, String, Long, Long, Long, Boolean, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getEmails
+
+
getEmailsPaginated(List<UUID>, Integer, Integer, String, Boolean, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get all emails in all inboxes in paginated form.
+
+
getEmailsPaginatedAsync(List<UUID>, Integer, Integer, String, Boolean, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageEmailProjection>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get all emails in all inboxes in paginated form.
+
+
getEmailsPaginatedCall(List<UUID>, Integer, Integer, String, Boolean, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getEmailsPaginated
+
+
getEmailsPaginatedWithHttpInfo(List<UUID>, Integer, Integer, String, Boolean, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get all emails in all inboxes in paginated form.
+
+
getEmailsWithHttpInfo(UUID, Integer, Integer, String, Long, Long, Long, Boolean, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get emails in an Inbox.
+
+
getEmailSyncCount() - Method in class com.mailslurp.models.ConnectorSyncResult
+
+
Get emailSyncCount
+
+
getEmailTextLines(UUID, Boolean, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Parse and return text from an email, stripping HTML and decoding encoded characters + Parse an email body and return the content as an array of strings.
+
+
getEmailTextLinesAsync(UUID, Boolean, String, ApiCallback<EmailTextLinesResult>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Parse and return text from an email, stripping HTML and decoding encoded characters (asynchronously) + Parse an email body and return the content as an array of strings.
+
+
getEmailTextLinesCall(UUID, Boolean, String, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getEmailTextLines
+
+
getEmailTextLinesWithHttpInfo(UUID, Boolean, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Parse and return text from an email, stripping HTML and decoding encoded characters + Parse an email body and return the content as an array of strings.
+
+
getEmailWithHttpInfo(UUID, Boolean) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get email content including headers and body.
+
+
getEmergencyAddress(UUID) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getEmergencyAddress() - Method in class com.mailslurp.models.PhoneNumberDto
+
+
Get emergencyAddress
+
+
getEmergencyAddressAsync(UUID, ApiCallback<EmergencyAddress>) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
(asynchronously)
+
+
getEmergencyAddressCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
Build call for getEmergencyAddress
+
+
getEmergencyAddresses() - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getEmergencyAddressesAsync(ApiCallback<List<EmergencyAddressDto>>) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
(asynchronously)
+
+
getEmergencyAddressesCall(ApiCallback) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
Build call for getEmergencyAddresses
+
+
getEmergencyAddressesWithHttpInfo() - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getEmergencyAddressWithHttpInfo(UUID) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getEmpty() - Method in class com.mailslurp.models.PageAlias
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageComplaint
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageConnector
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get empty
+
+
getEmpty() - Method in class com.mailslurp.models.Sort
+
+
Get empty
+
+
getError() - Method in class com.mailslurp.models.EmailVerificationResult
+
+
Get error
+
+
getErrors() - Method in class com.mailslurp.models.HTMLValidationResult
+
+
Optional errors resulting from HTML validation
+
+
getEventId() - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
+
Get eventId
+
+
getEventName() - Method in class com.mailslurp.models.AbstractWebhookPayload
+
+
Get eventName
+
+
getEventName() - Method in class com.mailslurp.models.CreateWebhookOptions
+
+
Optional webhook event name.
+
+
getEventName() - Method in class com.mailslurp.models.WebhookBouncePayload
+
+
Name of the event type webhook is being triggered for.
+
+
getEventName() - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
+
Name of the event type webhook is being triggered for.
+
+
getEventName() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Name of the event type webhook is being triggered for.
+
+
getEventName() - Method in class com.mailslurp.models.WebhookDto
+
+
Webhook trigger event name
+
+
getEventName() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
Name of the event type webhook is being triggered for.
+
+
getEventName() - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
+
Name of the event type webhook is being triggered for.
+
+
getEventName() - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
+
Name of the event type webhook is being triggered for.
+
+
getEventName() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Name of the event type webhook is being triggered for.
+
+
getEventName() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
Name of the event type webhook is being triggered for.
+
+
getEventName() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
Name of the event type webhook is being triggered for.
+
+
getEventName() - Method in class com.mailslurp.models.WebhookProjection
+
+
Get eventName
+
+
getEventType() - Method in class com.mailslurp.models.Complaint
+
+
Get eventType
+
+
getException() - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
+
Get exception
+
+
getExceptionName() - Method in class com.mailslurp.models.SendWithQueueResult
+
+
Get exceptionName
+
+
getExcludePreviouslyExported() - Method in class com.mailslurp.models.ExportOptions
+
+
Get excludePreviouslyExported
+
+
getExists() - Method in class com.mailslurp.models.InboxByEmailAddressResult
+
+
Get exists
+
+
getExists() - Method in class com.mailslurp.models.InboxByNameResult
+
+
Get exists
+
+
getExists() - Method in class com.mailslurp.models.InboxExistsDto
+
+
Get exists
+
+
getExpirationDefaults() - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Get default expiration settings + Return default times used for inbox expiration
+
+
getExpirationDefaultsAsync(ApiCallback<ExpirationDefaults>) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Get default expiration settings (asynchronously) + Return default times used for inbox expiration
+
+
getExpirationDefaultsCall(ApiCallback) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Build call for getExpirationDefaults
+
+
getExpirationDefaultsWithHttpInfo() - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Get default expiration settings + Return default times used for inbox expiration
+
+
getExpireBefore() - Method in class com.mailslurp.models.FlushExpiredInboxesResult
+
+
DateTime to filter inboxes so that those expiring before this time are expired
+
+
getExpiredInboxByInboxId(UUID) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Get expired inbox record for a previously existing inbox + Use the inboxId to return an ExpiredInboxRecord if an inbox has expired.
+
+
getExpiredInboxByInboxIdAsync(UUID, ApiCallback<ExpiredInboxDto>) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Get expired inbox record for a previously existing inbox (asynchronously) + Use the inboxId to return an ExpiredInboxRecord if an inbox has expired.
+
+
getExpiredInboxByInboxIdCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Build call for getExpiredInboxByInboxId
+
+
getExpiredInboxByInboxIdWithHttpInfo(UUID) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Get expired inbox record for a previously existing inbox + Use the inboxId to return an ExpiredInboxRecord if an inbox has expired.
+
+
getExpiredInboxes(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
List records of expired inboxes + Inboxes created with an expiration date will expire after the given date.
+
+
getExpiredInboxesAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageExpiredInboxRecordProjection>) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
List records of expired inboxes (asynchronously) + Inboxes created with an expiration date will expire after the given date.
+
+
getExpiredInboxesCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Build call for getExpiredInboxes
+
+
getExpiredInboxesWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
List records of expired inboxes + Inboxes created with an expiration date will expire after the given date.
+
+
getExpiredInboxRecord(UUID) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Get an expired inbox record + Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity.
+
+
getExpiredInboxRecordAsync(UUID, ApiCallback<ExpiredInboxDto>) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Get an expired inbox record (asynchronously) + Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity.
+
+
getExpiredInboxRecordCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Build call for getExpiredInboxRecord
+
+
getExpiredInboxRecordWithHttpInfo(UUID) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
+
Get an expired inbox record + Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity.
+
+
getExpiresAt() - Method in class com.mailslurp.models.CreateInboxDto
+
+
Optional inbox expiration date.
+
+
getExpiresAt() - Method in class com.mailslurp.models.InboxDto
+
+
Inbox expiration time.
+
+
getExpiresAt() - Method in class com.mailslurp.models.InboxPreview
+
+
Inbox expiration time.
+
+
getExpiresAt() - Method in class com.mailslurp.models.UpdateInboxOptions
+
+
Inbox expiration time.
+
+
getExpiresIn() - Method in class com.mailslurp.models.CreateInboxDto
+
+
Number of milliseconds that inbox should exist for
+
+
getExportLink(String, ExportOptions, String) - Method in class com.mailslurp.apis.ExportControllerApi
+
+
Get export link
+
+
getExportLinkAsync(String, ExportOptions, String, ApiCallback<ExportLink>) - Method in class com.mailslurp.apis.ExportControllerApi
+
+
Get export link (asynchronously)
+
+
getExportLinkCall(String, ExportOptions, String, ApiCallback) - Method in class com.mailslurp.apis.ExportControllerApi
+
+
Build call for getExportLink
+
+
getExportLinkWithHttpInfo(String, ExportOptions, String) - Method in class com.mailslurp.apis.ExportControllerApi
+
+
Get export link
+
+
getFavourite() - Method in class com.mailslurp.models.CreateInboxDto
+
+
Is the inbox a favorite.
+
+
getFavourite() - Method in class com.mailslurp.models.InboxDto
+
+
Is the inbox a favorite inbox.
+
+
getFavourite() - Method in class com.mailslurp.models.InboxPreview
+
+
Is the inbox a favorite inbox.
+
+
getFavourite() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
Is the inbox a favorite inbox.
+
+
getFavourite() - Method in class com.mailslurp.models.UpdateInboxOptions
+
+
Is the inbox a favorite inbox.
+
+
getField() - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
+
Field to match against to trigger inbox forwarding for inbound email
+
+
getField() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Field to match against to trigger inbox replier for inbound email
+
+
getField() - Method in class com.mailslurp.models.InboxForwarderDto
+
+
Which field to match against
+
+
getField() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get field
+
+
getField() - Method in class com.mailslurp.models.MatchOption
+
+
Fields of an email object that can be used to filter results
+
+
getField() - Method in class com.mailslurp.models.SmsMatchOption
+
+
Fields of an SMS object that can be used to filter results
+
+
getField() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Field to match against to trigger inbox replier for inbound email
+
+
getFile() - Method in class com.mailslurp.models.UploadMultipartFormRequest
+
+
Get _file
+
+
getFileName() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
Get fileName
+
+
getFilename() - Method in class com.mailslurp.models.UploadAttachmentOptions
+
+
Optional filename to save upload with.
+
+
getFilter() - Method in class com.mailslurp.models.ExportOptions
+
+
Get filter
+
+
getFilterBouncedRecipients() - Method in class com.mailslurp.models.ForwardEmailOptions
+
+
Filter recipients to remove any bounced recipients from to, bcc, and cc before sending
+
+
getFilterBouncedRecipients() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Filter recipients to remove any bounced recipients from to, bcc, and cc before sending
+
+
getFilteredRecipients() - Method in class com.mailslurp.models.FilterBouncedRecipientsResult
+
+
Get filteredRecipients
+
+
getFirst() - Method in class com.mailslurp.models.PageAlias
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageComplaint
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageConnector
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get first
+
+
getFirst() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get first
+
+
getFirstName() - Method in class com.mailslurp.models.ContactDto
+
+
Get firstName
+
+
getFirstName() - Method in class com.mailslurp.models.ContactProjection
+
+
Get firstName
+
+
getFirstName() - Method in class com.mailslurp.models.CreateContactOptions
+
+
Get firstName
+
+
getFirstName() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Contact first name
+
+
getFlagOperation() - Method in class com.mailslurp.models.ImapFlagOperationOptions
+
+
Get flagOperation
+
+
getFlags() - Method in class com.mailslurp.models.ImapFlagOperationOptions
+
+
Get flags
+
+
getFloat() - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
+
Get _float
+
+
getForwarderId() - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
+
Get forwarderId
+
+
getForwardToRecipients() - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
+
Email addresses to forward an email to if it matches the field and match criteria of the forwarder
+
+
getForwardToRecipients() - Method in class com.mailslurp.models.InboxForwarderDto
+
+
Who to send forwarded email to
+
+
getFrom() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Send email from address
+
+
getFrom() - Method in class com.mailslurp.models.Email
+
+
Who the email was sent from.
+
+
getFrom() - Method in class com.mailslurp.models.EmailPreview
+
+
Who the email was sent from.
+
+
getFrom() - Method in class com.mailslurp.models.EmailProjection
+
+
Get from
+
+
getFrom() - Method in class com.mailslurp.models.ForwardEmailOptions
+
+
Optional from override
+
+
getFrom() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get from
+
+
getFrom() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get from
+
+
getFrom() - Method in class com.mailslurp.models.MissedEmailProjection
+
+
Get from
+
+
getFrom() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
The from header that should be used.
+
+
getFrom() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional from address.
+
+
getFrom() - Method in class com.mailslurp.models.SentEmailDto
+
+
Sent from address
+
+
getFrom() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get from
+
+
getFrom() - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
+
Get from
+
+
getFrom() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Send email from address
+
+
getFrom() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
Who the email was sent from.
+
+
getFromNumber() - Method in class com.mailslurp.models.SmsDto
+
+
Get fromNumber
+
+
getFromNumber() - Method in class com.mailslurp.models.SmsPreview
+
+
Get fromNumber
+
+
getFromNumber() - Method in class com.mailslurp.models.SmsProjection
+
+
Get fromNumber
+
+
getFromNumber() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
Sender phone number
+
+
getGravatarUrlForEmailAddress(String, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get gravatar url for email address
+
+
getGravatarUrlForEmailAddressAsync(String, String, ApiCallback<GravatarUrl>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
(asynchronously) + Get gravatar url for email address
+
+
getGravatarUrlForEmailAddressCall(String, String, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getGravatarUrlForEmailAddress
+
+
getGravatarUrlForEmailAddressWithHttpInfo(String, String) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get gravatar url for email address
+
+
getGroup(UUID) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get group
+
+
getGroup() - Method in class com.mailslurp.models.GroupContactsDto
+
+
Get group
+
+
getGroupAsync(UUID, ApiCallback<GroupDto>) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get group (asynchronously)
+
+
getGroupCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Build call for getGroup
+
+
getGroupId() - Method in class com.mailslurp.models.ContactDto
+
+
Get groupId
+
+
getGroupId() - Method in class com.mailslurp.models.ContactProjection
+
+
Get groupId
+
+
getGroupId() - Method in class com.mailslurp.models.CreateContactOptions
+
+
Group IDs that contact belongs to
+
+
getGroupId() - Method in class com.mailslurp.models.ScheduledJob
+
+
Get groupId
+
+
getGroupId() - Method in class com.mailslurp.models.ScheduledJobDto
+
+
Get groupId
+
+
getGroupId() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Contact group ID
+
+
getGroups() - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get all groups
+
+
getGroupsAsync(ApiCallback<List<GroupProjection>>) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get all groups (asynchronously)
+
+
getGroupsCall(ApiCallback) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Build call for getGroups
+
+
getGroupsWithHttpInfo() - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get all groups
+
+
getGroupWithContacts(UUID) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get group and contacts belonging to it
+
+
getGroupWithContactsAsync(UUID, ApiCallback<GroupContactsDto>) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get group and contacts belonging to it (asynchronously)
+
+
getGroupWithContactsCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Build call for getGroupWithContacts
+
+
getGroupWithContactsPaginated(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get group and paginated contacts belonging to it
+
+
getGroupWithContactsPaginatedAsync(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageContactProjection>) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
(asynchronously) + Get group and paginated contacts belonging to it
+
+
getGroupWithContactsPaginatedCall(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Build call for getGroupWithContactsPaginated
+
+
getGroupWithContactsPaginatedWithHttpInfo(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get group and paginated contacts belonging to it
+
+
getGroupWithContactsWithHttpInfo(UUID) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get group and contacts belonging to it
+
+
getGroupWithHttpInfo(UUID) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Get group
+
+
getGson() - Static method in class com.mailslurp.clients.JSON
+
+
Get Gson.
+
+
getHandler() - Method in class com.mailslurp.models.InboxRulesetDto
+
+
Get handler
+
+
getHash() - Method in class com.mailslurp.models.GravatarUrl
+
+
Get hash
+
+
getHasIssues() - Method in class com.mailslurp.models.DomainIssuesDto
+
+
Get hasIssues
+
+
getHasMissingRecords() - Method in class com.mailslurp.models.DomainDto
+
+
Whether the domain has missing required records.
+
+
getHasMissingRecords() - Method in class com.mailslurp.models.DomainPreview
+
+
Get hasMissingRecords
+
+
getHeaderId() - Method in class com.mailslurp.models.SendWithQueueResult
+
+
Get headerId
+
+
getHeaders() - Method in class com.mailslurp.clients.ApiResponse
+
+
Get the headers.
+
+
getHeaders() - Method in class com.mailslurp.models.Email
+
+
Deprecated. 
+
+
getHeaders() - Method in class com.mailslurp.models.WebhookHeaders
+
+
List of header name value pairs to include with webhook requests
+
+
getHeaders() - Method in class com.mailslurp.models.WebhookTestRequest
+
+
Get headers
+
+
getHeadersMap() - Method in class com.mailslurp.models.Email
+
+
Multi-value map of SMTP headers attached to email
+
+
getHost() - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
+
Get host
+
+
getHostIndex() - Method in class com.mailslurp.apis.AliasControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.AttachmentControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.BounceControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.ConnectorControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.ContactControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.DomainControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.EmailControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.ExpiredControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.ExportControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.FormControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.GroupControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.InboxControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.MailServerControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.SmsControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.TemplateControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.TrackingControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.UserControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.WaitForControllerApi
+
 
+
getHostIndex() - Method in class com.mailslurp.apis.WebhookControllerApi
+
 
+
getHostname() - Method in class com.mailslurp.models.DNSLookupOptions
+
+
List of record types you wish to query such as MX, DNS, TXT, NS, A etc.
+
+
getHostname() - Method in class com.mailslurp.models.IPAddressResult
+
+
Get hostname
+
+
getHtml() - Method in class com.mailslurp.models.Email
+
+
Get html
+
+
getHtml() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
Get html
+
+
getHtml() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
Get html
+
+
getHtml() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional HTML flag to indicate that contents is HTML.
+
+
getHtml() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get html
+
+
getHtml() - Method in class com.mailslurp.models.TrackingPixelDto
+
+
Get html
+
+
getHtml() - Method in class com.mailslurp.models.ValidationDto
+
+
Get html
+
+
getHttpClient() - Method in class com.mailslurp.clients.ApiClient
+
+
Get HTTP client
+
+
getHttpMethod() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get httpMethod
+
+
getId() - Method in class com.mailslurp.models.AliasDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.AliasProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.AttachmentEntity
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.AttachmentMetaData
+
+
ID of attachment.
+
+
getId() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.BouncedRecipientDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.BounceProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.BounceRecipientProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.Complaint
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ConnectorProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ContactDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ContactProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.DomainDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.DomainPreview
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.Email
+
+
ID of the email entity
+
+
getId() - Method in class com.mailslurp.models.EmailPreview
+
+
ID of the email entity
+
+
getId() - Method in class com.mailslurp.models.EmailProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.EmailValidationRequestDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.EmergencyAddressDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ExpiredInboxDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.GroupDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.GroupProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.InboxDto
+
+
ID of the inbox.
+
+
getId() - Method in class com.mailslurp.models.InboxForwarderDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.InboxIdItem
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.InboxPreview
+
+
ID of the inbox.
+
+
getId() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.InboxRulesetDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.MissedEmailProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
ID of the inbox.
+
+
getId() - Method in class com.mailslurp.models.PhoneNumberDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.PhoneNumberProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.PhonePlanDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ScheduledJob
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ScheduledJobDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.SendWithQueueResult
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.SentEmailDto
+
+
ID of sent email
+
+
getId() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.SmsDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.SmsPreview
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.SmsProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.TemplateDto
+
+
ID of template
+
+
getId() - Method in class com.mailslurp.models.TemplateProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.ThreadProjection
+
+
ID of email thread
+
+
getId() - Method in class com.mailslurp.models.TrackingPixelDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.TrackingPixelProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.UserInfoDto
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
ID of delivery status
+
+
getId() - Method in class com.mailslurp.models.WebhookDto
+
+
ID of the Webhook
+
+
getId() - Method in class com.mailslurp.models.WebhookProjection
+
+
Get id
+
+
getId() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get id
+
+
getIgnoreInsecureSslCertificates() - Method in class com.mailslurp.models.CreateWebhookOptions
+
+
Ignore insecure SSL certificates when sending request.
+
+
getIgnoreInsecureSslCertificates() - Method in class com.mailslurp.models.WebhookDto
+
+
Should notifier ignore insecure SSL certificates
+
+
getIgnoreReplyTo() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Ignore sender replyTo when responding.
+
+
getIgnoreReplyTo() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get ignoreReplyTo
+
+
getIgnoreReplyTo() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Ignore sender replyTo when responding.
+
+
getImapHost() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get imapHost
+
+
getImapPassword() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get imapPassword
+
+
getImapPassword() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
IMAP password for login
+
+
getImapPort() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get imapPort
+
+
getImapServerHost() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
IMAP server host domain
+
+
getImapServerPort() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
IMAP server host port
+
+
getImapSettings() - Method in class com.mailslurp.models.CreateConnectorOptions
+
+
Get imapSettings
+
+
getImapSmtpAccess(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get IMAP and SMTP access usernames and passwords
+
+
getImapSmtpAccessAsync(UUID, ApiCallback<ImapSmtpAccessDetails>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
(asynchronously) + Get IMAP and SMTP access usernames and passwords
+
+
getImapSmtpAccessCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getImapSmtpAccess
+
+
getImapSmtpAccessWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get IMAP and SMTP access usernames and passwords
+
+
getImapSsl() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get imapSsl
+
+
getImapUsername() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get imapUsername
+
+
getImapUsername() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
IMAP username for login
+
+
getInbox(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get Inbox.
+
+
getInboxAsync(UUID, ApiCallback<InboxDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get Inbox.
+
+
getInboxByEmailAddress(String) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Search for an inbox with the provided email address + Get a inbox result by email address
+
+
getInboxByEmailAddressAsync(String, ApiCallback<InboxByEmailAddressResult>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Search for an inbox with the provided email address (asynchronously) + Get a inbox result by email address
+
+
getInboxByEmailAddressCall(String, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getInboxByEmailAddress
+
+
getInboxByEmailAddressWithHttpInfo(String) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Search for an inbox with the provided email address + Get a inbox result by email address
+
+
getInboxByName(String) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Search for an inbox with the given name + Get a inbox result by name
+
+
getInboxByNameAsync(String, ApiCallback<InboxByNameResult>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Search for an inbox with the given name (asynchronously) + Get a inbox result by name
+
+
getInboxByNameCall(String, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getInboxByName
+
+
getInboxByNameWithHttpInfo(String) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Search for an inbox with the given name + Get a inbox result by name
+
+
getInboxCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getInbox
+
+
getInboxCount() - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get total inbox count
+
+
getInboxCountAsync(ApiCallback<CountDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get total inbox count (asynchronously)
+
+
getInboxCountCall(ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getInboxCount
+
+
getInboxCountWithHttpInfo() - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get total inbox count
+
+
getInboxEmailCount(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get email count in inbox
+
+
getInboxEmailCountAsync(UUID, ApiCallback<CountDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get email count in inbox (asynchronously)
+
+
getInboxEmailCountCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getInboxEmailCount
+
+
getInboxEmailCountWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get email count in inbox
+
+
getInboxEmailsPaginated(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get inbox emails paginated + Get a paginated list of emails in an inbox.
+
+
getInboxEmailsPaginatedAsync(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageEmailPreview>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get inbox emails paginated (asynchronously) + Get a paginated list of emails in an inbox.
+
+
getInboxEmailsPaginatedCall(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getInboxEmailsPaginated
+
+
getInboxEmailsPaginatedWithHttpInfo(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get inbox emails paginated + Get a paginated list of emails in an inbox.
+
+
getInboxes(Integer, String, OffsetDateTime, Boolean, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Deprecated. 
+
+
getInboxesAsync(Integer, String, OffsetDateTime, Boolean, OffsetDateTime, ApiCallback<List<InboxDto>>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Deprecated. 
+
+
getInboxesCall(Integer, String, OffsetDateTime, Boolean, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Deprecated. 
+
+
getInboxesWithHttpInfo(Integer, String, OffsetDateTime, Boolean, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Deprecated. 
+
+
getInboxForwarder(UUID) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Get an inbox forwarder + Get inbox ruleset
+
+
getInboxForwarderAsync(UUID, ApiCallback<InboxForwarderDto>) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Get an inbox forwarder (asynchronously) + Get inbox ruleset
+
+
getInboxForwarderCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Build call for getInboxForwarder
+
+
getInboxForwarderEvents(UUID, Integer, Integer, String) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Get an inbox forwarder event list + Get inbox ruleset events
+
+
getInboxForwarderEventsAsync(UUID, Integer, Integer, String, ApiCallback<PageInboxForwarderEvents>) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Get an inbox forwarder event list (asynchronously) + Get inbox ruleset events
+
+
getInboxForwarderEventsCall(UUID, Integer, Integer, String, ApiCallback) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Build call for getInboxForwarderEvents
+
+
getInboxForwarderEventsWithHttpInfo(UUID, Integer, Integer, String) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Get an inbox forwarder event list + Get inbox ruleset events
+
+
getInboxForwarders(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
List inbox forwarders + List all forwarders attached to an inbox
+
+
getInboxForwardersAsync(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageInboxForwarderDto>) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
List inbox forwarders (asynchronously) + List all forwarders attached to an inbox
+
+
getInboxForwardersCall(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Build call for getInboxForwarders
+
+
getInboxForwardersWithHttpInfo(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
List inbox forwarders + List all forwarders attached to an inbox
+
+
getInboxForwarderTestOptions() - Method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
+
Get inboxForwarderTestOptions
+
+
getInboxForwarderWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Get an inbox forwarder + Get inbox ruleset
+
+
getInboxId() - Method in class com.mailslurp.models.AliasDto
+
+
Inbox that is associated with the alias
+
+
getInboxId() - Method in class com.mailslurp.models.AliasProjection
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.ConnectorProjection
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.CreateAliasOptions
+
+
Optional inbox ID to attach to alias.
+
+
getInboxId() - Method in class com.mailslurp.models.CreateConnectorOptions
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Inbox ID to attach replier to
+
+
getInboxId() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.Email
+
+
ID of the inbox that received the email
+
+
getInboxId() - Method in class com.mailslurp.models.EmailProjection
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.ExpiredInboxDto
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.InboxByEmailAddressResult
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.InboxByNameResult
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.InboxForwarderDto
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.InboxRulesetDto
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.ScheduledJob
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.ScheduledJobDto
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.SendWithQueueResult
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.SentEmailDto
+
+
Inbox ID email was sent from
+
+
getInboxId() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.ThreadProjection
+
+
Inbox ID
+
+
getInboxId() - Method in class com.mailslurp.models.TrackingPixelDto
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.TrackingPixelProjection
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Inbox ID to attach replier to
+
+
getInboxId() - Method in class com.mailslurp.models.WaitForConditions
+
+
ID of inbox to search within and apply conditions to.
+
+
getInboxId() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Id of the inbox
+
+
getInboxId() - Method in class com.mailslurp.models.WebhookDto
+
+
The inbox that the Webhook will be triggered by.
+
+
getInboxId() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
Id of the inbox
+
+
getInboxId() - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
+
Id of the inbox
+
+
getInboxId() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
Id of the inbox
+
+
getInboxId() - Method in class com.mailslurp.models.WebhookProjection
+
+
Get inboxId
+
+
getInboxId() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get inboxId
+
+
getInboxIds() - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get all inbox IDs + Get list of inbox IDs
+
+
getInboxIds() - Method in class com.mailslurp.models.BulkSendEmailOptions
+
+
Inboxes to send the email from
+
+
getInboxIds() - Method in class com.mailslurp.models.FlushExpiredInboxesResult
+
+
Inbox IDs affected by expiration
+
+
getInboxIds() - Method in class com.mailslurp.models.InboxIdsResult
+
+
Get inboxIds
+
+
getInboxIds() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get inboxIds
+
+
getInboxIdsAsync(ApiCallback<InboxIdsResult>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get all inbox IDs (asynchronously) + Get list of inbox IDs
+
+
getInboxIdsCall(ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getInboxIds
+
+
getInboxIdsWithHttpInfo() - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get all inbox IDs + Get list of inbox IDs
+
+
getInboxReplier(UUID) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Get an inbox replier + Get inbox ruleset
+
+
getInboxReplierAsync(UUID, ApiCallback<InboxReplierDto>) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Get an inbox replier (asynchronously) + Get inbox ruleset
+
+
getInboxReplierCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Build call for getInboxReplier
+
+
getInboxReplierEvents(UUID, Integer, Integer, String) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Get an inbox replier event list + Get inbox ruleset events
+
+
getInboxReplierEventsAsync(UUID, Integer, Integer, String, ApiCallback<PageInboxReplierEvents>) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Get an inbox replier event list (asynchronously) + Get inbox ruleset events
+
+
getInboxReplierEventsCall(UUID, Integer, Integer, String, ApiCallback) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Build call for getInboxReplierEvents
+
+
getInboxReplierEventsWithHttpInfo(UUID, Integer, Integer, String) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Get an inbox replier event list + Get inbox ruleset events
+
+
getInboxRepliers(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
List inbox repliers + List all repliers attached to an inbox
+
+
getInboxRepliersAsync(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageInboxReplierDto>) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
List inbox repliers (asynchronously) + List all repliers attached to an inbox
+
+
getInboxRepliersCall(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Build call for getInboxRepliers
+
+
getInboxRepliersWithHttpInfo(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
List inbox repliers + List all repliers attached to an inbox
+
+
getInboxReplierWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Get an inbox replier + Get inbox ruleset
+
+
getInboxRuleset(UUID) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Get an inbox ruleset + Get inbox ruleset
+
+
getInboxRulesetAsync(UUID, ApiCallback<InboxRulesetDto>) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Get an inbox ruleset (asynchronously) + Get inbox ruleset
+
+
getInboxRulesetCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Build call for getInboxRuleset
+
+
getInboxRulesets(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
List inbox rulesets + List all rulesets attached to an inbox
+
+
getInboxRulesetsAsync(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageInboxRulesetDto>) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
List inbox rulesets (asynchronously) + List all rulesets attached to an inbox
+
+
getInboxRulesetsCall(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Build call for getInboxRulesets
+
+
getInboxRulesetsWithHttpInfo(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
List inbox rulesets + List all rulesets attached to an inbox
+
+
getInboxRulesetTestOptions() - Method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
+
Get inboxRulesetTestOptions
+
+
getInboxRulesetWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Get an inbox ruleset + Get inbox ruleset
+
+
getInboxSentEmails(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get Inbox Sent Emails + Returns an inbox's sent email receipts.
+
+
getInboxSentEmailsAsync(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageSentEmailProjection>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get Inbox Sent Emails (asynchronously) + Returns an inbox's sent email receipts.
+
+
getInboxSentEmailsCall(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getInboxSentEmails
+
+
getInboxSentEmailsWithHttpInfo(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get Inbox Sent Emails + Returns an inbox's sent email receipts.
+
+
getInboxTags() - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get inbox tags + Get all inbox tags
+
+
getInboxTagsAsync(ApiCallback<List<String>>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get inbox tags (asynchronously) + Get all inbox tags
+
+
getInboxTagsCall(ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getInboxTags
+
+
getInboxTagsWithHttpInfo() - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get inbox tags + Get all inbox tags
+
+
getInboxType() - Method in class com.mailslurp.models.CreateInboxDto
+
+
Type of inbox.
+
+
getInboxType() - Method in class com.mailslurp.models.InboxDto
+
+
Type of inbox.
+
+
getInboxType() - Method in class com.mailslurp.models.InboxPreview
+
+
Type of inbox.
+
+
getInboxType() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
Type of inbox.
+
+
getInboxWebhooksPaginated(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get paginated webhooks for an Inbox
+
+
getInboxWebhooksPaginatedAsync(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageWebhookProjection>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get paginated webhooks for an Inbox (asynchronously)
+
+
getInboxWebhooksPaginatedCall(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getInboxWebhooksPaginated
+
+
getInboxWebhooksPaginatedWithHttpInfo(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get paginated webhooks for an Inbox
+
+
getInboxWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get Inbox.
+
+
getIncludeHeaders() - Method in class com.mailslurp.models.CreateWebhookOptions
+
+
Get includeHeaders
+
+
getInt() - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
+
Get _int
+
+
getInvalidEmailAddresses() - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
+
Get invalidEmailAddresses
+
+
getIpAddress(String) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Get IP address for a domain
+
+
getIpAddressAsync(String, ApiCallback<IPAddressResult>) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Get IP address for a domain (asynchronously)
+
+
getIpAddressCall(String, ApiCallback) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Build call for getIpAddress
+
+
getIpAddressWithHttpInfo(String) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Get IP address for a domain
+
+
getIsHTML() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Send HTML email
+
+
getIsHTML() - Method in class com.mailslurp.models.Email
+
+
Is the email body content type HTML?
+
+
getIsHTML() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get isHTML
+
+
getIsHTML() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
Is the reply HTML
+
+
getIsHTML() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
Is the reply HTML
+
+
getIsHTML() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional HTML flag.
+
+
getIsHTML() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get isHTML
+
+
getIsHTML() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Send HTML email
+
+
getIsoCountryCode() - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
+
Get isoCountryCode
+
+
getIsValid() - Method in class com.mailslurp.models.EmailValidationRequestDto
+
+
Get isValid
+
+
getIsValid() - Method in class com.mailslurp.models.EmailVerificationResult
+
+
Get isValid
+
+
getIsValid() - Method in class com.mailslurp.models.HTMLValidationResult
+
+
Is HTML validation result valid
+
+
getIsValid() - Method in class com.mailslurp.models.VerifyWebhookSignatureResults
+
+
Get isValid
+
+
getIsVerified() - Method in class com.mailslurp.models.AliasDto
+
+
Has the alias been verified.
+
+
getIsVerified() - Method in class com.mailslurp.models.DomainDto
+
+
Whether domain has been verified or not.
+
+
getIsVerified() - Method in class com.mailslurp.models.DomainPreview
+
+
Get isVerified
+
+
getJobId() - Method in class com.mailslurp.models.ScheduledJob
+
+
Get jobId
+
+
getJobId() - Method in class com.mailslurp.models.ScheduledJobDto
+
+
Get jobId
+
+
getJSON() - Method in class com.mailslurp.clients.ApiClient
+
+
Get JSON
+
+
getJsonPropertyAsString(String, Object) - Method in class com.mailslurp.apis.UserControllerApi
+
+
Utility function to extract properties from JSON objects in language where this is cumbersome.
+
+
getJsonPropertyAsStringAsync(String, Object, ApiCallback<String>) - Method in class com.mailslurp.apis.UserControllerApi
+
+
(asynchronously) + Utility function to extract properties from JSON objects in language where this is cumbersome.
+
+
getJsonPropertyAsStringCall(String, Object, ApiCallback) - Method in class com.mailslurp.apis.UserControllerApi
+
+
Build call for getJsonPropertyAsString
+
+
getJsonPropertyAsStringWithHttpInfo(String, Object) - Method in class com.mailslurp.apis.UserControllerApi
+
+
Utility function to extract properties from JSON objects in language where this is cumbersome.
+
+
getJsonSchemaForWebhookEvent(String) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get JSON Schema definition for webhook payload by event
+
+
getJsonSchemaForWebhookEventAsync(String, ApiCallback<JSONSchemaDto>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
(asynchronously) + Get JSON Schema definition for webhook payload by event
+
+
getJsonSchemaForWebhookEventCall(String, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getJsonSchemaForWebhookEvent
+
+
getJsonSchemaForWebhookEventWithHttpInfo(String) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get JSON Schema definition for webhook payload by event
+
+
getJsonSchemaForWebhookPayload(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get JSON Schema definition for webhook payload
+
+
getJsonSchemaForWebhookPayloadAsync(UUID, ApiCallback<JSONSchemaDto>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
(asynchronously) + Get JSON Schema definition for webhook payload
+
+
getJsonSchemaForWebhookPayloadCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getJsonSchemaForWebhookPayload
+
+
getJsonSchemaForWebhookPayloadWithHttpInfo(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get JSON Schema definition for webhook payload
+
+
getKeyManagers() - Method in class com.mailslurp.clients.ApiClient
+
+
Getter for the field keyManagers.
+
+
getLabel() - Method in class com.mailslurp.models.DomainNameRecord
+
+
Domain Name Server Record Label
+
+
getLast() - Method in class com.mailslurp.models.PageAlias
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageComplaint
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageConnector
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get last
+
+
getLast() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get last
+
+
getLastName() - Method in class com.mailslurp.models.ContactDto
+
+
Get lastName
+
+
getLastName() - Method in class com.mailslurp.models.ContactProjection
+
+
Get lastName
+
+
getLastName() - Method in class com.mailslurp.models.CreateContactOptions
+
+
Get lastName
+
+
getLastName() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Contact last name
+
+
getLatestEmail(List<UUID>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get latest email in all inboxes.
+
+
getLatestEmailAsync(List<UUID>, ApiCallback<Email>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get latest email in all inboxes.
+
+
getLatestEmailCall(List<UUID>, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getLatestEmail
+
+
getLatestEmailInInbox(UUID, Long) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get latest email in an inbox.
+
+
getLatestEmailInInbox1(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get latest email in an inbox.
+
+
getLatestEmailInInbox1Async(UUID, ApiCallback<Email>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get latest email in an inbox.
+
+
getLatestEmailInInbox1Call(UUID, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getLatestEmailInInbox1
+
+
getLatestEmailInInbox1WithHttpInfo(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get latest email in an inbox.
+
+
getLatestEmailInInboxAsync(UUID, Long, ApiCallback<Email>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get latest email in an inbox.
+
+
getLatestEmailInInboxCall(UUID, Long, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getLatestEmailInInbox
+
+
getLatestEmailInInboxWithHttpInfo(UUID, Long) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get latest email in an inbox.
+
+
getLatestEmailWithHttpInfo(List<UUID>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get latest email in all inboxes.
+
+
getLimit() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
Limit results
+
+
getLineNumber() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
Get lineNumber
+
+
getLineNumber() - Method in class com.mailslurp.models.ValidationMessage
+
+
Get lineNumber
+
+
getLines() - Method in class com.mailslurp.models.EmailTextLinesResult
+
+
Get lines
+
+
getLinks() - Method in class com.mailslurp.models.EmailLinksResult
+
+
Get links
+
+
getListSeparatorToken() - Method in class com.mailslurp.models.ExportOptions
+
+
Get listSeparatorToken
+
+
getListUnsubscribeRecipients(Integer, Integer, String, UUID) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of unsubscribed recipients.
+
+
getListUnsubscribeRecipientsAsync(Integer, Integer, String, UUID, ApiCallback<PageListUnsubscribeRecipients>) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of unsubscribed recipients.
+
+
getListUnsubscribeRecipientsCall(Integer, Integer, String, UUID, ApiCallback) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Build call for getListUnsubscribeRecipients
+
+
getListUnsubscribeRecipientsWithHttpInfo(Integer, Integer, String, UUID) - Method in class com.mailslurp.apis.BounceControllerApi
+
+
Get paginated list of unsubscribed recipients.
+
+
getLocalizedMessage() - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
+
Get localizedMessage
+
+
getLocalizedMessage() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
+
Get localizedMessage
+
+
getLocalizedMessage() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
+
Get localizedMessage
+
+
getLocation() - Method in class com.mailslurp.clients.auth.ApiKeyAuth
+
 
+
getLogLines() - Method in class com.mailslurp.models.ConnectorSyncResult
+
+
Get logLines
+
+
getLong() - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
+
Get _long
+
+
getMailFrom() - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
+
Get mailFrom
+
+
getMailMessageId() - Method in class com.mailslurp.models.Complaint
+
+
Get mailMessageId
+
+
getMailServerDomain() - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
+
Get mailServerDomain
+
+
getMailSource() - Method in class com.mailslurp.models.Complaint
+
+
Get mailSource
+
+
getMaskedEmailAddress() - Method in class com.mailslurp.models.AliasDto
+
+
The underlying email address that is hidden and will received forwarded email
+
+
getMatch() - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
+
String or wildcard style match for field specified when evaluating forwarding rules
+
+
getMatch() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
String or wildcard style match for field specified when evaluating reply rules.
+
+
getMatch() - Method in class com.mailslurp.models.InboxForwarderDto
+
+
Wild-card type pattern to apply to field
+
+
getMatch() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get match
+
+
getMatch() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
String or wildcard style match for field specified when evaluating reply rules
+
+
getMatches() - Method in class com.mailslurp.models.EmailContentMatchResult
+
+
Get matches
+
+
getMatches() - Method in class com.mailslurp.models.InboxForwarderTestResult
+
+
Get matches
+
+
getMatches() - Method in class com.mailslurp.models.InboxRulesetTestResult
+
+
Get matches
+
+
getMatches() - Method in class com.mailslurp.models.MatchOptions
+
+
Zero or more match options such as `{ field: 'SUBJECT', should: 'CONTAIN', value: 'Welcome' }`.
+
+
getMatches() - Method in class com.mailslurp.models.WaitForConditions
+
+
Conditions that should be matched for an email to qualify for results.
+
+
getMatches() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
Conditions that should be matched for an SMS to qualify for results.
+
+
getMaxExpirationMillis() - Method in class com.mailslurp.models.ExpirationDefaults
+
+
Get maxExpirationMillis
+
+
getMessage() - Method in exception com.mailslurp.clients.ApiException
+
+
Get the exception message including HTTP response data.
+
+
getMessage() - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.EmptyResponseDto
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.SendWithQueueResult
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.TestPhoneNumberOptions
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.ValidationMessage
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.WebhookRedriveResult
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.WebhookTestResponse
+
+
Get message
+
+
getMessage() - Method in class com.mailslurp.models.WebhookTestResult
+
+
Get message
+
+
getMessageId() - Method in class com.mailslurp.models.AbstractWebhookPayload
+
+
Get messageId
+
+
getMessageId() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get messageId
+
+
getMessageId() - Method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
+
Get messageId
+
+
getMessageId() - Method in class com.mailslurp.models.WebhookBouncePayload
+
+
Idempotent message ID.
+
+
getMessageId() - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
+
Idempotent message ID.
+
+
getMessageId() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Idempotent message ID.
+
+
getMessageId() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
Idempotent message ID.
+
+
getMessageId() - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
+
Idempotent message ID.
+
+
getMessageId() - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
+
Idempotent message ID.
+
+
getMessageId() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Idempotent message ID.
+
+
getMessageId() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
Idempotent message ID.
+
+
getMessageId() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
Idempotent message ID.
+
+
getMessageId() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get messageId
+
+
getMessageIds() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get messageIds
+
+
getMetaData() - Method in class com.mailslurp.models.ContactDto
+
+
Get metaData
+
+
getMetaData() - Method in class com.mailslurp.models.CreateContactOptions
+
+
Get metaData
+
+
getMetaData() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Get metaData
+
+
getMethod() - Method in class com.mailslurp.models.WebhookDto
+
+
HTTP method that your server endpoint must listen for
+
+
getMethod() - Method in class com.mailslurp.models.WebhookTestRequest
+
+
Get method
+
+
getMethodName() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
Get methodName
+
+
getMissedEmail(UUID) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Get MissedEmail + List emails that were missed due to plan limits.
+
+
getMissedEmailAsync(UUID, ApiCallback<MissedEmailDto>) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Get MissedEmail (asynchronously) + List emails that were missed due to plan limits.
+
+
getMissedEmailCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Build call for getMissedEmail
+
+
getMissedEmailWithHttpInfo(UUID) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Get MissedEmail + List emails that were missed due to plan limits.
+
+
getMissingRecordsMessage() - Method in class com.mailslurp.models.DomainDto
+
+
If the domain is missing records then show which pairs are missing.
+
+
getModuleName() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
Get moduleName
+
+
getModuleVersion() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
Get moduleVersion
+
+
getMxRecords() - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
+
Get mxRecords
+
+
getName() - Method in class com.mailslurp.clients.Pair
+
 
+
getName() - Method in class com.mailslurp.models.AliasDto
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.AliasProjection
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.AttachmentEntity
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.AttachmentMetaData
+
+
Name of attachment if given
+
+
getName() - Method in class com.mailslurp.models.AttachmentProjection
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.CreateAliasOptions
+
+
Optional name for alias
+
+
getName() - Method in class com.mailslurp.models.CreateGroupOptions
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.CreateInboxDto
+
+
Optional name of the inbox.
+
+
getName() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Name for replier
+
+
getName() - Method in class com.mailslurp.models.CreateTemplateOptions
+
+
Name of template
+
+
getName() - Method in class com.mailslurp.models.CreateTrackingPixelOptions
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.CreateWebhookOptions
+
+
Optional name for the webhook
+
+
getName() - Method in class com.mailslurp.models.DNSLookupResult
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.DomainNameRecord
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.GroupDto
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.GroupProjection
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.InboxDto
+
+
Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
+
+
getName() - Method in class com.mailslurp.models.InboxForwarderDto
+
+
Name of inbox forwarder
+
+
getName() - Method in class com.mailslurp.models.InboxPreview
+
+
Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
+
+
getName() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
+
+
getName() - Method in class com.mailslurp.models.Recipient
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.Sender
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.TemplateDto
+
+
Template name
+
+
getName() - Method in class com.mailslurp.models.TemplateProjection
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.TemplateVariable
+
+
Name of variable.
+
+
getName() - Method in class com.mailslurp.models.ThreadProjection
+
+
Name of thread
+
+
getName() - Method in class com.mailslurp.models.TrackingPixelProjection
+
+
Get name
+
+
getName() - Method in class com.mailslurp.models.UpdateAliasOptions
+
+
Optional name for alias
+
+
getName() - Method in class com.mailslurp.models.UpdateInboxOptions
+
+
Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
+
+
getName() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Name for replier
+
+
getName() - Method in class com.mailslurp.models.WebhookDto
+
+
Name of the webhook
+
+
getName() - Method in class com.mailslurp.models.WebhookHeaderNameValue
+
+
Name of header
+
+
getName() - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
+
Filename of the attachment if present
+
+
getName() - Method in class com.mailslurp.models.WebhookProjection
+
+
Get name
+
+
getNativeMethod() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
Get nativeMethod
+
+
getNextInboxAllowsPermanent() - Method in class com.mailslurp.models.ExpirationDefaults
+
+
Get nextInboxAllowsPermanent
+
+
getNotificationType() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get notificationType
+
+
getNumber() - Method in class com.mailslurp.models.PageAlias
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageComplaint
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageConnector
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Page number starting at 0
+
+
getNumber() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Page number starting at 0
+
+
getNumber() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get number
+
+
getNumber() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get number
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageAlias
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageComplaint
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageConnector
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Number of items returned
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Number of items returned
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get numberOfElements
+
+
getNumberOfElements() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get numberOfElements
+
+
getOffset() - Method in class com.mailslurp.models.PageableObject
+
+
Get offset
+
+
getOmitFinalDNSDot() - Method in class com.mailslurp.models.DNSLookupOptions
+
+
Optionally control whether to omit the final dot in full DNS name values.
+
+
getOptOut() - Method in class com.mailslurp.models.ContactDto
+
+
Get optOut
+
+
getOptOut() - Method in class com.mailslurp.models.ContactProjection
+
+
Get optOut
+
+
getOptOut() - Method in class com.mailslurp.models.CreateContactOptions
+
+
Has the user explicitly or implicitly opted out of being contacted? If so MailSlurp will ignore them in all actions.
+
+
getOptOut() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Has contact opted out of emails
+
+
getOrganizationEmailsPaginated(List<UUID>, Integer, Integer, String, Boolean, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get all organization emails.
+
+
getOrganizationEmailsPaginatedAsync(List<UUID>, Integer, Integer, String, Boolean, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageEmailProjection>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get all organization emails.
+
+
getOrganizationEmailsPaginatedCall(List<UUID>, Integer, Integer, String, Boolean, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getOrganizationEmailsPaginated
+
+
getOrganizationEmailsPaginatedWithHttpInfo(List<UUID>, Integer, Integer, String, Boolean, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get all organization emails.
+
+
getOrganizationInboxes(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List Organization Inboxes Paginated + List organization inboxes in paginated form.
+
+
getOrganizationInboxesAsync(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageOrganizationInboxProjection>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List Organization Inboxes Paginated (asynchronously) + List organization inboxes in paginated form.
+
+
getOrganizationInboxesCall(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getOrganizationInboxes
+
+
getOrganizationInboxesWithHttpInfo(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List Organization Inboxes Paginated + List organization inboxes in paginated form.
+
+
getOutputFormat() - Method in class com.mailslurp.models.ExportOptions
+
+
Get outputFormat
+
+
getPageable() - Method in class com.mailslurp.models.PageAlias
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageComplaint
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageConnector
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get pageable
+
+
getPageable() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get pageable
+
+
getPaged() - Method in class com.mailslurp.models.PageableObject
+
+
Get paged
+
+
getPageNumber() - Method in class com.mailslurp.models.PageableObject
+
+
Get pageNumber
+
+
getPageSize() - Method in class com.mailslurp.models.PageableObject
+
+
Get pageSize
+
+
getParamName() - Method in class com.mailslurp.clients.auth.ApiKeyAuth
+
 
+
getPassword() - Method in class com.mailslurp.clients.auth.HttpBasicAuth
+
 
+
getPassword() - Method in class com.mailslurp.models.BasicAuthOptions
+
+
Get password
+
+
getPassword() - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
+
Get password
+
+
getPattern() - Method in class com.mailslurp.models.ContentMatchOptions
+
+
Java style regex pattern.
+
+
getPattern() - Method in class com.mailslurp.models.EmailContentMatchResult
+
+
Get pattern
+
+
getPayload() - Method in class com.mailslurp.models.WebhookTestRequest
+
+
Get payload
+
+
getPayloadJsonSchema() - Method in class com.mailslurp.models.WebhookDto
+
+
Deprecated.
+
+
getPhoneCountry() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get phoneCountry
+
+
getPhoneCountry() - Method in class com.mailslurp.models.EmergencyAddressDto
+
+
Get phoneCountry
+
+
getPhoneCountry() - Method in class com.mailslurp.models.PhoneNumberDto
+
+
Get phoneCountry
+
+
getPhoneCountry() - Method in class com.mailslurp.models.PhoneNumberProjection
+
+
Get phoneCountry
+
+
getPhoneCountry() - Method in class com.mailslurp.models.PhonePlanDto
+
+
Get phoneCountry
+
+
getPhoneId() - Method in class com.mailslurp.models.WebhookDto
+
+
The phoneNumberId that the Webhook will be triggered by.
+
+
getPhoneNumber(UUID) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getPhoneNumber() - Method in class com.mailslurp.models.PhoneNumberDto
+
+
Get phoneNumber
+
+
getPhoneNumber() - Method in class com.mailslurp.models.PhoneNumberProjection
+
+
Get phoneNumber
+
+
getPhoneNumber() - Method in class com.mailslurp.models.SmsDto
+
+
Get phoneNumber
+
+
getPhoneNumber() - Method in class com.mailslurp.models.SmsPreview
+
+
Get phoneNumber
+
+
getPhoneNumber() - Method in class com.mailslurp.models.SmsProjection
+
+
Get phoneNumber
+
+
getPhoneNumber() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
ID of phone number receiving SMS
+
+
getPhoneNumberAsync(UUID, ApiCallback<PhoneNumberDto>) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
(asynchronously)
+
+
getPhoneNumberCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
Build call for getPhoneNumber
+
+
getPhoneNumberId() - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
+
Get phoneNumberId
+
+
getPhoneNumberId() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
ID of phone number to search within and apply conditions to.
+
+
getPhoneNumberId() - Method in class com.mailslurp.models.WebhookProjection
+
+
Get phoneNumberId
+
+
getPhoneNumbers(String, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getPhoneNumbersAsync(String, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PagePhoneNumberProjection>) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
(asynchronously)
+
+
getPhoneNumbersCall(String, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
Build call for getPhoneNumbers
+
+
getPhoneNumbersWithHttpInfo(String, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getPhoneNumberWebhooksPaginated(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get paginated webhooks for a phone number
+
+
getPhoneNumberWebhooksPaginatedAsync(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageWebhookProjection>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get paginated webhooks for a phone number (asynchronously)
+
+
getPhoneNumberWebhooksPaginatedCall(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getPhoneNumberWebhooksPaginated
+
+
getPhoneNumberWebhooksPaginatedWithHttpInfo(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get paginated webhooks for a phone number
+
+
getPhoneNumberWithHttpInfo(UUID) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getPhonePlan() - Method in class com.mailslurp.models.PhoneNumberDto
+
+
Get phonePlan
+
+
getPhonePlans() - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getPhonePlansAsync(ApiCallback<List<PhonePlanDto>>) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
(asynchronously)
+
+
getPhonePlansCall(ApiCallback) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
Build call for getPhonePlans
+
+
getPhonePlansWithHttpInfo() - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
getPixelId() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
ID of the tracking pixel
+
+
getPixelIds() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get pixelIds
+
+
getPlainHtmlBodyUrl() - Method in class com.mailslurp.models.EmailPreviewUrls
+
+
Get plainHtmlBodyUrl
+
+
getPort() - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
+
Get port
+
+
getPort() - Method in class com.mailslurp.models.EmailVerificationResult
+
+
Get port
+
+
getPort() - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
+
Get port
+
+
getPostalCode() - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
+
Get postalCode
+
+
getPostalCode() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get postalCode
+
+
getPreview() - Method in class com.mailslurp.models.TemplatePreview
+
+
Get preview
+
+
getPrimaryEmailAddress() - Method in class com.mailslurp.models.ContactDto
+
+
Get primaryEmailAddress
+
+
getPrimaryEmailAddress() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Primary email address for contact
+
+
getPriority() - Method in class com.mailslurp.models.NameServerRecord
+
+
Get priority
+
+
getProcessingTimeMillis() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get processingTimeMillis
+
+
getProcessingTimeMillis() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Time in milliseconds for delivery processing
+
+
getRaw() - Method in class com.mailslurp.models.NameServerRecord
+
+
Get raw
+
+
getRawBucket() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get rawBucket
+
+
getRawEmailContents(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get raw email string.
+
+
getRawEmailContentsAsync(UUID, ApiCallback<String>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get raw email string.
+
+
getRawEmailContentsCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getRawEmailContents
+
+
getRawEmailContentsWithHttpInfo(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get raw email string.
+
+
getRawEmailJson(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get raw email in JSON.
+
+
getRawEmailJsonAsync(UUID, ApiCallback<RawEmailJson>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get raw email in JSON.
+
+
getRawEmailJsonCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getRawEmailJson
+
+
getRawEmailJsonWithHttpInfo(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get raw email in JSON.
+
+
getRawKey() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get rawKey
+
+
getRawSentEmailContents(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get raw sent email string.
+
+
getRawSentEmailContentsAsync(UUID, ApiCallback<String>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get raw sent email string.
+
+
getRawSentEmailContentsCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getRawSentEmailContents
+
+
getRawSentEmailContentsWithHttpInfo(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get raw sent email string.
+
+
getRawSentEmailJson(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get raw sent email in JSON.
+
+
getRawSentEmailJsonAsync(UUID, ApiCallback<RawEmailJson>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get raw sent email in JSON.
+
+
getRawSentEmailJsonCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getRawSentEmailJson
+
+
getRawSentEmailJsonWithHttpInfo(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get raw sent email in JSON.
+
+
getRawSmtpMessageUrl() - Method in class com.mailslurp.models.EmailPreviewUrls
+
+
Get rawSmtpMessageUrl
+
+
getRawUrl() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get rawUrl
+
+
getRawValue() - Method in class com.mailslurp.models.Recipient
+
+
Get rawValue
+
+
getRawValue() - Method in class com.mailslurp.models.Sender
+
+
Get rawValue
+
+
getRcptTo() - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
+
Get rcptTo
+
+
getRead() - Method in class com.mailslurp.models.Email
+
+
Read flag.
+
+
getRead() - Method in class com.mailslurp.models.EmailPreview
+
+
Read flag.
+
+
getRead() - Method in class com.mailslurp.models.EmailProjection
+
+
Get read
+
+
getRead() - Method in class com.mailslurp.models.SmsDto
+
+
Get read
+
+
getRead() - Method in class com.mailslurp.models.SmsProjection
+
+
Get read
+
+
getRead() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
SMS has been read
+
+
getReadOnly() - Method in class com.mailslurp.models.InboxDto
+
+
Is the inbox readOnly for the caller.
+
+
getReadOnly() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
Is the inbox readOnly for the caller.
+
+
getReadOnly() - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
+
Get readOnly
+
+
getReadTimeout() - Method in class com.mailslurp.clients.ApiClient
+
+
Get read timeout (in milliseconds).
+
+
getReceived() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get received
+
+
getReceived() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Time event was received
+
+
getRecipient() - Method in class com.mailslurp.models.BouncedRecipientDto
+
+
Get recipient
+
+
getRecipient() - Method in class com.mailslurp.models.BounceRecipientProjection
+
+
Get recipient
+
+
getRecipient() - Method in class com.mailslurp.models.CreateTrackingPixelOptions
+
+
Get recipient
+
+
getRecipient() - Method in class com.mailslurp.models.TrackingPixelDto
+
+
Get recipient
+
+
getRecipient() - Method in class com.mailslurp.models.TrackingPixelProjection
+
+
Get recipient
+
+
getRecipient() - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
+
Email address that caused a bounce.
+
+
getRecipient() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
Email address for the recipient of the tracking pixel
+
+
getRecipients() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get recipients
+
+
getRecipients() - Method in class com.mailslurp.models.Email
+
+
Get recipients
+
+
getRecipients() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Get recipients
+
+
getRecipients() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Recipients for delivery
+
+
getRecordEntries() - Method in class com.mailslurp.models.DNSLookupResult
+
+
Get recordEntries
+
+
getRecordEntries() - Method in class com.mailslurp.models.DomainNameRecord
+
+
Get recordEntries
+
+
getRecordType() - Method in class com.mailslurp.models.DNSLookupResult
+
+
Domain Name Server Record Types
+
+
getRecordType() - Method in class com.mailslurp.models.DomainNameRecord
+
+
Domain Name Server Record Types
+
+
getRecordType() - Method in class com.mailslurp.models.NameServerRecord
+
+
Get recordType
+
+
getRecordTypes() - Method in class com.mailslurp.models.DNSLookupOptions
+
+
List of record types you wish to query such as MX, DNS, TXT, NS, A etc.
+
+
getRedriveId() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get redriveId
+
+
getRegion() - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
+
Get region
+
+
getRegion() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get region
+
+
getRemoteMtaIp() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get remoteMtaIp
+
+
getRemoteMtaIp() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
IP address of the remote Mail Transfer Agent
+
+
getReplierId() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Get replierId
+
+
getReplyTo() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Reply-to email address when sending replying
+
+
getReplyTo() - Method in class com.mailslurp.models.Email
+
+
The `replyTo` field on the received email message
+
+
getReplyTo() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get replyTo
+
+
getReplyTo() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
The replyTo header that should be used.
+
+
getReplyTo() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional replyTo header
+
+
getReplyTo() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get replyTo
+
+
getReplyTo() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Reply-to email address when sending replying
+
+
getReportingMta() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get reportingMta
+
+
getReportingMta() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Mail Transfer Agent reporting delivery status
+
+
getRequest() - Method in class com.mailslurp.models.WebhookTestResult
+
+
Get request
+
+
getRequestBodyTemplate() - Method in class com.mailslurp.models.CreateWebhookOptions
+
+
Template for the JSON body of the webhook request that will be sent to your server.
+
+
getRequestBodyTemplate() - Method in class com.mailslurp.models.WebhookDto
+
+
Request body template for HTTP request that will be sent for the webhook.
+
+
getRequestHeaders() - Method in class com.mailslurp.models.WebhookDto
+
+
Get requestHeaders
+
+
getRequired() - Method in class com.mailslurp.models.DomainNameRecord
+
+
Get required
+
+
getResponse() - Method in class com.mailslurp.models.WebhookTestResult
+
+
Get response
+
+
getResponseBody() - Method in exception com.mailslurp.clients.ApiException
+
+
Get the HTTP response body.
+
+
getResponseBodyExtract() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get responseBodyExtract
+
+
getResponseHeaders() - Method in exception com.mailslurp.clients.ApiException
+
+
Get the HTTP response headers.
+
+
getResponseStatus() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get responseStatus
+
+
getResponseTimeMillis() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get responseTimeMillis
+
+
getResultMapEmailAddressIsValid() - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
+
Get resultMapEmailAddressIsValid
+
+
getResults() - Method in class com.mailslurp.models.DNSLookupResults
+
+
Get results
+
+
getResultType() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get resultType
+
+
getRulesetMatches() - Method in class com.mailslurp.models.InboxRulesetTestResult
+
+
Map of inbox ruleset ID to boolean of if target matches
+
+
getScheduledJob(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get a scheduled email job + Get a scheduled email job details.
+
+
getScheduledJobAsync(UUID, ApiCallback<ScheduledJobDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get a scheduled email job (asynchronously) + Get a scheduled email job details.
+
+
getScheduledJobCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getScheduledJob
+
+
getScheduledJobsByInboxId(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get all scheduled email sending jobs for the inbox + Schedule sending of emails using scheduled jobs.
+
+
getScheduledJobsByInboxIdAsync(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageScheduledJobs>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get all scheduled email sending jobs for the inbox (asynchronously) + Schedule sending of emails using scheduled jobs.
+
+
getScheduledJobsByInboxIdCall(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for getScheduledJobsByInboxId
+
+
getScheduledJobsByInboxIdWithHttpInfo(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get all scheduled email sending jobs for the inbox + Schedule sending of emails using scheduled jobs.
+
+
getScheduledJobWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Get a scheduled email job + Get a scheduled email job details.
+
+
getSchemas() - Method in class com.mailslurp.models.AbstractOpenApiSchema
+
+
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
+
+
getSchemaType() - Method in class com.mailslurp.models.AbstractOpenApiSchema
+
+
Get the schema type (e.g.
+
+
getScope() - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
+
What type of emails actions to apply ruleset to.
+
+
getScope() - Method in class com.mailslurp.models.InboxRulesetDto
+
+
Get scope
+
+
getSecureSmtpPassword() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
Secure TLS SMTP password for login
+
+
getSecureSmtpServerHost() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
Secure TLS SMTP server host domain
+
+
getSecureSmtpServerPort() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
Secure TLS SMTP server host port
+
+
getSecureSmtpUsername() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
Secure TLS SMTP username for login
+
+
getSeen() - Method in class com.mailslurp.models.TrackingPixelDto
+
+
Get seen
+
+
getSeen() - Method in class com.mailslurp.models.TrackingPixelProjection
+
+
Get seen
+
+
getSeen() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get seen
+
+
getSeenAt() - Method in class com.mailslurp.models.TrackingPixelDto
+
+
Get seenAt
+
+
getSeenAt() - Method in class com.mailslurp.models.TrackingPixelProjection
+
+
Get seenAt
+
+
getSendAtTimestamp() - Method in class com.mailslurp.models.ScheduledJob
+
+
Get sendAtTimestamp
+
+
getSendAtTimestamp() - Method in class com.mailslurp.models.ScheduledJobDto
+
+
Get sendAtTimestamp
+
+
getSendEmailOptions() - Method in class com.mailslurp.models.BulkSendEmailOptions
+
+
Get sendEmailOptions
+
+
getSender() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get sender
+
+
getSender() - Method in class com.mailslurp.models.BounceProjection
+
+
Get sender
+
+
getSender() - Method in class com.mailslurp.models.Email
+
+
Get sender
+
+
getSender() - Method in class com.mailslurp.models.WebhookBouncePayload
+
+
Sender causing bounce
+
+
getSenderEmailAddress() - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
+
Get senderEmailAddress
+
+
getSenderId() - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
+
ID of inbox to send from.
+
+
getSendStrategy() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
How an email should be sent based on its recipients
+
+
getSendStrategy() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
How an email should be sent based on its recipients
+
+
getSendStrategy() - Method in class com.mailslurp.models.SendEmailOptions
+
+
How an email should be sent based on its recipients
+
+
getSentAt() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get sentAt
+
+
getSentDeliveryStatus(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get a sent email delivery status
+
+
getSentDeliveryStatusAsync(UUID, ApiCallback<DeliveryStatusDto>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
(asynchronously) + Get a sent email delivery status
+
+
getSentDeliveryStatusCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getSentDeliveryStatus
+
+
getSentDeliveryStatuses(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all sent email delivery statuses
+
+
getSentDeliveryStatusesAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageDeliveryStatus>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
(asynchronously) + Get all sent email delivery statuses
+
+
getSentDeliveryStatusesBySentId(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all sent email delivery statuses
+
+
getSentDeliveryStatusesBySentIdAsync(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageDeliveryStatus>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
(asynchronously) + Get all sent email delivery statuses
+
+
getSentDeliveryStatusesBySentIdCall(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getSentDeliveryStatusesBySentId
+
+
getSentDeliveryStatusesBySentIdWithHttpInfo(UUID, Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all sent email delivery statuses
+
+
getSentDeliveryStatusesCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getSentDeliveryStatuses
+
+
getSentDeliveryStatusesWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all sent email delivery statuses
+
+
getSentDeliveryStatusWithHttpInfo(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get a sent email delivery status
+
+
getSentEmail(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get sent email receipt
+
+
getSentEmailAsync(UUID, ApiCallback<SentEmailDto>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get sent email receipt (asynchronously)
+
+
getSentEmailCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getSentEmail
+
+
getSentEmailHTMLContent(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get sent email HTML content
+
+
getSentEmailHTMLContentAsync(UUID, ApiCallback<String>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get sent email HTML content (asynchronously)
+
+
getSentEmailHTMLContentCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getSentEmailHTMLContent
+
+
getSentEmailHTMLContentWithHttpInfo(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get sent email HTML content
+
+
getSentEmailId() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get sentEmailId
+
+
getSentEmailId() - Method in class com.mailslurp.models.BouncedRecipientDto
+
+
Get sentEmailId
+
+
getSentEmailId() - Method in class com.mailslurp.models.BounceRecipientProjection
+
+
Get sentEmailId
+
+
getSentEmailId() - Method in class com.mailslurp.models.TrackingPixelDto
+
+
Get sentEmailId
+
+
getSentEmailId() - Method in class com.mailslurp.models.TrackingPixelProjection
+
+
Get sentEmailId
+
+
getSentEmailId() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
ID of sent email
+
+
getSentEmailPreviewURLs(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get sent email URL for viewing in browser or downloading + Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser.
+
+
getSentEmailPreviewURLsAsync(UUID, ApiCallback<EmailPreviewUrls>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get sent email URL for viewing in browser or downloading (asynchronously) + Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser.
+
+
getSentEmailPreviewURLsCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getSentEmailPreviewURLs
+
+
getSentEmailPreviewURLsWithHttpInfo(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get sent email URL for viewing in browser or downloading + Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser.
+
+
getSentEmails(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all sent emails in paginated form
+
+
getSentEmailsAsync(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageSentEmailProjection>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all sent emails in paginated form (asynchronously)
+
+
getSentEmailsCall(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getSentEmails
+
+
getSentEmailsWithHttpInfo(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all sent emails in paginated form
+
+
getSentEmailsWithQueueResults(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get results of email sent with queues in paginated form
+
+
getSentEmailsWithQueueResultsAsync(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageSentEmailWithQueueProjection>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get results of email sent with queues in paginated form (asynchronously)
+
+
getSentEmailsWithQueueResultsCall(Integer, Integer, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getSentEmailsWithQueueResults
+
+
getSentEmailsWithQueueResultsWithHttpInfo(Integer, Integer, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get results of email sent with queues in paginated form
+
+
getSentEmailTrackingPixels(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all tracking pixels for a sent email in paginated form
+
+
getSentEmailTrackingPixelsAsync(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageTrackingPixelProjection>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
(asynchronously) + Get all tracking pixels for a sent email in paginated form
+
+
getSentEmailTrackingPixelsCall(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getSentEmailTrackingPixels
+
+
getSentEmailTrackingPixelsWithHttpInfo(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all tracking pixels for a sent email in paginated form
+
+
getSentEmailWithHttpInfo(UUID) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get sent email receipt
+
+
getSentId() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get sentId
+
+
getSentId() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Get sentId
+
+
getSentId() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
ID of sent email
+
+
getSentOrganizationEmails(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all sent organization emails in paginated form
+
+
getSentOrganizationEmailsAsync(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageSentEmailProjection>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
(asynchronously) + Get all sent organization emails in paginated form
+
+
getSentOrganizationEmailsCall(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for getSentOrganizationEmails
+
+
getSentOrganizationEmailsWithHttpInfo(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Get all sent organization emails in paginated form
+
+
getSentToRecipients() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get sentToRecipients
+
+
getSentToRecipients() - Method in class com.mailslurp.models.WebhookBouncePayload
+
+
Email sent to recipients
+
+
getShort() - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
+
Get _short
+
+
getShould() - Method in class com.mailslurp.models.MatchOption
+
+
How the value of the email field specified should be compared to the value given in the match options.
+
+
getShould() - Method in class com.mailslurp.models.SmsMatchOption
+
+
How the value of the email field specified should be compared to the value given in the match options.
+
+
getSid() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get sid
+
+
getSignature() - Method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
+
Get signature
+
+
getSince() - Method in class com.mailslurp.models.WaitForConditions
+
+
ISO Date Time earliest time of email to consider.
+
+
getSince() - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
+
Get since
+
+
getSince() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
ISO Date Time earliest time of SMS to consider.
+
+
getSize() - Method in class com.mailslurp.models.PageAlias
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageComplaint
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageConnector
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Size of page requested
+
+
getSize() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Size of page requested
+
+
getSize() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get size
+
+
getSize() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get size
+
+
getSizeBytes() - Method in class com.mailslurp.models.DownloadAttachmentDto
+
+
Size in bytes of attachment content
+
+
getSmsId() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
ID of SMS message
+
+
getSmsMessage(UUID) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Get SMS content including body.
+
+
getSmsMessageAsync(UUID, ApiCallback<SmsDto>) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Get SMS content including body.
+
+
getSmsMessageCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Build call for getSmsMessage
+
+
getSmsMessagesPaginated(UUID, Integer, Integer, String, Boolean, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Get all SMS messages in all phone numbers in paginated form.
+
+
getSmsMessagesPaginatedAsync(UUID, Integer, Integer, String, Boolean, OffsetDateTime, OffsetDateTime, ApiCallback<PageSmsProjection>) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Get all SMS messages in all phone numbers in paginated form.
+
+
getSmsMessagesPaginatedCall(UUID, Integer, Integer, String, Boolean, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Build call for getSmsMessagesPaginated
+
+
getSmsMessagesPaginatedWithHttpInfo(UUID, Integer, Integer, String, Boolean, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Get all SMS messages in all phone numbers in paginated form.
+
+
getSmsMessageWithHttpInfo(UUID) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Get SMS content including body.
+
+
getSmtpPassword() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
SMTP password for login
+
+
getSmtpResponse() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get smtpResponse
+
+
getSmtpResponse() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
SMTP server response message
+
+
getSmtpServerHost() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
SMTP server host domain
+
+
getSmtpServerPort() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
SMTP server host port
+
+
getSmtpStatusCode() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get smtpStatusCode
+
+
getSmtpStatusCode() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
SMTP server status
+
+
getSmtpUsername() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
SMTP username for login
+
+
getSort() - Method in class com.mailslurp.models.PageableObject
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageAlias
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageComplaint
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageConnector
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get sort
+
+
getSort() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get sort
+
+
getSortDirection() - Method in class com.mailslurp.models.WaitForConditions
+
+
Direction to sort matching emails by created time
+
+
getSortDirection() - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
+
Get sortDirection
+
+
getSortDirection() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
Direction to sort matching SMSs by created time
+
+
getSorted() - Method in class com.mailslurp.models.Sort
+
+
Get sorted
+
+
getSpamVerdict() - Method in class com.mailslurp.models.EmailAnalysis
+
+
Verdict of spam ranking analysis
+
+
getSpfVerdict() - Method in class com.mailslurp.models.EmailAnalysis
+
+
Verdict of Send Policy Framework record spoofing analysis
+
+
getSslCaCert() - Method in class com.mailslurp.clients.ApiClient
+
+
Get SSL CA cert.
+
+
getStackTrace() - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
+
Get stackTrace
+
+
getStackTrace() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
+
Get stackTrace
+
+
getStackTrace() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
+
Get stackTrace
+
+
getState() - Method in class com.mailslurp.models.SetInboxFavouritedOptions
+
+
Is the inbox a favorite.
+
+
getStatus() - Method in class com.mailslurp.models.BouncedRecipientDto
+
+
Get status
+
+
getStatus() - Method in class com.mailslurp.models.BounceRecipientProjection
+
+
Get status
+
+
getStatus() - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
+
Get status
+
+
getStatus() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Get status
+
+
getStatus() - Method in class com.mailslurp.models.ScheduledJob
+
+
Get status
+
+
getStatus() - Method in class com.mailslurp.models.ScheduledJobDto
+
+
Get status
+
+
getStatusCode() - Method in class com.mailslurp.clients.ApiResponse
+
+
Get the status code.
+
+
getStatusCode() - Method in class com.mailslurp.models.WebhookTestResponse
+
+
Get statusCode
+
+
getSubject() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.BounceProjection
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Subject override when replying to email
+
+
getSubject() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.Email
+
+
The subject line of the email message as specified by SMTP subject header
+
+
getSubject() - Method in class com.mailslurp.models.EmailHtmlDto
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.EmailPreview
+
+
The subject line of the email message as specified by SMTP subject header
+
+
getSubject() - Method in class com.mailslurp.models.EmailProjection
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.ForwardEmailOptions
+
+
Subject for forwarded email
+
+
getSubject() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.MissedEmailProjection
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional email subject line
+
+
getSubject() - Method in class com.mailslurp.models.SendWithQueueResult
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
+
Subject line of the email
+
+
getSubject() - Method in class com.mailslurp.models.ThreadProjection
+
+
Thread subject
+
+
getSubject() - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
+
Get subject
+
+
getSubject() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Subject override when replying to email
+
+
getSubject() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Email subject
+
+
getSubject() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
The subject line of the email message as specified by SMTP subject header
+
+
getSubscriptionType() - Method in class com.mailslurp.models.UserInfoDto
+
+
Get subscriptionType
+
+
getSuccess() - Method in class com.mailslurp.models.WebhookRedriveResult
+
+
Get success
+
+
getSuppressed() - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
+
Get suppressed
+
+
getSuppressed() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
+
Get suppressed
+
+
getSyncCount() - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
+
Get syncCount
+
+
getSyncCount() - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
+
Get syncCount
+
+
getSyncEnabled() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get syncEnabled
+
+
getSyncEnabled() - Method in class com.mailslurp.models.ConnectorProjection
+
+
Get syncEnabled
+
+
getSyncEnabled() - Method in class com.mailslurp.models.CreateConnectorOptions
+
+
Get syncEnabled
+
+
getSyncInterval() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get syncInterval
+
+
getSyncInterval() - Method in class com.mailslurp.models.ConnectorProjection
+
+
Get syncInterval
+
+
getSyncInterval() - Method in class com.mailslurp.models.CreateConnectorOptions
+
+
Get syncInterval
+
+
getSyncResult() - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
+
Get syncResult
+
+
getSyncScheduleType() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get syncScheduleType
+
+
getSyncScheduleType() - Method in class com.mailslurp.models.ConnectorProjection
+
+
Get syncScheduleType
+
+
getSyncScheduleType() - Method in class com.mailslurp.models.CreateConnectorOptions
+
+
Get syncScheduleType
+
+
getSyncStatus() - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
+
Get syncStatus
+
+
getSyncStatus() - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
+
Get syncStatus
+
+
getTags() - Method in class com.mailslurp.models.ContactDto
+
+
Get tags
+
+
getTags() - Method in class com.mailslurp.models.CreateContactOptions
+
+
Tags that can be used to search and group contacts
+
+
getTags() - Method in class com.mailslurp.models.CreateInboxDto
+
+
Tags that inbox has been tagged with.
+
+
getTags() - Method in class com.mailslurp.models.InboxDto
+
+
Tags that inbox has been tagged with.
+
+
getTags() - Method in class com.mailslurp.models.InboxPreview
+
+
Tags that inbox has been tagged with.
+
+
getTags() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
Tags that inbox has been tagged with.
+
+
getTags() - Method in class com.mailslurp.models.UpdateInboxOptions
+
+
Tags that inbox has been tagged with.
+
+
getTags() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Tags for contact
+
+
getTarget() - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
+
Target to match emails with.
+
+
getTarget() - Method in class com.mailslurp.models.InboxRulesetDto
+
+
Get target
+
+
getTeamAccess() - Method in class com.mailslurp.models.Email
+
+
Can the email be accessed by organization team members
+
+
getTeamAccess() - Method in class com.mailslurp.models.EmailProjection
+
+
Get teamAccess
+
+
getTeamAccess() - Method in class com.mailslurp.models.InboxPreview
+
+
Does inbox permit team access for organization team members.
+
+
getTeamAccess() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
Does inbox permit team access for organization team members.
+
+
getTempFolderPath() - Method in class com.mailslurp.clients.ApiClient
+
+
The path of temporary folder used to store downloaded files from endpoints + with file response.
+
+
getTemplate(UUID) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Get template + Get email template
+
+
getTemplate() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
Template ID to use instead of body.
+
+
getTemplate() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
Template ID to use instead of body.
+
+
getTemplate() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional template ID to use for body.
+
+
getTemplateAsync(UUID, ApiCallback<TemplateDto>) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Get template (asynchronously) + Get email template
+
+
getTemplateCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Build call for getTemplate
+
+
getTemplateId() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
ID of template to use when sending a reply
+
+
getTemplateId() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get templateId
+
+
getTemplateId() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get templateId
+
+
getTemplateId() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
ID of template to use when sending a reply
+
+
getTemplatePreviewHtml(UUID) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Get template preview HTML + Get email template preview with passed template variables in HTML format for browsers.
+
+
getTemplatePreviewHtmlAsync(UUID, ApiCallback<String>) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Get template preview HTML (asynchronously) + Get email template preview with passed template variables in HTML format for browsers.
+
+
getTemplatePreviewHtmlCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Build call for getTemplatePreviewHtml
+
+
getTemplatePreviewHtmlWithHttpInfo(UUID) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Get template preview HTML + Get email template preview with passed template variables in HTML format for browsers.
+
+
getTemplatePreviewJson(UUID) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Get template preview Json + Get email template preview with passed template variables in JSON format.
+
+
getTemplatePreviewJsonAsync(UUID, ApiCallback<TemplatePreview>) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Get template preview Json (asynchronously) + Get email template preview with passed template variables in JSON format.
+
+
getTemplatePreviewJsonCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Build call for getTemplatePreviewJson
+
+
getTemplatePreviewJsonWithHttpInfo(UUID) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Get template preview Json + Get email template preview with passed template variables in JSON format.
+
+
getTemplates() - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
List templates + Get all templates
+
+
getTemplatesAsync(ApiCallback<List<TemplateProjection>>) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
List templates (asynchronously) + Get all templates
+
+
getTemplatesCall(ApiCallback) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Build call for getTemplates
+
+
getTemplatesWithHttpInfo() - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
List templates + Get all templates
+
+
getTemplateVariables() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Template variable values
+
+
getTemplateVariables() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Get templateVariables
+
+
getTemplateVariables() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
Template variables if using a template
+
+
getTemplateVariables() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
Template variables if using a template
+
+
getTemplateVariables() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional map of template variables.
+
+
getTemplateVariables() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get templateVariables
+
+
getTemplateVariables() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Template variable values
+
+
getTemplateWithHttpInfo(UUID) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Get template + Get email template
+
+
getTestTarget() - Method in class com.mailslurp.models.InboxRulesetTestOptions
+
+
Get testTarget
+
+
getTestValue() - Method in class com.mailslurp.models.InboxForwarderTestOptions
+
+
Get testValue
+
+
getTestWebhookPayload(String) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get test webhook payload example.
+
+
getTestWebhookPayloadAsync(String, ApiCallback<AbstractWebhookPayload>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
(asynchronously) + Get test webhook payload example.
+
+
getTestWebhookPayloadBounce() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for bounce
+
+
getTestWebhookPayloadBounceAsync(ApiCallback<WebhookBouncePayload>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
(asynchronously) + Get webhook test payload for bounce
+
+
getTestWebhookPayloadBounceCall(ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getTestWebhookPayloadBounce
+
+
getTestWebhookPayloadBounceRecipient() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for bounce recipient
+
+
getTestWebhookPayloadBounceRecipientAsync(ApiCallback<WebhookBounceRecipientPayload>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
(asynchronously) + Get webhook test payload for bounce recipient
+
+
getTestWebhookPayloadBounceRecipientCall(ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getTestWebhookPayloadBounceRecipient
+
+
getTestWebhookPayloadBounceRecipientWithHttpInfo() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for bounce recipient
+
+
getTestWebhookPayloadBounceWithHttpInfo() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for bounce
+
+
getTestWebhookPayloadCall(String, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getTestWebhookPayload
+
+
getTestWebhookPayloadDeliveryStatus() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for delivery status event
+
+
getTestWebhookPayloadDeliveryStatusAsync(ApiCallback<WebhookDeliveryStatusPayload>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for delivery status event (asynchronously)
+
+
getTestWebhookPayloadDeliveryStatusCall(ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getTestWebhookPayloadDeliveryStatus
+
+
getTestWebhookPayloadDeliveryStatusWithHttpInfo() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for delivery status event
+
+
getTestWebhookPayloadEmailOpened() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for email opened event
+
+
getTestWebhookPayloadEmailOpenedAsync(ApiCallback<WebhookEmailOpenedPayload>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
(asynchronously) + Get webhook test payload for email opened event
+
+
getTestWebhookPayloadEmailOpenedCall(ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getTestWebhookPayloadEmailOpened
+
+
getTestWebhookPayloadEmailOpenedWithHttpInfo() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for email opened event
+
+
getTestWebhookPayloadEmailRead() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for email opened event
+
+
getTestWebhookPayloadEmailReadAsync(ApiCallback<WebhookEmailReadPayload>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
(asynchronously) + Get webhook test payload for email opened event
+
+
getTestWebhookPayloadEmailReadCall(ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getTestWebhookPayloadEmailRead
+
+
getTestWebhookPayloadEmailReadWithHttpInfo() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for email opened event
+
+
getTestWebhookPayloadForWebhook(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get example payload for webhook
+
+
getTestWebhookPayloadForWebhookAsync(UUID, ApiCallback<AbstractWebhookPayload>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
(asynchronously) + Get example payload for webhook
+
+
getTestWebhookPayloadForWebhookCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getTestWebhookPayloadForWebhook
+
+
getTestWebhookPayloadForWebhookWithHttpInfo(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get example payload for webhook
+
+
getTestWebhookPayloadNewAttachment() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new attachment event
+
+
getTestWebhookPayloadNewAttachmentAsync(ApiCallback<WebhookNewAttachmentPayload>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new attachment event (asynchronously)
+
+
getTestWebhookPayloadNewAttachmentCall(ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getTestWebhookPayloadNewAttachment
+
+
getTestWebhookPayloadNewAttachmentWithHttpInfo() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new attachment event
+
+
getTestWebhookPayloadNewContact() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new contact event
+
+
getTestWebhookPayloadNewContactAsync(ApiCallback<WebhookNewContactPayload>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new contact event (asynchronously)
+
+
getTestWebhookPayloadNewContactCall(ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getTestWebhookPayloadNewContact
+
+
getTestWebhookPayloadNewContactWithHttpInfo() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new contact event
+
+
getTestWebhookPayloadNewEmail() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new email event
+
+
getTestWebhookPayloadNewEmailAsync(ApiCallback<WebhookNewEmailPayload>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new email event (asynchronously)
+
+
getTestWebhookPayloadNewEmailCall(ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getTestWebhookPayloadNewEmail
+
+
getTestWebhookPayloadNewEmailWithHttpInfo() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new email event
+
+
getTestWebhookPayloadNewSms() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new sms event
+
+
getTestWebhookPayloadNewSmsAsync(ApiCallback<WebhookNewSmsPayload>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new sms event (asynchronously)
+
+
getTestWebhookPayloadNewSmsCall(ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getTestWebhookPayloadNewSms
+
+
getTestWebhookPayloadNewSmsWithHttpInfo() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get webhook test payload for new sms event
+
+
getTestWebhookPayloadWithHttpInfo(String) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get test webhook payload example.
+
+
getTimeout() - Method in class com.mailslurp.models.WaitForConditions
+
+
Max time in milliseconds to retry the `waitFor` operation until conditions are met.
+
+
getTimeout() - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
+
Get timeout
+
+
getTimeout() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
Max time in milliseconds to retry the `waitFor` operation until conditions are met.
+
+
getTo() - Method in class com.mailslurp.models.Email
+
+
List of `To` recipient email addresses that the email was addressed to.
+
+
getTo() - Method in class com.mailslurp.models.EmailPreview
+
+
List of `To` recipient email addresses that the email was addressed to.
+
+
getTo() - Method in class com.mailslurp.models.EmailProjection
+
+
Get to
+
+
getTo() - Method in class com.mailslurp.models.EmailRecipients
+
+
Get to
+
+
getTo() - Method in class com.mailslurp.models.ForwardEmailOptions
+
+
To recipients for forwarded email
+
+
getTo() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get to
+
+
getTo() - Method in class com.mailslurp.models.SendEmailOptions
+
+
List of destination email addresses.
+
+
getTo() - Method in class com.mailslurp.models.SentEmailDto
+
+
Recipients email was sent to
+
+
getTo() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get to
+
+
getTo() - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
+
Email address to send to
+
+
getTo() - Method in class com.mailslurp.models.ThreadProjection
+
+
To recipients
+
+
getTo() - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
+
Get to
+
+
getTo() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
List of `To` recipient email addresses that the email was addressed to.
+
+
getToContacts() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional list of contact IDs to send email to.
+
+
getToContacts() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get toContacts
+
+
getToGroup() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Optional contact group ID to send email to.
+
+
getToGroup() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get toGroup
+
+
getToNumber() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
Recipient phone number
+
+
getTotal() - Method in class com.mailslurp.models.PageAlias
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageComplaint
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageConnector
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get total
+
+
getTotal() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get total
+
+
getTotalElements() - Method in class com.mailslurp.models.CountDto
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageAlias
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageComplaint
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageConnector
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Total number of items available for querying
+
+
getTotalElements() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Total number of items available for querying
+
+
getTotalElements() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get totalElements
+
+
getTotalElements() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get totalElements
+
+
getTotalPages() - Method in class com.mailslurp.models.PageAlias
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageComplaint
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageConnector
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageContactProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Total number of pages available
+
+
getTotalPages() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Total number of pages available
+
+
getTotalPages() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Get totalPages
+
+
getTotalPages() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Get totalPages
+
+
getTrackingPixel(UUID) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Get pixel
+
+
getTrackingPixelAsync(UUID, ApiCallback<TrackingPixelDto>) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Get pixel (asynchronously)
+
+
getTrackingPixelCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Build call for getTrackingPixel
+
+
getTrackingPixelWithHttpInfo(UUID) - Method in class com.mailslurp.apis.TrackingControllerApi
+
+
Get pixel
+
+
getTriggerId() - Method in class com.mailslurp.models.ScheduledJob
+
+
Get triggerId
+
+
getTriggerId() - Method in class com.mailslurp.models.ScheduledJobDto
+
+
Get triggerId
+
+
getTtl() - Method in class com.mailslurp.models.DNSLookupResult
+
+
Get ttl
+
+
getTtl() - Method in class com.mailslurp.models.DomainNameRecord
+
+
Get ttl
+
+
getUnpaged() - Method in class com.mailslurp.models.PageableObject
+
+
Get unpaged
+
+
getUnreadEmailCount() - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get unread email count + Get number of emails unread.
+
+
getUnreadEmailCountAsync(ApiCallback<UnreadCount>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get unread email count (asynchronously) + Get number of emails unread.
+
+
getUnreadEmailCountCall(ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for getUnreadEmailCount
+
+
getUnreadEmailCountWithHttpInfo() - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Get unread email count + Get number of emails unread.
+
+
getUnreadOnly() - Method in class com.mailslurp.models.WaitForConditions
+
+
Apply conditions only to **unread** emails.
+
+
getUnreadOnly() - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
+
Get unreadOnly
+
+
getUnreadOnly() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
Apply conditions only to **unread** SMS.
+
+
getUnreadSmsCount() - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Get unread SMS count + Get number of SMS unread.
+
+
getUnreadSmsCountAsync(ApiCallback<UnreadCount>) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Get unread SMS count (asynchronously) + Get number of SMS unread.
+
+
getUnreadSmsCountCall(ApiCallback) - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Build call for getUnreadSmsCount
+
+
getUnreadSmsCountWithHttpInfo() - Method in class com.mailslurp.apis.SmsControllerApi
+
+
Get unread SMS count + Get number of SMS unread.
+
+
getUnsorted() - Method in class com.mailslurp.models.Sort
+
+
Get unsorted
+
+
getUpdatedAt() - Method in class com.mailslurp.models.AliasDto
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.AliasProjection
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.AttachmentEntity
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.AttachmentProjection
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.Complaint
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.DomainDto
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.Email
+
+
When was the email last updated
+
+
getUpdatedAt() - Method in class com.mailslurp.models.EmailValidationRequestDto
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.PhoneNumberDto
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.ScheduledJob
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.ScheduledJobDto
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.SendWithQueueResult
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.SmsDto
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.TemplateProjection
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.ThreadProjection
+
+
Updated at DateTime
+
+
getUpdatedAt() - Method in class com.mailslurp.models.WebhookDto
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.WebhookProjection
+
+
Get updatedAt
+
+
getUpdatedAt() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get updatedAt
+
+
getUrl() - Method in class com.mailslurp.models.CreateWebhookOptions
+
+
Public URL on your server that MailSlurp can post WebhookNotification payload to when an email is received or an event is trigger.
+
+
getUrl() - Method in class com.mailslurp.models.GravatarUrl
+
+
Get url
+
+
getUrl() - Method in class com.mailslurp.models.TrackingPixelDto
+
+
Get url
+
+
getUrl() - Method in class com.mailslurp.models.WebhookDto
+
+
URL of your server that the webhook will be sent to.
+
+
getUrl() - Method in class com.mailslurp.models.WebhookProjection
+
+
Get url
+
+
getUrl() - Method in class com.mailslurp.models.WebhookTestRequest
+
+
Get url
+
+
getUseDomainPool() - Method in class com.mailslurp.models.CreateInboxDto
+
+
Use the MailSlurp domain name pool with this inbox when creating the email address.
+
+
getUseInboxName() - Method in class com.mailslurp.models.ForwardEmailOptions
+
+
Optionally use inbox name as display name for sender email address
+
+
getUseInboxName() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
Optionally use inbox name as display name for sender email address
+
+
getUseInboxName() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
Optionally use inbox name as display name for sender email address
+
+
getUseInboxName() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Use name of inbox as sender email address name.
+
+
getUserId() - Method in class com.mailslurp.models.AliasDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.AliasProjection
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.AttachmentEntity
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.AttachmentProjection
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.BouncedRecipientDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.Complaint
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.ConnectorDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.ConnectorProjection
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.DomainDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.Email
+
+
ID of user that email belongs to
+
+
getUserId() - Method in class com.mailslurp.models.EmailValidationRequestDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.InboxDto
+
+
ID of user that inbox belongs to
+
+
getUserId() - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.MissedEmailProjection
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.PhoneNumberDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.PhoneNumberProjection
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.PhonePlanDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.ScheduledJob
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.ScheduledJobDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.SendWithQueueResult
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.SentEmailDto
+
+
User ID
+
+
getUserId() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.SmsDto
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.SmsPreview
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.SmsProjection
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.ThreadProjection
+
+
User ID
+
+
getUserId() - Method in class com.mailslurp.models.TrackingPixelProjection
+
+
Get userId
+
+
getUserId() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
User ID of event
+
+
getUserId() - Method in class com.mailslurp.models.WebhookDto
+
+
User ID of the Webhook
+
+
getUserId() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
User ID of event
+
+
getUserId() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get userId
+
+
getUserInfo() - Method in class com.mailslurp.apis.UserControllerApi
+
+
Get account information for your user
+
+
getUserInfoAsync(ApiCallback<UserInfoDto>) - Method in class com.mailslurp.apis.UserControllerApi
+
+
(asynchronously) + Get account information for your user
+
+
getUserInfoCall(ApiCallback) - Method in class com.mailslurp.apis.UserControllerApi
+
+
Build call for getUserInfo
+
+
getUserInfoWithHttpInfo() - Method in class com.mailslurp.apis.UserControllerApi
+
+
Get account information for your user
+
+
getUsername() - Method in class com.mailslurp.clients.auth.HttpBasicAuth
+
 
+
getUsername() - Method in class com.mailslurp.models.BasicAuthOptions
+
+
Get username
+
+
getUsername() - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
+
Get username
+
+
getUseShortAddress() - Method in class com.mailslurp.models.CreateInboxDto
+
+
Use a shorter email address under 31 characters
+
+
getUseSSL() - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
+
Get useSSL
+
+
getUseStaticIpRange() - Method in class com.mailslurp.models.CreateWebhookOptions
+
+
Use static IP range when calling webhook endpoint
+
+
getUseStaticIpRange() - Method in class com.mailslurp.models.WebhookDto
+
+
Should notifier use static IP range when sending webhook payload
+
+
getUseThreads() - Method in class com.mailslurp.models.AliasDto
+
+
If alias will generate response threads or not when email are received by it
+
+
getUseThreads() - Method in class com.mailslurp.models.AliasProjection
+
+
Get useThreads
+
+
getUseThreads() - Method in class com.mailslurp.models.CreateAliasOptions
+
+
Enable threads options.
+
+
getValidateEmailAddresses() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Validate recipient email addresses before sending
+
+
getValidationRequests(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean) - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
+
Validate a list of email addresses.
+
+
getValidationRequestsAsync(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean, ApiCallback<PageEmailValidationRequest>) - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
+
Validate a list of email addresses.
+
+
getValidationRequestsCall(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean, ApiCallback) - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
+
Build call for getValidationRequests
+
+
getValidationRequestsWithHttpInfo(Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean) - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
+
Validate a list of email addresses.
+
+
getValidEmailAddresses() - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
+
Get validEmailAddresses
+
+
getValue() - Method in class com.mailslurp.clients.Pair
+
 
+
getValue() - Method in enum com.mailslurp.models.AbstractWebhookPayload.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ConditionOption.ConditionEnum
+
 
+
getValue() - Method in class com.mailslurp.models.ConditionOption
+
+
Expected condition value
+
+
getValue() - Method in enum com.mailslurp.models.ConditionOption.ValueEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ConnectorDto.ConnectorTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.CreateDomainOptions.DomainTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.CreateInboxDto.InboxTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.CreateInboxReplierOptions.FieldEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.CreateWebhookOptions.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.DNSLookupOptions.RecordTypesEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.DNSLookupResult.RecordTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.DomainDto.DomainTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.DomainNameRecord.LabelEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.DomainNameRecord.RecordTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.DomainPreview.DomainTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.EmergencyAddress.PhoneCountryEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ExportOptions.OutputFormatEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.InboxDto.InboxTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.InboxForwarderDto.FieldEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.InboxForwarderEventProjection.StatusEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.InboxPreview.InboxTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.InboxReplierDto.FieldEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.InboxReplierEventProjection.StatusEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.InboxRulesetDto.ActionEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.InboxRulesetDto.HandlerEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.InboxRulesetDto.ScopeEnum
+
 
+
getValue() - Method in class com.mailslurp.models.JSONSchemaDto
+
+
Get value
+
+
getValue() - Method in enum com.mailslurp.models.MatchOption.FieldEnum
+
 
+
getValue() - Method in class com.mailslurp.models.MatchOption
+
+
The value you wish to compare with the value of the field specified using the `should` value passed.
+
+
getValue() - Method in enum com.mailslurp.models.MatchOption.ShouldEnum
+
 
+
getValue() - Method in class com.mailslurp.models.NameServerRecord
+
+
Get value
+
+
getValue() - Method in enum com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.PhonePlanDto.PhoneCountryEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ScheduledJob.StatusEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.ScheduledJobDto.StatusEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.SendEmailOptions.SendStrategyEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.SmsMatchOption.FieldEnum
+
 
+
getValue() - Method in class com.mailslurp.models.SmsMatchOption
+
+
The value you wish to compare with the value of the field specified using the `should` value passed.
+
+
getValue() - Method in enum com.mailslurp.models.SmsMatchOption.ShouldEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.TemplateVariable.VariableTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.UserInfoDto.AccountStateEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.UserInfoDto.AccountTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WaitForConditions.CountTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WaitForConditions.SortDirectionEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WaitForSmsConditions.CountTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookBouncePayload.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookDto.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookDto.MethodEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum
+
 
+
getValue() - Method in class com.mailslurp.models.WebhookHeaderNameValue
+
+
Value of header
+
+
getValue() - Method in enum com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookNewContactPayload.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookProjection.EventNameEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookResultDto.HttpMethodEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookResultDto.ResultTypeEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookResultDto.WebhookEventEnum
+
 
+
getValue() - Method in enum com.mailslurp.models.WebhookTestRequest.MethodEnum
+
 
+
getVariables() - Method in class com.mailslurp.models.TemplateDto
+
+
Variables available in template that can be replaced with values
+
+
getVariables() - Method in class com.mailslurp.models.TemplateProjection
+
+
Get variables
+
+
getVariableType() - Method in class com.mailslurp.models.TemplateVariable
+
+
The type of variable
+
+
getVerificationToken() - Method in class com.mailslurp.models.DomainDto
+
+
Verification tokens
+
+
getVirtualInbox() - Method in class com.mailslurp.models.CreateInboxDto
+
+
Virtual inbox prevents any outbound emails from being sent.
+
+
getVirtualInbox() - Method in class com.mailslurp.models.InboxDto
+
+
Virtual inbox can receive email but will not send emails to real recipients.
+
+
getVirtualInbox() - Method in class com.mailslurp.models.InboxPreview
+
+
Virtual inbox can receive email but will not send emails to real recipients.
+
+
getVirtualInbox() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
Virtual inbox can receive email but will not send emails to real recipients.
+
+
getVirtualSend() - Method in class com.mailslurp.models.SentEmailDto
+
+
Get virtualSend
+
+
getVirtualSend() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Get virtualSend
+
+
getVirusVerdict() - Method in class com.mailslurp.models.EmailAnalysis
+
+
Verdict of virus scan analysis
+
+
getWarnings() - Method in class com.mailslurp.models.HTMLValidationResult
+
+
Optional warnings resulting from HTML validation
+
+
getWebhook(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook
+
+
getWebhookAsync(UUID, ApiCallback<WebhookDto>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook (asynchronously)
+
+
getWebhookCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getWebhook
+
+
getWebhookEvent() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get webhookEvent
+
+
getWebhookId() - Method in class com.mailslurp.models.AbstractWebhookPayload
+
+
Get webhookId
+
+
getWebhookId() - Method in class com.mailslurp.models.WebhookBouncePayload
+
+
ID of webhook entity being triggered
+
+
getWebhookId() - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
+
ID of webhook entity being triggered
+
+
getWebhookId() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
ID of webhook entity being triggered
+
+
getWebhookId() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
ID of webhook entity being triggered
+
+
getWebhookId() - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
+
ID of webhook entity being triggered
+
+
getWebhookId() - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
+
ID of webhook entity being triggered
+
+
getWebhookId() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
ID of webhook entity being triggered
+
+
getWebhookId() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
ID of webhook entity being triggered
+
+
getWebhookId() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
ID of webhook entity being triggered
+
+
getWebhookId() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get webhookId
+
+
getWebhookName() - Method in class com.mailslurp.models.AbstractWebhookPayload
+
+
Get webhookName
+
+
getWebhookName() - Method in class com.mailslurp.models.WebhookBouncePayload
+
+
Name of the webhook being triggered
+
+
getWebhookName() - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
+
Name of the webhook being triggered
+
+
getWebhookName() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Name of the webhook being triggered
+
+
getWebhookName() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
Name of the webhook being triggered
+
+
getWebhookName() - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
+
Name of the webhook being triggered
+
+
getWebhookName() - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
+
Name of the webhook being triggered
+
+
getWebhookName() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Name of the webhook being triggered
+
+
getWebhookName() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
Name of the webhook being triggered
+
+
getWebhookName() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
Name of the webhook being triggered
+
+
getWebhookResult(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook result for a webhook
+
+
getWebhookResultAsync(UUID, ApiCallback<WebhookResultDto>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook result for a webhook (asynchronously)
+
+
getWebhookResultCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getWebhookResult
+
+
getWebhookResultId() - Method in class com.mailslurp.models.WebhookRedriveResult
+
+
Get webhookResultId
+
+
getWebhookResults(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook results for a webhook
+
+
getWebhookResultsAsync(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean, ApiCallback<PageWebhookResult>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook results for a webhook (asynchronously)
+
+
getWebhookResultsCall(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getWebhookResults
+
+
getWebhookResultsUnseenErrorCount() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get count of unseen webhook results with error status
+
+
getWebhookResultsUnseenErrorCountAsync(ApiCallback<UnseenErrorCountDto>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get count of unseen webhook results with error status (asynchronously)
+
+
getWebhookResultsUnseenErrorCountCall(ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for getWebhookResultsUnseenErrorCount
+
+
getWebhookResultsUnseenErrorCountWithHttpInfo() - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get count of unseen webhook results with error status
+
+
getWebhookResultsWithHttpInfo(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, Boolean) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook results for a webhook
+
+
getWebhookResultWithHttpInfo(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook result for a webhook
+
+
getWebhooks(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Deprecated. 
+
+
getWebhooksAsync(UUID, ApiCallback<List<WebhookDto>>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Deprecated. 
+
+
getWebhooksCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Deprecated. 
+
+
getWebhooksWithHttpInfo(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Deprecated. 
+
+
getWebhookUrl() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Get webhookUrl
+
+
getWebhookWithHttpInfo(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook
+
+
getWriteTimeout() - Method in class com.mailslurp.clients.ApiClient
+
+
Get write timeout (in milliseconds).
+
+
GravatarUrl - Class in com.mailslurp.models
+
+
User image
+
+
GravatarUrl() - Constructor for class com.mailslurp.models.GravatarUrl
+
 
+
GravatarUrl.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
group(GroupDto) - Method in class com.mailslurp.models.GroupContactsDto
+
 
+
GroupContactsDto - Class in com.mailslurp.models
+
+
Describes contacts attached to a contact group
+
+
GroupContactsDto() - Constructor for class com.mailslurp.models.GroupContactsDto
+
 
+
GroupContactsDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
GroupControllerApi - Class in com.mailslurp.apis
+
 
+
GroupControllerApi() - Constructor for class com.mailslurp.apis.GroupControllerApi
+
 
+
GroupControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.GroupControllerApi
+
 
+
GroupDto - Class in com.mailslurp.models
+
+
Contact group data
+
+
GroupDto() - Constructor for class com.mailslurp.models.GroupDto
+
 
+
GroupDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
groupId(UUID) - Method in class com.mailslurp.models.ContactDto
+
 
+
groupId(UUID) - Method in class com.mailslurp.models.ContactProjection
+
 
+
groupId(UUID) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
groupId(String) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
groupId(String) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
groupId(UUID) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
GroupProjection - Class in com.mailslurp.models
+
+
Data for contact group
+
+
GroupProjection() - Constructor for class com.mailslurp.models.GroupProjection
+
 
+
GroupProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
guessContentTypeFromFile(File) - Method in class com.mailslurp.clients.ApiClient
+
+
Guess Content-Type header from the given file (defaults to "application/octet-stream").
+
+
+ + + +

H

+
+
handler(InboxRulesetDto.HandlerEnum) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
handleResponse(Response, Type) - Method in class com.mailslurp.clients.ApiClient
+
+
Handle the given response, return the deserialized object when the response is successful.
+
+
hash(String) - Method in class com.mailslurp.models.GravatarUrl
+
 
+
hashCode() - Method in class com.mailslurp.models.AbstractOpenApiSchema
+
 
+
hashCode() - Method in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
hashCode() - Method in class com.mailslurp.models.AliasDto
+
 
+
hashCode() - Method in class com.mailslurp.models.AliasProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
hashCode() - Method in class com.mailslurp.models.AttachmentMetaData
+
 
+
hashCode() - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.BasicAuthOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
hashCode() - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
hashCode() - Method in class com.mailslurp.models.BounceProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.Complaint
+
 
+
hashCode() - Method in class com.mailslurp.models.ConditionOption
+
 
+
hashCode() - Method in class com.mailslurp.models.ConnectorDto
+
 
+
hashCode() - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
hashCode() - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
hashCode() - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
hashCode() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
hashCode() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
hashCode() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
hashCode() - Method in class com.mailslurp.models.ConnectorSyncResult
+
 
+
hashCode() - Method in class com.mailslurp.models.ContactDto
+
 
+
hashCode() - Method in class com.mailslurp.models.ContactProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.ContentMatchOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CountDto
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateAliasOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateDomainOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateGroupOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateTemplateOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
hashCode() - Method in class com.mailslurp.models.DescribeDomainOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
hashCode() - Method in class com.mailslurp.models.DNSLookupOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
hashCode() - Method in class com.mailslurp.models.DNSLookupResults
+
 
+
hashCode() - Method in class com.mailslurp.models.DomainDto
+
 
+
hashCode() - Method in class com.mailslurp.models.DomainIssuesDto
+
 
+
hashCode() - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
hashCode() - Method in class com.mailslurp.models.DomainPreview
+
 
+
hashCode() - Method in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
hashCode() - Method in class com.mailslurp.models.Email
+
 
+
hashCode() - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
hashCode() - Method in class com.mailslurp.models.EmailContentMatchResult
+
 
+
hashCode() - Method in class com.mailslurp.models.EmailHtmlDto
+
 
+
hashCode() - Method in class com.mailslurp.models.EmailLinksResult
+
 
+
hashCode() - Method in class com.mailslurp.models.EmailPreview
+
 
+
hashCode() - Method in class com.mailslurp.models.EmailPreviewUrls
+
 
+
hashCode() - Method in class com.mailslurp.models.EmailProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.EmailRecipients
+
 
+
hashCode() - Method in class com.mailslurp.models.EmailTextLinesResult
+
 
+
hashCode() - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
hashCode() - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
hashCode() - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
hashCode() - Method in class com.mailslurp.models.EmergencyAddressDto
+
 
+
hashCode() - Method in class com.mailslurp.models.EmptyResponseDto
+
 
+
hashCode() - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
hashCode() - Method in class com.mailslurp.models.ExpiredInboxDto
+
 
+
hashCode() - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.ExportLink
+
 
+
hashCode() - Method in class com.mailslurp.models.ExportOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.FilterBouncedRecipientsResult
+
 
+
hashCode() - Method in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
hashCode() - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.GravatarUrl
+
 
+
hashCode() - Method in class com.mailslurp.models.GroupContactsDto
+
 
+
hashCode() - Method in class com.mailslurp.models.GroupDto
+
 
+
hashCode() - Method in class com.mailslurp.models.GroupProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.HTMLValidationResult
+
 
+
hashCode() - Method in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxByNameResult
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxDto
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxExistsDto
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxForwarderTestOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxIdItem
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxIdsResult
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxPreview
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxRulesetTestOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
hashCode() - Method in class com.mailslurp.models.IPAddressResult
+
 
+
hashCode() - Method in class com.mailslurp.models.JSONSchemaDto
+
 
+
hashCode() - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.MatchOption
+
 
+
hashCode() - Method in class com.mailslurp.models.MatchOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
hashCode() - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.NameServerRecord
+
 
+
hashCode() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageableObject
+
 
+
hashCode() - Method in class com.mailslurp.models.PageAlias
+
 
+
hashCode() - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
hashCode() - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
hashCode() - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
hashCode() - Method in class com.mailslurp.models.PageComplaint
+
 
+
hashCode() - Method in class com.mailslurp.models.PageConnector
+
 
+
hashCode() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
hashCode() - Method in class com.mailslurp.models.PageContactProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
hashCode() - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
hashCode() - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
hashCode() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
hashCode() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
hashCode() - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
hashCode() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
hashCode() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
hashCode() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
hashCode() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
hashCode() - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
hashCode() - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
hashCode() - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.PhonePlanDto
+
 
+
hashCode() - Method in class com.mailslurp.models.RawEmailJson
+
 
+
hashCode() - Method in class com.mailslurp.models.Recipient
+
 
+
hashCode() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.ScheduledJob
+
 
+
hashCode() - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
hashCode() - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.Sender
+
 
+
hashCode() - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
hashCode() - Method in class com.mailslurp.models.SentEmailDto
+
 
+
hashCode() - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.SetInboxFavouritedOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.SmsDto
+
 
+
hashCode() - Method in class com.mailslurp.models.SmsMatchOption
+
 
+
hashCode() - Method in class com.mailslurp.models.SmsPreview
+
 
+
hashCode() - Method in class com.mailslurp.models.SmsProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.Sort
+
 
+
hashCode() - Method in class com.mailslurp.models.TemplateDto
+
 
+
hashCode() - Method in class com.mailslurp.models.TemplatePreview
+
 
+
hashCode() - Method in class com.mailslurp.models.TemplateProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.TemplateVariable
+
 
+
hashCode() - Method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.TestPhoneNumberOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.ThreadProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
hashCode() - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.UnreadCount
+
 
+
hashCode() - Method in class com.mailslurp.models.UnseenErrorCountDto
+
 
+
hashCode() - Method in class com.mailslurp.models.UpdateAliasOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.UpdateDomainOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.UpdateGroupContacts
+
 
+
hashCode() - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
hashCode() - Method in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
hashCode() - Method in class com.mailslurp.models.UserInfoDto
+
 
+
hashCode() - Method in class com.mailslurp.models.ValidateEmailAddressListOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
hashCode() - Method in class com.mailslurp.models.ValidationDto
+
 
+
hashCode() - Method in class com.mailslurp.models.ValidationMessage
+
 
+
hashCode() - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.VerifyWebhookSignatureResults
+
 
+
hashCode() - Method in class com.mailslurp.models.WaitForConditions
+
 
+
hashCode() - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
hashCode() - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookDto
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookHeaders
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookProjection
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookRedriveResult
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookTestResponse
+
 
+
hashCode() - Method in class com.mailslurp.models.WebhookTestResult
+
 
+
hasIssues(Boolean) - Method in class com.mailslurp.models.DomainIssuesDto
+
 
+
hasMissingRecords(Boolean) - Method in class com.mailslurp.models.DomainDto
+
 
+
hasMissingRecords(Boolean) - Method in class com.mailslurp.models.DomainPreview
+
 
+
headerId(String) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
headers(Map<String, String>) - Method in class com.mailslurp.models.Email
+
 
+
headers(List<WebhookHeaderNameValue>) - Method in class com.mailslurp.models.WebhookHeaders
+
 
+
headers(Map<String, String>) - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
headersMap(Map<String, List<String>>) - Method in class com.mailslurp.models.Email
+
 
+
host(String) - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
hostname(String) - Method in class com.mailslurp.models.DNSLookupOptions
+
 
+
hostname(String) - Method in class com.mailslurp.models.IPAddressResult
+
 
+
html(Boolean) - Method in class com.mailslurp.models.Email
+
 
+
html(Boolean) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
html(Boolean) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
html(Boolean) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
html(Boolean) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
html(String) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
html(HTMLValidationResult) - Method in class com.mailslurp.models.ValidationDto
+
 
+
HTMLValidationResult - Class in com.mailslurp.models
+
+
HTML Validation Results
+
+
HTMLValidationResult() - Constructor for class com.mailslurp.models.HTMLValidationResult
+
 
+
HTMLValidationResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
HttpBasicAuth - Class in com.mailslurp.clients.auth
+
 
+
HttpBasicAuth() - Constructor for class com.mailslurp.clients.auth.HttpBasicAuth
+
 
+
HttpBearerAuth - Class in com.mailslurp.clients.auth
+
 
+
HttpBearerAuth(String) - Constructor for class com.mailslurp.clients.auth.HttpBearerAuth
+
 
+
httpMethod(WebhookResultDto.HttpMethodEnum) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
+ + + +

I

+
+
id(UUID) - Method in class com.mailslurp.models.AliasDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.AliasProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
id(String) - Method in class com.mailslurp.models.AttachmentMetaData
+
 
+
id(UUID) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.BounceProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.Complaint
+
 
+
id(UUID) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.ContactDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.ContactProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.DomainDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.DomainPreview
+
 
+
id(UUID) - Method in class com.mailslurp.models.Email
+
 
+
id(UUID) - Method in class com.mailslurp.models.EmailPreview
+
 
+
id(UUID) - Method in class com.mailslurp.models.EmailProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
id(UUID) - Method in class com.mailslurp.models.EmergencyAddressDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.ExpiredInboxDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.GroupDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.GroupProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.InboxDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.InboxIdItem
+
 
+
id(UUID) - Method in class com.mailslurp.models.InboxPreview
+
 
+
id(UUID) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.PhonePlanDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
id(UUID) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
id(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.SmsDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.SmsPreview
+
 
+
id(UUID) - Method in class com.mailslurp.models.SmsProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.TemplateDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
id(UUID) - Method in class com.mailslurp.models.WebhookDto
+
 
+
id(UUID) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
id(UUID) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
ignoreInsecureSslCertificates(Boolean) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
ignoreInsecureSslCertificates(Boolean) - Method in class com.mailslurp.models.WebhookDto
+
 
+
ignoreReplyTo(Boolean) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
ignoreReplyTo(Boolean) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
ignoreReplyTo(Boolean) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
ImapFlagOperationOptions - Class in com.mailslurp.models
+
+
IMAP operation flags
+
+
ImapFlagOperationOptions() - Constructor for class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
ImapFlagOperationOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ImapFlagOperationOptions.FlagOperationEnum - Enum in com.mailslurp.models
+
+
Gets or Sets flagOperation
+
+
ImapFlagOperationOptions.FlagOperationEnum.Adapter - Class in com.mailslurp.models
+
 
+
imapHost(String) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
imapPassword(String) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
imapPassword(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
imapPort(Integer) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
imapServerHost(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
imapServerPort(Integer) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
imapSettings(CreateConnectorImapOptions) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
ImapSmtpAccessDetails - Class in com.mailslurp.models
+
+
Access details for inbox using SMTP or IMAP
+
+
ImapSmtpAccessDetails() - Constructor for class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
ImapSmtpAccessDetails.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
imapSsl(Boolean) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
imapUsername(String) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
imapUsername(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
InboxByEmailAddressResult - Class in com.mailslurp.models
+
+
Result of search for inbox by email address
+
+
InboxByEmailAddressResult() - Constructor for class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
InboxByEmailAddressResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxByNameResult - Class in com.mailslurp.models
+
+
Result of search for inbox by name
+
+
InboxByNameResult() - Constructor for class com.mailslurp.models.InboxByNameResult
+
 
+
InboxByNameResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxControllerApi - Class in com.mailslurp.apis
+
 
+
InboxControllerApi() - Constructor for class com.mailslurp.apis.InboxControllerApi
+
 
+
InboxControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.InboxControllerApi
+
 
+
InboxDto - Class in com.mailslurp.models
+
+
Representation of a MailSlurp inbox.
+
+
InboxDto() - Constructor for class com.mailslurp.models.InboxDto
+
 
+
InboxDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxDto.InboxTypeEnum - Enum in com.mailslurp.models
+
+
Type of inbox.
+
+
InboxDto.InboxTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
InboxExistsDto - Class in com.mailslurp.models
+
+
Result of email exists query
+
+
InboxExistsDto() - Constructor for class com.mailslurp.models.InboxExistsDto
+
 
+
InboxExistsDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxForwarderControllerApi - Class in com.mailslurp.apis
+
 
+
InboxForwarderControllerApi() - Constructor for class com.mailslurp.apis.InboxForwarderControllerApi
+
 
+
InboxForwarderControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.InboxForwarderControllerApi
+
 
+
InboxForwarderDto - Class in com.mailslurp.models
+
+
Inbox forwarder.
+
+
InboxForwarderDto() - Constructor for class com.mailslurp.models.InboxForwarderDto
+
 
+
InboxForwarderDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxForwarderDto.FieldEnum - Enum in com.mailslurp.models
+
+
Which field to match against
+
+
InboxForwarderDto.FieldEnum.Adapter - Class in com.mailslurp.models
+
 
+
InboxForwarderEventProjection - Class in com.mailslurp.models
+
+
Inbox forwarder event
+
+
InboxForwarderEventProjection() - Constructor for class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
InboxForwarderEventProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxForwarderEventProjection.StatusEnum - Enum in com.mailslurp.models
+
+
Gets or Sets status
+
+
InboxForwarderEventProjection.StatusEnum.Adapter - Class in com.mailslurp.models
+
 
+
InboxForwarderTestOptions - Class in com.mailslurp.models
+
+
Options for testing an inbox forwarder against a value
+
+
InboxForwarderTestOptions() - Constructor for class com.mailslurp.models.InboxForwarderTestOptions
+
 
+
inboxForwarderTestOptions(InboxForwarderTestOptions) - Method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
InboxForwarderTestOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxForwarderTestResult - Class in com.mailslurp.models
+
+
Results of inbox forwarder test
+
+
InboxForwarderTestResult() - Constructor for class com.mailslurp.models.InboxForwarderTestResult
+
 
+
InboxForwarderTestResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.AliasDto
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.AliasProjection
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.CreateAliasOptions
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.Email
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.EmailProjection
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.ExpiredInboxDto
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.InboxByNameResult
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.WebhookDto
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
inboxId(UUID) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
InboxIdItem - Class in com.mailslurp.models
+
+
Inbox ID and email address pair
+
+
InboxIdItem() - Constructor for class com.mailslurp.models.InboxIdItem
+
 
+
InboxIdItem.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
inboxIds(List<UUID>) - Method in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
inboxIds(List<UUID>) - Method in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
inboxIds(List<InboxIdItem>) - Method in class com.mailslurp.models.InboxIdsResult
+
 
+
inboxIds(List<UUID>) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
InboxIdsResult - Class in com.mailslurp.models
+
+
List of inbox IDs and email addresses
+
+
InboxIdsResult() - Constructor for class com.mailslurp.models.InboxIdsResult
+
 
+
InboxIdsResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxPreview - Class in com.mailslurp.models
+
+
Inbox data preview element.
+
+
InboxPreview() - Constructor for class com.mailslurp.models.InboxPreview
+
 
+
InboxPreview.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxPreview.InboxTypeEnum - Enum in com.mailslurp.models
+
+
Type of inbox.
+
+
InboxPreview.InboxTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
InboxReplierControllerApi - Class in com.mailslurp.apis
+
 
+
InboxReplierControllerApi() - Constructor for class com.mailslurp.apis.InboxReplierControllerApi
+
 
+
InboxReplierControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.InboxReplierControllerApi
+
 
+
InboxReplierDto - Class in com.mailslurp.models
+
+
Inbox replier.
+
+
InboxReplierDto() - Constructor for class com.mailslurp.models.InboxReplierDto
+
 
+
InboxReplierDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxReplierDto.FieldEnum - Enum in com.mailslurp.models
+
+
Gets or Sets field
+
+
InboxReplierDto.FieldEnum.Adapter - Class in com.mailslurp.models
+
 
+
InboxReplierEventProjection - Class in com.mailslurp.models
+
+
Inbox replier event
+
+
InboxReplierEventProjection() - Constructor for class com.mailslurp.models.InboxReplierEventProjection
+
 
+
InboxReplierEventProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxReplierEventProjection.StatusEnum - Enum in com.mailslurp.models
+
+
Gets or Sets status
+
+
InboxReplierEventProjection.StatusEnum.Adapter - Class in com.mailslurp.models
+
 
+
InboxRulesetControllerApi - Class in com.mailslurp.apis
+
 
+
InboxRulesetControllerApi() - Constructor for class com.mailslurp.apis.InboxRulesetControllerApi
+
 
+
InboxRulesetControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.InboxRulesetControllerApi
+
 
+
InboxRulesetDto - Class in com.mailslurp.models
+
+
Rules for inbox
+
+
InboxRulesetDto() - Constructor for class com.mailslurp.models.InboxRulesetDto
+
 
+
InboxRulesetDto.ActionEnum - Enum in com.mailslurp.models
+
+
Gets or Sets action
+
+
InboxRulesetDto.ActionEnum.Adapter - Class in com.mailslurp.models
+
 
+
InboxRulesetDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxRulesetDto.HandlerEnum - Enum in com.mailslurp.models
+
+
Gets or Sets handler
+
+
InboxRulesetDto.HandlerEnum.Adapter - Class in com.mailslurp.models
+
 
+
InboxRulesetDto.ScopeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets scope
+
+
InboxRulesetDto.ScopeEnum.Adapter - Class in com.mailslurp.models
+
 
+
InboxRulesetTestOptions - Class in com.mailslurp.models
+
+
Test options for inbox ruleset
+
+
InboxRulesetTestOptions() - Constructor for class com.mailslurp.models.InboxRulesetTestOptions
+
 
+
inboxRulesetTestOptions(InboxRulesetTestOptions) - Method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
InboxRulesetTestOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
InboxRulesetTestResult - Class in com.mailslurp.models
+
+
Result of test of inbox ruleset
+
+
InboxRulesetTestResult() - Constructor for class com.mailslurp.models.InboxRulesetTestResult
+
 
+
InboxRulesetTestResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
inboxType(CreateInboxDto.InboxTypeEnum) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
inboxType(InboxDto.InboxTypeEnum) - Method in class com.mailslurp.models.InboxDto
+
 
+
inboxType(InboxPreview.InboxTypeEnum) - Method in class com.mailslurp.models.InboxPreview
+
 
+
inboxType(OrganizationInboxProjection.InboxTypeEnum) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
includeHeaders(WebhookHeaders) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
invalidEmailAddresses(List<String>) - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
IPAddressResult - Class in com.mailslurp.models
+
+
IP Address look up result for a given domain / hostname
+
+
IPAddressResult() - Constructor for class com.mailslurp.models.IPAddressResult
+
 
+
IPAddressResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
isDebugging() - Method in class com.mailslurp.clients.ApiClient
+
+
Check that whether debugging is enabled for this API client.
+
+
isHTML(Boolean) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
isHTML(Boolean) - Method in class com.mailslurp.models.Email
+
 
+
isHTML(Boolean) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
isHTML(Boolean) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
isHTML(Boolean) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
isHTML(Boolean) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
isHTML(Boolean) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
isHTML(Boolean) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
isJsonMime(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Check if the given MIME is a JSON MIME.
+
+
isNullable() - Method in class com.mailslurp.models.AbstractOpenApiSchema
+
+
Is nullable
+
+
isoCountryCode(CreateEmergencyAddressOptions.IsoCountryCodeEnum) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
isValid(Boolean) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
isValid(Boolean) - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
isValid(Boolean) - Method in class com.mailslurp.models.HTMLValidationResult
+
 
+
isValid(Boolean) - Method in class com.mailslurp.models.VerifyWebhookSignatureResults
+
 
+
isVerified(Boolean) - Method in class com.mailslurp.models.AliasDto
+
 
+
isVerified(Boolean) - Method in class com.mailslurp.models.DomainDto
+
 
+
isVerified(Boolean) - Method in class com.mailslurp.models.DomainPreview
+
 
+
isVerifyingSsl() - Method in class com.mailslurp.clients.ApiClient
+
+
True if isVerifyingSsl flag is on
+
+
+ + + +

J

+
+
jobId(String) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
jobId(String) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
join(String[], String) - Static method in class com.mailslurp.clients.StringUtil
+
+
Join an array of strings with the given separator.
+
+
join(Collection<String>, String) - Static method in class com.mailslurp.clients.StringUtil
+
+
Join a list of strings with the given separator.
+
+
JSON - Class in com.mailslurp.clients
+
 
+
JSON() - Constructor for class com.mailslurp.clients.JSON
+
 
+
JSON.ByteArrayAdapter - Class in com.mailslurp.clients
+
+
Gson TypeAdapter for Byte Array type
+
+
JSON.DateTypeAdapter - Class in com.mailslurp.clients
+
+
Gson TypeAdapter for java.util.Date type + If the dateFormat is null, ISO8601Utils will be used.
+
+
JSON.LocalDateTypeAdapter - Class in com.mailslurp.clients
+
+
Gson TypeAdapter for JSR310 LocalDate type
+
+
JSON.OffsetDateTimeTypeAdapter - Class in com.mailslurp.clients
+
+
Gson TypeAdapter for JSR310 OffsetDateTime type
+
+
JSON.SqlDateTypeAdapter - Class in com.mailslurp.clients
+
+
Gson TypeAdapter for java.sql.Date type + If the dateFormat is null, a simple "yyyy-MM-dd" format will be used + (more efficient than SimpleDateFormat).
+
+
JSONSchemaDto - Class in com.mailslurp.models
+
+
JSONSchema for payload
+
+
JSONSchemaDto() - Constructor for class com.mailslurp.models.JSONSchemaDto
+
 
+
JSONSchemaDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
+ + + +

L

+
+
label(DomainNameRecord.LabelEnum) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageAlias
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageComplaint
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageConnector
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
last(Boolean) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
lastName(String) - Method in class com.mailslurp.models.ContactDto
+
 
+
lastName(String) - Method in class com.mailslurp.models.ContactProjection
+
 
+
lastName(String) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
lastName(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
limit(Integer) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
lineNumber(Integer) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
lineNumber(Integer) - Method in class com.mailslurp.models.ValidationMessage
+
 
+
lines(List<String>) - Method in class com.mailslurp.models.EmailTextLinesResult
+
 
+
links(List<String>) - Method in class com.mailslurp.models.EmailLinksResult
+
 
+
listInboxRulesets(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List inbox rulesets + List all rulesets attached to an inbox
+
+
listInboxRulesetsAsync(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageInboxRulesetDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List inbox rulesets (asynchronously) + List all rulesets attached to an inbox
+
+
listInboxRulesetsCall(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for listInboxRulesets
+
+
listInboxRulesetsWithHttpInfo(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List inbox rulesets + List all rulesets attached to an inbox
+
+
listInboxTrackingPixels(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List inbox tracking pixels + List all tracking pixels sent from an inbox
+
+
listInboxTrackingPixelsAsync(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback<PageTrackingPixelProjection>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List inbox tracking pixels (asynchronously) + List all tracking pixels sent from an inbox
+
+
listInboxTrackingPixelsCall(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for listInboxTrackingPixels
+
+
listInboxTrackingPixelsWithHttpInfo(UUID, Integer, Integer, String, String, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
List inbox tracking pixels + List all tracking pixels sent from an inbox
+
+
listSeparatorToken(String) - Method in class com.mailslurp.models.ExportOptions
+
 
+
ListUnsubscribeRecipientProjection - Class in com.mailslurp.models
+
+
List unsubscribe recipient
+
+
ListUnsubscribeRecipientProjection() - Constructor for class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
LocalDateTypeAdapter() - Constructor for class com.mailslurp.clients.JSON.LocalDateTypeAdapter
+
 
+
LocalDateTypeAdapter(DateTimeFormatter) - Constructor for class com.mailslurp.clients.JSON.LocalDateTypeAdapter
+
 
+
localizedMessage(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
localizedMessage(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
localizedMessage(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
logLines(List<String>) - Method in class com.mailslurp.models.ConnectorSyncResult
+
 
+
+ + + +

M

+
+
mailFrom(String) - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
mailMessageId(String) - Method in class com.mailslurp.models.Complaint
+
 
+
MailServerControllerApi - Class in com.mailslurp.apis
+
 
+
MailServerControllerApi() - Constructor for class com.mailslurp.apis.MailServerControllerApi
+
 
+
MailServerControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.MailServerControllerApi
+
 
+
mailServerDomain(String) - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
mailSource(String) - Method in class com.mailslurp.models.Complaint
+
 
+
markAsRead(UUID, Boolean) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Mark an email as read on unread + Marks an email as read or unread.
+
+
markAsReadAsync(UUID, Boolean, ApiCallback<EmailPreview>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Mark an email as read on unread (asynchronously) + Marks an email as read or unread.
+
+
markAsReadCall(UUID, Boolean, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for markAsRead
+
+
markAsReadWithHttpInfo(UUID, Boolean) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Mark an email as read on unread + Marks an email as read or unread.
+
+
maskedEmailAddress(String) - Method in class com.mailslurp.models.AliasDto
+
 
+
match(String) - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
match(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
match(String) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
match(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
match(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
matches(List<String>) - Method in class com.mailslurp.models.EmailContentMatchResult
+
 
+
matches(Map<String, Boolean>) - Method in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
matches(Boolean) - Method in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
matches(List<MatchOption>) - Method in class com.mailslurp.models.MatchOptions
+
 
+
matches(List<MatchOption>) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
matches(List<SmsMatchOption>) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
MatchOption - Class in com.mailslurp.models
+
+
Options for matching emails in an inbox.
+
+
MatchOption() - Constructor for class com.mailslurp.models.MatchOption
+
 
+
MatchOption.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
MatchOption.FieldEnum - Enum in com.mailslurp.models
+
+
Fields of an email object that can be used to filter results
+
+
MatchOption.FieldEnum.Adapter - Class in com.mailslurp.models
+
 
+
MatchOption.ShouldEnum - Enum in com.mailslurp.models
+
+
How the value of the email field specified should be compared to the value given in the match options.
+
+
MatchOption.ShouldEnum.Adapter - Class in com.mailslurp.models
+
 
+
MatchOptions - Class in com.mailslurp.models
+
+
Optional filter for matching emails based on fields.
+
+
MatchOptions() - Constructor for class com.mailslurp.models.MatchOptions
+
 
+
MatchOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
maxExpirationMillis(Long) - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
message(String) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
message(String) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
message(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
message(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
message(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
message(String) - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
message(String) - Method in class com.mailslurp.models.EmptyResponseDto
+
 
+
message(String) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
message(String) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
message(String) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
message(String) - Method in class com.mailslurp.models.TestPhoneNumberOptions
+
 
+
message(String) - Method in class com.mailslurp.models.ValidationMessage
+
 
+
message(String) - Method in class com.mailslurp.models.WebhookRedriveResult
+
 
+
message(String) - Method in class com.mailslurp.models.WebhookTestResponse
+
 
+
message(String) - Method in class com.mailslurp.models.WebhookTestResult
+
 
+
messageId(String) - Method in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
messageId(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
messageId(String) - Method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
messageId(String) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
messageId(String) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
messageId(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
messageId(String) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
messageId(String) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
messageId(String) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
messageId(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
messageId(String) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
messageId(String) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
messageId(String) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
messageIds(List<String>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
metaData(Object) - Method in class com.mailslurp.models.ContactDto
+
 
+
metaData(Object) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
metaData(Object) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
method(WebhookDto.MethodEnum) - Method in class com.mailslurp.models.WebhookDto
+
 
+
method(WebhookTestRequest.MethodEnum) - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
methodName(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
MissedEmailControllerApi - Class in com.mailslurp.apis
+
 
+
MissedEmailControllerApi() - Constructor for class com.mailslurp.apis.MissedEmailControllerApi
+
 
+
MissedEmailControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.MissedEmailControllerApi
+
 
+
MissedEmailDto - Class in com.mailslurp.models
+
+
Missed email
+
+
MissedEmailDto() - Constructor for class com.mailslurp.models.MissedEmailDto
+
 
+
MissedEmailDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
MissedEmailProjection - Class in com.mailslurp.models
+
+
Missed email data
+
+
MissedEmailProjection() - Constructor for class com.mailslurp.models.MissedEmailProjection
+
 
+
MissedEmailProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
missingRecordsMessage(String) - Method in class com.mailslurp.models.DomainDto
+
 
+
moduleName(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
moduleVersion(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
mxRecords(List<NameServerRecord>) - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
+ + + +

N

+
+
name(String) - Method in class com.mailslurp.models.AliasDto
+
 
+
name(String) - Method in class com.mailslurp.models.AliasProjection
+
 
+
name(String) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
name(String) - Method in class com.mailslurp.models.AttachmentMetaData
+
 
+
name(String) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
name(String) - Method in class com.mailslurp.models.CreateAliasOptions
+
 
+
name(String) - Method in class com.mailslurp.models.CreateGroupOptions
+
 
+
name(String) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
name(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
name(String) - Method in class com.mailslurp.models.CreateTemplateOptions
+
 
+
name(String) - Method in class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
name(String) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
name(String) - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
name(String) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
name(String) - Method in class com.mailslurp.models.GroupDto
+
 
+
name(String) - Method in class com.mailslurp.models.GroupProjection
+
 
+
name(String) - Method in class com.mailslurp.models.InboxDto
+
 
+
name(String) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
name(String) - Method in class com.mailslurp.models.InboxPreview
+
 
+
name(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
name(String) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
name(String) - Method in class com.mailslurp.models.Recipient
+
 
+
name(String) - Method in class com.mailslurp.models.Sender
+
 
+
name(String) - Method in class com.mailslurp.models.TemplateDto
+
 
+
name(String) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
name(String) - Method in class com.mailslurp.models.TemplateVariable
+
 
+
name(String) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
name(String) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
name(String) - Method in class com.mailslurp.models.UpdateAliasOptions
+
 
+
name(String) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
name(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
name(String) - Method in class com.mailslurp.models.WebhookDto
+
 
+
name(String) - Method in class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
name(String) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
name(String) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
NameServerRecord - Class in com.mailslurp.models
+
+
Name Server Record
+
+
NameServerRecord() - Constructor for class com.mailslurp.models.NameServerRecord
+
 
+
NameServerRecord.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
nativeMethod(Boolean) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
nextInboxAllowsPermanent(Boolean) - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
notificationType(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageAlias
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageComplaint
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageConnector
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
number(Integer) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageAlias
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageComplaint
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageConnector
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
numberOfElements(Integer) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
+ + + +

O

+
+
offset(Long) - Method in class com.mailslurp.models.PageableObject
+
 
+
OffsetDateTimeTypeAdapter() - Constructor for class com.mailslurp.clients.JSON.OffsetDateTimeTypeAdapter
+
 
+
OffsetDateTimeTypeAdapter(DateTimeFormatter) - Constructor for class com.mailslurp.clients.JSON.OffsetDateTimeTypeAdapter
+
 
+
omitFinalDNSDot(Boolean) - Method in class com.mailslurp.models.DNSLookupOptions
+
 
+
onDownloadProgress(long, long, boolean) - Method in interface com.mailslurp.clients.ApiCallback
+
+
This is called when the API download processing.
+
+
onFailure(ApiException, int, Map<String, List<String>>) - Method in interface com.mailslurp.clients.ApiCallback
+
+
This is called when the API call fails.
+
+
onSuccess(T, int, Map<String, List<String>>) - Method in interface com.mailslurp.clients.ApiCallback
+
+
This is called when the API call succeeded.
+
+
onUploadProgress(long, long, boolean) - Method in interface com.mailslurp.clients.ApiCallback
+
+
This is called when the API upload processing.
+
+
openapiFields - Static variable in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
openapiFields - Static variable in class com.mailslurp.models.AliasDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.AliasProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.AttachmentEntity
+
 
+
openapiFields - Static variable in class com.mailslurp.models.AttachmentMetaData
+
 
+
openapiFields - Static variable in class com.mailslurp.models.AttachmentProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.BasicAuthOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.BouncedRecipientDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.BounceProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.BounceRecipientProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.Complaint
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ConditionOption
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ConnectorProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ConnectorSyncResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ContactDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ContactProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ContentMatchOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CountDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateAliasOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateConnectorOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateContactOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateDomainOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateGroupOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateTemplateOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.CreateWebhookOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.DescribeDomainOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.DNSLookupOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.DNSLookupResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.DNSLookupResults
+
 
+
openapiFields - Static variable in class com.mailslurp.models.DomainDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.DomainIssuesDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.DomainNameRecord
+
 
+
openapiFields - Static variable in class com.mailslurp.models.DomainPreview
+
 
+
openapiFields - Static variable in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.Email
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmailAnalysis
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmailContentMatchResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmailHtmlDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmailLinksResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmailPreviewUrls
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmailRecipients
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmailTextLinesResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmailVerificationResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmergencyAddressDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.EmptyResponseDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ExpirationDefaults
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ExpiredInboxDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ExportLink
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ExportOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.FilterBouncedRecipientsResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ForwardEmailOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.GravatarUrl
+
 
+
openapiFields - Static variable in class com.mailslurp.models.GroupContactsDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.GroupDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.GroupProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.HTMLValidationResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxByNameResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxExistsDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxForwarderDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxForwarderTestOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxIdItem
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxIdsResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxRulesetDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxRulesetTestOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.IPAddressResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.JSONSchemaDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.MatchOption
+
 
+
openapiFields - Static variable in class com.mailslurp.models.MatchOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.MissedEmailProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.NameServerRecord
+
 
+
openapiFields - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageableObject
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageAlias
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageConnector
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PhoneNumberDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PhoneNumberProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.PhonePlanDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.RawEmailJson
+
 
+
openapiFields - Static variable in class com.mailslurp.models.Recipient
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.Sender
+
 
+
openapiFields - Static variable in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.SetInboxFavouritedOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.SmsDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.SmsMatchOption
+
 
+
openapiFields - Static variable in class com.mailslurp.models.SmsPreview
+
 
+
openapiFields - Static variable in class com.mailslurp.models.SmsProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.Sort
+
 
+
openapiFields - Static variable in class com.mailslurp.models.TemplateDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.TemplatePreview
+
 
+
openapiFields - Static variable in class com.mailslurp.models.TemplateProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.TemplateVariable
+
 
+
openapiFields - Static variable in class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.TestPhoneNumberOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.TrackingPixelDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.TrackingPixelProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UnreadCount
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UnseenErrorCountDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UpdateAliasOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UpdateDomainOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UpdateGroupContacts
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UpdateInboxOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
openapiFields - Static variable in class com.mailslurp.models.UserInfoDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ValidateEmailAddressListOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ValidationDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.ValidationMessage
+
 
+
openapiFields - Static variable in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.VerifyWebhookSignatureResults
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookBouncePayload
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookHeaders
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookProjection
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookRedriveResult
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookTestRequest
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookTestResponse
+
 
+
openapiFields - Static variable in class com.mailslurp.models.WebhookTestResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.AliasDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.AliasProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.AttachmentEntity
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.AttachmentMetaData
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.AttachmentProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.BasicAuthOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.BouncedRecipientDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.BounceProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.BounceRecipientProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.Complaint
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ConditionOption
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ConnectorProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ConnectorSyncResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ContactDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ContactProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ContentMatchOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CountDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateAliasOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateConnectorOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateContactOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateDomainOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateGroupOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateTemplateOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.CreateWebhookOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.DescribeDomainOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.DNSLookupOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.DNSLookupResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.DNSLookupResults
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.DomainDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.DomainIssuesDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.DomainNameRecord
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.DomainPreview
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.Email
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmailAnalysis
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmailContentMatchResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmailHtmlDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmailLinksResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmailPreviewUrls
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmailRecipients
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmailTextLinesResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmailVerificationResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmergencyAddressDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.EmptyResponseDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ExpirationDefaults
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ExpiredInboxDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ExportLink
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ExportOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.FilterBouncedRecipientsResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ForwardEmailOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.GravatarUrl
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.GroupContactsDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.GroupDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.GroupProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.HTMLValidationResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxByNameResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxExistsDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxForwarderDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxForwarderTestOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxIdItem
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxIdsResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxRulesetDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxRulesetTestOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.IPAddressResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.JSONSchemaDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.MatchOption
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.MatchOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.MissedEmailProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.NameServerRecord
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageableObject
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageAlias
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageConnector
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PhoneNumberDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PhoneNumberProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.PhonePlanDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.RawEmailJson
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.Recipient
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.Sender
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.SetInboxFavouritedOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.SmsDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.SmsMatchOption
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.SmsPreview
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.SmsProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.Sort
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.TemplateDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.TemplatePreview
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.TemplateProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.TemplateVariable
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.TestPhoneNumberOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.TrackingPixelDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.TrackingPixelProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UnreadCount
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UnseenErrorCountDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UpdateAliasOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UpdateDomainOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UpdateGroupContacts
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UpdateInboxOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.UserInfoDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ValidateEmailAddressListOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ValidationDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.ValidationMessage
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.VerifyWebhookSignatureResults
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookBouncePayload
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookHeaders
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookProjection
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookRedriveResult
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookTestRequest
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookTestResponse
+
 
+
openapiRequiredFields - Static variable in class com.mailslurp.models.WebhookTestResult
+
 
+
optOut(Boolean) - Method in class com.mailslurp.models.ContactDto
+
 
+
optOut(Boolean) - Method in class com.mailslurp.models.ContactProjection
+
 
+
optOut(Boolean) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
optOut(Boolean) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
OrganizationInboxProjection - Class in com.mailslurp.models
+
+
Organization team inbox
+
+
OrganizationInboxProjection() - Constructor for class com.mailslurp.models.OrganizationInboxProjection
+
 
+
OrganizationInboxProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
OrganizationInboxProjection.InboxTypeEnum - Enum in com.mailslurp.models
+
+
Type of inbox.
+
+
OrganizationInboxProjection.InboxTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
outputFormat(ExportOptions.OutputFormatEnum) - Method in class com.mailslurp.models.ExportOptions
+
 
+
+ + + +

P

+
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageAlias
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageComplaint
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageConnector
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
pageable(PageableObject) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
PageableObject - Class in com.mailslurp.models
+
+
PageableObject
+
+
PageableObject() - Constructor for class com.mailslurp.models.PageableObject
+
 
+
PageableObject.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageAlias - Class in com.mailslurp.models
+
+
Paginated email alias results.
+
+
PageAlias() - Constructor for class com.mailslurp.models.PageAlias
+
 
+
PageAlias.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageAttachmentEntity - Class in com.mailslurp.models
+
+
Paginated attachment entity results.
+
+
PageAttachmentEntity() - Constructor for class com.mailslurp.models.PageAttachmentEntity
+
 
+
PageAttachmentEntity.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageBouncedEmail - Class in com.mailslurp.models
+
+
Paginated bounced email.
+
+
PageBouncedEmail() - Constructor for class com.mailslurp.models.PageBouncedEmail
+
 
+
PageBouncedEmail.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageBouncedRecipients - Class in com.mailslurp.models
+
+
Paginated bounced recipients.
+
+
PageBouncedRecipients() - Constructor for class com.mailslurp.models.PageBouncedRecipients
+
 
+
PageBouncedRecipients.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageComplaint - Class in com.mailslurp.models
+
+
Paginated complaint email.
+
+
PageComplaint() - Constructor for class com.mailslurp.models.PageComplaint
+
 
+
PageComplaint.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageConnector - Class in com.mailslurp.models
+
+
Paginated inbox connectors.
+
+
PageConnector() - Constructor for class com.mailslurp.models.PageConnector
+
 
+
PageConnector.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageConnectorSyncEvents - Class in com.mailslurp.models
+
+
Paginated inbox connector sync events.
+
+
PageConnectorSyncEvents() - Constructor for class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
PageConnectorSyncEvents.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageContactProjection - Class in com.mailslurp.models
+
+
Paginated contact results.
+
+
PageContactProjection() - Constructor for class com.mailslurp.models.PageContactProjection
+
 
+
PageContactProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
paged(Boolean) - Method in class com.mailslurp.models.PageableObject
+
 
+
PageDeliveryStatus - Class in com.mailslurp.models
+
+
Paginated delivery status results.
+
+
PageDeliveryStatus() - Constructor for class com.mailslurp.models.PageDeliveryStatus
+
 
+
PageDeliveryStatus.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageEmailPreview - Class in com.mailslurp.models
+
+
Paginated email preview results.
+
+
PageEmailPreview() - Constructor for class com.mailslurp.models.PageEmailPreview
+
 
+
PageEmailPreview.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageEmailProjection - Class in com.mailslurp.models
+
+
Paginated email projection results.
+
+
PageEmailProjection() - Constructor for class com.mailslurp.models.PageEmailProjection
+
 
+
PageEmailProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageEmailValidationRequest - Class in com.mailslurp.models
+
+
Paginated email validation request records.
+
+
PageEmailValidationRequest() - Constructor for class com.mailslurp.models.PageEmailValidationRequest
+
 
+
PageEmailValidationRequest.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageExpiredInboxRecordProjection - Class in com.mailslurp.models
+
+
Paginated expired inbox results.
+
+
PageExpiredInboxRecordProjection() - Constructor for class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
PageExpiredInboxRecordProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageGroupProjection - Class in com.mailslurp.models
+
+
Paginated missed email results.
+
+
PageGroupProjection() - Constructor for class com.mailslurp.models.PageGroupProjection
+
 
+
PageGroupProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageInboxForwarderDto - Class in com.mailslurp.models
+
+
Paginated inbox forwarder results.
+
+
PageInboxForwarderDto() - Constructor for class com.mailslurp.models.PageInboxForwarderDto
+
 
+
PageInboxForwarderDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageInboxForwarderEvents - Class in com.mailslurp.models
+
+
Paginated inbox forwarder events.
+
+
PageInboxForwarderEvents() - Constructor for class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
PageInboxForwarderEvents.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageInboxProjection - Class in com.mailslurp.models
+
+
Paginated inbox results.
+
+
PageInboxProjection() - Constructor for class com.mailslurp.models.PageInboxProjection
+
 
+
PageInboxProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageInboxReplierDto - Class in com.mailslurp.models
+
+
Paginated inbox replier results.
+
+
PageInboxReplierDto() - Constructor for class com.mailslurp.models.PageInboxReplierDto
+
 
+
PageInboxReplierDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageInboxReplierEvents - Class in com.mailslurp.models
+
+
Paginated inbox replier events.
+
+
PageInboxReplierEvents() - Constructor for class com.mailslurp.models.PageInboxReplierEvents
+
 
+
PageInboxReplierEvents.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageInboxRulesetDto - Class in com.mailslurp.models
+
+
Paginated inbox ruleset results.
+
+
PageInboxRulesetDto() - Constructor for class com.mailslurp.models.PageInboxRulesetDto
+
 
+
PageInboxRulesetDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageListUnsubscribeRecipients - Class in com.mailslurp.models
+
+
Paginated list unsubscribe recipients.
+
+
PageListUnsubscribeRecipients() - Constructor for class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
PageListUnsubscribeRecipients.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageMissedEmailProjection - Class in com.mailslurp.models
+
+
Paginated MissedEmail results.
+
+
PageMissedEmailProjection() - Constructor for class com.mailslurp.models.PageMissedEmailProjection
+
 
+
PageMissedEmailProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
pageNumber(Integer) - Method in class com.mailslurp.models.PageableObject
+
 
+
PageOrganizationInboxProjection - Class in com.mailslurp.models
+
+
Paginated organization inbox results.
+
+
PageOrganizationInboxProjection() - Constructor for class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
PageOrganizationInboxProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PagePhoneNumberProjection - Class in com.mailslurp.models
+
+
Paginated phone numbers.
+
+
PagePhoneNumberProjection() - Constructor for class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
PagePhoneNumberProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageScheduledJobs - Class in com.mailslurp.models
+
+
Paginated scheduled jobs results.
+
+
PageScheduledJobs() - Constructor for class com.mailslurp.models.PageScheduledJobs
+
 
+
PageScheduledJobs.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageSentEmailProjection - Class in com.mailslurp.models
+
+
Paginated sent email results.
+
+
PageSentEmailProjection() - Constructor for class com.mailslurp.models.PageSentEmailProjection
+
 
+
PageSentEmailProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageSentEmailWithQueueProjection - Class in com.mailslurp.models
+
+
Paginated sent email results for emails sent with queue.
+
+
PageSentEmailWithQueueProjection() - Constructor for class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
PageSentEmailWithQueueProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
pageSize(Integer) - Method in class com.mailslurp.models.PageableObject
+
 
+
PageSmsProjection - Class in com.mailslurp.models
+
+
Paginated SMS messages.
+
+
PageSmsProjection() - Constructor for class com.mailslurp.models.PageSmsProjection
+
 
+
PageSmsProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageTemplateProjection - Class in com.mailslurp.models
+
+
Paginated email template results.
+
+
PageTemplateProjection() - Constructor for class com.mailslurp.models.PageTemplateProjection
+
 
+
PageTemplateProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageThreadProjection - Class in com.mailslurp.models
+
+
Paginated email projection results.
+
+
PageThreadProjection() - Constructor for class com.mailslurp.models.PageThreadProjection
+
 
+
PageThreadProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageTrackingPixelProjection - Class in com.mailslurp.models
+
+
Paginated TrackingPixel results.
+
+
PageTrackingPixelProjection() - Constructor for class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
PageTrackingPixelProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageUnknownMissedEmailProjection - Class in com.mailslurp.models
+
+
Paginated unknown MissedEmail results.
+
+
PageUnknownMissedEmailProjection() - Constructor for class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
PageUnknownMissedEmailProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageWebhookProjection - Class in com.mailslurp.models
+
+
Paginated webhook entity.
+
+
PageWebhookProjection() - Constructor for class com.mailslurp.models.PageWebhookProjection
+
 
+
PageWebhookProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PageWebhookResult - Class in com.mailslurp.models
+
+
Paginated webhook results.
+
+
PageWebhookResult() - Constructor for class com.mailslurp.models.PageWebhookResult
+
 
+
PageWebhookResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
Pair - Class in com.mailslurp.clients
+
 
+
Pair(String, String) - Constructor for class com.mailslurp.clients.Pair
+
 
+
parameterToPair(String, Object) - Method in class com.mailslurp.clients.ApiClient
+
+
Formats the specified query parameter to a list containing a single Pair object.
+
+
parameterToPairs(String, String, Collection) - Method in class com.mailslurp.clients.ApiClient
+
+
Formats the specified collection query parameters to a list of Pair objects.
+
+
parameterToString(Object) - Method in class com.mailslurp.clients.ApiClient
+
+
Format the given parameter object into string.
+
+
password(String) - Method in class com.mailslurp.models.BasicAuthOptions
+
 
+
password(String) - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
pattern(String) - Method in class com.mailslurp.models.ContentMatchOptions
+
 
+
pattern(String) - Method in class com.mailslurp.models.EmailContentMatchResult
+
 
+
payload(String) - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
payloadJsonSchema(String) - Method in class com.mailslurp.models.WebhookDto
+
 
+
PhoneControllerApi - Class in com.mailslurp.apis
+
 
+
PhoneControllerApi() - Constructor for class com.mailslurp.apis.PhoneControllerApi
+
 
+
PhoneControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.PhoneControllerApi
+
 
+
phoneCountry(EmergencyAddress.PhoneCountryEnum) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
phoneCountry(EmergencyAddressDto.PhoneCountryEnum) - Method in class com.mailslurp.models.EmergencyAddressDto
+
 
+
phoneCountry(PhoneNumberDto.PhoneCountryEnum) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
phoneCountry(PhoneNumberProjection.PhoneCountryEnum) - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
phoneCountry(PhonePlanDto.PhoneCountryEnum) - Method in class com.mailslurp.models.PhonePlanDto
+
 
+
phoneId(UUID) - Method in class com.mailslurp.models.WebhookDto
+
 
+
phoneNumber(String) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
phoneNumber(String) - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
phoneNumber(UUID) - Method in class com.mailslurp.models.SmsDto
+
 
+
phoneNumber(UUID) - Method in class com.mailslurp.models.SmsPreview
+
 
+
phoneNumber(UUID) - Method in class com.mailslurp.models.SmsProjection
+
 
+
phoneNumber(UUID) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
PhoneNumberDto - Class in com.mailslurp.models
+
+
PhoneNumberDto
+
+
PhoneNumberDto() - Constructor for class com.mailslurp.models.PhoneNumberDto
+
 
+
PhoneNumberDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PhoneNumberDto.PhoneCountryEnum - Enum in com.mailslurp.models
+
+
Gets or Sets phoneCountry
+
+
PhoneNumberDto.PhoneCountryEnum.Adapter - Class in com.mailslurp.models
+
 
+
phoneNumberId(UUID) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
phoneNumberId(UUID) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
phoneNumberId(UUID) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
PhoneNumberProjection - Class in com.mailslurp.models
+
+
Phone number projection
+
+
PhoneNumberProjection() - Constructor for class com.mailslurp.models.PhoneNumberProjection
+
 
+
PhoneNumberProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PhoneNumberProjection.PhoneCountryEnum - Enum in com.mailslurp.models
+
+
Gets or Sets phoneCountry
+
+
PhoneNumberProjection.PhoneCountryEnum.Adapter - Class in com.mailslurp.models
+
 
+
phonePlan(UUID) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
PhonePlanDto - Class in com.mailslurp.models
+
+
PhonePlanDto
+
+
PhonePlanDto() - Constructor for class com.mailslurp.models.PhonePlanDto
+
 
+
PhonePlanDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
PhonePlanDto.PhoneCountryEnum - Enum in com.mailslurp.models
+
+
Gets or Sets phoneCountry
+
+
PhonePlanDto.PhoneCountryEnum.Adapter - Class in com.mailslurp.models
+
 
+
pixelId(UUID) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
pixelIds(List<UUID>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
plainHtmlBodyUrl(String) - Method in class com.mailslurp.models.EmailPreviewUrls
+
 
+
port(Integer) - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
port(Integer) - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
port(Integer) - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
postalCode(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
postalCode(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
prepareDownloadFile(Response) - Method in class com.mailslurp.clients.ApiClient
+
+
Prepare file for download
+
+
preview(String) - Method in class com.mailslurp.models.TemplatePreview
+
 
+
primaryEmailAddress(String) - Method in class com.mailslurp.models.ContactDto
+
 
+
primaryEmailAddress(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
priority(String) - Method in class com.mailslurp.models.NameServerRecord
+
 
+
processCookieParams(Map<String, String>, Request.Builder) - Method in class com.mailslurp.clients.ApiClient
+
+
Set cookie parameters to the request builder, including default cookies.
+
+
processHeaderParams(Map<String, String>, Request.Builder) - Method in class com.mailslurp.clients.ApiClient
+
+
Set header parameters to the request builder, including default headers.
+
+
processingTimeMillis(Long) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
processingTimeMillis(Long) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
ProgressRequestBody - Class in com.mailslurp.clients
+
 
+
ProgressRequestBody(RequestBody, ApiCallback) - Constructor for class com.mailslurp.clients.ProgressRequestBody
+
 
+
ProgressResponseBody - Class in com.mailslurp.clients
+
 
+
ProgressResponseBody(ResponseBody, ApiCallback) - Constructor for class com.mailslurp.clients.ProgressResponseBody
+
 
+
putHeadersItem(String, String) - Method in class com.mailslurp.models.Email
+
 
+
putHeadersItem(String, String) - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
putHeadersMapItem(String, List<String>) - Method in class com.mailslurp.models.Email
+
 
+
putMatchesItem(String, Boolean) - Method in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
putResultMapEmailAddressIsValidItem(String, Boolean) - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
putRulesetMatchesItem(String, Boolean) - Method in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
putTemplateVariablesItem(String, Object) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
putTemplateVariablesItem(String, Object) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
putTemplateVariablesItem(String, Object) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
putTemplateVariablesItem(String, Object) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
putTemplateVariablesItem(String, Object) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
putTemplateVariablesItem(String, Object) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
putTemplateVariablesItem(String, Object) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
+ + + +

R

+
+
raw(String) - Method in class com.mailslurp.models.NameServerRecord
+
 
+
rawBucket(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
RawEmailJson - Class in com.mailslurp.models
+
+
Content in raw format
+
+
RawEmailJson() - Constructor for class com.mailslurp.models.RawEmailJson
+
 
+
RawEmailJson.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
rawKey(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
rawSmtpMessageUrl(String) - Method in class com.mailslurp.models.EmailPreviewUrls
+
 
+
rawUrl(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
rawValue(String) - Method in class com.mailslurp.models.Recipient
+
 
+
rawValue(String) - Method in class com.mailslurp.models.Sender
+
 
+
rcptTo(List<String>) - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
read(JsonReader) - Method in class com.mailslurp.clients.JSON.ByteArrayAdapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.clients.JSON.DateTypeAdapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.clients.JSON.LocalDateTypeAdapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.clients.JSON.OffsetDateTimeTypeAdapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.clients.JSON.SqlDateTypeAdapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.AbstractWebhookPayload.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ConditionOption.ConditionEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ConditionOption.ValueEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ConnectorDto.ConnectorTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.CreateDomainOptions.DomainTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.CreateInboxDto.InboxTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.CreateInboxReplierOptions.FieldEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.CreateWebhookOptions.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.DNSLookupOptions.RecordTypesEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.DNSLookupResult.RecordTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.DomainDto.DomainTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.DomainNameRecord.LabelEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.DomainNameRecord.RecordTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.DomainPreview.DomainTypeEnum.Adapter
+
 
+
read(Boolean) - Method in class com.mailslurp.models.Email
+
 
+
read(Boolean) - Method in class com.mailslurp.models.EmailPreview
+
 
+
read(Boolean) - Method in class com.mailslurp.models.EmailProjection
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.EmergencyAddress.PhoneCountryEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ExportOptions.OutputFormatEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.InboxDto.InboxTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.InboxForwarderDto.FieldEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.InboxForwarderEventProjection.StatusEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.InboxPreview.InboxTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.InboxReplierDto.FieldEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.InboxReplierEventProjection.StatusEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.InboxRulesetDto.ActionEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.InboxRulesetDto.HandlerEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.InboxRulesetDto.ScopeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.MatchOption.FieldEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.MatchOption.ShouldEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.PhonePlanDto.PhoneCountryEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ScheduledJob.StatusEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.ScheduledJobDto.StatusEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.SendEmailOptions.SendStrategyEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum.Adapter
+
 
+
read(Boolean) - Method in class com.mailslurp.models.SmsDto
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.SmsMatchOption.FieldEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.SmsMatchOption.ShouldEnum.Adapter
+
 
+
read(Boolean) - Method in class com.mailslurp.models.SmsProjection
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.TemplateVariable.VariableTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.UserInfoDto.AccountStateEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.UserInfoDto.AccountTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WaitForConditions.CountTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WaitForConditions.SortDirectionEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WaitForSmsConditions.CountTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookBouncePayload.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookDto.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookDto.MethodEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookNewContactPayload.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum.Adapter
+
 
+
read(Boolean) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookProjection.EventNameEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookResultDto.HttpMethodEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookResultDto.ResultTypeEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookResultDto.WebhookEventEnum.Adapter
+
 
+
read(JsonReader) - Method in class com.mailslurp.models.WebhookTestRequest.MethodEnum.Adapter
+
 
+
readOnly(Boolean) - Method in class com.mailslurp.models.InboxDto
+
 
+
readOnly(Boolean) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
readOnly(Boolean) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
received(OffsetDateTime) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
received(OffsetDateTime) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
recipient(String) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
recipient(String) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
recipient(String) - Method in class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
Recipient - Class in com.mailslurp.models
+
+
Email recipient
+
+
Recipient() - Constructor for class com.mailslurp.models.Recipient
+
 
+
recipient(String) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
recipient(String) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
recipient(String) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
recipient(String) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
Recipient.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
recipients(List<String>) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
recipients(EmailRecipients) - Method in class com.mailslurp.models.Email
+
 
+
recipients(List<String>) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
recipients(List<String>) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
recordEntries(List<String>) - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
recordEntries(List<String>) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
recordType(DNSLookupResult.RecordTypeEnum) - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
recordType(DomainNameRecord.RecordTypeEnum) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
recordType(String) - Method in class com.mailslurp.models.NameServerRecord
+
 
+
recordTypes(List<DNSLookupOptions.RecordTypesEnum>) - Method in class com.mailslurp.models.DNSLookupOptions
+
 
+
redriveId(UUID) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
redriveWebhookResult(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook result and try to resend the original webhook payload + Allows you to resend a webhook payload that was already sent.
+
+
redriveWebhookResultAsync(UUID, ApiCallback<WebhookRedriveResult>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook result and try to resend the original webhook payload (asynchronously) + Allows you to resend a webhook payload that was already sent.
+
+
redriveWebhookResultCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for redriveWebhookResult
+
+
redriveWebhookResultWithHttpInfo(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Get a webhook result and try to resend the original webhook payload + Allows you to resend a webhook payload that was already sent.
+
+
region(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
region(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
remoteMtaIp(String) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
remoteMtaIp(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
removeContactsFromGroup(UUID, UpdateGroupContacts) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Remove contacts from a group
+
+
removeContactsFromGroupAsync(UUID, UpdateGroupContacts, ApiCallback<GroupContactsDto>) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Remove contacts from a group (asynchronously)
+
+
removeContactsFromGroupCall(UUID, UpdateGroupContacts, ApiCallback) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Build call for removeContactsFromGroup
+
+
removeContactsFromGroupWithHttpInfo(UUID, UpdateGroupContacts) - Method in class com.mailslurp.apis.GroupControllerApi
+
+
Remove contacts from a group
+
+
replierId(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
replyTo(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
replyTo(String) - Method in class com.mailslurp.models.Email
+
 
+
replyTo(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
replyTo(String) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
replyTo(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
replyTo(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
replyTo(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
replyToAliasEmail(UUID, UUID, ReplyToAliasEmailOptions) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Reply to an email + Send the reply to the email sender or reply-to and include same subject cc bcc etc.
+
+
replyToAliasEmailAsync(UUID, UUID, ReplyToAliasEmailOptions, ApiCallback<SentEmailDto>) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Reply to an email (asynchronously) + Send the reply to the email sender or reply-to and include same subject cc bcc etc.
+
+
replyToAliasEmailCall(UUID, UUID, ReplyToAliasEmailOptions, ApiCallback) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Build call for replyToAliasEmail
+
+
ReplyToAliasEmailOptions - Class in com.mailslurp.models
+
+
Options for replying to an alias email using the alias inbox
+
+
ReplyToAliasEmailOptions() - Constructor for class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
ReplyToAliasEmailOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ReplyToAliasEmailOptions.SendStrategyEnum - Enum in com.mailslurp.models
+
+
How an email should be sent based on its recipients
+
+
ReplyToAliasEmailOptions.SendStrategyEnum.Adapter - Class in com.mailslurp.models
+
 
+
replyToAliasEmailWithHttpInfo(UUID, UUID, ReplyToAliasEmailOptions) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Reply to an email + Send the reply to the email sender or reply-to and include same subject cc bcc etc.
+
+
replyToEmail(UUID, ReplyToEmailOptions) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Reply to an email + Send the reply to the email sender or reply-to and include same subject cc bcc etc.
+
+
replyToEmailAsync(UUID, ReplyToEmailOptions, ApiCallback<SentEmailDto>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Reply to an email (asynchronously) + Send the reply to the email sender or reply-to and include same subject cc bcc etc.
+
+
replyToEmailCall(UUID, ReplyToEmailOptions, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for replyToEmail
+
+
ReplyToEmailOptions - Class in com.mailslurp.models
+
+
Options for replying to email with API
+
+
ReplyToEmailOptions() - Constructor for class com.mailslurp.models.ReplyToEmailOptions
+
 
+
ReplyToEmailOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ReplyToEmailOptions.SendStrategyEnum - Enum in com.mailslurp.models
+
+
How an email should be sent based on its recipients
+
+
ReplyToEmailOptions.SendStrategyEnum.Adapter - Class in com.mailslurp.models
+
 
+
replyToEmailWithHttpInfo(UUID, ReplyToEmailOptions) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Reply to an email + Send the reply to the email sender or reply-to and include same subject cc bcc etc.
+
+
reportingMta(String) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
reportingMta(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
request(WebhookTestRequest) - Method in class com.mailslurp.models.WebhookTestResult
+
 
+
requestBodyTemplate(String) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
requestBodyTemplate(String) - Method in class com.mailslurp.models.WebhookDto
+
 
+
requestHeaders(WebhookHeaders) - Method in class com.mailslurp.models.WebhookDto
+
 
+
required(Boolean) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
response(WebhookTestResponse) - Method in class com.mailslurp.models.WebhookTestResult
+
 
+
responseBodyExtract(String) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
responseStatus(Integer) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
responseTimeMillis(Long) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
restoreMissedEmails() - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Restore missed emails + If emails were missed due to a plan limit they are saved as missed emails.
+
+
restoreMissedEmailsAsync(ApiCallback<Void>) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Restore missed emails (asynchronously) + If emails were missed due to a plan limit they are saved as missed emails.
+
+
restoreMissedEmailsCall(ApiCallback) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Build call for restoreMissedEmails
+
+
restoreMissedEmailsWithHttpInfo() - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Restore missed emails + If emails were missed due to a plan limit they are saved as missed emails.
+
+
resultMapEmailAddressIsValid(Map<String, Boolean>) - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
results(List<DNSLookupResult>) - Method in class com.mailslurp.models.DNSLookupResults
+
 
+
resultType(WebhookResultDto.ResultTypeEnum) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
rulesetMatches(Map<String, Boolean>) - Method in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
+ + + +

S

+
+
sanitizeFilename(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Sanitize filename by removing path.
+
+
ScheduledJob - Class in com.mailslurp.models
+
+
ScheduledJob
+
+
ScheduledJob() - Constructor for class com.mailslurp.models.ScheduledJob
+
 
+
ScheduledJob.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ScheduledJob.StatusEnum - Enum in com.mailslurp.models
+
+
Gets or Sets status
+
+
ScheduledJob.StatusEnum.Adapter - Class in com.mailslurp.models
+
 
+
ScheduledJobDto - Class in com.mailslurp.models
+
+
ScheduledJobDto
+
+
ScheduledJobDto() - Constructor for class com.mailslurp.models.ScheduledJobDto
+
 
+
ScheduledJobDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ScheduledJobDto.StatusEnum - Enum in com.mailslurp.models
+
+
Gets or Sets status
+
+
ScheduledJobDto.StatusEnum.Adapter - Class in com.mailslurp.models
+
 
+
scope(CreateInboxRulesetOptions.ScopeEnum) - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
scope(InboxRulesetDto.ScopeEnum) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
secureSmtpPassword(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
secureSmtpServerHost(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
secureSmtpServerPort(Integer) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
secureSmtpUsername(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
seen(Boolean) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
seen(Boolean) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
seen(Boolean) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
seenAt(OffsetDateTime) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
seenAt(OffsetDateTime) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
selectHeaderAccept(String[]) - Method in class com.mailslurp.clients.ApiClient
+
+
Select the Accept header's value from the given accepts array: + if JSON exists in the given array, use it; + otherwise use all of them (joining into a string)
+
+
selectHeaderContentType(String[]) - Method in class com.mailslurp.clients.ApiClient
+
+
Select the Content-Type header's value from the given array: + if JSON exists in the given array, use it; + otherwise use the first one of the array.
+
+
sendAliasEmail(UUID, SendEmailOptions) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Send an email from an alias inbox + Send an email from an alias.
+
+
sendAliasEmailAsync(UUID, SendEmailOptions, ApiCallback<SentEmailDto>) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Send an email from an alias inbox (asynchronously) + Send an email from an alias.
+
+
sendAliasEmailCall(UUID, SendEmailOptions, ApiCallback) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Build call for sendAliasEmail
+
+
sendAliasEmailWithHttpInfo(UUID, SendEmailOptions) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Send an email from an alias inbox + Send an email from an alias.
+
+
sendAtTimestamp(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
sendAtTimestamp(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
sendEmail(UUID, SendEmailOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send Email + Send an email from an inbox's email address.
+
+
sendEmailAndConfirm(UUID, SendEmailOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email and return sent confirmation + Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it.
+
+
sendEmailAndConfirmAsync(UUID, SendEmailOptions, ApiCallback<SentEmailDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email and return sent confirmation (asynchronously) + Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it.
+
+
sendEmailAndConfirmCall(UUID, SendEmailOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for sendEmailAndConfirm
+
+
sendEmailAndConfirmWithHttpInfo(UUID, SendEmailOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email and return sent confirmation + Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it.
+
+
sendEmailAsync(UUID, SendEmailOptions, ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send Email (asynchronously) + Send an email from an inbox's email address.
+
+
sendEmailCall(UUID, SendEmailOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for sendEmail
+
+
sendEmailOptions(SendEmailOptions) - Method in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
SendEmailOptions - Class in com.mailslurp.models
+
+
Options for the email to be sent
+
+
SendEmailOptions() - Constructor for class com.mailslurp.models.SendEmailOptions
+
 
+
SendEmailOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
SendEmailOptions.SendStrategyEnum - Enum in com.mailslurp.models
+
+
How an email should be sent based on its recipients
+
+
SendEmailOptions.SendStrategyEnum.Adapter - Class in com.mailslurp.models
+
 
+
SendEmailOptions.ValidateEmailAddressesEnum - Enum in com.mailslurp.models
+
+
Validate recipient email addresses before sending
+
+
SendEmailOptions.ValidateEmailAddressesEnum.Adapter - Class in com.mailslurp.models
+
 
+
sendEmailSimple(SimpleSendEmailOptions) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Send an email + If no senderId or inboxId provided a random email address will be used to send from.
+
+
sendEmailSimpleAsync(SimpleSendEmailOptions, ApiCallback<Void>) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Send an email (asynchronously) + If no senderId or inboxId provided a random email address will be used to send from.
+
+
sendEmailSimpleCall(SimpleSendEmailOptions, ApiCallback) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Build call for sendEmailSimple
+
+
sendEmailSimpleWithHttpInfo(SimpleSendEmailOptions) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
+
Send an email + If no senderId or inboxId provided a random email address will be used to send from.
+
+
sendEmailSourceOptional(SendEmailOptions, UUID, Boolean, Boolean) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Send email + Alias for `InboxController.sendEmail` method - see original method for full details.
+
+
sendEmailSourceOptionalAsync(SendEmailOptions, UUID, Boolean, Boolean, ApiCallback<Void>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Send email (asynchronously) + Alias for `InboxController.sendEmail` method - see original method for full details.
+
+
sendEmailSourceOptionalCall(SendEmailOptions, UUID, Boolean, Boolean, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for sendEmailSourceOptional
+
+
sendEmailSourceOptionalWithHttpInfo(SendEmailOptions, UUID, Boolean, Boolean) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Send email + Alias for `InboxController.sendEmail` method - see original method for full details.
+
+
sendEmailWithHttpInfo(UUID, SendEmailOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send Email + Send an email from an inbox's email address.
+
+
sendEmailWithQueue(UUID, Boolean, SendEmailOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email with queue + Send an email using a queue.
+
+
sendEmailWithQueueAsync(UUID, Boolean, SendEmailOptions, ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email with queue (asynchronously) + Send an email using a queue.
+
+
sendEmailWithQueueCall(UUID, Boolean, SendEmailOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for sendEmailWithQueue
+
+
sendEmailWithQueueWithHttpInfo(UUID, Boolean, SendEmailOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email with queue + Send an email using a queue.
+
+
sender(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
sender(String) - Method in class com.mailslurp.models.BounceProjection
+
 
+
sender(Sender) - Method in class com.mailslurp.models.Email
+
 
+
Sender - Class in com.mailslurp.models
+
+
Sender object containing from email address and from personal name if provided in address
+
+
Sender() - Constructor for class com.mailslurp.models.Sender
+
 
+
sender(String) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
Sender.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
senderEmailAddress(String) - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
senderId(UUID) - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
sendSmtpEnvelope(UUID, SendSMTPEnvelopeOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email using an SMTP mail envelope and message body and return sent confirmation + Send email using an SMTP envelope containing RCPT TO, MAIL FROM, and a SMTP BODY.
+
+
sendSmtpEnvelopeAsync(UUID, SendSMTPEnvelopeOptions, ApiCallback<SentEmailDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email using an SMTP mail envelope and message body and return sent confirmation (asynchronously) + Send email using an SMTP envelope containing RCPT TO, MAIL FROM, and a SMTP BODY.
+
+
sendSmtpEnvelopeCall(UUID, SendSMTPEnvelopeOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for sendSmtpEnvelope
+
+
SendSMTPEnvelopeOptions - Class in com.mailslurp.models
+
+
Options for the email envelope
+
+
SendSMTPEnvelopeOptions() - Constructor for class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
SendSMTPEnvelopeOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
sendSmtpEnvelopeWithHttpInfo(UUID, SendSMTPEnvelopeOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email using an SMTP mail envelope and message body and return sent confirmation + Send email using an SMTP envelope containing RCPT TO, MAIL FROM, and a SMTP BODY.
+
+
sendStrategy(ReplyToAliasEmailOptions.SendStrategyEnum) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
sendStrategy(ReplyToEmailOptions.SendStrategyEnum) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
sendStrategy(SendEmailOptions.SendStrategyEnum) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
sendTestData(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Send webhook test data
+
+
sendTestDataAsync(UUID, ApiCallback<WebhookTestResult>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Send webhook test data (asynchronously)
+
+
sendTestDataCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for sendTestData
+
+
sendTestDataWithHttpInfo(UUID) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Send webhook test data
+
+
sendTestEmail(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send a test email to inbox + Send an inbox a test email to test email receiving is working
+
+
sendTestEmailAsync(UUID, ApiCallback<Void>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send a test email to inbox (asynchronously) + Send an inbox a test email to test email receiving is working
+
+
sendTestEmailCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for sendTestEmail
+
+
sendTestEmailWithHttpInfo(UUID) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send a test email to inbox + Send an inbox a test email to test email receiving is working
+
+
SendWithQueueResult - Class in com.mailslurp.models
+
+
Collection of items
+
+
SendWithQueueResult() - Constructor for class com.mailslurp.models.SendWithQueueResult
+
 
+
SendWithQueueResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
sendWithSchedule(UUID, SendEmailOptions, OffsetDateTime, Long, Boolean) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email with with delay or schedule + Send an email using a delay.
+
+
sendWithScheduleAsync(UUID, SendEmailOptions, OffsetDateTime, Long, Boolean, ApiCallback<ScheduledJobDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email with with delay or schedule (asynchronously) + Send an email using a delay.
+
+
sendWithScheduleCall(UUID, SendEmailOptions, OffsetDateTime, Long, Boolean, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for sendWithSchedule
+
+
sendWithScheduleWithHttpInfo(UUID, SendEmailOptions, OffsetDateTime, Long, Boolean) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Send email with with delay or schedule + Send an email using a delay.
+
+
sentAt(OffsetDateTime) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
SentEmailDto - Class in com.mailslurp.models
+
+
Sent email details
+
+
SentEmailDto() - Constructor for class com.mailslurp.models.SentEmailDto
+
 
+
SentEmailDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
sentEmailId(UUID) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
sentEmailId(UUID) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
sentEmailId(UUID) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
sentEmailId(UUID) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
sentEmailId(UUID) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
sentEmailId(UUID) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
SentEmailProjection - Class in com.mailslurp.models
+
+
Collection of items
+
+
SentEmailProjection() - Constructor for class com.mailslurp.models.SentEmailProjection
+
 
+
SentEmailProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
SentEmailsControllerApi - Class in com.mailslurp.apis
+
 
+
SentEmailsControllerApi() - Constructor for class com.mailslurp.apis.SentEmailsControllerApi
+
 
+
SentEmailsControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.SentEmailsControllerApi
+
 
+
sentId(UUID) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
sentId(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
sentId(UUID) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
sentToRecipients(List<String>) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
sentToRecipients(List<String>) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
serialize(Object, String) - Method in class com.mailslurp.clients.ApiClient
+
+
Serialize the given Java object into request body according to the object's + class and the request Content-Type.
+
+
serialize(Object) - Static method in class com.mailslurp.clients.JSON
+
+
Serialize the given Java object into JSON string.
+
+
SERIALIZED_NAME_ACCOUNT_SID - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_ACCOUNT_STATE - Static variable in class com.mailslurp.models.UserInfoDto
+
 
+
SERIALIZED_NAME_ACCOUNT_TYPE - Static variable in class com.mailslurp.models.UserInfoDto
+
 
+
SERIALIZED_NAME_ACTION - Static variable in class com.mailslurp.models.BouncedRecipientDto
+
 
+
SERIALIZED_NAME_ACTION - Static variable in class com.mailslurp.models.BounceRecipientProjection
+
 
+
SERIALIZED_NAME_ACTION - Static variable in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
SERIALIZED_NAME_ACTION - Static variable in class com.mailslurp.models.InboxRulesetDto
+
 
+
SERIALIZED_NAME_ADD_TRACKING_PIXEL - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_ADDRESS - Static variable in class com.mailslurp.models.IPAddressResult
+
 
+
SERIALIZED_NAME_ADDRESS1 - Static variable in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
SERIALIZED_NAME_ADDRESS1 - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_ADDRESS1 - Static variable in class com.mailslurp.models.EmergencyAddressDto
+
 
+
SERIALIZED_NAME_ALIAS_ID - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
SERIALIZED_NAME_ALLOW_TEAM_ACCESS - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_ANALYSIS - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_ATTACHMENT_COUNT - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_ATTACHMENT_ID - Static variable in class com.mailslurp.models.AttachmentEntity
+
 
+
SERIALIZED_NAME_ATTACHMENT_ID - Static variable in class com.mailslurp.models.AttachmentProjection
+
 
+
SERIALIZED_NAME_ATTACHMENT_ID - Static variable in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
SERIALIZED_NAME_ATTACHMENT_META_DATAS - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_ATTACHMENTS - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_ATTACHMENTS - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
SERIALIZED_NAME_ATTACHMENTS - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_ATTACHMENTS - Static variable in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
SERIALIZED_NAME_ATTACHMENTS - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
SERIALIZED_NAME_ATTACHMENTS - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_ATTACHMENTS - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_ATTACHMENTS - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_BASE64_CONTENTS - Static variable in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
SERIALIZED_NAME_BASE64_FILE_CONTENTS - Static variable in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
SERIALIZED_NAME_BASIC_AUTH - Static variable in class com.mailslurp.models.CreateWebhookOptions
+
 
+
SERIALIZED_NAME_BASIC_AUTH - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_BCC - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_BCC - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
SERIALIZED_NAME_BCC - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_BCC - Static variable in class com.mailslurp.models.EmailRecipients
+
 
+
SERIALIZED_NAME_BCC - Static variable in class com.mailslurp.models.ForwardEmailOptions
+
 
+
SERIALIZED_NAME_BCC - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_BCC - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_BCC - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_BCC - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_BCC - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
SERIALIZED_NAME_BCC - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_BEFORE - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
SERIALIZED_NAME_BEFORE - Static variable in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
SERIALIZED_NAME_BEFORE - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.EmailHtmlDto
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.EmailLinksResult
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.EmailTextLinesResult
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.SmsDto
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.SmsPreview
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.SmsProjection
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_BODY - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SERIALIZED_NAME_BODY_EXCERPT - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_BODY_EXCERPT - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_BODY_EXCERPT - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_BODY_M_D5_HASH - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_BODY_M_D5_HASH - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_BODY_M_D5_HASH - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_BODY_M_D5_HASH - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_BOUNCE_ID - Static variable in class com.mailslurp.models.WebhookBouncePayload
+
 
+
SERIALIZED_NAME_BOUNCE_MTA - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_BOUNCE_MTA - Static variable in class com.mailslurp.models.BounceProjection
+
 
+
SERIALIZED_NAME_BOUNCE_RECIPIENTS - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_BOUNCE_RECIPIENTS - Static variable in class com.mailslurp.models.WebhookBouncePayload
+
 
+
SERIALIZED_NAME_BOUNCE_SUB_TYPE - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_BOUNCE_TYPE - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_BOUNCE_TYPE - Static variable in class com.mailslurp.models.BounceProjection
+
 
+
SERIALIZED_NAME_BUCKET - Static variable in class com.mailslurp.models.AttachmentEntity
+
 
+
SERIALIZED_NAME_CAN_PERMANENT_INBOX - Static variable in class com.mailslurp.models.ExpirationDefaults
+
 
+
SERIALIZED_NAME_CAN_RESTORE - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_CATCH_ALL_INBOX_ID - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_CATCH_ALL_INBOX_ID - Static variable in class com.mailslurp.models.DomainPreview
+
 
+
SERIALIZED_NAME_CATCH_ALL_INBOX_ID - Static variable in class com.mailslurp.models.UpdateDomainOptions
+
 
+
SERIALIZED_NAME_CAUSE - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
SERIALIZED_NAME_CC - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_CC - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
SERIALIZED_NAME_CC - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_CC - Static variable in class com.mailslurp.models.EmailRecipients
+
 
+
SERIALIZED_NAME_CC - Static variable in class com.mailslurp.models.ForwardEmailOptions
+
 
+
SERIALIZED_NAME_CC - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_CC - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_CC - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_CC - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_CC - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
SERIALIZED_NAME_CC - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_CHAR - Static variable in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
SERIALIZED_NAME_CHARSET - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_CHARSET - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_CHARSET - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_CHARSET - Static variable in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
SERIALIZED_NAME_CHARSET - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
SERIALIZED_NAME_CHARSET - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_CHARSET - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_CHARSET - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_CITY - Static variable in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
SERIALIZED_NAME_CITY - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_CLASS_LOADER_NAME - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
SERIALIZED_NAME_CLASS_NAME - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
SERIALIZED_NAME_COMPANY - Static variable in class com.mailslurp.models.ContactDto
+
 
+
SERIALIZED_NAME_COMPANY - Static variable in class com.mailslurp.models.ContactProjection
+
 
+
SERIALIZED_NAME_COMPANY - Static variable in class com.mailslurp.models.CreateContactOptions
+
 
+
SERIALIZED_NAME_COMPANY - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_COMPLAINT_RECIPIENT - Static variable in class com.mailslurp.models.Complaint
+
 
+
SERIALIZED_NAME_COMPLIANCE_ADDRESS - Static variable in class com.mailslurp.models.PhoneNumberDto
+
 
+
SERIALIZED_NAME_CONDITION - Static variable in class com.mailslurp.models.ConditionOption
+
 
+
SERIALIZED_NAME_CONDITIONS - Static variable in class com.mailslurp.models.MatchOptions
+
 
+
SERIALIZED_NAME_CONNECTOR_AUTH_TYPE - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_CONNECTOR_AUTH_TYPE - Static variable in class com.mailslurp.models.CreateConnectorOptions
+
 
+
SERIALIZED_NAME_CONNECTOR_ID - Static variable in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
SERIALIZED_NAME_CONNECTOR_ID - Static variable in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
SERIALIZED_NAME_CONNECTOR_TYPE - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_CONNECTOR_TYPE - Static variable in class com.mailslurp.models.ConnectorProjection
+
 
+
SERIALIZED_NAME_CONNECTOR_TYPE - Static variable in class com.mailslurp.models.CreateConnectorOptions
+
 
+
SERIALIZED_NAME_CONTACT_ID - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_CONTACT_IDS - Static variable in class com.mailslurp.models.UpdateGroupContacts
+
 
+
SERIALIZED_NAME_CONTACTS - Static variable in class com.mailslurp.models.GroupContactsDto
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.CreateTemplateOptions
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.RawEmailJson
+
 
+
SERIALIZED_NAME_CONTENT - Static variable in class com.mailslurp.models.TemplateDto
+
 
+
SERIALIZED_NAME_CONTENT_LENGTH - Static variable in class com.mailslurp.models.AttachmentEntity
+
 
+
SERIALIZED_NAME_CONTENT_LENGTH - Static variable in class com.mailslurp.models.AttachmentMetaData
+
 
+
SERIALIZED_NAME_CONTENT_LENGTH - Static variable in class com.mailslurp.models.AttachmentProjection
+
 
+
SERIALIZED_NAME_CONTENT_LENGTH - Static variable in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
SERIALIZED_NAME_CONTENT_TYPE - Static variable in class com.mailslurp.models.AttachmentEntity
+
 
+
SERIALIZED_NAME_CONTENT_TYPE - Static variable in class com.mailslurp.models.AttachmentMetaData
+
 
+
SERIALIZED_NAME_CONTENT_TYPE - Static variable in class com.mailslurp.models.AttachmentProjection
+
 
+
SERIALIZED_NAME_CONTENT_TYPE - Static variable in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
SERIALIZED_NAME_CONTENT_TYPE - Static variable in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
SERIALIZED_NAME_CONTENT_TYPE - Static variable in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
SERIALIZED_NAME_CONTENT_TYPE_HEADER - Static variable in class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
SERIALIZED_NAME_COUNT - Static variable in class com.mailslurp.models.UnreadCount
+
 
+
SERIALIZED_NAME_COUNT - Static variable in class com.mailslurp.models.UnseenErrorCountDto
+
 
+
SERIALIZED_NAME_COUNT - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
SERIALIZED_NAME_COUNT - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
SERIALIZED_NAME_COUNT_TYPE - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
SERIALIZED_NAME_COUNT_TYPE - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
SERIALIZED_NAME_CREATE_INBOX_FORWARDER_OPTIONS - Static variable in class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
SERIALIZED_NAME_CREATE_INBOX_RULESET_OPTIONS - Static variable in class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.AliasDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.AliasProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.AttachmentEntity
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.AttachmentProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.BouncedRecipientDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.BounceProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.BounceRecipientProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.Complaint
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.ConnectorProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.ContactDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.ContactProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.DomainPreview
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.GroupDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.GroupProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.InboxForwarderDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.InboxRulesetDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.MissedEmailProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.PhoneNumberDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.PhoneNumberProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.PhonePlanDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.SmsDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.SmsPreview
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.SmsProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.TemplateDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.TemplateProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.TrackingPixelDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.TrackingPixelProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.UserInfoDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.WebhookProjection
+
 
+
SERIALIZED_NAME_CREATED_AT - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_CREATED_CATCH_ALL_INBOX - Static variable in class com.mailslurp.models.CreateDomainOptions
+
 
+
SERIALIZED_NAME_CREATED_EARLIEST_TIME - Static variable in class com.mailslurp.models.ExportOptions
+
 
+
SERIALIZED_NAME_CREATED_OLDEST_TIME - Static variable in class com.mailslurp.models.ExportOptions
+
 
+
SERIALIZED_NAME_CUSTOMER_NAME - Static variable in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
SERIALIZED_NAME_CUSTOMER_NAME - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_DATA - Static variable in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
SERIALIZED_NAME_DEFAULT_EXPIRATION_MILLIS - Static variable in class com.mailslurp.models.ExpirationDefaults
+
 
+
SERIALIZED_NAME_DEFAULT_EXPIRES_AT - Static variable in class com.mailslurp.models.ExpirationDefaults
+
 
+
SERIALIZED_NAME_DELAY - Static variable in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
SERIALIZED_NAME_DELAY_TIMEOUT - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
SERIALIZED_NAME_DELAY_TIMEOUT - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
SERIALIZED_NAME_DELIVERED - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
SERIALIZED_NAME_DESCRIPTION - Static variable in class com.mailslurp.models.CreateDomainOptions
+
 
+
SERIALIZED_NAME_DESCRIPTION - Static variable in class com.mailslurp.models.CreateGroupOptions
+
 
+
SERIALIZED_NAME_DESCRIPTION - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_DESCRIPTION - Static variable in class com.mailslurp.models.GroupDto
+
 
+
SERIALIZED_NAME_DESCRIPTION - Static variable in class com.mailslurp.models.GroupProjection
+
 
+
SERIALIZED_NAME_DESCRIPTION - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_DESCRIPTION - Static variable in class com.mailslurp.models.UpdateInboxOptions
+
 
+
SERIALIZED_NAME_DIAGNOSTIC_CODE - Static variable in class com.mailslurp.models.BouncedRecipientDto
+
 
+
SERIALIZED_NAME_DIRECT - Static variable in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
SERIALIZED_NAME_DISPLAY_NAME - Static variable in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
SERIALIZED_NAME_DISPLAY_NAME - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_DKIM_TOKENS - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_DKIM_VERDICT - Static variable in class com.mailslurp.models.EmailAnalysis
+
 
+
SERIALIZED_NAME_DMARC_VERDICT - Static variable in class com.mailslurp.models.EmailAnalysis
+
 
+
SERIALIZED_NAME_DOES_MATCH - Static variable in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
SERIALIZED_NAME_DOMAIN - Static variable in class com.mailslurp.models.CreateDomainOptions
+
 
+
SERIALIZED_NAME_DOMAIN - Static variable in class com.mailslurp.models.DescribeDomainOptions
+
 
+
SERIALIZED_NAME_DOMAIN - Static variable in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
SERIALIZED_NAME_DOMAIN - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_DOMAIN - Static variable in class com.mailslurp.models.DomainPreview
+
 
+
SERIALIZED_NAME_DOMAIN_ID - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_DOMAIN_ID - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_DOMAIN_ID - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
SERIALIZED_NAME_DOMAIN_ID - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_DOMAIN_ID - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_DOMAIN_ID - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
SERIALIZED_NAME_DOMAIN_ID - Static variable in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
SERIALIZED_NAME_DOMAIN_ID - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
SERIALIZED_NAME_DOMAIN_ID - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_DOMAIN_ID - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_DOMAIN_NAME - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_DOMAIN_NAME - Static variable in class com.mailslurp.models.EmailVerificationResult
+
 
+
SERIALIZED_NAME_DOMAIN_NAME_RECORDS - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_DOMAIN_TYPE - Static variable in class com.mailslurp.models.CreateDomainOptions
+
 
+
SERIALIZED_NAME_DOMAIN_TYPE - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_DOMAIN_TYPE - Static variable in class com.mailslurp.models.DomainPreview
+
 
+
SERIALIZED_NAME_DOUBLE - Static variable in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
SERIALIZED_NAME_DOWNLOAD_LINK - Static variable in class com.mailslurp.models.ExportLink
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.AliasDto
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.AliasProjection
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.ContactProjection
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.CreateAliasOptions
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.EmailVerificationResult
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.ExpiredInboxDto
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.InboxIdItem
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.Recipient
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.Sender
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.UserInfoDto
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESS_LIST - Static variable in class com.mailslurp.models.ValidateEmailAddressListOptions
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESSES - Static variable in class com.mailslurp.models.ContactDto
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESSES - Static variable in class com.mailslurp.models.ContactProjection
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESSES - Static variable in class com.mailslurp.models.CreateContactOptions
+
 
+
SERIALIZED_NAME_EMAIL_ADDRESSES - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_EMAIL_ID - Static variable in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
SERIALIZED_NAME_EMAIL_ID - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
SERIALIZED_NAME_EMAIL_ID - Static variable in class com.mailslurp.models.ValidationDto
+
 
+
SERIALIZED_NAME_EMAIL_ID - Static variable in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
SERIALIZED_NAME_EMAIL_ID - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_EMAIL_IS_READ - Static variable in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
SERIALIZED_NAME_EMAIL_RECIPIENTS - Static variable in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
 
+
SERIALIZED_NAME_EMAIL_SYNC_COUNT - Static variable in class com.mailslurp.models.ConnectorSyncResult
+
 
+
SERIALIZED_NAME_EMERGENCY_ADDRESS - Static variable in class com.mailslurp.models.PhoneNumberDto
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_EMPTY - Static variable in class com.mailslurp.models.Sort
+
 
+
SERIALIZED_NAME_ERROR - Static variable in class com.mailslurp.models.EmailVerificationResult
+
 
+
SERIALIZED_NAME_ERRORS - Static variable in class com.mailslurp.models.HTMLValidationResult
+
 
+
SERIALIZED_NAME_EVENT_ID - Static variable in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.CreateWebhookOptions
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.WebhookBouncePayload
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SERIALIZED_NAME_EVENT_NAME - Static variable in class com.mailslurp.models.WebhookProjection
+
 
+
SERIALIZED_NAME_EVENT_TYPE - Static variable in class com.mailslurp.models.Complaint
+
 
+
SERIALIZED_NAME_EXCEPTION - Static variable in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
SERIALIZED_NAME_EXCEPTION_NAME - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
SERIALIZED_NAME_EXCLUDE_PREVIOUSLY_EXPORTED - Static variable in class com.mailslurp.models.ExportOptions
+
 
+
SERIALIZED_NAME_EXISTS - Static variable in class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
SERIALIZED_NAME_EXISTS - Static variable in class com.mailslurp.models.InboxByNameResult
+
 
+
SERIALIZED_NAME_EXISTS - Static variable in class com.mailslurp.models.InboxExistsDto
+
 
+
SERIALIZED_NAME_EXPIRE_BEFORE - Static variable in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
SERIALIZED_NAME_EXPIRES_AT - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_EXPIRES_AT - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_EXPIRES_AT - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
SERIALIZED_NAME_EXPIRES_AT - Static variable in class com.mailslurp.models.UpdateInboxOptions
+
 
+
SERIALIZED_NAME_EXPIRES_IN - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_FAVOURITE - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_FAVOURITE - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_FAVOURITE - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
SERIALIZED_NAME_FAVOURITE - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
SERIALIZED_NAME_FAVOURITE - Static variable in class com.mailslurp.models.UpdateInboxOptions
+
 
+
SERIALIZED_NAME_FIELD - Static variable in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
SERIALIZED_NAME_FIELD - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_FIELD - Static variable in class com.mailslurp.models.InboxForwarderDto
+
 
+
SERIALIZED_NAME_FIELD - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_FIELD - Static variable in class com.mailslurp.models.MatchOption
+
 
+
SERIALIZED_NAME_FIELD - Static variable in class com.mailslurp.models.SmsMatchOption
+
 
+
SERIALIZED_NAME_FIELD - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_FILE - Static variable in class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
SERIALIZED_NAME_FILE_NAME - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
SERIALIZED_NAME_FILENAME - Static variable in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
SERIALIZED_NAME_FILTER - Static variable in class com.mailslurp.models.ExportOptions
+
 
+
SERIALIZED_NAME_FILTER_BOUNCED_RECIPIENTS - Static variable in class com.mailslurp.models.ForwardEmailOptions
+
 
+
SERIALIZED_NAME_FILTER_BOUNCED_RECIPIENTS - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_FILTERED_RECIPIENTS - Static variable in class com.mailslurp.models.FilterBouncedRecipientsResult
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_FIRST - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_FIRST_NAME - Static variable in class com.mailslurp.models.ContactDto
+
 
+
SERIALIZED_NAME_FIRST_NAME - Static variable in class com.mailslurp.models.ContactProjection
+
 
+
SERIALIZED_NAME_FIRST_NAME - Static variable in class com.mailslurp.models.CreateContactOptions
+
 
+
SERIALIZED_NAME_FIRST_NAME - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_FLAG_OPERATION - Static variable in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
SERIALIZED_NAME_FLAGS - Static variable in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
SERIALIZED_NAME_FLOAT - Static variable in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
SERIALIZED_NAME_FORWARD_TO_RECIPIENTS - Static variable in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
SERIALIZED_NAME_FORWARD_TO_RECIPIENTS - Static variable in class com.mailslurp.models.InboxForwarderDto
+
 
+
SERIALIZED_NAME_FORWARDER_ID - Static variable in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.ForwardEmailOptions
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.MissedEmailProjection
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_FROM - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_FROM_NUMBER - Static variable in class com.mailslurp.models.SmsDto
+
 
+
SERIALIZED_NAME_FROM_NUMBER - Static variable in class com.mailslurp.models.SmsPreview
+
 
+
SERIALIZED_NAME_FROM_NUMBER - Static variable in class com.mailslurp.models.SmsProjection
+
 
+
SERIALIZED_NAME_FROM_NUMBER - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SERIALIZED_NAME_GROUP - Static variable in class com.mailslurp.models.GroupContactsDto
+
 
+
SERIALIZED_NAME_GROUP_ID - Static variable in class com.mailslurp.models.ContactDto
+
 
+
SERIALIZED_NAME_GROUP_ID - Static variable in class com.mailslurp.models.ContactProjection
+
 
+
SERIALIZED_NAME_GROUP_ID - Static variable in class com.mailslurp.models.CreateContactOptions
+
 
+
SERIALIZED_NAME_GROUP_ID - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
SERIALIZED_NAME_GROUP_ID - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
SERIALIZED_NAME_GROUP_ID - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_HANDLER - Static variable in class com.mailslurp.models.InboxRulesetDto
+
 
+
SERIALIZED_NAME_HAS_ISSUES - Static variable in class com.mailslurp.models.DomainIssuesDto
+
 
+
SERIALIZED_NAME_HAS_MISSING_RECORDS - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_HAS_MISSING_RECORDS - Static variable in class com.mailslurp.models.DomainPreview
+
 
+
SERIALIZED_NAME_HASH - Static variable in class com.mailslurp.models.GravatarUrl
+
 
+
SERIALIZED_NAME_HEADER_ID - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
SERIALIZED_NAME_HEADERS - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_HEADERS - Static variable in class com.mailslurp.models.WebhookHeaders
+
 
+
SERIALIZED_NAME_HEADERS - Static variable in class com.mailslurp.models.WebhookTestRequest
+
 
+
SERIALIZED_NAME_HEADERS_MAP - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_HOST - Static variable in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
SERIALIZED_NAME_HOSTNAME - Static variable in class com.mailslurp.models.DNSLookupOptions
+
 
+
SERIALIZED_NAME_HOSTNAME - Static variable in class com.mailslurp.models.IPAddressResult
+
 
+
SERIALIZED_NAME_HTML - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_HTML - Static variable in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
SERIALIZED_NAME_HTML - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
SERIALIZED_NAME_HTML - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_HTML - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_HTML - Static variable in class com.mailslurp.models.TrackingPixelDto
+
 
+
SERIALIZED_NAME_HTML - Static variable in class com.mailslurp.models.ValidationDto
+
 
+
SERIALIZED_NAME_HTTP_METHOD - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.AliasDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.AliasProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.AttachmentEntity
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.AttachmentMetaData
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.BouncedRecipientDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.BounceProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.BounceRecipientProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.Complaint
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ConnectorProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ContactDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ContactProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.DomainPreview
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.EmergencyAddressDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ExpiredInboxDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.GroupDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.GroupProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.InboxForwarderDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.InboxIdItem
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.InboxRulesetDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.MissedEmailProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.PhoneNumberDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.PhoneNumberProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.PhonePlanDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.SmsDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.SmsPreview
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.SmsProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.TemplateDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.TemplateProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.TrackingPixelDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.TrackingPixelProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.UserInfoDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.WebhookProjection
+
 
+
SERIALIZED_NAME_ID - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_IGNORE_INSECURE_SSL_CERTIFICATES - Static variable in class com.mailslurp.models.CreateWebhookOptions
+
 
+
SERIALIZED_NAME_IGNORE_INSECURE_SSL_CERTIFICATES - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_IGNORE_REPLY_TO - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_IGNORE_REPLY_TO - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_IGNORE_REPLY_TO - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_IMAP_HOST - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_IMAP_PASSWORD - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_IMAP_PASSWORD - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_IMAP_PORT - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_IMAP_SERVER_HOST - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_IMAP_SERVER_PORT - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_IMAP_SETTINGS - Static variable in class com.mailslurp.models.CreateConnectorOptions
+
 
+
SERIALIZED_NAME_IMAP_SSL - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_IMAP_USERNAME - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_IMAP_USERNAME - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_INBOX_FORWARDER_TEST_OPTIONS - Static variable in class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.AliasDto
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.AliasProjection
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.ConnectorProjection
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.CreateAliasOptions
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.CreateConnectorOptions
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.ExpiredInboxDto
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.InboxByNameResult
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.InboxForwarderDto
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.InboxRulesetDto
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.TrackingPixelDto
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.TrackingPixelProjection
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.WebhookProjection
+
 
+
SERIALIZED_NAME_INBOX_ID - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_INBOX_IDS - Static variable in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
SERIALIZED_NAME_INBOX_IDS - Static variable in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
SERIALIZED_NAME_INBOX_IDS - Static variable in class com.mailslurp.models.InboxIdsResult
+
 
+
SERIALIZED_NAME_INBOX_IDS - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_INBOX_RULESET_TEST_OPTIONS - Static variable in class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
SERIALIZED_NAME_INBOX_TYPE - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_INBOX_TYPE - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_INBOX_TYPE - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
SERIALIZED_NAME_INBOX_TYPE - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
SERIALIZED_NAME_INCLUDE_HEADERS - Static variable in class com.mailslurp.models.CreateWebhookOptions
+
 
+
SERIALIZED_NAME_INT - Static variable in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
SERIALIZED_NAME_INVALID_EMAIL_ADDRESSES - Static variable in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
SERIALIZED_NAME_IS_H_T_M_L - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_IS_H_T_M_L - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_IS_H_T_M_L - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_IS_H_T_M_L - Static variable in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
SERIALIZED_NAME_IS_H_T_M_L - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
SERIALIZED_NAME_IS_H_T_M_L - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_IS_H_T_M_L - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_IS_H_T_M_L - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_IS_VALID - Static variable in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
SERIALIZED_NAME_IS_VALID - Static variable in class com.mailslurp.models.EmailVerificationResult
+
 
+
SERIALIZED_NAME_IS_VALID - Static variable in class com.mailslurp.models.HTMLValidationResult
+
 
+
SERIALIZED_NAME_IS_VALID - Static variable in class com.mailslurp.models.VerifyWebhookSignatureResults
+
 
+
SERIALIZED_NAME_IS_VERIFIED - Static variable in class com.mailslurp.models.AliasDto
+
 
+
SERIALIZED_NAME_IS_VERIFIED - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_IS_VERIFIED - Static variable in class com.mailslurp.models.DomainPreview
+
 
+
SERIALIZED_NAME_ISO_COUNTRY_CODE - Static variable in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
SERIALIZED_NAME_JOB_ID - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
SERIALIZED_NAME_JOB_ID - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
SERIALIZED_NAME_LABEL - Static variable in class com.mailslurp.models.DomainNameRecord
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_LAST - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_LAST_NAME - Static variable in class com.mailslurp.models.ContactDto
+
 
+
SERIALIZED_NAME_LAST_NAME - Static variable in class com.mailslurp.models.ContactProjection
+
 
+
SERIALIZED_NAME_LAST_NAME - Static variable in class com.mailslurp.models.CreateContactOptions
+
 
+
SERIALIZED_NAME_LAST_NAME - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_LIMIT - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
SERIALIZED_NAME_LINE_NUMBER - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
SERIALIZED_NAME_LINE_NUMBER - Static variable in class com.mailslurp.models.ValidationMessage
+
 
+
SERIALIZED_NAME_LINES - Static variable in class com.mailslurp.models.EmailTextLinesResult
+
 
+
SERIALIZED_NAME_LINKS - Static variable in class com.mailslurp.models.EmailLinksResult
+
 
+
SERIALIZED_NAME_LIST_SEPARATOR_TOKEN - Static variable in class com.mailslurp.models.ExportOptions
+
 
+
SERIALIZED_NAME_LOCALIZED_MESSAGE - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
SERIALIZED_NAME_LOCALIZED_MESSAGE - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
SERIALIZED_NAME_LOCALIZED_MESSAGE - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
SERIALIZED_NAME_LOG_LINES - Static variable in class com.mailslurp.models.ConnectorSyncResult
+
 
+
SERIALIZED_NAME_LONG - Static variable in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
SERIALIZED_NAME_MAIL_FROM - Static variable in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
SERIALIZED_NAME_MAIL_MESSAGE_ID - Static variable in class com.mailslurp.models.Complaint
+
 
+
SERIALIZED_NAME_MAIL_SERVER_DOMAIN - Static variable in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
SERIALIZED_NAME_MAIL_SOURCE - Static variable in class com.mailslurp.models.Complaint
+
 
+
SERIALIZED_NAME_MASKED_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.AliasDto
+
 
+
SERIALIZED_NAME_MATCH - Static variable in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
SERIALIZED_NAME_MATCH - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_MATCH - Static variable in class com.mailslurp.models.InboxForwarderDto
+
 
+
SERIALIZED_NAME_MATCH - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_MATCH - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_MATCHES - Static variable in class com.mailslurp.models.EmailContentMatchResult
+
 
+
SERIALIZED_NAME_MATCHES - Static variable in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
SERIALIZED_NAME_MATCHES - Static variable in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
SERIALIZED_NAME_MATCHES - Static variable in class com.mailslurp.models.MatchOptions
+
 
+
SERIALIZED_NAME_MATCHES - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
SERIALIZED_NAME_MATCHES - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
SERIALIZED_NAME_MAX_EXPIRATION_MILLIS - Static variable in class com.mailslurp.models.ExpirationDefaults
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.EmptyResponseDto
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.TestPhoneNumberOptions
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.ValidationMessage
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.WebhookRedriveResult
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.WebhookTestResponse
+
 
+
SERIALIZED_NAME_MESSAGE - Static variable in class com.mailslurp.models.WebhookTestResult
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.WebhookBouncePayload
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SERIALIZED_NAME_MESSAGE_ID - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_MESSAGE_IDS - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_META_DATA - Static variable in class com.mailslurp.models.ContactDto
+
 
+
SERIALIZED_NAME_META_DATA - Static variable in class com.mailslurp.models.CreateContactOptions
+
 
+
SERIALIZED_NAME_META_DATA - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_METHOD - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_METHOD - Static variable in class com.mailslurp.models.WebhookTestRequest
+
 
+
SERIALIZED_NAME_METHOD_NAME - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
SERIALIZED_NAME_MISSING_RECORDS_MESSAGE - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_MODULE_NAME - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
SERIALIZED_NAME_MODULE_VERSION - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
SERIALIZED_NAME_MX_RECORDS - Static variable in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.AliasDto
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.AliasProjection
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.AttachmentEntity
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.AttachmentMetaData
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.AttachmentProjection
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.CreateAliasOptions
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.CreateGroupOptions
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.CreateTemplateOptions
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.CreateWebhookOptions
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.DNSLookupResult
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.DomainNameRecord
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.GroupDto
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.GroupProjection
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.InboxForwarderDto
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.Recipient
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.Sender
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.TemplateDto
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.TemplateProjection
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.TemplateVariable
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.TrackingPixelProjection
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.UpdateAliasOptions
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.UpdateInboxOptions
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
SERIALIZED_NAME_NAME - Static variable in class com.mailslurp.models.WebhookProjection
+
 
+
SERIALIZED_NAME_NATIVE_METHOD - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
SERIALIZED_NAME_NEXT_INBOX_ALLOWS_PERMANENT - Static variable in class com.mailslurp.models.ExpirationDefaults
+
 
+
SERIALIZED_NAME_NOTIFICATION_TYPE - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_NUMBER - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_NUMBER_OF_ELEMENTS - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_OFFSET - Static variable in class com.mailslurp.models.PageableObject
+
 
+
SERIALIZED_NAME_OMIT_FINAL_D_N_S_DOT - Static variable in class com.mailslurp.models.DNSLookupOptions
+
 
+
SERIALIZED_NAME_OPT_OUT - Static variable in class com.mailslurp.models.ContactDto
+
 
+
SERIALIZED_NAME_OPT_OUT - Static variable in class com.mailslurp.models.ContactProjection
+
 
+
SERIALIZED_NAME_OPT_OUT - Static variable in class com.mailslurp.models.CreateContactOptions
+
 
+
SERIALIZED_NAME_OPT_OUT - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_OUTPUT_FORMAT - Static variable in class com.mailslurp.models.ExportOptions
+
 
+
SERIALIZED_NAME_PAGE_NUMBER - Static variable in class com.mailslurp.models.PageableObject
+
 
+
SERIALIZED_NAME_PAGE_SIZE - Static variable in class com.mailslurp.models.PageableObject
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_PAGEABLE - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_PAGED - Static variable in class com.mailslurp.models.PageableObject
+
 
+
SERIALIZED_NAME_PASSWORD - Static variable in class com.mailslurp.models.BasicAuthOptions
+
 
+
SERIALIZED_NAME_PASSWORD - Static variable in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
SERIALIZED_NAME_PATTERN - Static variable in class com.mailslurp.models.ContentMatchOptions
+
 
+
SERIALIZED_NAME_PATTERN - Static variable in class com.mailslurp.models.EmailContentMatchResult
+
 
+
SERIALIZED_NAME_PAYLOAD - Static variable in class com.mailslurp.models.WebhookTestRequest
+
 
+
SERIALIZED_NAME_PAYLOAD_JSON_SCHEMA - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_PHONE_COUNTRY - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_PHONE_COUNTRY - Static variable in class com.mailslurp.models.EmergencyAddressDto
+
 
+
SERIALIZED_NAME_PHONE_COUNTRY - Static variable in class com.mailslurp.models.PhoneNumberDto
+
 
+
SERIALIZED_NAME_PHONE_COUNTRY - Static variable in class com.mailslurp.models.PhoneNumberProjection
+
 
+
SERIALIZED_NAME_PHONE_COUNTRY - Static variable in class com.mailslurp.models.PhonePlanDto
+
 
+
SERIALIZED_NAME_PHONE_ID - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_PHONE_NUMBER - Static variable in class com.mailslurp.models.PhoneNumberDto
+
 
+
SERIALIZED_NAME_PHONE_NUMBER - Static variable in class com.mailslurp.models.PhoneNumberProjection
+
 
+
SERIALIZED_NAME_PHONE_NUMBER - Static variable in class com.mailslurp.models.SmsDto
+
 
+
SERIALIZED_NAME_PHONE_NUMBER - Static variable in class com.mailslurp.models.SmsPreview
+
 
+
SERIALIZED_NAME_PHONE_NUMBER - Static variable in class com.mailslurp.models.SmsProjection
+
 
+
SERIALIZED_NAME_PHONE_NUMBER - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SERIALIZED_NAME_PHONE_NUMBER_ID - Static variable in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
SERIALIZED_NAME_PHONE_NUMBER_ID - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
SERIALIZED_NAME_PHONE_NUMBER_ID - Static variable in class com.mailslurp.models.WebhookProjection
+
 
+
SERIALIZED_NAME_PHONE_PLAN - Static variable in class com.mailslurp.models.PhoneNumberDto
+
 
+
SERIALIZED_NAME_PIXEL_ID - Static variable in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
SERIALIZED_NAME_PIXEL_IDS - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_PLAIN_HTML_BODY_URL - Static variable in class com.mailslurp.models.EmailPreviewUrls
+
 
+
SERIALIZED_NAME_PORT - Static variable in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
SERIALIZED_NAME_PORT - Static variable in class com.mailslurp.models.EmailVerificationResult
+
 
+
SERIALIZED_NAME_PORT - Static variable in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
SERIALIZED_NAME_POSTAL_CODE - Static variable in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
SERIALIZED_NAME_POSTAL_CODE - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_PREVIEW - Static variable in class com.mailslurp.models.TemplatePreview
+
 
+
SERIALIZED_NAME_PRIMARY_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.ContactDto
+
 
+
SERIALIZED_NAME_PRIMARY_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_PRIORITY - Static variable in class com.mailslurp.models.NameServerRecord
+
 
+
SERIALIZED_NAME_PROCESSING_TIME_MILLIS - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_PROCESSING_TIME_MILLIS - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_RAW - Static variable in class com.mailslurp.models.NameServerRecord
+
 
+
SERIALIZED_NAME_RAW_BUCKET - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_RAW_KEY - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_RAW_SMTP_MESSAGE_URL - Static variable in class com.mailslurp.models.EmailPreviewUrls
+
 
+
SERIALIZED_NAME_RAW_URL - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_RAW_VALUE - Static variable in class com.mailslurp.models.Recipient
+
 
+
SERIALIZED_NAME_RAW_VALUE - Static variable in class com.mailslurp.models.Sender
+
 
+
SERIALIZED_NAME_RCPT_TO - Static variable in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
SERIALIZED_NAME_READ - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_READ - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
SERIALIZED_NAME_READ - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_READ - Static variable in class com.mailslurp.models.SmsDto
+
 
+
SERIALIZED_NAME_READ - Static variable in class com.mailslurp.models.SmsProjection
+
 
+
SERIALIZED_NAME_READ - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SERIALIZED_NAME_READ_ONLY - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_READ_ONLY - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
SERIALIZED_NAME_READ_ONLY - Static variable in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
SERIALIZED_NAME_RECEIVED - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_RECEIVED - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_RECIPIENT - Static variable in class com.mailslurp.models.BouncedRecipientDto
+
 
+
SERIALIZED_NAME_RECIPIENT - Static variable in class com.mailslurp.models.BounceRecipientProjection
+
 
+
SERIALIZED_NAME_RECIPIENT - Static variable in class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
SERIALIZED_NAME_RECIPIENT - Static variable in class com.mailslurp.models.TrackingPixelDto
+
 
+
SERIALIZED_NAME_RECIPIENT - Static variable in class com.mailslurp.models.TrackingPixelProjection
+
 
+
SERIALIZED_NAME_RECIPIENT - Static variable in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
SERIALIZED_NAME_RECIPIENT - Static variable in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
SERIALIZED_NAME_RECIPIENTS - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_RECIPIENTS - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_RECIPIENTS - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
SERIALIZED_NAME_RECIPIENTS - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_RECORD_ENTRIES - Static variable in class com.mailslurp.models.DNSLookupResult
+
 
+
SERIALIZED_NAME_RECORD_ENTRIES - Static variable in class com.mailslurp.models.DomainNameRecord
+
 
+
SERIALIZED_NAME_RECORD_TYPE - Static variable in class com.mailslurp.models.DNSLookupResult
+
 
+
SERIALIZED_NAME_RECORD_TYPE - Static variable in class com.mailslurp.models.DomainNameRecord
+
 
+
SERIALIZED_NAME_RECORD_TYPE - Static variable in class com.mailslurp.models.NameServerRecord
+
 
+
SERIALIZED_NAME_RECORD_TYPES - Static variable in class com.mailslurp.models.DNSLookupOptions
+
 
+
SERIALIZED_NAME_REDRIVE_ID - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_REGION - Static variable in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
SERIALIZED_NAME_REGION - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_REMOTE_MTA_IP - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_REMOTE_MTA_IP - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_REPLIER_ID - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
SERIALIZED_NAME_REPLY_TO - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_REPLY_TO - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_REPLY_TO - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_REPLY_TO - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
SERIALIZED_NAME_REPLY_TO - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_REPLY_TO - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_REPLY_TO - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_REPORTING_MTA - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_REPORTING_MTA - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_REQUEST - Static variable in class com.mailslurp.models.WebhookTestResult
+
 
+
SERIALIZED_NAME_REQUEST_BODY_TEMPLATE - Static variable in class com.mailslurp.models.CreateWebhookOptions
+
 
+
SERIALIZED_NAME_REQUEST_BODY_TEMPLATE - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_REQUEST_HEADERS - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_REQUIRED - Static variable in class com.mailslurp.models.DomainNameRecord
+
 
+
SERIALIZED_NAME_RESPONSE - Static variable in class com.mailslurp.models.WebhookTestResult
+
 
+
SERIALIZED_NAME_RESPONSE_BODY_EXTRACT - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_RESPONSE_STATUS - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_RESPONSE_TIME_MILLIS - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_RESULT_MAP_EMAIL_ADDRESS_IS_VALID - Static variable in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
SERIALIZED_NAME_RESULT_TYPE - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_RESULTS - Static variable in class com.mailslurp.models.DNSLookupResults
+
 
+
SERIALIZED_NAME_RULESET_MATCHES - Static variable in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
SERIALIZED_NAME_SCOPE - Static variable in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
SERIALIZED_NAME_SCOPE - Static variable in class com.mailslurp.models.InboxRulesetDto
+
 
+
SERIALIZED_NAME_SECURE_SMTP_PASSWORD - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_SECURE_SMTP_SERVER_HOST - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_SECURE_SMTP_SERVER_PORT - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_SECURE_SMTP_USERNAME - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_SEEN - Static variable in class com.mailslurp.models.TrackingPixelDto
+
 
+
SERIALIZED_NAME_SEEN - Static variable in class com.mailslurp.models.TrackingPixelProjection
+
 
+
SERIALIZED_NAME_SEEN - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_SEEN_AT - Static variable in class com.mailslurp.models.TrackingPixelDto
+
 
+
SERIALIZED_NAME_SEEN_AT - Static variable in class com.mailslurp.models.TrackingPixelProjection
+
 
+
SERIALIZED_NAME_SEND_AT_TIMESTAMP - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
SERIALIZED_NAME_SEND_AT_TIMESTAMP - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
SERIALIZED_NAME_SEND_EMAIL_OPTIONS - Static variable in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
SERIALIZED_NAME_SEND_STRATEGY - Static variable in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
SERIALIZED_NAME_SEND_STRATEGY - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
SERIALIZED_NAME_SEND_STRATEGY - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_SENDER - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_SENDER - Static variable in class com.mailslurp.models.BounceProjection
+
 
+
SERIALIZED_NAME_SENDER - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_SENDER - Static variable in class com.mailslurp.models.WebhookBouncePayload
+
 
+
SERIALIZED_NAME_SENDER_EMAIL_ADDRESS - Static variable in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
SERIALIZED_NAME_SENDER_ID - Static variable in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
SERIALIZED_NAME_SENT_AT - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_SENT_EMAIL_ID - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_SENT_EMAIL_ID - Static variable in class com.mailslurp.models.BouncedRecipientDto
+
 
+
SERIALIZED_NAME_SENT_EMAIL_ID - Static variable in class com.mailslurp.models.BounceRecipientProjection
+
 
+
SERIALIZED_NAME_SENT_EMAIL_ID - Static variable in class com.mailslurp.models.TrackingPixelDto
+
 
+
SERIALIZED_NAME_SENT_EMAIL_ID - Static variable in class com.mailslurp.models.TrackingPixelProjection
+
 
+
SERIALIZED_NAME_SENT_EMAIL_ID - Static variable in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
SERIALIZED_NAME_SENT_ID - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_SENT_ID - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
SERIALIZED_NAME_SENT_ID - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_SENT_TO_RECIPIENTS - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_SENT_TO_RECIPIENTS - Static variable in class com.mailslurp.models.WebhookBouncePayload
+
 
+
SERIALIZED_NAME_SHORT - Static variable in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
SERIALIZED_NAME_SHOULD - Static variable in class com.mailslurp.models.MatchOption
+
 
+
SERIALIZED_NAME_SHOULD - Static variable in class com.mailslurp.models.SmsMatchOption
+
 
+
SERIALIZED_NAME_SID - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_SIGNATURE - Static variable in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
SERIALIZED_NAME_SINCE - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
SERIALIZED_NAME_SINCE - Static variable in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
SERIALIZED_NAME_SINCE - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_SIZE - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_SIZE_BYTES - Static variable in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
SERIALIZED_NAME_SMS_ID - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SERIALIZED_NAME_SMTP_PASSWORD - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_SMTP_RESPONSE - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_SMTP_RESPONSE - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_SMTP_SERVER_HOST - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_SMTP_SERVER_PORT - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_SMTP_STATUS_CODE - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_SMTP_STATUS_CODE - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_SMTP_USERNAME - Static variable in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageableObject
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_SORT - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_SORT_DIRECTION - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
SERIALIZED_NAME_SORT_DIRECTION - Static variable in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
SERIALIZED_NAME_SORT_DIRECTION - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
SERIALIZED_NAME_SORTED - Static variable in class com.mailslurp.models.Sort
+
 
+
SERIALIZED_NAME_SPAM_VERDICT - Static variable in class com.mailslurp.models.EmailAnalysis
+
 
+
SERIALIZED_NAME_SPF_VERDICT - Static variable in class com.mailslurp.models.EmailAnalysis
+
 
+
SERIALIZED_NAME_STACK_TRACE - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
SERIALIZED_NAME_STACK_TRACE - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
SERIALIZED_NAME_STACK_TRACE - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
SERIALIZED_NAME_STATE - Static variable in class com.mailslurp.models.SetInboxFavouritedOptions
+
 
+
SERIALIZED_NAME_STATUS - Static variable in class com.mailslurp.models.BouncedRecipientDto
+
 
+
SERIALIZED_NAME_STATUS - Static variable in class com.mailslurp.models.BounceRecipientProjection
+
 
+
SERIALIZED_NAME_STATUS - Static variable in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
SERIALIZED_NAME_STATUS - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
SERIALIZED_NAME_STATUS - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
SERIALIZED_NAME_STATUS - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
SERIALIZED_NAME_STATUS_CODE - Static variable in class com.mailslurp.models.WebhookTestResponse
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.BounceProjection
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.EmailHtmlDto
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.ForwardEmailOptions
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.MissedEmailProjection
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_SUBJECT - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_SUBSCRIPTION_TYPE - Static variable in class com.mailslurp.models.UserInfoDto
+
 
+
SERIALIZED_NAME_SUCCESS - Static variable in class com.mailslurp.models.WebhookRedriveResult
+
 
+
SERIALIZED_NAME_SUPPRESSED - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
SERIALIZED_NAME_SUPPRESSED - Static variable in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
SERIALIZED_NAME_SYNC_COUNT - Static variable in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
SERIALIZED_NAME_SYNC_COUNT - Static variable in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
SERIALIZED_NAME_SYNC_ENABLED - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_SYNC_ENABLED - Static variable in class com.mailslurp.models.ConnectorProjection
+
 
+
SERIALIZED_NAME_SYNC_ENABLED - Static variable in class com.mailslurp.models.CreateConnectorOptions
+
 
+
SERIALIZED_NAME_SYNC_INTERVAL - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_SYNC_INTERVAL - Static variable in class com.mailslurp.models.ConnectorProjection
+
 
+
SERIALIZED_NAME_SYNC_INTERVAL - Static variable in class com.mailslurp.models.CreateConnectorOptions
+
 
+
SERIALIZED_NAME_SYNC_RESULT - Static variable in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
SERIALIZED_NAME_SYNC_SCHEDULE_TYPE - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_SYNC_SCHEDULE_TYPE - Static variable in class com.mailslurp.models.ConnectorProjection
+
 
+
SERIALIZED_NAME_SYNC_SCHEDULE_TYPE - Static variable in class com.mailslurp.models.CreateConnectorOptions
+
 
+
SERIALIZED_NAME_SYNC_STATUS - Static variable in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
SERIALIZED_NAME_SYNC_STATUS - Static variable in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
SERIALIZED_NAME_TAGS - Static variable in class com.mailslurp.models.ContactDto
+
 
+
SERIALIZED_NAME_TAGS - Static variable in class com.mailslurp.models.CreateContactOptions
+
 
+
SERIALIZED_NAME_TAGS - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_TAGS - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_TAGS - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
SERIALIZED_NAME_TAGS - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
SERIALIZED_NAME_TAGS - Static variable in class com.mailslurp.models.UpdateInboxOptions
+
 
+
SERIALIZED_NAME_TAGS - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_TARGET - Static variable in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
SERIALIZED_NAME_TARGET - Static variable in class com.mailslurp.models.InboxRulesetDto
+
 
+
SERIALIZED_NAME_TEAM_ACCESS - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_TEAM_ACCESS - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_TEAM_ACCESS - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
SERIALIZED_NAME_TEAM_ACCESS - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
SERIALIZED_NAME_TEMPLATE - Static variable in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
SERIALIZED_NAME_TEMPLATE - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
SERIALIZED_NAME_TEMPLATE - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_TEMPLATE_ID - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_TEMPLATE_ID - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_TEMPLATE_ID - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_TEMPLATE_ID - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_TEMPLATE_VARIABLES - Static variable in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
SERIALIZED_NAME_TEMPLATE_VARIABLES - Static variable in class com.mailslurp.models.InboxReplierDto
+
 
+
SERIALIZED_NAME_TEMPLATE_VARIABLES - Static variable in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
SERIALIZED_NAME_TEMPLATE_VARIABLES - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
SERIALIZED_NAME_TEMPLATE_VARIABLES - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_TEMPLATE_VARIABLES - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_TEMPLATE_VARIABLES - Static variable in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
SERIALIZED_NAME_TEST_TARGET - Static variable in class com.mailslurp.models.InboxRulesetTestOptions
+
 
+
SERIALIZED_NAME_TEST_VALUE - Static variable in class com.mailslurp.models.InboxForwarderTestOptions
+
 
+
SERIALIZED_NAME_TIMEOUT - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
SERIALIZED_NAME_TIMEOUT - Static variable in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
SERIALIZED_NAME_TIMEOUT - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.EmailPreview
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.EmailProjection
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.EmailRecipients
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.ForwardEmailOptions
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_TO - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_TO_CONTACTS - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_TO_CONTACTS - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_TO_GROUP - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_TO_GROUP - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_TO_NUMBER - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_TOTAL - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.CountDto
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_TOTAL_ELEMENTS - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageAlias
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageAttachmentEntity
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageBouncedEmail
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageBouncedRecipients
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageComplaint
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageConnector
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageContactProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageDeliveryStatus
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageEmailPreview
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageGroupProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageInboxProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageInboxReplierDto
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageScheduledJobs
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageSentEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageSmsProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageTemplateProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageThreadProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageWebhookProjection
+
 
+
SERIALIZED_NAME_TOTAL_PAGES - Static variable in class com.mailslurp.models.PageWebhookResult
+
 
+
SERIALIZED_NAME_TRIGGER_ID - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
SERIALIZED_NAME_TRIGGER_ID - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
SERIALIZED_NAME_TTL - Static variable in class com.mailslurp.models.DNSLookupResult
+
 
+
SERIALIZED_NAME_TTL - Static variable in class com.mailslurp.models.DomainNameRecord
+
 
+
SERIALIZED_NAME_UNPAGED - Static variable in class com.mailslurp.models.PageableObject
+
 
+
SERIALIZED_NAME_UNREAD_ONLY - Static variable in class com.mailslurp.models.WaitForConditions
+
 
+
SERIALIZED_NAME_UNREAD_ONLY - Static variable in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
SERIALIZED_NAME_UNREAD_ONLY - Static variable in class com.mailslurp.models.WaitForSmsConditions
+
 
+
SERIALIZED_NAME_UNSORTED - Static variable in class com.mailslurp.models.Sort
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.AliasDto
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.AliasProjection
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.AttachmentEntity
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.AttachmentProjection
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.Complaint
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.PhoneNumberDto
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.SmsDto
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.TemplateProjection
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.WebhookProjection
+
 
+
SERIALIZED_NAME_UPDATED_AT - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_URL - Static variable in class com.mailslurp.models.CreateWebhookOptions
+
 
+
SERIALIZED_NAME_URL - Static variable in class com.mailslurp.models.GravatarUrl
+
 
+
SERIALIZED_NAME_URL - Static variable in class com.mailslurp.models.TrackingPixelDto
+
 
+
SERIALIZED_NAME_URL - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_URL - Static variable in class com.mailslurp.models.WebhookProjection
+
 
+
SERIALIZED_NAME_URL - Static variable in class com.mailslurp.models.WebhookTestRequest
+
 
+
SERIALIZED_NAME_USE_DOMAIN_POOL - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_USE_INBOX_NAME - Static variable in class com.mailslurp.models.ForwardEmailOptions
+
 
+
SERIALIZED_NAME_USE_INBOX_NAME - Static variable in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
SERIALIZED_NAME_USE_INBOX_NAME - Static variable in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
SERIALIZED_NAME_USE_INBOX_NAME - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_USE_S_S_L - Static variable in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
SERIALIZED_NAME_USE_SHORT_ADDRESS - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_USE_STATIC_IP_RANGE - Static variable in class com.mailslurp.models.CreateWebhookOptions
+
 
+
SERIALIZED_NAME_USE_STATIC_IP_RANGE - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_USE_THREADS - Static variable in class com.mailslurp.models.AliasDto
+
 
+
SERIALIZED_NAME_USE_THREADS - Static variable in class com.mailslurp.models.AliasProjection
+
 
+
SERIALIZED_NAME_USE_THREADS - Static variable in class com.mailslurp.models.CreateAliasOptions
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.AliasDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.AliasProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.AttachmentEntity
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.AttachmentProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.BouncedEmailDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.BouncedRecipientDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.Complaint
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.ConnectorDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.ConnectorProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.DeliveryStatusDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.Email
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.EmergencyAddress
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.MissedEmailDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.MissedEmailProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.PhoneNumberDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.PhoneNumberProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.PhonePlanDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.ScheduledJob
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.ScheduledJobDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.SendWithQueueResult
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.SmsDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.SmsPreview
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.SmsProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.ThreadProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.TrackingPixelProjection
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.WebhookDto
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SERIALIZED_NAME_USER_ID - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_USERNAME - Static variable in class com.mailslurp.models.BasicAuthOptions
+
 
+
SERIALIZED_NAME_USERNAME - Static variable in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
SERIALIZED_NAME_VALID_EMAIL_ADDRESSES - Static variable in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
SERIALIZED_NAME_VALIDATE_EMAIL_ADDRESSES - Static variable in class com.mailslurp.models.SendEmailOptions
+
 
+
SERIALIZED_NAME_VALUE - Static variable in class com.mailslurp.models.ConditionOption
+
 
+
SERIALIZED_NAME_VALUE - Static variable in class com.mailslurp.models.JSONSchemaDto
+
 
+
SERIALIZED_NAME_VALUE - Static variable in class com.mailslurp.models.MatchOption
+
 
+
SERIALIZED_NAME_VALUE - Static variable in class com.mailslurp.models.NameServerRecord
+
 
+
SERIALIZED_NAME_VALUE - Static variable in class com.mailslurp.models.SmsMatchOption
+
 
+
SERIALIZED_NAME_VALUE - Static variable in class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
SERIALIZED_NAME_VARIABLE_TYPE - Static variable in class com.mailslurp.models.TemplateVariable
+
 
+
SERIALIZED_NAME_VARIABLES - Static variable in class com.mailslurp.models.TemplateDto
+
 
+
SERIALIZED_NAME_VARIABLES - Static variable in class com.mailslurp.models.TemplateProjection
+
 
+
SERIALIZED_NAME_VERIFICATION_TOKEN - Static variable in class com.mailslurp.models.DomainDto
+
 
+
SERIALIZED_NAME_VIRTUAL_INBOX - Static variable in class com.mailslurp.models.CreateInboxDto
+
 
+
SERIALIZED_NAME_VIRTUAL_INBOX - Static variable in class com.mailslurp.models.InboxDto
+
 
+
SERIALIZED_NAME_VIRTUAL_INBOX - Static variable in class com.mailslurp.models.InboxPreview
+
 
+
SERIALIZED_NAME_VIRTUAL_INBOX - Static variable in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
SERIALIZED_NAME_VIRTUAL_SEND - Static variable in class com.mailslurp.models.SentEmailDto
+
 
+
SERIALIZED_NAME_VIRTUAL_SEND - Static variable in class com.mailslurp.models.SentEmailProjection
+
 
+
SERIALIZED_NAME_VIRUS_VERDICT - Static variable in class com.mailslurp.models.EmailAnalysis
+
 
+
SERIALIZED_NAME_WARNINGS - Static variable in class com.mailslurp.models.HTMLValidationResult
+
 
+
SERIALIZED_NAME_WEBHOOK_EVENT - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_WEBHOOK_ID - Static variable in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_ID - Static variable in class com.mailslurp.models.WebhookBouncePayload
+
 
+
SERIALIZED_NAME_WEBHOOK_ID - Static variable in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_ID - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_ID - Static variable in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_ID - Static variable in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_ID - Static variable in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_ID - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_ID - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_ID - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_ID - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
SERIALIZED_NAME_WEBHOOK_NAME - Static variable in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_NAME - Static variable in class com.mailslurp.models.WebhookBouncePayload
+
 
+
SERIALIZED_NAME_WEBHOOK_NAME - Static variable in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_NAME - Static variable in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_NAME - Static variable in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_NAME - Static variable in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_NAME - Static variable in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_NAME - Static variable in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_NAME - Static variable in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_NAME - Static variable in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SERIALIZED_NAME_WEBHOOK_RESULT_ID - Static variable in class com.mailslurp.models.WebhookRedriveResult
+
 
+
SERIALIZED_NAME_WEBHOOK_URL - Static variable in class com.mailslurp.models.WebhookResultDto
+
 
+
ServerConfiguration - Class in com.mailslurp.clients
+
+
Representing a Server configuration.
+
+
ServerConfiguration(String, String, Map<String, ServerVariable>) - Constructor for class com.mailslurp.clients.ServerConfiguration
+
 
+
ServerVariable - Class in com.mailslurp.clients
+
+
Representing a Server Variable for server URL template substitution.
+
+
ServerVariable(String, String, HashSet<String>) - Constructor for class com.mailslurp.clients.ServerVariable
+
 
+
setAccessToken(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Helper method to set access token for the first OAuth2 authentication.
+
+
setAccountSid(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setAccountState(UserInfoDto.AccountStateEnum) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
setAccountType(UserInfoDto.AccountTypeEnum) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
setAction(String) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
setAction(String) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
setAction(CreateInboxRulesetOptions.ActionEnum) - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
setAction(InboxRulesetDto.ActionEnum) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
setActualInstance(Object) - Method in class com.mailslurp.models.AbstractOpenApiSchema
+
+
Set the actual instance
+
+
setAddress(String) - Method in class com.mailslurp.models.IPAddressResult
+
 
+
setAddress1(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
setAddress1(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setAddress1(String) - Method in class com.mailslurp.models.EmergencyAddressDto
+
 
+
setAddTrackingPixel(Boolean) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setAliasId(UUID) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
setAllowTeamAccess(Boolean) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setAnalysis(EmailAnalysis) - Method in class com.mailslurp.models.Email
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.AliasControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.BounceControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.ContactControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.DomainControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.EmailControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.ExportControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.FormControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.GroupControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.InboxControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.MailServerControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.SmsControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.TemplateControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.TrackingControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.UserControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.WaitForControllerApi
+
 
+
setApiClient(ApiClient) - Method in class com.mailslurp.apis.WebhookControllerApi
+
 
+
setApiKey(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Helper method to set API key value for the first API key authentication.
+
+
setApiKey(String) - Method in class com.mailslurp.clients.auth.ApiKeyAuth
+
 
+
setApiKeyPrefix(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Helper method to set API key prefix for the first API key authentication.
+
+
setApiKeyPrefix(String) - Method in class com.mailslurp.clients.auth.ApiKeyAuth
+
 
+
setAttachmentCount(Integer) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setAttachmentId(String) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
setAttachmentId(String) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
setAttachmentId(String) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
setAttachmentMetaDatas(List<AttachmentMetaData>) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setAttachments(List<String>) - Method in class com.mailslurp.models.Email
+
 
+
setAttachments(List<String>) - Method in class com.mailslurp.models.EmailPreview
+
 
+
setAttachments(List<String>) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setAttachments(List<String>) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
setAttachments(List<String>) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
setAttachments(List<String>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setAttachments(List<String>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setAttachments(List<String>) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setBase64Contents(String) - Method in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
setBase64FileContents(String) - Method in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
setBasePath(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Set base path
+
+
setBasicAuth(BasicAuthOptions) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
setBasicAuth(Boolean) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setBcc(List<String>) - Method in class com.mailslurp.models.Email
+
 
+
setBcc(List<String>) - Method in class com.mailslurp.models.EmailPreview
+
 
+
setBcc(List<String>) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setBcc(List<Recipient>) - Method in class com.mailslurp.models.EmailRecipients
+
 
+
setBcc(List<String>) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
setBcc(List<String>) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setBcc(List<String>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setBcc(List<String>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setBcc(List<String>) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setBcc(List<String>) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
setBcc(List<String>) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setBearerToken(String) - Method in class com.mailslurp.clients.auth.HttpBearerAuth
+
+
Sets the token, which together with the scheme, will be sent as the value of the Authorization header.
+
+
setBefore(OffsetDateTime) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
setBefore(OffsetDateTime) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
setBefore(OffsetDateTime) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
setBody(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setBody(String) - Method in class com.mailslurp.models.Email
+
 
+
setBody(String) - Method in class com.mailslurp.models.EmailHtmlDto
+
 
+
setBody(String) - Method in class com.mailslurp.models.EmailLinksResult
+
 
+
setBody(String) - Method in class com.mailslurp.models.EmailTextLinesResult
+
 
+
setBody(String) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
setBody(String) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
setBody(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setBody(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setBody(String) - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
setBody(String) - Method in class com.mailslurp.models.SmsDto
+
 
+
setBody(String) - Method in class com.mailslurp.models.SmsPreview
+
 
+
setBody(String) - Method in class com.mailslurp.models.SmsProjection
+
 
+
setBody(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setBody(String) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
setBodyExcerpt(String) - Method in class com.mailslurp.models.Email
+
 
+
setBodyExcerpt(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setBodyExcerpt(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setBodyMD5Hash(String) - Method in class com.mailslurp.models.Email
+
 
+
setBodyMD5Hash(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setBodyMD5Hash(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setBodyMD5Hash(String) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setBounceId(UUID) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
setBounceMta(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setBounceMta(String) - Method in class com.mailslurp.models.BounceProjection
+
 
+
setBounceRecipients(List<String>) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setBounceRecipients(List<String>) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
setBounceSubType(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setBounceType(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setBounceType(String) - Method in class com.mailslurp.models.BounceProjection
+
 
+
setBucket(String) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
setCanPermanentInbox(Boolean) - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
setCanRestore(Boolean) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setCatchAllInboxId(UUID) - Method in class com.mailslurp.models.DomainDto
+
 
+
setCatchAllInboxId(UUID) - Method in class com.mailslurp.models.DomainPreview
+
 
+
setCatchAllInboxId(UUID) - Method in class com.mailslurp.models.UpdateDomainOptions
+
 
+
setCause(ConnectorSyncRequestResultExceptionCause) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
setCc(List<String>) - Method in class com.mailslurp.models.Email
+
 
+
setCc(List<String>) - Method in class com.mailslurp.models.EmailPreview
+
 
+
setCc(List<String>) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setCc(List<Recipient>) - Method in class com.mailslurp.models.EmailRecipients
+
 
+
setCc(List<String>) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
setCc(List<String>) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setCc(List<String>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setCc(List<String>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setCc(List<String>) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setCc(List<String>) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
setCc(List<String>) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setChar(String) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
setCharset(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setCharset(String) - Method in class com.mailslurp.models.Email
+
 
+
setCharset(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setCharset(String) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
setCharset(String) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
setCharset(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setCharset(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setCharset(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setCity(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
setCity(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setClassLoaderName(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
setClassName(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
setCompany(String) - Method in class com.mailslurp.models.ContactDto
+
 
+
setCompany(String) - Method in class com.mailslurp.models.ContactProjection
+
 
+
setCompany(String) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
setCompany(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setComplaintRecipient(String) - Method in class com.mailslurp.models.Complaint
+
 
+
setComplianceAddress(UUID) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
setCondition(ConditionOption.ConditionEnum) - Method in class com.mailslurp.models.ConditionOption
+
 
+
setConditions(List<ConditionOption>) - Method in class com.mailslurp.models.MatchOptions
+
 
+
setConnectorAuthType(ConnectorDto.ConnectorAuthTypeEnum) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setConnectorAuthType(CreateConnectorOptions.ConnectorAuthTypeEnum) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
setConnectorId(UUID) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
setConnectorId(UUID) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
setConnectorType(ConnectorDto.ConnectorTypeEnum) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setConnectorType(ConnectorProjection.ConnectorTypeEnum) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
setConnectorType(CreateConnectorOptions.ConnectorTypeEnum) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
setConnectTimeout(int) - Method in class com.mailslurp.clients.ApiClient
+
+
Sets the connect timeout (in milliseconds).
+
+
setContactId(UUID) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setContactIds(List<UUID>) - Method in class com.mailslurp.models.UpdateGroupContacts
+
 
+
setContacts(List<ContactDto>) - Method in class com.mailslurp.models.GroupContactsDto
+
 
+
setContent(String) - Method in class com.mailslurp.models.CreateTemplateOptions
+
 
+
setContent(List<AliasProjection>) - Method in class com.mailslurp.models.PageAlias
+
 
+
setContent(List<AttachmentProjection>) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setContent(List<BounceProjection>) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setContent(List<BounceRecipientProjection>) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setContent(List<Complaint>) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setContent(List<ConnectorProjection>) - Method in class com.mailslurp.models.PageConnector
+
 
+
setContent(List<ConnectorSyncEventProjection>) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setContent(List<ContactProjection>) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setContent(List<DeliveryStatusDto>) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setContent(List<EmailPreview>) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setContent(List<EmailProjection>) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setContent(List<EmailValidationRequestDto>) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setContent(List<ExpiredInboxRecordProjection>) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setContent(List<GroupProjection>) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setContent(List<InboxForwarderDto>) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setContent(List<InboxForwarderEventProjection>) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setContent(List<InboxPreview>) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setContent(List<InboxReplierDto>) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setContent(List<InboxReplierEventProjection>) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setContent(List<InboxRulesetDto>) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setContent(List<ListUnsubscribeRecipientProjection>) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setContent(List<MissedEmailProjection>) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setContent(List<OrganizationInboxProjection>) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setContent(List<PhoneNumberProjection>) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setContent(List<ScheduledJob>) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setContent(List<SentEmailProjection>) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setContent(List<SendWithQueueResult>) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setContent(List<SmsProjection>) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setContent(List<TemplateProjection>) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setContent(List<ThreadProjection>) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setContent(List<TrackingPixelProjection>) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setContent(List<UnknownMissedEmailProjection>) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setContent(List<WebhookProjection>) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setContent(List<WebhookResultDto>) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setContent(String) - Method in class com.mailslurp.models.RawEmailJson
+
 
+
setContent(String) - Method in class com.mailslurp.models.TemplateDto
+
 
+
setContentLength(Long) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
setContentLength(Long) - Method in class com.mailslurp.models.AttachmentMetaData
+
 
+
setContentLength(Long) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
setContentLength(Long) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
setContentType(String) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
setContentType(String) - Method in class com.mailslurp.models.AttachmentMetaData
+
 
+
setContentType(String) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
setContentType(String) - Method in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
setContentType(String) - Method in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
setContentType(String) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
setContentTypeHeader(String) - Method in class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
setCount(Long) - Method in class com.mailslurp.models.UnreadCount
+
 
+
setCount(Long) - Method in class com.mailslurp.models.UnseenErrorCountDto
+
 
+
setCount(Integer) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
setCount(Long) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
setCountType(WaitForConditions.CountTypeEnum) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
setCountType(WaitForSmsConditions.CountTypeEnum) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AliasDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AliasProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.BounceProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.Complaint
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ContactDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ContactProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.DomainDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.DomainPreview
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.Email
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.EmailPreview
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.GroupDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.GroupProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxPreview
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.PhonePlanDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.SmsDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.SmsPreview
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.SmsProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.TemplateDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
setCreatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setCreatedCatchAllInbox(Boolean) - Method in class com.mailslurp.models.CreateDomainOptions
+
 
+
setCreatedEarliestTime(OffsetDateTime) - Method in class com.mailslurp.models.ExportOptions
+
 
+
setCreatedOldestTime(OffsetDateTime) - Method in class com.mailslurp.models.ExportOptions
+
 
+
setCreateInboxForwarderOptions(CreateInboxForwarderOptions) - Method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
setCreateInboxRulesetOptions(CreateInboxRulesetOptions) - Method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.AliasControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.BounceControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.ContactControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.DomainControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.EmailControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.ExportControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.FormControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.GroupControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.InboxControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.MailServerControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.SmsControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.TemplateControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.TrackingControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.UserControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.WaitForControllerApi
+
 
+
setCustomBaseUrl(String) - Method in class com.mailslurp.apis.WebhookControllerApi
+
 
+
setCustomerName(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
setCustomerName(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setData(String) - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
setDateFormat(DateFormat) - Method in class com.mailslurp.clients.ApiClient
+
+
Setter for the field dateFormat.
+
+
setDateFormat(DateFormat) - Static method in class com.mailslurp.clients.JSON
+
 
+
setDebugging(boolean) - Method in class com.mailslurp.clients.ApiClient
+
+
Enable/disable debugging for this API client.
+
+
setDefaultApiClient(ApiClient) - Static method in class com.mailslurp.clients.Configuration
+
+
Set the default API client, which would be used when creating API + instances without providing an API client.
+
+
setDefaultExpirationMillis(Long) - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
setDefaultExpiresAt(OffsetDateTime) - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
setDelay(Long) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
setDelayTimeout(Long) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
setDelayTimeout(Long) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
setDelivered(Boolean) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
setDescription(String) - Method in class com.mailslurp.models.CreateDomainOptions
+
 
+
setDescription(String) - Method in class com.mailslurp.models.CreateGroupOptions
+
 
+
setDescription(String) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setDescription(String) - Method in class com.mailslurp.models.GroupDto
+
 
+
setDescription(String) - Method in class com.mailslurp.models.GroupProjection
+
 
+
setDescription(String) - Method in class com.mailslurp.models.InboxDto
+
 
+
setDescription(String) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
setDiagnosticCode(String) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
setDirect(Boolean) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
setDisplayName(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
setDisplayName(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setDkimTokens(List<String>) - Method in class com.mailslurp.models.DomainDto
+
 
+
setDkimVerdict(String) - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
setDmarcVerdict(String) - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
setDoesMatch(Boolean) - Method in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
setDomain(String) - Method in class com.mailslurp.models.CreateDomainOptions
+
 
+
setDomain(String) - Method in class com.mailslurp.models.DescribeDomainOptions
+
 
+
setDomain(String) - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
setDomain(String) - Method in class com.mailslurp.models.DomainDto
+
 
+
setDomain(String) - Method in class com.mailslurp.models.DomainPreview
+
 
+
setDomainId(UUID) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setDomainId(UUID) - Method in class com.mailslurp.models.Email
+
 
+
setDomainId(UUID) - Method in class com.mailslurp.models.EmailPreview
+
 
+
setDomainId(UUID) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setDomainId(UUID) - Method in class com.mailslurp.models.InboxDto
+
 
+
setDomainId(UUID) - Method in class com.mailslurp.models.InboxPreview
+
 
+
setDomainId(UUID) - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
setDomainId(UUID) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
setDomainId(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setDomainId(UUID) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setDomainName(String) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setDomainName(String) - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
setDomainNameRecords(List<DomainNameRecord>) - Method in class com.mailslurp.models.DomainDto
+
 
+
setDomainType(CreateDomainOptions.DomainTypeEnum) - Method in class com.mailslurp.models.CreateDomainOptions
+
 
+
setDomainType(DomainDto.DomainTypeEnum) - Method in class com.mailslurp.models.DomainDto
+
 
+
setDomainType(DomainPreview.DomainTypeEnum) - Method in class com.mailslurp.models.DomainPreview
+
 
+
setDouble(Double) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
setDownloadLink(String) - Method in class com.mailslurp.models.ExportLink
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.AliasDto
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.AliasProjection
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.ContactProjection
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.CreateAliasOptions
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.ExpiredInboxDto
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.InboxDto
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.InboxIdItem
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.InboxPreview
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.Recipient
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.Sender
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
setEmailAddress(String) - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
setEmailAddresses(List<String>) - Method in class com.mailslurp.models.ContactDto
+
 
+
setEmailAddresses(List<String>) - Method in class com.mailslurp.models.ContactProjection
+
 
+
setEmailAddresses(List<String>) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
setEmailAddresses(List<String>) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setEmailAddressList(List<String>) - Method in class com.mailslurp.models.ValidateEmailAddressListOptions
+
 
+
setEmailId(UUID) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
setEmailId(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
setEmailId(UUID) - Method in class com.mailslurp.models.ValidationDto
+
 
+
setEmailId(UUID) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
setEmailId(UUID) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setEmailIsRead(Boolean) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
setEmailRecipients(List<String>) - Method in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
 
+
setEmailSyncCount(Long) - Method in class com.mailslurp.models.ConnectorSyncResult
+
 
+
setEmergencyAddress(UUID) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageAlias
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageConnector
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setEmpty(Boolean) - Method in class com.mailslurp.models.Sort
+
 
+
setError(String) - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
setErrors(List<ValidationMessage>) - Method in class com.mailslurp.models.HTMLValidationResult
+
 
+
setEventId(UUID) - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
setEventName(AbstractWebhookPayload.EventNameEnum) - Method in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
setEventName(CreateWebhookOptions.EventNameEnum) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
setEventName(WebhookBouncePayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
setEventName(WebhookBounceRecipientPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
setEventName(WebhookDeliveryStatusPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setEventName(WebhookDto.EventNameEnum) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setEventName(WebhookEmailOpenedPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
setEventName(WebhookEmailReadPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
setEventName(WebhookNewAttachmentPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
setEventName(WebhookNewContactPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setEventName(WebhookNewEmailPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setEventName(WebhookNewSmsPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
setEventName(WebhookProjection.EventNameEnum) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
setEventType(String) - Method in class com.mailslurp.models.Complaint
+
 
+
setException(ConnectorSyncRequestResultException) - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
setExceptionName(String) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
setExcludePreviouslyExported(Boolean) - Method in class com.mailslurp.models.ExportOptions
+
 
+
setExists(Boolean) - Method in class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
setExists(Boolean) - Method in class com.mailslurp.models.InboxByNameResult
+
 
+
setExists(Boolean) - Method in class com.mailslurp.models.InboxExistsDto
+
 
+
setExpireBefore(OffsetDateTime) - Method in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
setExpiresAt(OffsetDateTime) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setExpiresAt(String) - Method in class com.mailslurp.models.InboxDto
+
 
+
setExpiresAt(String) - Method in class com.mailslurp.models.InboxPreview
+
 
+
setExpiresAt(OffsetDateTime) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
setExpiresIn(Long) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setFavourite(Boolean) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setFavourite(Boolean) - Method in class com.mailslurp.models.InboxDto
+
 
+
setFavourite(Boolean) - Method in class com.mailslurp.models.InboxPreview
+
 
+
setFavourite(Boolean) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
setFavourite(Boolean) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
setField(CreateInboxForwarderOptions.FieldEnum) - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
setField(CreateInboxReplierOptions.FieldEnum) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setField(InboxForwarderDto.FieldEnum) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
setField(InboxReplierDto.FieldEnum) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setField(MatchOption.FieldEnum) - Method in class com.mailslurp.models.MatchOption
+
 
+
setField(SmsMatchOption.FieldEnum) - Method in class com.mailslurp.models.SmsMatchOption
+
 
+
setField(UpdateInboxReplierOptions.FieldEnum) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setFile(File) - Method in class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
setFileName(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
setFilename(String) - Method in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
setFilter(String) - Method in class com.mailslurp.models.ExportOptions
+
 
+
setFilterBouncedRecipients(Boolean) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
setFilterBouncedRecipients(Boolean) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setFilteredRecipients(List<String>) - Method in class com.mailslurp.models.FilterBouncedRecipientsResult
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageAlias
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageConnector
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setFirst(Boolean) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setFirstName(String) - Method in class com.mailslurp.models.ContactDto
+
 
+
setFirstName(String) - Method in class com.mailslurp.models.ContactProjection
+
 
+
setFirstName(String) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
setFirstName(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setFlagOperation(ImapFlagOperationOptions.FlagOperationEnum) - Method in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
setFlags(List<String>) - Method in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
setFloat(Float) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
setFormat(DateFormat) - Method in class com.mailslurp.clients.JSON.DateTypeAdapter
+
 
+
setFormat(DateTimeFormatter) - Method in class com.mailslurp.clients.JSON.LocalDateTypeAdapter
+
 
+
setFormat(DateTimeFormatter) - Method in class com.mailslurp.clients.JSON.OffsetDateTimeTypeAdapter
+
 
+
setFormat(DateFormat) - Method in class com.mailslurp.clients.JSON.SqlDateTypeAdapter
+
 
+
setForwarderId(UUID) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
setForwardToRecipients(List<String>) - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
setForwardToRecipients(List<String>) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
setFrom(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setFrom(String) - Method in class com.mailslurp.models.Email
+
 
+
setFrom(String) - Method in class com.mailslurp.models.EmailPreview
+
 
+
setFrom(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setFrom(String) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
setFrom(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setFrom(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setFrom(String) - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
setFrom(String) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
setFrom(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setFrom(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setFrom(String) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setFrom(String) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
setFrom(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setFrom(String) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setFromNumber(String) - Method in class com.mailslurp.models.SmsDto
+
 
+
setFromNumber(String) - Method in class com.mailslurp.models.SmsPreview
+
 
+
setFromNumber(String) - Method in class com.mailslurp.models.SmsProjection
+
 
+
setFromNumber(String) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
setGroup(GroupDto) - Method in class com.mailslurp.models.GroupContactsDto
+
 
+
setGroupId(UUID) - Method in class com.mailslurp.models.ContactDto
+
 
+
setGroupId(UUID) - Method in class com.mailslurp.models.ContactProjection
+
 
+
setGroupId(UUID) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
setGroupId(String) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
setGroupId(String) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
setGroupId(UUID) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setGson(Gson) - Static method in class com.mailslurp.clients.JSON
+
+
Set Gson.
+
+
setHandler(InboxRulesetDto.HandlerEnum) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
setHash(String) - Method in class com.mailslurp.models.GravatarUrl
+
 
+
setHasIssues(Boolean) - Method in class com.mailslurp.models.DomainIssuesDto
+
 
+
setHasMissingRecords(Boolean) - Method in class com.mailslurp.models.DomainDto
+
 
+
setHasMissingRecords(Boolean) - Method in class com.mailslurp.models.DomainPreview
+
 
+
setHeaderId(String) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
setHeaders(Map<String, String>) - Method in class com.mailslurp.models.Email
+
 
+
setHeaders(List<WebhookHeaderNameValue>) - Method in class com.mailslurp.models.WebhookHeaders
+
 
+
setHeaders(Map<String, String>) - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
setHeadersMap(Map<String, List<String>>) - Method in class com.mailslurp.models.Email
+
 
+
setHost(String) - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.AliasControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.BounceControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.BulkActionsControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.CommonActionsControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.ContactControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.DomainControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.EmailControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.ExpiredControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.ExportControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.FormControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.GroupControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.InboxControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.MailServerControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.SmsControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.TemplateControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.TrackingControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.UserControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.WaitForControllerApi
+
 
+
setHostIndex(int) - Method in class com.mailslurp.apis.WebhookControllerApi
+
 
+
setHostname(String) - Method in class com.mailslurp.models.DNSLookupOptions
+
 
+
setHostname(String) - Method in class com.mailslurp.models.IPAddressResult
+
 
+
setHtml(Boolean) - Method in class com.mailslurp.models.Email
+
 
+
setHtml(Boolean) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
setHtml(Boolean) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
setHtml(Boolean) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setHtml(Boolean) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setHtml(String) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
setHtml(HTMLValidationResult) - Method in class com.mailslurp.models.ValidationDto
+
 
+
setHttpClient(OkHttpClient) - Method in class com.mailslurp.clients.ApiClient
+
+
Set HTTP client, which must never be null.
+
+
setHttpMethod(WebhookResultDto.HttpMethodEnum) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.AliasDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.AliasProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
setId(String) - Method in class com.mailslurp.models.AttachmentMetaData
+
 
+
setId(UUID) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.BounceProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.Complaint
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ContactDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ContactProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.DomainDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.DomainPreview
+
 
+
setId(UUID) - Method in class com.mailslurp.models.Email
+
 
+
setId(UUID) - Method in class com.mailslurp.models.EmailPreview
+
 
+
setId(UUID) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setId(UUID) - Method in class com.mailslurp.models.EmergencyAddressDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ExpiredInboxDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.GroupDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.GroupProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.InboxDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.InboxIdItem
+
 
+
setId(UUID) - Method in class com.mailslurp.models.InboxPreview
+
 
+
setId(UUID) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.PhonePlanDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
setId(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.SmsDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.SmsPreview
+
 
+
setId(UUID) - Method in class com.mailslurp.models.SmsProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.TemplateDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setId(UUID) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setId(UUID) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
setId(UUID) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setIgnoreInsecureSslCertificates(Boolean) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
setIgnoreInsecureSslCertificates(Boolean) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setIgnoreReplyTo(Boolean) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setIgnoreReplyTo(Boolean) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setIgnoreReplyTo(Boolean) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setImapHost(String) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setImapPassword(String) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setImapPassword(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setImapPort(Integer) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setImapServerHost(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setImapServerPort(Integer) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setImapSettings(CreateConnectorImapOptions) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
setImapSsl(Boolean) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setImapUsername(String) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setImapUsername(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setInboxFavourited(UUID, SetInboxFavouritedOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Set inbox favourited state + Set and return new favourite state for an inbox
+
+
setInboxFavouritedAsync(UUID, SetInboxFavouritedOptions, ApiCallback<InboxDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Set inbox favourited state (asynchronously) + Set and return new favourite state for an inbox
+
+
setInboxFavouritedCall(UUID, SetInboxFavouritedOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for setInboxFavourited
+
+
SetInboxFavouritedOptions - Class in com.mailslurp.models
+
+
Options for setting inbox favourite state
+
+
SetInboxFavouritedOptions() - Constructor for class com.mailslurp.models.SetInboxFavouritedOptions
+
 
+
SetInboxFavouritedOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
setInboxFavouritedWithHttpInfo(UUID, SetInboxFavouritedOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Set inbox favourited state + Set and return new favourite state for an inbox
+
+
setInboxForwarderTestOptions(InboxForwarderTestOptions) - Method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.AliasDto
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.AliasProjection
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.CreateAliasOptions
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.Email
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.ExpiredInboxDto
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.InboxByNameResult
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
setInboxId(UUID) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setInboxIds(List<UUID>) - Method in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
setInboxIds(List<UUID>) - Method in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
setInboxIds(List<InboxIdItem>) - Method in class com.mailslurp.models.InboxIdsResult
+
 
+
setInboxIds(List<UUID>) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setInboxRulesetTestOptions(InboxRulesetTestOptions) - Method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
setInboxType(CreateInboxDto.InboxTypeEnum) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setInboxType(InboxDto.InboxTypeEnum) - Method in class com.mailslurp.models.InboxDto
+
 
+
setInboxType(InboxPreview.InboxTypeEnum) - Method in class com.mailslurp.models.InboxPreview
+
 
+
setInboxType(OrganizationInboxProjection.InboxTypeEnum) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
setIncludeHeaders(WebhookHeaders) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
setInt(Integer) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
setInvalidEmailAddresses(List<String>) - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
setIsHTML(Boolean) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setIsHTML(Boolean) - Method in class com.mailslurp.models.Email
+
 
+
setIsHTML(Boolean) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setIsHTML(Boolean) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
setIsHTML(Boolean) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
setIsHTML(Boolean) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setIsHTML(Boolean) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setIsHTML(Boolean) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setIsoCountryCode(CreateEmergencyAddressOptions.IsoCountryCodeEnum) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
setIsValid(Boolean) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
setIsValid(Boolean) - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
setIsValid(Boolean) - Method in class com.mailslurp.models.HTMLValidationResult
+
 
+
setIsValid(Boolean) - Method in class com.mailslurp.models.VerifyWebhookSignatureResults
+
 
+
setIsVerified(Boolean) - Method in class com.mailslurp.models.AliasDto
+
 
+
setIsVerified(Boolean) - Method in class com.mailslurp.models.DomainDto
+
 
+
setIsVerified(Boolean) - Method in class com.mailslurp.models.DomainPreview
+
 
+
setJobId(String) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
setJobId(String) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
setJSON(JSON) - Method in class com.mailslurp.clients.ApiClient
+
+
Set JSON
+
+
setKeyManagers(KeyManager[]) - Method in class com.mailslurp.clients.ApiClient
+
+
Configure client keys to use for authorization in an SSL session.
+
+
setLabel(DomainNameRecord.LabelEnum) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageAlias
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageConnector
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setLast(Boolean) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setLastName(String) - Method in class com.mailslurp.models.ContactDto
+
 
+
setLastName(String) - Method in class com.mailslurp.models.ContactProjection
+
 
+
setLastName(String) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
setLastName(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setLenientOnJson(boolean) - Method in class com.mailslurp.clients.ApiClient
+
+
Set LenientOnJson.
+
+
setLenientOnJson(boolean) - Static method in class com.mailslurp.clients.JSON
+
 
+
setLimit(Integer) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
setLineNumber(Integer) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
setLineNumber(Integer) - Method in class com.mailslurp.models.ValidationMessage
+
 
+
setLines(List<String>) - Method in class com.mailslurp.models.EmailTextLinesResult
+
 
+
setLinks(List<String>) - Method in class com.mailslurp.models.EmailLinksResult
+
 
+
setListSeparatorToken(String) - Method in class com.mailslurp.models.ExportOptions
+
 
+
setLocalDateFormat(DateTimeFormatter) - Method in class com.mailslurp.clients.ApiClient
+
+
Set LocalDateFormat.
+
+
setLocalDateFormat(DateTimeFormatter) - Static method in class com.mailslurp.clients.JSON
+
 
+
setLocalizedMessage(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
setLocalizedMessage(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
setLocalizedMessage(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
setLogLines(List<String>) - Method in class com.mailslurp.models.ConnectorSyncResult
+
 
+
setLong(Long) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
setMailFrom(String) - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
setMailMessageId(String) - Method in class com.mailslurp.models.Complaint
+
 
+
setMailServerDomain(String) - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
setMailSource(String) - Method in class com.mailslurp.models.Complaint
+
 
+
setMaskedEmailAddress(String) - Method in class com.mailslurp.models.AliasDto
+
 
+
setMatch(String) - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
setMatch(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setMatch(String) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
setMatch(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setMatch(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setMatches(List<String>) - Method in class com.mailslurp.models.EmailContentMatchResult
+
 
+
setMatches(Map<String, Boolean>) - Method in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
setMatches(Boolean) - Method in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
setMatches(List<MatchOption>) - Method in class com.mailslurp.models.MatchOptions
+
 
+
setMatches(List<MatchOption>) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
setMatches(List<SmsMatchOption>) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
setMaxExpirationMillis(Long) - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
setMessage(String) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
setMessage(String) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
setMessage(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
setMessage(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
setMessage(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
setMessage(String) - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
setMessage(String) - Method in class com.mailslurp.models.EmptyResponseDto
+
 
+
setMessage(String) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
setMessage(String) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
setMessage(String) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
setMessage(String) - Method in class com.mailslurp.models.TestPhoneNumberOptions
+
 
+
setMessage(String) - Method in class com.mailslurp.models.ValidationMessage
+
 
+
setMessage(String) - Method in class com.mailslurp.models.WebhookRedriveResult
+
 
+
setMessage(String) - Method in class com.mailslurp.models.WebhookTestResponse
+
 
+
setMessage(String) - Method in class com.mailslurp.models.WebhookTestResult
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
setMessageId(String) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setMessageIds(List<String>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setMetaData(Object) - Method in class com.mailslurp.models.ContactDto
+
 
+
setMetaData(Object) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
setMetaData(Object) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setMethod(WebhookDto.MethodEnum) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setMethod(WebhookTestRequest.MethodEnum) - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
setMethodName(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
setMissingRecordsMessage(String) - Method in class com.mailslurp.models.DomainDto
+
 
+
setModuleName(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
setModuleVersion(String) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
setMxRecords(List<NameServerRecord>) - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
setName(String) - Method in class com.mailslurp.models.AliasDto
+
 
+
setName(String) - Method in class com.mailslurp.models.AliasProjection
+
 
+
setName(String) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
setName(String) - Method in class com.mailslurp.models.AttachmentMetaData
+
 
+
setName(String) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
setName(String) - Method in class com.mailslurp.models.CreateAliasOptions
+
 
+
setName(String) - Method in class com.mailslurp.models.CreateGroupOptions
+
 
+
setName(String) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setName(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setName(String) - Method in class com.mailslurp.models.CreateTemplateOptions
+
 
+
setName(String) - Method in class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
setName(String) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
setName(String) - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
setName(String) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
setName(String) - Method in class com.mailslurp.models.GroupDto
+
 
+
setName(String) - Method in class com.mailslurp.models.GroupProjection
+
 
+
setName(String) - Method in class com.mailslurp.models.InboxDto
+
 
+
setName(String) - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
setName(String) - Method in class com.mailslurp.models.InboxPreview
+
 
+
setName(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setName(String) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
setName(String) - Method in class com.mailslurp.models.Recipient
+
 
+
setName(String) - Method in class com.mailslurp.models.Sender
+
 
+
setName(String) - Method in class com.mailslurp.models.TemplateDto
+
 
+
setName(String) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
setName(String) - Method in class com.mailslurp.models.TemplateVariable
+
 
+
setName(String) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
setName(String) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
setName(String) - Method in class com.mailslurp.models.UpdateAliasOptions
+
 
+
setName(String) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
setName(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setName(String) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setName(String) - Method in class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
setName(String) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
setName(String) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
setNativeMethod(Boolean) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
setNextInboxAllowsPermanent(Boolean) - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
setNotificationType(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageAlias
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageConnector
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setNumber(Integer) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageAlias
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageConnector
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setNumberOfElements(Integer) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setOffset(Long) - Method in class com.mailslurp.models.PageableObject
+
 
+
setOffsetDateTimeFormat(DateTimeFormatter) - Method in class com.mailslurp.clients.ApiClient
+
+
Set OffsetDateTimeFormat.
+
+
setOffsetDateTimeFormat(DateTimeFormatter) - Static method in class com.mailslurp.clients.JSON
+
 
+
setOmitFinalDNSDot(Boolean) - Method in class com.mailslurp.models.DNSLookupOptions
+
 
+
setOptOut(Boolean) - Method in class com.mailslurp.models.ContactDto
+
 
+
setOptOut(Boolean) - Method in class com.mailslurp.models.ContactProjection
+
 
+
setOptOut(Boolean) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
setOptOut(Boolean) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setOutputFormat(ExportOptions.OutputFormatEnum) - Method in class com.mailslurp.models.ExportOptions
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageAlias
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageConnector
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setPageable(PageableObject) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setPaged(Boolean) - Method in class com.mailslurp.models.PageableObject
+
 
+
setPageNumber(Integer) - Method in class com.mailslurp.models.PageableObject
+
 
+
setPageSize(Integer) - Method in class com.mailslurp.models.PageableObject
+
 
+
setPassword(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Helper method to set password for the first HTTP basic authentication.
+
+
setPassword(String) - Method in class com.mailslurp.clients.auth.HttpBasicAuth
+
 
+
setPassword(String) - Method in class com.mailslurp.models.BasicAuthOptions
+
 
+
setPassword(String) - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
setPattern(String) - Method in class com.mailslurp.models.ContentMatchOptions
+
 
+
setPattern(String) - Method in class com.mailslurp.models.EmailContentMatchResult
+
 
+
setPayload(String) - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
setPayloadJsonSchema(String) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setPhoneCountry(EmergencyAddress.PhoneCountryEnum) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setPhoneCountry(EmergencyAddressDto.PhoneCountryEnum) - Method in class com.mailslurp.models.EmergencyAddressDto
+
 
+
setPhoneCountry(PhoneNumberDto.PhoneCountryEnum) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
setPhoneCountry(PhoneNumberProjection.PhoneCountryEnum) - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
setPhoneCountry(PhonePlanDto.PhoneCountryEnum) - Method in class com.mailslurp.models.PhonePlanDto
+
 
+
setPhoneId(UUID) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setPhoneNumber(String) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
setPhoneNumber(String) - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
setPhoneNumber(UUID) - Method in class com.mailslurp.models.SmsDto
+
 
+
setPhoneNumber(UUID) - Method in class com.mailslurp.models.SmsPreview
+
 
+
setPhoneNumber(UUID) - Method in class com.mailslurp.models.SmsProjection
+
 
+
setPhoneNumber(UUID) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
setPhoneNumberId(UUID) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
setPhoneNumberId(UUID) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
setPhoneNumberId(UUID) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
setPhonePlan(UUID) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
setPixelId(UUID) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
setPixelIds(List<UUID>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setPlainHtmlBodyUrl(String) - Method in class com.mailslurp.models.EmailPreviewUrls
+
 
+
setPort(Integer) - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
setPort(Integer) - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
setPort(Integer) - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
setPostalCode(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
setPostalCode(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setPreview(String) - Method in class com.mailslurp.models.TemplatePreview
+
 
+
setPrimaryEmailAddress(String) - Method in class com.mailslurp.models.ContactDto
+
 
+
setPrimaryEmailAddress(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setPriority(String) - Method in class com.mailslurp.models.NameServerRecord
+
 
+
setProcessingTimeMillis(Long) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setProcessingTimeMillis(Long) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setRaw(String) - Method in class com.mailslurp.models.NameServerRecord
+
 
+
setRawBucket(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setRawKey(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setRawSmtpMessageUrl(String) - Method in class com.mailslurp.models.EmailPreviewUrls
+
 
+
setRawUrl(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setRawValue(String) - Method in class com.mailslurp.models.Recipient
+
 
+
setRawValue(String) - Method in class com.mailslurp.models.Sender
+
 
+
setRcptTo(List<String>) - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
setRead(Boolean) - Method in class com.mailslurp.models.Email
+
 
+
setRead(Boolean) - Method in class com.mailslurp.models.EmailPreview
+
 
+
setRead(Boolean) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setRead(Boolean) - Method in class com.mailslurp.models.SmsDto
+
 
+
setRead(Boolean) - Method in class com.mailslurp.models.SmsProjection
+
 
+
setRead(Boolean) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
setReadOnly(Boolean) - Method in class com.mailslurp.models.InboxDto
+
 
+
setReadOnly(Boolean) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
setReadOnly(Boolean) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
setReadTimeout(int) - Method in class com.mailslurp.clients.ApiClient
+
+
Sets the read timeout (in milliseconds).
+
+
setReceived(OffsetDateTime) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setReceived(OffsetDateTime) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setRecipient(String) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
setRecipient(String) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
setRecipient(String) - Method in class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
setRecipient(String) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
setRecipient(String) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
setRecipient(String) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
setRecipient(String) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
setRecipients(List<String>) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setRecipients(EmailRecipients) - Method in class com.mailslurp.models.Email
+
 
+
setRecipients(List<String>) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
setRecipients(List<String>) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setRecordEntries(List<String>) - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
setRecordEntries(List<String>) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
setRecordType(DNSLookupResult.RecordTypeEnum) - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
setRecordType(DomainNameRecord.RecordTypeEnum) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
setRecordType(String) - Method in class com.mailslurp.models.NameServerRecord
+
 
+
setRecordTypes(List<DNSLookupOptions.RecordTypesEnum>) - Method in class com.mailslurp.models.DNSLookupOptions
+
 
+
setRedriveId(UUID) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setRegion(String) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
setRegion(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setRemoteMtaIp(String) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setRemoteMtaIp(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setReplierId(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
setReplyTo(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setReplyTo(String) - Method in class com.mailslurp.models.Email
+
 
+
setReplyTo(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setReplyTo(String) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
setReplyTo(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setReplyTo(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setReplyTo(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setReportingMta(String) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setReportingMta(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setRequest(WebhookTestRequest) - Method in class com.mailslurp.models.WebhookTestResult
+
 
+
setRequestBodyTemplate(String) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
setRequestBodyTemplate(String) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setRequestHeaders(WebhookHeaders) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setRequired(Boolean) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
setResponse(WebhookTestResponse) - Method in class com.mailslurp.models.WebhookTestResult
+
 
+
setResponseBodyExtract(String) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setResponseStatus(Integer) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setResponseTimeMillis(Long) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setResultMapEmailAddressIsValid(Map<String, Boolean>) - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
setResults(List<DNSLookupResult>) - Method in class com.mailslurp.models.DNSLookupResults
+
 
+
setResultType(WebhookResultDto.ResultTypeEnum) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setRulesetMatches(Map<String, Boolean>) - Method in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
setScope(CreateInboxRulesetOptions.ScopeEnum) - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
setScope(InboxRulesetDto.ScopeEnum) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
setSecureSmtpPassword(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setSecureSmtpServerHost(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setSecureSmtpServerPort(Integer) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setSecureSmtpUsername(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setSeen(Boolean) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
setSeen(Boolean) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
setSeen(Boolean) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setSeenAt(OffsetDateTime) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
setSeenAt(OffsetDateTime) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
setSendAtTimestamp(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
setSendAtTimestamp(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
setSendEmailOptions(SendEmailOptions) - Method in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
setSender(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setSender(String) - Method in class com.mailslurp.models.BounceProjection
+
 
+
setSender(Sender) - Method in class com.mailslurp.models.Email
+
 
+
setSender(String) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
setSenderEmailAddress(String) - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
setSenderId(UUID) - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
setSendStrategy(ReplyToAliasEmailOptions.SendStrategyEnum) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
setSendStrategy(ReplyToEmailOptions.SendStrategyEnum) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
setSendStrategy(SendEmailOptions.SendStrategyEnum) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setSentAt(OffsetDateTime) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setSentEmailId(UUID) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setSentEmailId(UUID) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
setSentEmailId(UUID) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
setSentEmailId(UUID) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
setSentEmailId(UUID) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
setSentEmailId(UUID) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
setSentId(UUID) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setSentId(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
setSentId(UUID) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setSentToRecipients(List<String>) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setSentToRecipients(List<String>) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
setShort(Integer) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
setShould(MatchOption.ShouldEnum) - Method in class com.mailslurp.models.MatchOption
+
 
+
setShould(SmsMatchOption.ShouldEnum) - Method in class com.mailslurp.models.SmsMatchOption
+
 
+
setSid(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setSignature(String) - Method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
setSince(OffsetDateTime) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
setSince(OffsetDateTime) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
setSince(OffsetDateTime) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageAlias
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageConnector
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setSize(Integer) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setSizeBytes(Long) - Method in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
setSmsId(UUID) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
setSmtpPassword(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setSmtpResponse(String) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setSmtpResponse(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setSmtpServerHost(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setSmtpServerPort(Integer) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setSmtpStatusCode(Integer) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setSmtpStatusCode(Integer) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setSmtpUsername(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageableObject
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageAlias
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageConnector
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setSort(Sort) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setSortDirection(WaitForConditions.SortDirectionEnum) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
setSortDirection(WaitForSingleSmsOptions.SortDirectionEnum) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
setSortDirection(WaitForSmsConditions.SortDirectionEnum) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
setSorted(Boolean) - Method in class com.mailslurp.models.Sort
+
 
+
setSpamVerdict(String) - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
setSpfVerdict(String) - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
setSqlDateFormat(DateFormat) - Method in class com.mailslurp.clients.ApiClient
+
+
Set SqlDateFormat.
+
+
setSqlDateFormat(DateFormat) - Static method in class com.mailslurp.clients.JSON
+
 
+
setSslCaCert(InputStream) - Method in class com.mailslurp.clients.ApiClient
+
+
Configure the CA certificate to be trusted when making https requests.
+
+
setStackTrace(List<ConnectorSyncRequestResultExceptionCauseStackTraceInner>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
setStackTrace(List<ConnectorSyncRequestResultExceptionCauseStackTraceInner>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
setStackTrace(List<ConnectorSyncRequestResultExceptionCauseStackTraceInner>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
setState(Boolean) - Method in class com.mailslurp.models.SetInboxFavouritedOptions
+
 
+
setStatus(String) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
setStatus(String) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
setStatus(InboxForwarderEventProjection.StatusEnum) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
setStatus(InboxReplierEventProjection.StatusEnum) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
setStatus(ScheduledJob.StatusEnum) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
setStatus(ScheduledJobDto.StatusEnum) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
setStatusCode(Integer) - Method in class com.mailslurp.models.WebhookTestResponse
+
 
+
setSubject(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setSubject(String) - Method in class com.mailslurp.models.BounceProjection
+
 
+
setSubject(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setSubject(String) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setSubject(String) - Method in class com.mailslurp.models.Email
+
 
+
setSubject(String) - Method in class com.mailslurp.models.EmailHtmlDto
+
 
+
setSubject(String) - Method in class com.mailslurp.models.EmailPreview
+
 
+
setSubject(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setSubject(String) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
setSubject(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setSubject(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setSubject(String) - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
setSubject(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setSubject(String) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
setSubject(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setSubject(String) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setSubject(String) - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
setSubject(String) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
setSubject(String) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
setSubject(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setSubject(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setSubject(String) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setSubscriptionType(UserInfoDto.SubscriptionTypeEnum) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
setSuccess(Boolean) - Method in class com.mailslurp.models.WebhookRedriveResult
+
 
+
setSuppressed(List<ConnectorSyncRequestResultExceptionCauseSuppressedInner>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
setSuppressed(List<ConnectorSyncRequestResultExceptionCauseSuppressedInner>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
setSyncCount(Long) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
setSyncCount(Long) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
setSyncEnabled(Boolean) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setSyncEnabled(Boolean) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
setSyncEnabled(Boolean) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
setSyncInterval(Integer) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setSyncInterval(Integer) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
setSyncInterval(Integer) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
setSyncResult(ConnectorSyncResult) - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
setSyncScheduleType(ConnectorDto.SyncScheduleTypeEnum) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setSyncScheduleType(ConnectorProjection.SyncScheduleTypeEnum) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
setSyncScheduleType(CreateConnectorOptions.SyncScheduleTypeEnum) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
setSyncStatus(ConnectorSyncEventDto.SyncStatusEnum) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
setSyncStatus(ConnectorSyncEventProjection.SyncStatusEnum) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
setTags(List<String>) - Method in class com.mailslurp.models.ContactDto
+
 
+
setTags(List<String>) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
setTags(List<String>) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setTags(List<String>) - Method in class com.mailslurp.models.InboxDto
+
 
+
setTags(List<String>) - Method in class com.mailslurp.models.InboxPreview
+
 
+
setTags(List<String>) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
setTags(List<String>) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
setTags(List<String>) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setTarget(String) - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
setTarget(String) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
setTeamAccess(Boolean) - Method in class com.mailslurp.models.Email
+
 
+
setTeamAccess(Boolean) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setTeamAccess(Boolean) - Method in class com.mailslurp.models.InboxPreview
+
 
+
setTeamAccess(Boolean) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
setTempFolderPath(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Set the temporary folder path (for downloading files)
+
+
setTemplate(UUID) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
setTemplate(UUID) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
setTemplate(UUID) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setTemplateId(UUID) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setTemplateId(UUID) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setTemplateId(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setTemplateId(UUID) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setTemplateVariables(Map<String, Object>) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
setTemplateVariables(Map<String, Object>) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
setTemplateVariables(Map<String, Object>) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
setTemplateVariables(Map<String, Object>) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
setTemplateVariables(Map<String, Object>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setTemplateVariables(Map<String, Object>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setTemplateVariables(Map<String, Object>) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
setTestTarget(String) - Method in class com.mailslurp.models.InboxRulesetTestOptions
+
 
+
setTestValue(String) - Method in class com.mailslurp.models.InboxForwarderTestOptions
+
 
+
setTimeout(Long) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
setTimeout(Long) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
setTimeout(Long) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
setTo(List<String>) - Method in class com.mailslurp.models.Email
+
 
+
setTo(List<String>) - Method in class com.mailslurp.models.EmailPreview
+
 
+
setTo(List<String>) - Method in class com.mailslurp.models.EmailProjection
+
 
+
setTo(List<Recipient>) - Method in class com.mailslurp.models.EmailRecipients
+
 
+
setTo(List<String>) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
setTo(List<String>) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setTo(List<String>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setTo(List<String>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setTo(List<String>) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setTo(String) - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
setTo(List<String>) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
setTo(List<String>) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
setTo(List<String>) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setToContacts(List<UUID>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setToContacts(List<UUID>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setToGroup(UUID) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setToGroup(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setToNumber(String) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageAlias
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageConnector
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setTotal(Long) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.CountDto
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageAlias
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageConnector
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setTotalElements(Long) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageAlias
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageComplaint
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageConnector
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
setTotalPages(Integer) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
setTriggerId(String) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
setTriggerId(String) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
setTtl(Long) - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
setTtl(Long) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
setUnpaged(Boolean) - Method in class com.mailslurp.models.PageableObject
+
 
+
setUnreadOnly(Boolean) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
setUnreadOnly(Boolean) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
setUnreadOnly(Boolean) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
setUnsorted(Boolean) - Method in class com.mailslurp.models.Sort
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AliasDto
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AliasProjection
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.Complaint
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.DomainDto
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.Email
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.SmsDto
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
setUpdatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setUrl(String) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
setUrl(String) - Method in class com.mailslurp.models.GravatarUrl
+
 
+
setUrl(String) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
setUrl(String) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setUrl(String) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
setUrl(String) - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
setUseDomainPool(Boolean) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setUseInboxName(Boolean) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
setUseInboxName(Boolean) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
setUseInboxName(Boolean) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
setUseInboxName(Boolean) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setUserAgent(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Set the User-Agent header's value (by adding to the default header map).
+
+
setUserId(UUID) - Method in class com.mailslurp.models.AliasDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.AliasProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.Complaint
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.DomainDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.Email
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.InboxDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.PhonePlanDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.SmsDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.SmsPreview
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.SmsProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
setUserId(UUID) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setUsername(String) - Method in class com.mailslurp.clients.ApiClient
+
+
Helper method to set username for the first HTTP basic authentication.
+
+
setUsername(String) - Method in class com.mailslurp.clients.auth.HttpBasicAuth
+
 
+
setUsername(String) - Method in class com.mailslurp.models.BasicAuthOptions
+
 
+
setUsername(String) - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
setUseShortAddress(Boolean) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setUseSSL(Boolean) - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
setUseStaticIpRange(Boolean) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
setUseStaticIpRange(Boolean) - Method in class com.mailslurp.models.WebhookDto
+
 
+
setUseThreads(Boolean) - Method in class com.mailslurp.models.AliasDto
+
 
+
setUseThreads(Boolean) - Method in class com.mailslurp.models.AliasProjection
+
 
+
setUseThreads(Boolean) - Method in class com.mailslurp.models.CreateAliasOptions
+
 
+
setValidateEmailAddresses(SendEmailOptions.ValidateEmailAddressesEnum) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
setValidEmailAddresses(List<String>) - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
setValue(ConditionOption.ValueEnum) - Method in class com.mailslurp.models.ConditionOption
+
 
+
setValue(String) - Method in class com.mailslurp.models.JSONSchemaDto
+
 
+
setValue(String) - Method in class com.mailslurp.models.MatchOption
+
 
+
setValue(String) - Method in class com.mailslurp.models.NameServerRecord
+
 
+
setValue(String) - Method in class com.mailslurp.models.SmsMatchOption
+
 
+
setValue(String) - Method in class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
setVariables(List<TemplateVariable>) - Method in class com.mailslurp.models.TemplateDto
+
 
+
setVariables(List<String>) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
setVariableType(TemplateVariable.VariableTypeEnum) - Method in class com.mailslurp.models.TemplateVariable
+
 
+
setVerificationToken(String) - Method in class com.mailslurp.models.DomainDto
+
 
+
setVerifyingSsl(boolean) - Method in class com.mailslurp.clients.ApiClient
+
+
Configure whether to verify certificate and hostname when making https requests.
+
+
setVirtualInbox(Boolean) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
setVirtualInbox(Boolean) - Method in class com.mailslurp.models.InboxDto
+
 
+
setVirtualInbox(Boolean) - Method in class com.mailslurp.models.InboxPreview
+
 
+
setVirtualInbox(Boolean) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
setVirtualSend(Boolean) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
setVirtualSend(Boolean) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
setVirusVerdict(String) - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
setWarnings(List<ValidationMessage>) - Method in class com.mailslurp.models.HTMLValidationResult
+
 
+
setWebhookEvent(WebhookResultDto.WebhookEventEnum) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setWebhookId(UUID) - Method in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
setWebhookId(UUID) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
setWebhookId(UUID) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
setWebhookId(UUID) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setWebhookId(UUID) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
setWebhookId(UUID) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
setWebhookId(UUID) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
setWebhookId(UUID) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setWebhookId(UUID) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setWebhookId(UUID) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
setWebhookId(UUID) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setWebhookName(String) - Method in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
setWebhookName(String) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
setWebhookName(String) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
setWebhookName(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
setWebhookName(String) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
setWebhookName(String) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
setWebhookName(String) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
setWebhookName(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
setWebhookName(String) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
setWebhookName(String) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
setWebhookResultId(UUID) - Method in class com.mailslurp.models.WebhookRedriveResult
+
 
+
setWebhookUrl(String) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
setWriteTimeout(int) - Method in class com.mailslurp.clients.ApiClient
+
+
Sets the write timeout (in milliseconds).
+
+
should(MatchOption.ShouldEnum) - Method in class com.mailslurp.models.MatchOption
+
 
+
should(SmsMatchOption.ShouldEnum) - Method in class com.mailslurp.models.SmsMatchOption
+
 
+
sid(String) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
signature(String) - Method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
SimpleSendEmailOptions - Class in com.mailslurp.models
+
+
Simplified send email options
+
+
SimpleSendEmailOptions() - Constructor for class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
SimpleSendEmailOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
since(OffsetDateTime) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
since(OffsetDateTime) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
since(OffsetDateTime) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageAlias
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageComplaint
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageConnector
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
size(Integer) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
sizeBytes(Long) - Method in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
SmsControllerApi - Class in com.mailslurp.apis
+
 
+
SmsControllerApi() - Constructor for class com.mailslurp.apis.SmsControllerApi
+
 
+
SmsControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.SmsControllerApi
+
 
+
SmsDto - Class in com.mailslurp.models
+
+
SmsDto
+
+
SmsDto() - Constructor for class com.mailslurp.models.SmsDto
+
 
+
SmsDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
smsId(UUID) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
SmsMatchOption - Class in com.mailslurp.models
+
+
Options for matching SMS messages in a phone number.
+
+
SmsMatchOption() - Constructor for class com.mailslurp.models.SmsMatchOption
+
 
+
SmsMatchOption.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
SmsMatchOption.FieldEnum - Enum in com.mailslurp.models
+
+
Fields of an SMS object that can be used to filter results
+
+
SmsMatchOption.FieldEnum.Adapter - Class in com.mailslurp.models
+
 
+
SmsMatchOption.ShouldEnum - Enum in com.mailslurp.models
+
+
How the value of the email field specified should be compared to the value given in the match options.
+
+
SmsMatchOption.ShouldEnum.Adapter - Class in com.mailslurp.models
+
 
+
SmsPreview - Class in com.mailslurp.models
+
+
SmsPreview
+
+
SmsPreview() - Constructor for class com.mailslurp.models.SmsPreview
+
 
+
SmsPreview.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
SmsProjection - Class in com.mailslurp.models
+
+
SMS projection
+
+
SmsProjection() - Constructor for class com.mailslurp.models.SmsProjection
+
 
+
SmsProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
smtpPassword(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
smtpResponse(String) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
smtpResponse(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
smtpServerHost(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
smtpServerPort(Integer) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
smtpStatusCode(Integer) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
smtpStatusCode(Integer) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
smtpUsername(String) - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageableObject
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageAlias
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageComplaint
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageConnector
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
sort(Sort) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
Sort - Class in com.mailslurp.models
+
+
Sort
+
+
Sort() - Constructor for class com.mailslurp.models.Sort
+
 
+
Sort.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
sortDirection(WaitForConditions.SortDirectionEnum) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
sortDirection(WaitForSingleSmsOptions.SortDirectionEnum) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
sortDirection(WaitForSmsConditions.SortDirectionEnum) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
sorted(Boolean) - Method in class com.mailslurp.models.Sort
+
 
+
source() - Method in class com.mailslurp.clients.ProgressResponseBody
+
 
+
spamVerdict(String) - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
spfVerdict(String) - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
SqlDateTypeAdapter() - Constructor for class com.mailslurp.clients.JSON.SqlDateTypeAdapter
+
 
+
SqlDateTypeAdapter(DateFormat) - Constructor for class com.mailslurp.clients.JSON.SqlDateTypeAdapter
+
 
+
stackTrace(List<ConnectorSyncRequestResultExceptionCauseStackTraceInner>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
stackTrace(List<ConnectorSyncRequestResultExceptionCauseStackTraceInner>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
stackTrace(List<ConnectorSyncRequestResultExceptionCauseStackTraceInner>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
state(Boolean) - Method in class com.mailslurp.models.SetInboxFavouritedOptions
+
 
+
status(String) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
status(String) - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
status(InboxForwarderEventProjection.StatusEnum) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
status(InboxReplierEventProjection.StatusEnum) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
status(ScheduledJob.StatusEnum) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
status(ScheduledJobDto.StatusEnum) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
statusCode(Integer) - Method in class com.mailslurp.models.WebhookTestResponse
+
 
+
StringUtil - Class in com.mailslurp.clients
+
 
+
StringUtil() - Constructor for class com.mailslurp.clients.StringUtil
+
 
+
subject(String) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
subject(String) - Method in class com.mailslurp.models.BounceProjection
+
 
+
subject(String) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
subject(String) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
subject(String) - Method in class com.mailslurp.models.Email
+
 
+
subject(String) - Method in class com.mailslurp.models.EmailHtmlDto
+
 
+
subject(String) - Method in class com.mailslurp.models.EmailPreview
+
 
+
subject(String) - Method in class com.mailslurp.models.EmailProjection
+
 
+
subject(String) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
subject(String) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
subject(String) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
subject(String) - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
subject(String) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
subject(String) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
subject(String) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
subject(String) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
subject(String) - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
subject(String) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
subject(String) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
subject(String) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
subject(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
subject(String) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
submitForm(String, String, String, String, String, String, String) - Method in class com.mailslurp.apis.FormControllerApi
+
+
Submit a form to be parsed and sent as an email to an address determined by the form fields + This endpoint allows you to submit HTML forms and receive the field values and files via email.
+
+
submitFormAsync(String, String, String, String, String, String, String, ApiCallback<String>) - Method in class com.mailslurp.apis.FormControllerApi
+
+
Submit a form to be parsed and sent as an email to an address determined by the form fields (asynchronously) + This endpoint allows you to submit HTML forms and receive the field values and files via email.
+
+
submitFormCall(String, String, String, String, String, String, String, ApiCallback) - Method in class com.mailslurp.apis.FormControllerApi
+
+
Build call for submitForm
+
+
submitFormWithHttpInfo(String, String, String, String, String, String, String) - Method in class com.mailslurp.apis.FormControllerApi
+
+
Submit a form to be parsed and sent as an email to an address determined by the form fields + This endpoint allows you to submit HTML forms and receive the field values and files via email.
+
+
subscriptionType(UserInfoDto.SubscriptionTypeEnum) - Method in class com.mailslurp.models.UserInfoDto
+
 
+
success(Boolean) - Method in class com.mailslurp.models.WebhookRedriveResult
+
 
+
suppressed(List<ConnectorSyncRequestResultExceptionCauseSuppressedInner>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
suppressed(List<ConnectorSyncRequestResultExceptionCauseSuppressedInner>) - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
syncConnector(UUID) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Sync an inbox connector
+
+
syncConnectorAsync(UUID, ApiCallback<ConnectorSyncRequestResult>) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Sync an inbox connector (asynchronously)
+
+
syncConnectorCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Build call for syncConnector
+
+
syncConnectorWithHttpInfo(UUID) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Sync an inbox connector
+
+
syncCount(Long) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
syncCount(Long) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
syncEnabled(Boolean) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
syncEnabled(Boolean) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
syncEnabled(Boolean) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
syncInterval(Integer) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
syncInterval(Integer) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
syncInterval(Integer) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
syncResult(ConnectorSyncResult) - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
syncScheduleType(ConnectorDto.SyncScheduleTypeEnum) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
syncScheduleType(ConnectorProjection.SyncScheduleTypeEnum) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
syncScheduleType(CreateConnectorOptions.SyncScheduleTypeEnum) - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
syncStatus(ConnectorSyncEventDto.SyncStatusEnum) - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
syncStatus(ConnectorSyncEventProjection.SyncStatusEnum) - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
+ + + +

T

+
+
tags(List<String>) - Method in class com.mailslurp.models.ContactDto
+
 
+
tags(List<String>) - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
tags(List<String>) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
tags(List<String>) - Method in class com.mailslurp.models.InboxDto
+
 
+
tags(List<String>) - Method in class com.mailslurp.models.InboxPreview
+
 
+
tags(List<String>) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
tags(List<String>) - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
tags(List<String>) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
target(String) - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
target(String) - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
teamAccess(Boolean) - Method in class com.mailslurp.models.Email
+
 
+
teamAccess(Boolean) - Method in class com.mailslurp.models.EmailProjection
+
 
+
teamAccess(Boolean) - Method in class com.mailslurp.models.InboxPreview
+
 
+
teamAccess(Boolean) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
template(UUID) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
template(UUID) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
template(UUID) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
TemplateControllerApi - Class in com.mailslurp.apis
+
 
+
TemplateControllerApi() - Constructor for class com.mailslurp.apis.TemplateControllerApi
+
 
+
TemplateControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.TemplateControllerApi
+
 
+
TemplateDto - Class in com.mailslurp.models
+
+
Email template
+
+
TemplateDto() - Constructor for class com.mailslurp.models.TemplateDto
+
 
+
TemplateDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
templateId(UUID) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
templateId(UUID) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
templateId(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
templateId(UUID) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
TemplatePreview - Class in com.mailslurp.models
+
+
TemplatePreview
+
+
TemplatePreview() - Constructor for class com.mailslurp.models.TemplatePreview
+
 
+
TemplatePreview.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
TemplateProjection - Class in com.mailslurp.models
+
+
Email template data
+
+
TemplateProjection() - Constructor for class com.mailslurp.models.TemplateProjection
+
 
+
TemplateProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
TemplateVariable - Class in com.mailslurp.models
+
+
Variable for use with email template
+
+
TemplateVariable() - Constructor for class com.mailslurp.models.TemplateVariable
+
 
+
TemplateVariable.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
TemplateVariable.VariableTypeEnum - Enum in com.mailslurp.models
+
+
The type of variable
+
+
TemplateVariable.VariableTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
templateVariables(Map<String, Object>) - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
templateVariables(Map<String, Object>) - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
templateVariables(Map<String, Object>) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
templateVariables(Map<String, Object>) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
templateVariables(Map<String, Object>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
templateVariables(Map<String, Object>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
templateVariables(Map<String, Object>) - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
testInboxForwarder(UUID, InboxForwarderTestOptions) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Test an inbox forwarder + Test an inbox forwarder
+
+
testInboxForwarderAsync(UUID, InboxForwarderTestOptions, ApiCallback<InboxForwarderTestResult>) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Test an inbox forwarder (asynchronously) + Test an inbox forwarder
+
+
testInboxForwarderCall(UUID, InboxForwarderTestOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Build call for testInboxForwarder
+
+
testInboxForwardersForInbox(UUID, InboxForwarderTestOptions) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Test inbox forwarders for inbox + Test inbox forwarders for inbox
+
+
testInboxForwardersForInboxAsync(UUID, InboxForwarderTestOptions, ApiCallback<InboxForwarderTestResult>) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Test inbox forwarders for inbox (asynchronously) + Test inbox forwarders for inbox
+
+
testInboxForwardersForInboxCall(UUID, InboxForwarderTestOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Build call for testInboxForwardersForInbox
+
+
testInboxForwardersForInboxWithHttpInfo(UUID, InboxForwarderTestOptions) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Test inbox forwarders for inbox + Test inbox forwarders for inbox
+
+
testInboxForwarderWithHttpInfo(UUID, InboxForwarderTestOptions) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Test an inbox forwarder + Test an inbox forwarder
+
+
testInboxRuleset(UUID, InboxRulesetTestOptions) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Test an inbox ruleset + Test an inbox ruleset
+
+
testInboxRulesetAsync(UUID, InboxRulesetTestOptions, ApiCallback<InboxRulesetTestResult>) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Test an inbox ruleset (asynchronously) + Test an inbox ruleset
+
+
testInboxRulesetCall(UUID, InboxRulesetTestOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Build call for testInboxRuleset
+
+
testInboxRulesetsForInbox(UUID, InboxRulesetTestOptions) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Test inbox rulesets for inbox + Test inbox rulesets for inbox
+
+
testInboxRulesetsForInboxAsync(UUID, InboxRulesetTestOptions, ApiCallback<InboxRulesetTestResult>) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Test inbox rulesets for inbox (asynchronously) + Test inbox rulesets for inbox
+
+
testInboxRulesetsForInboxCall(UUID, InboxRulesetTestOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Build call for testInboxRulesetsForInbox
+
+
testInboxRulesetsForInboxWithHttpInfo(UUID, InboxRulesetTestOptions) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Test inbox rulesets for inbox + Test inbox rulesets for inbox
+
+
testInboxRulesetWithHttpInfo(UUID, InboxRulesetTestOptions) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Test an inbox ruleset + Test an inbox ruleset
+
+
testNewInboxForwarder(TestNewInboxForwarderOptions) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Test new inbox forwarder + Test new inbox forwarder
+
+
testNewInboxForwarderAsync(TestNewInboxForwarderOptions, ApiCallback<InboxForwarderTestResult>) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Test new inbox forwarder (asynchronously) + Test new inbox forwarder
+
+
testNewInboxForwarderCall(TestNewInboxForwarderOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Build call for testNewInboxForwarder
+
+
TestNewInboxForwarderOptions - Class in com.mailslurp.models
+
+
Options for testing new inbox forwarder rules
+
+
TestNewInboxForwarderOptions() - Constructor for class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
TestNewInboxForwarderOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
testNewInboxForwarderWithHttpInfo(TestNewInboxForwarderOptions) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Test new inbox forwarder + Test new inbox forwarder
+
+
testNewInboxRuleset(TestNewInboxRulesetOptions) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Test new inbox ruleset + Test new inbox ruleset
+
+
testNewInboxRulesetAsync(TestNewInboxRulesetOptions, ApiCallback<InboxRulesetTestResult>) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Test new inbox ruleset (asynchronously) + Test new inbox ruleset
+
+
testNewInboxRulesetCall(TestNewInboxRulesetOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Build call for testNewInboxRuleset
+
+
TestNewInboxRulesetOptions - Class in com.mailslurp.models
+
+
Test inbox ruleset options
+
+
TestNewInboxRulesetOptions() - Constructor for class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
TestNewInboxRulesetOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
testNewInboxRulesetWithHttpInfo(TestNewInboxRulesetOptions) - Method in class com.mailslurp.apis.InboxRulesetControllerApi
+
+
Test new inbox ruleset + Test new inbox ruleset
+
+
TestPhoneNumberOptions - Class in com.mailslurp.models
+
+
TestPhoneNumberOptions
+
+
TestPhoneNumberOptions() - Constructor for class com.mailslurp.models.TestPhoneNumberOptions
+
 
+
TestPhoneNumberOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
testPhoneNumberSendSms(UUID, TestPhoneNumberOptions, String) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
testPhoneNumberSendSmsAsync(UUID, TestPhoneNumberOptions, String, ApiCallback<Void>) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
(asynchronously)
+
+
testPhoneNumberSendSmsCall(UUID, TestPhoneNumberOptions, String, ApiCallback) - Method in class com.mailslurp.apis.PhoneControllerApi
+
+
Build call for testPhoneNumberSendSms
+
+
testPhoneNumberSendSmsWithHttpInfo(UUID, TestPhoneNumberOptions, String) - Method in class com.mailslurp.apis.PhoneControllerApi
+
 
+
testTarget(String) - Method in class com.mailslurp.models.InboxRulesetTestOptions
+
 
+
testValue(String) - Method in class com.mailslurp.models.InboxForwarderTestOptions
+
 
+
ThreadProjection - Class in com.mailslurp.models
+
+
A thread is a message thread created for a message received by an alias
+
+
ThreadProjection() - Constructor for class com.mailslurp.models.ThreadProjection
+
 
+
ThreadProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
timeout(Long) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
timeout(Long) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
timeout(Long) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
to(List<String>) - Method in class com.mailslurp.models.Email
+
 
+
to(List<String>) - Method in class com.mailslurp.models.EmailPreview
+
 
+
to(List<String>) - Method in class com.mailslurp.models.EmailProjection
+
 
+
to(List<Recipient>) - Method in class com.mailslurp.models.EmailRecipients
+
 
+
to(List<String>) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
to(List<String>) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
to(List<String>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
to(List<String>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
to(List<String>) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
to(String) - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
to(List<String>) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
to(List<String>) - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
to(List<String>) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
toContacts(List<UUID>) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
toContacts(List<UUID>) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
toGroup(UUID) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
toGroup(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
toJson() - Method in class com.mailslurp.models.AbstractWebhookPayload
+
+
Convert an instance of AbstractWebhookPayload to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.AliasDto
+
+
Convert an instance of AliasDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.AliasProjection
+
+
Convert an instance of AliasProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.AttachmentEntity
+
+
Convert an instance of AttachmentEntity to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.AttachmentMetaData
+
+
Convert an instance of AttachmentMetaData to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.AttachmentProjection
+
+
Convert an instance of AttachmentProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.BasicAuthOptions
+
+
Convert an instance of BasicAuthOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.BouncedEmailDto
+
+
Convert an instance of BouncedEmailDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.BouncedRecipientDto
+
+
Convert an instance of BouncedRecipientDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.BounceProjection
+
+
Convert an instance of BounceProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.BounceRecipientProjection
+
+
Convert an instance of BounceRecipientProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.BulkSendEmailOptions
+
+
Convert an instance of BulkSendEmailOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.Complaint
+
+
Convert an instance of Complaint to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ConditionOption
+
+
Convert an instance of ConditionOption to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ConnectorDto
+
+
Convert an instance of ConnectorDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ConnectorProjection
+
+
Convert an instance of ConnectorProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
+
Convert an instance of ConnectorSyncEventDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
+
Convert an instance of ConnectorSyncEventProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
+
Convert an instance of ConnectorSyncRequestResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
+
Convert an instance of ConnectorSyncRequestResultException to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
+
Convert an instance of ConnectorSyncRequestResultExceptionCause to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
Convert an instance of ConnectorSyncRequestResultExceptionCauseStackTraceInner to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
+
Convert an instance of ConnectorSyncRequestResultExceptionCauseSuppressedInner to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ConnectorSyncResult
+
+
Convert an instance of ConnectorSyncResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ContactDto
+
+
Convert an instance of ContactDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ContactProjection
+
+
Convert an instance of ContactProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ContentMatchOptions
+
+
Convert an instance of ContentMatchOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CountDto
+
+
Convert an instance of CountDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateAliasOptions
+
+
Convert an instance of CreateAliasOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
+
Convert an instance of CreateConnectorImapOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateConnectorOptions
+
+
Convert an instance of CreateConnectorOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateContactOptions
+
+
Convert an instance of CreateContactOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateDomainOptions
+
+
Convert an instance of CreateDomainOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
+
Convert an instance of CreateEmergencyAddressOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateGroupOptions
+
+
Convert an instance of CreateGroupOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateInboxDto
+
+
Convert an instance of CreateInboxDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
+
Convert an instance of CreateInboxForwarderOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Convert an instance of CreateInboxReplierOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
+
Convert an instance of CreateInboxRulesetOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateTemplateOptions
+
+
Convert an instance of CreateTemplateOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateTrackingPixelOptions
+
+
Convert an instance of CreateTrackingPixelOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.CreateWebhookOptions
+
+
Convert an instance of CreateWebhookOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.DeliveryStatusDto
+
+
Convert an instance of DeliveryStatusDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.DescribeDomainOptions
+
+
Convert an instance of DescribeDomainOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
+
Convert an instance of DescribeMailServerDomainResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.DNSLookupOptions
+
+
Convert an instance of DNSLookupOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.DNSLookupResult
+
+
Convert an instance of DNSLookupResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.DNSLookupResults
+
+
Convert an instance of DNSLookupResults to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.DomainDto
+
+
Convert an instance of DomainDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.DomainIssuesDto
+
+
Convert an instance of DomainIssuesDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.DomainNameRecord
+
+
Convert an instance of DomainNameRecord to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.DomainPreview
+
+
Convert an instance of DomainPreview to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.DownloadAttachmentDto
+
+
Convert an instance of DownloadAttachmentDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.Email
+
+
Convert an instance of Email to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmailAnalysis
+
+
Convert an instance of EmailAnalysis to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmailContentMatchResult
+
+
Convert an instance of EmailContentMatchResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmailHtmlDto
+
+
Convert an instance of EmailHtmlDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmailLinksResult
+
+
Convert an instance of EmailLinksResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmailPreview
+
+
Convert an instance of EmailPreview to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmailPreviewUrls
+
+
Convert an instance of EmailPreviewUrls to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmailProjection
+
+
Convert an instance of EmailProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmailRecipients
+
+
Convert an instance of EmailRecipients to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmailTextLinesResult
+
+
Convert an instance of EmailTextLinesResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmailValidationRequestDto
+
+
Convert an instance of EmailValidationRequestDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmailVerificationResult
+
+
Convert an instance of EmailVerificationResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmergencyAddress
+
+
Convert an instance of EmergencyAddress to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmergencyAddressDto
+
+
Convert an instance of EmergencyAddressDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.EmptyResponseDto
+
+
Convert an instance of EmptyResponseDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ExpirationDefaults
+
+
Convert an instance of ExpirationDefaults to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ExpiredInboxDto
+
+
Convert an instance of ExpiredInboxDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
+
Convert an instance of ExpiredInboxRecordProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ExportLink
+
+
Convert an instance of ExportLink to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ExportOptions
+
+
Convert an instance of ExportOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
+
Convert an instance of FilterBouncedRecipientsOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.FilterBouncedRecipientsResult
+
+
Convert an instance of FilterBouncedRecipientsResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.FlushExpiredInboxesResult
+
+
Convert an instance of FlushExpiredInboxesResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ForwardEmailOptions
+
+
Convert an instance of ForwardEmailOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.GravatarUrl
+
+
Convert an instance of GravatarUrl to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.GroupContactsDto
+
+
Convert an instance of GroupContactsDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.GroupDto
+
+
Convert an instance of GroupDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.GroupProjection
+
+
Convert an instance of GroupProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.HTMLValidationResult
+
+
Convert an instance of HTMLValidationResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ImapFlagOperationOptions
+
+
Convert an instance of ImapFlagOperationOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
Convert an instance of ImapSmtpAccessDetails to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxByEmailAddressResult
+
+
Convert an instance of InboxByEmailAddressResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxByNameResult
+
+
Convert an instance of InboxByNameResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxDto
+
+
Convert an instance of InboxDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxExistsDto
+
+
Convert an instance of InboxExistsDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxForwarderDto
+
+
Convert an instance of InboxForwarderDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
+
Convert an instance of InboxForwarderEventProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxForwarderTestOptions
+
+
Convert an instance of InboxForwarderTestOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxForwarderTestResult
+
+
Convert an instance of InboxForwarderTestResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxIdItem
+
+
Convert an instance of InboxIdItem to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxIdsResult
+
+
Convert an instance of InboxIdsResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxPreview
+
+
Convert an instance of InboxPreview to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxReplierDto
+
+
Convert an instance of InboxReplierDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Convert an instance of InboxReplierEventProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxRulesetDto
+
+
Convert an instance of InboxRulesetDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxRulesetTestOptions
+
+
Convert an instance of InboxRulesetTestOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.InboxRulesetTestResult
+
+
Convert an instance of InboxRulesetTestResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.IPAddressResult
+
+
Convert an instance of IPAddressResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.JSONSchemaDto
+
+
Convert an instance of JSONSchemaDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
+
Convert an instance of ListUnsubscribeRecipientProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.MatchOption
+
+
Convert an instance of MatchOption to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.MatchOptions
+
+
Convert an instance of MatchOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.MissedEmailDto
+
+
Convert an instance of MissedEmailDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.MissedEmailProjection
+
+
Convert an instance of MissedEmailProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.NameServerRecord
+
+
Convert an instance of NameServerRecord to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
+
Convert an instance of OrganizationInboxProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageableObject
+
+
Convert an instance of PageableObject to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageAlias
+
+
Convert an instance of PageAlias to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageAttachmentEntity
+
+
Convert an instance of PageAttachmentEntity to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageBouncedEmail
+
+
Convert an instance of PageBouncedEmail to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageBouncedRecipients
+
+
Convert an instance of PageBouncedRecipients to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageComplaint
+
+
Convert an instance of PageComplaint to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageConnector
+
+
Convert an instance of PageConnector to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Convert an instance of PageConnectorSyncEvents to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageContactProjection
+
+
Convert an instance of PageContactProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageDeliveryStatus
+
+
Convert an instance of PageDeliveryStatus to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageEmailPreview
+
+
Convert an instance of PageEmailPreview to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageEmailProjection
+
+
Convert an instance of PageEmailProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Convert an instance of PageEmailValidationRequest to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Convert an instance of PageExpiredInboxRecordProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageGroupProjection
+
+
Convert an instance of PageGroupProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Convert an instance of PageInboxForwarderDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Convert an instance of PageInboxForwarderEvents to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageInboxProjection
+
+
Convert an instance of PageInboxProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageInboxReplierDto
+
+
Convert an instance of PageInboxReplierDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Convert an instance of PageInboxReplierEvents to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Convert an instance of PageInboxRulesetDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Convert an instance of PageListUnsubscribeRecipients to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Convert an instance of PageMissedEmailProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Convert an instance of PageOrganizationInboxProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Convert an instance of PagePhoneNumberProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageScheduledJobs
+
+
Convert an instance of PageScheduledJobs to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageSentEmailProjection
+
+
Convert an instance of PageSentEmailProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Convert an instance of PageSentEmailWithQueueProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageSmsProjection
+
+
Convert an instance of PageSmsProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageTemplateProjection
+
+
Convert an instance of PageTemplateProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageThreadProjection
+
+
Convert an instance of PageThreadProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Convert an instance of PageTrackingPixelProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Convert an instance of PageUnknownMissedEmailProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageWebhookProjection
+
+
Convert an instance of PageWebhookProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PageWebhookResult
+
+
Convert an instance of PageWebhookResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PhoneNumberDto
+
+
Convert an instance of PhoneNumberDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PhoneNumberProjection
+
+
Convert an instance of PhoneNumberProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.PhonePlanDto
+
+
Convert an instance of PhonePlanDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.RawEmailJson
+
+
Convert an instance of RawEmailJson to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.Recipient
+
+
Convert an instance of Recipient to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
Convert an instance of ReplyToAliasEmailOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
+
Convert an instance of ReplyToEmailOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ScheduledJob
+
+
Convert an instance of ScheduledJob to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ScheduledJobDto
+
+
Convert an instance of ScheduledJobDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.SendEmailOptions
+
+
Convert an instance of SendEmailOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.Sender
+
+
Convert an instance of Sender to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
+
Convert an instance of SendSMTPEnvelopeOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.SendWithQueueResult
+
+
Convert an instance of SendWithQueueResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.SentEmailDto
+
+
Convert an instance of SentEmailDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.SentEmailProjection
+
+
Convert an instance of SentEmailProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.SetInboxFavouritedOptions
+
+
Convert an instance of SetInboxFavouritedOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
+
Convert an instance of SimpleSendEmailOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.SmsDto
+
+
Convert an instance of SmsDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.SmsMatchOption
+
+
Convert an instance of SmsMatchOption to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.SmsPreview
+
+
Convert an instance of SmsPreview to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.SmsProjection
+
+
Convert an instance of SmsProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.Sort
+
+
Convert an instance of Sort to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.TemplateDto
+
+
Convert an instance of TemplateDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.TemplatePreview
+
+
Convert an instance of TemplatePreview to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.TemplateProjection
+
+
Convert an instance of TemplateProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.TemplateVariable
+
+
Convert an instance of TemplateVariable to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
+
Convert an instance of TestNewInboxForwarderOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
+
Convert an instance of TestNewInboxRulesetOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.TestPhoneNumberOptions
+
+
Convert an instance of TestPhoneNumberOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ThreadProjection
+
+
Convert an instance of ThreadProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.TrackingPixelDto
+
+
Convert an instance of TrackingPixelDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.TrackingPixelProjection
+
+
Convert an instance of TrackingPixelProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
+
Convert an instance of UnknownMissedEmailProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UnreadCount
+
+
Convert an instance of UnreadCount to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UnseenErrorCountDto
+
+
Convert an instance of UnseenErrorCountDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UpdateAliasOptions
+
+
Convert an instance of UpdateAliasOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UpdateDomainOptions
+
+
Convert an instance of UpdateDomainOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UpdateGroupContacts
+
+
Convert an instance of UpdateGroupContacts to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UpdateInboxOptions
+
+
Convert an instance of UpdateInboxOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Convert an instance of UpdateInboxReplierOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
+
Convert an instance of UploadAttachmentBytesRequest to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UploadAttachmentOptions
+
+
Convert an instance of UploadAttachmentOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UploadMultipartFormRequest
+
+
Convert an instance of UploadMultipartFormRequest to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.UserInfoDto
+
+
Convert an instance of UserInfoDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ValidateEmailAddressListOptions
+
+
Convert an instance of ValidateEmailAddressListOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
+
Convert an instance of ValidateEmailAddressListResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ValidationDto
+
+
Convert an instance of ValidationDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.ValidationMessage
+
+
Convert an instance of ValidationMessage to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
+
Convert an instance of VerifyEmailAddressOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
+
Convert an instance of VerifyWebhookSignatureOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.VerifyWebhookSignatureResults
+
+
Convert an instance of VerifyWebhookSignatureResults to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WaitForConditions
+
+
Convert an instance of WaitForConditions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
+
Convert an instance of WaitForSingleSmsOptions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WaitForSmsConditions
+
+
Convert an instance of WaitForSmsConditions to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookBouncePayload
+
+
Convert an instance of WebhookBouncePayload to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
+
Convert an instance of WebhookBounceRecipientPayload to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Convert an instance of WebhookDeliveryStatusPayload to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookDto
+
+
Convert an instance of WebhookDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
Convert an instance of WebhookEmailOpenedPayload to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
+
Convert an instance of WebhookEmailReadPayload to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookHeaderNameValue
+
+
Convert an instance of WebhookHeaderNameValue to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookHeaders
+
+
Convert an instance of WebhookHeaders to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
+
Convert an instance of WebhookNewAttachmentPayload to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Convert an instance of WebhookNewContactPayload to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
Convert an instance of WebhookNewEmailPayload to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
Convert an instance of WebhookNewSmsPayload to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookProjection
+
+
Convert an instance of WebhookProjection to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookRedriveResult
+
+
Convert an instance of WebhookRedriveResult to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookResultDto
+
+
Convert an instance of WebhookResultDto to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookTestRequest
+
+
Convert an instance of WebhookTestRequest to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookTestResponse
+
+
Convert an instance of WebhookTestResponse to an JSON string
+
+
toJson() - Method in class com.mailslurp.models.WebhookTestResult
+
+
Convert an instance of WebhookTestResult to an JSON string
+
+
toNumber(String) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
toString() - Method in class com.mailslurp.models.AbstractOpenApiSchema
+
 
+
toString() - Method in enum com.mailslurp.models.AbstractWebhookPayload.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
toString() - Method in class com.mailslurp.models.AliasDto
+
 
+
toString() - Method in class com.mailslurp.models.AliasProjection
+
 
+
toString() - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
toString() - Method in class com.mailslurp.models.AttachmentMetaData
+
 
+
toString() - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
toString() - Method in class com.mailslurp.models.BasicAuthOptions
+
 
+
toString() - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
toString() - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
toString() - Method in class com.mailslurp.models.BounceProjection
+
 
+
toString() - Method in class com.mailslurp.models.BounceRecipientProjection
+
 
+
toString() - Method in class com.mailslurp.models.BulkSendEmailOptions
+
 
+
toString() - Method in class com.mailslurp.models.Complaint
+
 
+
toString() - Method in enum com.mailslurp.models.ConditionOption.ConditionEnum
+
 
+
toString() - Method in class com.mailslurp.models.ConditionOption
+
 
+
toString() - Method in enum com.mailslurp.models.ConditionOption.ValueEnum
+
 
+
toString() - Method in enum com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum
+
 
+
toString() - Method in enum com.mailslurp.models.ConnectorDto.ConnectorTypeEnum
+
 
+
toString() - Method in enum com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.ConnectorDto
+
 
+
toString() - Method in enum com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum
+
 
+
toString() - Method in enum com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
toString() - Method in enum com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum
+
 
+
toString() - Method in class com.mailslurp.models.ConnectorSyncEventDto
+
 
+
toString() - Method in enum com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum
+
 
+
toString() - Method in class com.mailslurp.models.ConnectorSyncEventProjection
+
 
+
toString() - Method in class com.mailslurp.models.ConnectorSyncRequestResult
+
 
+
toString() - Method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
 
+
toString() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
 
+
toString() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
 
+
toString() - Method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
 
+
toString() - Method in class com.mailslurp.models.ConnectorSyncResult
+
 
+
toString() - Method in class com.mailslurp.models.ContactDto
+
 
+
toString() - Method in class com.mailslurp.models.ContactProjection
+
 
+
toString() - Method in class com.mailslurp.models.ContentMatchOptions
+
 
+
toString() - Method in class com.mailslurp.models.CountDto
+
 
+
toString() - Method in class com.mailslurp.models.CreateAliasOptions
+
 
+
toString() - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
toString() - Method in enum com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum
+
 
+
toString() - Method in enum com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum
+
 
+
toString() - Method in enum com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.CreateConnectorOptions
+
 
+
toString() - Method in class com.mailslurp.models.CreateContactOptions
+
 
+
toString() - Method in enum com.mailslurp.models.CreateDomainOptions.DomainTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.CreateDomainOptions
+
 
+
toString() - Method in enum com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum
+
 
+
toString() - Method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
 
+
toString() - Method in class com.mailslurp.models.CreateGroupOptions
+
 
+
toString() - Method in enum com.mailslurp.models.CreateInboxDto.InboxTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
toString() - Method in enum com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum
+
 
+
toString() - Method in class com.mailslurp.models.CreateInboxForwarderOptions
+
 
+
toString() - Method in enum com.mailslurp.models.CreateInboxReplierOptions.FieldEnum
+
 
+
toString() - Method in class com.mailslurp.models.CreateInboxReplierOptions
+
 
+
toString() - Method in enum com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum
+
 
+
toString() - Method in enum com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum
+
 
+
toString() - Method in class com.mailslurp.models.CreateInboxRulesetOptions
+
 
+
toString() - Method in class com.mailslurp.models.CreateTemplateOptions
+
 
+
toString() - Method in class com.mailslurp.models.CreateTrackingPixelOptions
+
 
+
toString() - Method in enum com.mailslurp.models.CreateWebhookOptions.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
toString() - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
toString() - Method in class com.mailslurp.models.DescribeDomainOptions
+
 
+
toString() - Method in class com.mailslurp.models.DescribeMailServerDomainResult
+
 
+
toString() - Method in enum com.mailslurp.models.DNSLookupOptions.RecordTypesEnum
+
 
+
toString() - Method in class com.mailslurp.models.DNSLookupOptions
+
 
+
toString() - Method in enum com.mailslurp.models.DNSLookupResult.RecordTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
toString() - Method in class com.mailslurp.models.DNSLookupResults
+
 
+
toString() - Method in enum com.mailslurp.models.DomainDto.DomainTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.DomainDto
+
 
+
toString() - Method in class com.mailslurp.models.DomainIssuesDto
+
 
+
toString() - Method in enum com.mailslurp.models.DomainNameRecord.LabelEnum
+
 
+
toString() - Method in enum com.mailslurp.models.DomainNameRecord.RecordTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
toString() - Method in enum com.mailslurp.models.DomainPreview.DomainTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.DomainPreview
+
 
+
toString() - Method in class com.mailslurp.models.DownloadAttachmentDto
+
 
+
toString() - Method in class com.mailslurp.models.Email
+
 
+
toString() - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
toString() - Method in class com.mailslurp.models.EmailContentMatchResult
+
 
+
toString() - Method in class com.mailslurp.models.EmailHtmlDto
+
 
+
toString() - Method in class com.mailslurp.models.EmailLinksResult
+
 
+
toString() - Method in class com.mailslurp.models.EmailPreview
+
 
+
toString() - Method in class com.mailslurp.models.EmailPreviewUrls
+
 
+
toString() - Method in class com.mailslurp.models.EmailProjection
+
 
+
toString() - Method in class com.mailslurp.models.EmailRecipients
+
 
+
toString() - Method in class com.mailslurp.models.EmailTextLinesResult
+
 
+
toString() - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
toString() - Method in class com.mailslurp.models.EmailVerificationResult
+
 
+
toString() - Method in enum com.mailslurp.models.EmergencyAddress.PhoneCountryEnum
+
 
+
toString() - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
toString() - Method in enum com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum
+
 
+
toString() - Method in class com.mailslurp.models.EmergencyAddressDto
+
 
+
toString() - Method in class com.mailslurp.models.EmptyResponseDto
+
 
+
toString() - Method in class com.mailslurp.models.ExpirationDefaults
+
 
+
toString() - Method in class com.mailslurp.models.ExpiredInboxDto
+
 
+
toString() - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
toString() - Method in class com.mailslurp.models.ExportLink
+
 
+
toString() - Method in enum com.mailslurp.models.ExportOptions.OutputFormatEnum
+
 
+
toString() - Method in class com.mailslurp.models.ExportOptions
+
 
+
toString() - Method in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
 
+
toString() - Method in class com.mailslurp.models.FilterBouncedRecipientsResult
+
 
+
toString() - Method in class com.mailslurp.models.FlushExpiredInboxesResult
+
 
+
toString() - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
toString() - Method in class com.mailslurp.models.GravatarUrl
+
 
+
toString() - Method in class com.mailslurp.models.GroupContactsDto
+
 
+
toString() - Method in class com.mailslurp.models.GroupDto
+
 
+
toString() - Method in class com.mailslurp.models.GroupProjection
+
 
+
toString() - Method in class com.mailslurp.models.HTMLValidationResult
+
 
+
toString() - Method in enum com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum
+
 
+
toString() - Method in class com.mailslurp.models.ImapFlagOperationOptions
+
 
+
toString() - Method in class com.mailslurp.models.ImapSmtpAccessDetails
+
 
+
toString() - Method in class com.mailslurp.models.InboxByEmailAddressResult
+
 
+
toString() - Method in class com.mailslurp.models.InboxByNameResult
+
 
+
toString() - Method in enum com.mailslurp.models.InboxDto.InboxTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.InboxDto
+
 
+
toString() - Method in class com.mailslurp.models.InboxExistsDto
+
 
+
toString() - Method in enum com.mailslurp.models.InboxForwarderDto.FieldEnum
+
 
+
toString() - Method in class com.mailslurp.models.InboxForwarderDto
+
 
+
toString() - Method in enum com.mailslurp.models.InboxForwarderEventProjection.StatusEnum
+
 
+
toString() - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
toString() - Method in class com.mailslurp.models.InboxForwarderTestOptions
+
 
+
toString() - Method in class com.mailslurp.models.InboxForwarderTestResult
+
 
+
toString() - Method in class com.mailslurp.models.InboxIdItem
+
 
+
toString() - Method in class com.mailslurp.models.InboxIdsResult
+
 
+
toString() - Method in enum com.mailslurp.models.InboxPreview.InboxTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.InboxPreview
+
 
+
toString() - Method in enum com.mailslurp.models.InboxReplierDto.FieldEnum
+
 
+
toString() - Method in class com.mailslurp.models.InboxReplierDto
+
 
+
toString() - Method in enum com.mailslurp.models.InboxReplierEventProjection.StatusEnum
+
 
+
toString() - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
toString() - Method in enum com.mailslurp.models.InboxRulesetDto.ActionEnum
+
 
+
toString() - Method in enum com.mailslurp.models.InboxRulesetDto.HandlerEnum
+
 
+
toString() - Method in enum com.mailslurp.models.InboxRulesetDto.ScopeEnum
+
 
+
toString() - Method in class com.mailslurp.models.InboxRulesetDto
+
 
+
toString() - Method in class com.mailslurp.models.InboxRulesetTestOptions
+
 
+
toString() - Method in class com.mailslurp.models.InboxRulesetTestResult
+
 
+
toString() - Method in class com.mailslurp.models.IPAddressResult
+
 
+
toString() - Method in class com.mailslurp.models.JSONSchemaDto
+
 
+
toString() - Method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
 
+
toString() - Method in enum com.mailslurp.models.MatchOption.FieldEnum
+
 
+
toString() - Method in enum com.mailslurp.models.MatchOption.ShouldEnum
+
 
+
toString() - Method in class com.mailslurp.models.MatchOption
+
 
+
toString() - Method in class com.mailslurp.models.MatchOptions
+
 
+
toString() - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
toString() - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
toString() - Method in class com.mailslurp.models.NameServerRecord
+
 
+
toString() - Method in enum com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageableObject
+
 
+
toString() - Method in class com.mailslurp.models.PageAlias
+
 
+
toString() - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
toString() - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
toString() - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
toString() - Method in class com.mailslurp.models.PageComplaint
+
 
+
toString() - Method in class com.mailslurp.models.PageConnector
+
 
+
toString() - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
toString() - Method in class com.mailslurp.models.PageContactProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
toString() - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
toString() - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
toString() - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
toString() - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
toString() - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
toString() - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
toString() - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
toString() - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
toString() - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
toString() - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
toString() - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
toString() - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
toString() - Method in enum com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum
+
 
+
toString() - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
toString() - Method in enum com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum
+
 
+
toString() - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
toString() - Method in enum com.mailslurp.models.PhonePlanDto.PhoneCountryEnum
+
 
+
toString() - Method in class com.mailslurp.models.PhonePlanDto
+
 
+
toString() - Method in class com.mailslurp.models.RawEmailJson
+
 
+
toString() - Method in class com.mailslurp.models.Recipient
+
 
+
toString() - Method in enum com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum
+
 
+
toString() - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
toString() - Method in enum com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum
+
 
+
toString() - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
toString() - Method in enum com.mailslurp.models.ScheduledJob.StatusEnum
+
 
+
toString() - Method in class com.mailslurp.models.ScheduledJob
+
 
+
toString() - Method in enum com.mailslurp.models.ScheduledJobDto.StatusEnum
+
 
+
toString() - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
toString() - Method in enum com.mailslurp.models.SendEmailOptions.SendStrategyEnum
+
 
+
toString() - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
toString() - Method in enum com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum
+
 
+
toString() - Method in class com.mailslurp.models.Sender
+
 
+
toString() - Method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
 
+
toString() - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
toString() - Method in class com.mailslurp.models.SentEmailDto
+
 
+
toString() - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
toString() - Method in class com.mailslurp.models.SetInboxFavouritedOptions
+
 
+
toString() - Method in class com.mailslurp.models.SimpleSendEmailOptions
+
 
+
toString() - Method in class com.mailslurp.models.SmsDto
+
 
+
toString() - Method in enum com.mailslurp.models.SmsMatchOption.FieldEnum
+
 
+
toString() - Method in enum com.mailslurp.models.SmsMatchOption.ShouldEnum
+
 
+
toString() - Method in class com.mailslurp.models.SmsMatchOption
+
 
+
toString() - Method in class com.mailslurp.models.SmsPreview
+
 
+
toString() - Method in class com.mailslurp.models.SmsProjection
+
 
+
toString() - Method in class com.mailslurp.models.Sort
+
 
+
toString() - Method in class com.mailslurp.models.TemplateDto
+
 
+
toString() - Method in class com.mailslurp.models.TemplatePreview
+
 
+
toString() - Method in class com.mailslurp.models.TemplateProjection
+
 
+
toString() - Method in class com.mailslurp.models.TemplateVariable
+
 
+
toString() - Method in enum com.mailslurp.models.TemplateVariable.VariableTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
 
+
toString() - Method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
 
+
toString() - Method in class com.mailslurp.models.TestPhoneNumberOptions
+
 
+
toString() - Method in class com.mailslurp.models.ThreadProjection
+
 
+
toString() - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
toString() - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
toString() - Method in class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
toString() - Method in class com.mailslurp.models.UnreadCount
+
 
+
toString() - Method in class com.mailslurp.models.UnseenErrorCountDto
+
 
+
toString() - Method in class com.mailslurp.models.UpdateAliasOptions
+
 
+
toString() - Method in class com.mailslurp.models.UpdateDomainOptions
+
 
+
toString() - Method in class com.mailslurp.models.UpdateGroupContacts
+
 
+
toString() - Method in class com.mailslurp.models.UpdateInboxOptions
+
 
+
toString() - Method in enum com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum
+
 
+
toString() - Method in class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
toString() - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
toString() - Method in class com.mailslurp.models.UploadAttachmentOptions
+
 
+
toString() - Method in class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
toString() - Method in enum com.mailslurp.models.UserInfoDto.AccountStateEnum
+
 
+
toString() - Method in enum com.mailslurp.models.UserInfoDto.AccountTypeEnum
+
 
+
toString() - Method in enum com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.UserInfoDto
+
 
+
toString() - Method in class com.mailslurp.models.ValidateEmailAddressListOptions
+
 
+
toString() - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
toString() - Method in class com.mailslurp.models.ValidationDto
+
 
+
toString() - Method in class com.mailslurp.models.ValidationMessage
+
 
+
toString() - Method in class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
toString() - Method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
toString() - Method in class com.mailslurp.models.VerifyWebhookSignatureResults
+
 
+
toString() - Method in enum com.mailslurp.models.WaitForConditions.CountTypeEnum
+
 
+
toString() - Method in enum com.mailslurp.models.WaitForConditions.SortDirectionEnum
+
 
+
toString() - Method in class com.mailslurp.models.WaitForConditions
+
 
+
toString() - Method in enum com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum
+
 
+
toString() - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
toString() - Method in enum com.mailslurp.models.WaitForSmsConditions.CountTypeEnum
+
 
+
toString() - Method in enum com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum
+
 
+
toString() - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookBouncePayload.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookDto.EventNameEnum
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookDto.MethodEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookDto
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
toString() - Method in class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
toString() - Method in class com.mailslurp.models.WebhookHeaders
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookNewContactPayload.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookProjection.EventNameEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookProjection
+
 
+
toString() - Method in class com.mailslurp.models.WebhookRedriveResult
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookResultDto.HttpMethodEnum
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookResultDto.ResultTypeEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookResultDto.WebhookEventEnum
+
 
+
toString() - Method in enum com.mailslurp.models.WebhookTestRequest.MethodEnum
+
 
+
toString() - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
toString() - Method in class com.mailslurp.models.WebhookTestResponse
+
 
+
toString() - Method in class com.mailslurp.models.WebhookTestResult
+
 
+
total(Long) - Method in class com.mailslurp.models.PageAlias
+
 
+
total(Long) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
total(Long) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
total(Long) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
total(Long) - Method in class com.mailslurp.models.PageComplaint
+
 
+
total(Long) - Method in class com.mailslurp.models.PageConnector
+
 
+
total(Long) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
total(Long) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
total(Long) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
total(Long) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
total(Long) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
total(Long) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
total(Long) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
total(Long) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
total(Long) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
total(Long) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
total(Long) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
total(Long) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
total(Long) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.CountDto
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageAlias
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageComplaint
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageConnector
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
totalElements(Long) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageAlias
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageAttachmentEntity
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageBouncedEmail
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageBouncedRecipients
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageComplaint
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageConnector
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageConnectorSyncEvents
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageContactProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageDeliveryStatus
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageEmailPreview
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageEmailProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageEmailValidationRequest
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageGroupProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageInboxForwarderDto
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageInboxForwarderEvents
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageInboxProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageInboxReplierDto
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageInboxReplierEvents
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageInboxRulesetDto
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageMissedEmailProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageOrganizationInboxProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PagePhoneNumberProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageScheduledJobs
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageSentEmailProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageSmsProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageTemplateProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageThreadProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageTrackingPixelProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageWebhookProjection
+
 
+
totalPages(Integer) - Method in class com.mailslurp.models.PageWebhookResult
+
 
+
TrackingControllerApi - Class in com.mailslurp.apis
+
 
+
TrackingControllerApi() - Constructor for class com.mailslurp.apis.TrackingControllerApi
+
 
+
TrackingControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.TrackingControllerApi
+
 
+
TrackingPixelDto - Class in com.mailslurp.models
+
+
Tracking pixel
+
+
TrackingPixelDto() - Constructor for class com.mailslurp.models.TrackingPixelDto
+
 
+
TrackingPixelDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
TrackingPixelProjection - Class in com.mailslurp.models
+
+
Tracking pixel data
+
+
TrackingPixelProjection() - Constructor for class com.mailslurp.models.TrackingPixelProjection
+
 
+
TrackingPixelProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
triggerId(String) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
triggerId(String) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
ttl(Long) - Method in class com.mailslurp.models.DNSLookupResult
+
 
+
ttl(Long) - Method in class com.mailslurp.models.DomainNameRecord
+
 
+
+ + + +

U

+
+
UnknownMissedEmailProjection - Class in com.mailslurp.models
+
+
Unknown missed email projection
+
+
UnknownMissedEmailProjection() - Constructor for class com.mailslurp.models.UnknownMissedEmailProjection
+
 
+
UnknownMissedEmailProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
unpaged(Boolean) - Method in class com.mailslurp.models.PageableObject
+
 
+
UnreadCount - Class in com.mailslurp.models
+
+
Number of unread entities
+
+
UnreadCount() - Constructor for class com.mailslurp.models.UnreadCount
+
 
+
UnreadCount.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
unreadOnly(Boolean) - Method in class com.mailslurp.models.WaitForConditions
+
 
+
unreadOnly(Boolean) - Method in class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
unreadOnly(Boolean) - Method in class com.mailslurp.models.WaitForSmsConditions
+
 
+
UnseenErrorCountDto - Class in com.mailslurp.models
+
+
Number of unseen errors
+
+
UnseenErrorCountDto() - Constructor for class com.mailslurp.models.UnseenErrorCountDto
+
 
+
UnseenErrorCountDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
unsorted(Boolean) - Method in class com.mailslurp.models.Sort
+
 
+
updateAlias(UUID, UpdateAliasOptions) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Update an email alias
+
+
updateAliasAsync(UUID, UpdateAliasOptions, ApiCallback<AliasDto>) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Update an email alias (asynchronously)
+
+
updateAliasCall(UUID, UpdateAliasOptions, ApiCallback) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Build call for updateAlias
+
+
UpdateAliasOptions - Class in com.mailslurp.models
+
+
Update an email alias
+
+
UpdateAliasOptions() - Constructor for class com.mailslurp.models.UpdateAliasOptions
+
 
+
UpdateAliasOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
updateAliasWithHttpInfo(UUID, UpdateAliasOptions) - Method in class com.mailslurp.apis.AliasControllerApi
+
+
Update an email alias
+
+
updateConnector(UUID, CreateConnectorOptions) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Update an inbox connector
+
+
updateConnectorAsync(UUID, CreateConnectorOptions, ApiCallback<ConnectorDto>) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Update an inbox connector (asynchronously)
+
+
updateConnectorCall(UUID, CreateConnectorOptions, ApiCallback) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Build call for updateConnector
+
+
updateConnectorWithHttpInfo(UUID, CreateConnectorOptions) - Method in class com.mailslurp.apis.ConnectorControllerApi
+
+
Update an inbox connector
+
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AliasDto
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AliasProjection
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.Complaint
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.DomainDto
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.Email
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.SmsDto
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookDto
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
updatedAt(OffsetDateTime) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
updateDomain(UUID, UpdateDomainOptions) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Update a domain + Update values on a domain.
+
+
updateDomainAsync(UUID, UpdateDomainOptions, ApiCallback<DomainDto>) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Update a domain (asynchronously) + Update values on a domain.
+
+
updateDomainCall(UUID, UpdateDomainOptions, ApiCallback) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Build call for updateDomain
+
+
UpdateDomainOptions - Class in com.mailslurp.models
+
+
Options for creating a domain to use with MailSlurp.
+
+
UpdateDomainOptions() - Constructor for class com.mailslurp.models.UpdateDomainOptions
+
 
+
UpdateDomainOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
updateDomainWithHttpInfo(UUID, UpdateDomainOptions) - Method in class com.mailslurp.apis.DomainControllerApi
+
+
Update a domain + Update values on a domain.
+
+
UpdateGroupContacts - Class in com.mailslurp.models
+
+
Update group contacts options.
+
+
UpdateGroupContacts() - Constructor for class com.mailslurp.models.UpdateGroupContacts
+
 
+
UpdateGroupContacts.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
updateInbox(UUID, UpdateInboxOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Update Inbox.
+
+
updateInboxAsync(UUID, UpdateInboxOptions, ApiCallback<InboxDto>) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Update Inbox.
+
+
updateInboxCall(UUID, UpdateInboxOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Build call for updateInbox
+
+
updateInboxForwarder(UUID, CreateInboxForwarderOptions) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Update an inbox forwarder + Update inbox ruleset
+
+
updateInboxForwarderAsync(UUID, CreateInboxForwarderOptions, ApiCallback<InboxForwarderDto>) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Update an inbox forwarder (asynchronously) + Update inbox ruleset
+
+
updateInboxForwarderCall(UUID, CreateInboxForwarderOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Build call for updateInboxForwarder
+
+
updateInboxForwarderWithHttpInfo(UUID, CreateInboxForwarderOptions) - Method in class com.mailslurp.apis.InboxForwarderControllerApi
+
+
Update an inbox forwarder + Update inbox ruleset
+
+
UpdateInboxOptions - Class in com.mailslurp.models
+
+
Options for updating inbox properties
+
+
UpdateInboxOptions() - Constructor for class com.mailslurp.models.UpdateInboxOptions
+
 
+
UpdateInboxOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
updateInboxReplier(UUID, UpdateInboxReplierOptions) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Update an inbox replier + Update inbox ruleset
+
+
updateInboxReplierAsync(UUID, UpdateInboxReplierOptions, ApiCallback<InboxReplierDto>) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Update an inbox replier (asynchronously) + Update inbox ruleset
+
+
updateInboxReplierCall(UUID, UpdateInboxReplierOptions, ApiCallback) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Build call for updateInboxReplier
+
+
UpdateInboxReplierOptions - Class in com.mailslurp.models
+
+
Options for updating an inbox replier
+
+
UpdateInboxReplierOptions() - Constructor for class com.mailslurp.models.UpdateInboxReplierOptions
+
 
+
UpdateInboxReplierOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
UpdateInboxReplierOptions.FieldEnum - Enum in com.mailslurp.models
+
+
Field to match against to trigger inbox replier for inbound email
+
+
UpdateInboxReplierOptions.FieldEnum.Adapter - Class in com.mailslurp.models
+
 
+
updateInboxReplierWithHttpInfo(UUID, UpdateInboxReplierOptions) - Method in class com.mailslurp.apis.InboxReplierControllerApi
+
+
Update an inbox replier + Update inbox ruleset
+
+
updateInboxWithHttpInfo(UUID, UpdateInboxOptions) - Method in class com.mailslurp.apis.InboxControllerApi
+
+
Update Inbox.
+
+
updateParamsForAuth(String[], List<Pair>, Map<String, String>, Map<String, String>, String, String, URI) - Method in class com.mailslurp.clients.ApiClient
+
+
Update query and header parameters based on authentication settings.
+
+
updateTemplate(UUID, CreateTemplateOptions) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Update template + Update email template
+
+
updateTemplateAsync(UUID, CreateTemplateOptions, ApiCallback<TemplateDto>) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Update template (asynchronously) + Update email template
+
+
updateTemplateCall(UUID, CreateTemplateOptions, ApiCallback) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Build call for updateTemplate
+
+
updateTemplateWithHttpInfo(UUID, CreateTemplateOptions) - Method in class com.mailslurp.apis.TemplateControllerApi
+
+
Update template + Update email template
+
+
updateWebhookHeaders(UUID, WebhookHeaders) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Update a webhook request headers
+
+
updateWebhookHeadersAsync(UUID, WebhookHeaders, ApiCallback<WebhookDto>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Update a webhook request headers (asynchronously)
+
+
updateWebhookHeadersCall(UUID, WebhookHeaders, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for updateWebhookHeaders
+
+
updateWebhookHeadersWithHttpInfo(UUID, WebhookHeaders) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Update a webhook request headers
+
+
uploadAttachment(UploadAttachmentOptions) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Upload an attachment for sending using base64 file encoding.
+
+
uploadAttachmentAsync(UploadAttachmentOptions, ApiCallback<List<String>>) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Upload an attachment for sending using base64 file encoding.
+
+
uploadAttachmentBytes(UploadAttachmentBytesRequest, String, String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Upload an attachment for sending using file byte stream input octet stream.
+
+
uploadAttachmentBytesAsync(UploadAttachmentBytesRequest, String, String, ApiCallback<List<String>>) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Upload an attachment for sending using file byte stream input octet stream.
+
+
uploadAttachmentBytesCall(UploadAttachmentBytesRequest, String, String, ApiCallback) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Build call for uploadAttachmentBytes
+
+
UploadAttachmentBytesRequest - Class in com.mailslurp.models
+
+
Byte array request body
+
+
UploadAttachmentBytesRequest() - Constructor for class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
UploadAttachmentBytesRequest.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
uploadAttachmentBytesWithHttpInfo(UploadAttachmentBytesRequest, String, String) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Upload an attachment for sending using file byte stream input octet stream.
+
+
uploadAttachmentCall(UploadAttachmentOptions, ApiCallback) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Build call for uploadAttachment
+
+
UploadAttachmentOptions - Class in com.mailslurp.models
+
+
Options for uploading files for attachments.
+
+
UploadAttachmentOptions() - Constructor for class com.mailslurp.models.UploadAttachmentOptions
+
 
+
UploadAttachmentOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
uploadAttachmentWithHttpInfo(UploadAttachmentOptions) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Upload an attachment for sending using base64 file encoding.
+
+
uploadMultipartForm(String, String, String, UploadMultipartFormRequest) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Upload an attachment for sending using a Multipart Form request.
+
+
uploadMultipartFormAsync(String, String, String, UploadMultipartFormRequest, ApiCallback<List<String>>) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Upload an attachment for sending using a Multipart Form request.
+
+
uploadMultipartFormCall(String, String, String, UploadMultipartFormRequest, ApiCallback) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Build call for uploadMultipartForm
+
+
UploadMultipartFormRequest - Class in com.mailslurp.models
+
+
UploadMultipartFormRequest
+
+
UploadMultipartFormRequest() - Constructor for class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
UploadMultipartFormRequest.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
uploadMultipartFormWithHttpInfo(String, String, String, UploadMultipartFormRequest) - Method in class com.mailslurp.apis.AttachmentControllerApi
+
+
Upload an attachment for sending using a Multipart Form request.
+
+
URL - Variable in class com.mailslurp.clients.ServerConfiguration
+
 
+
URL(Map<String, String>) - Method in class com.mailslurp.clients.ServerConfiguration
+
+
Format URL template using given variables.
+
+
URL() - Method in class com.mailslurp.clients.ServerConfiguration
+
+
Format URL template using default server variables.
+
+
url(String) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
url(String) - Method in class com.mailslurp.models.GravatarUrl
+
 
+
url(String) - Method in class com.mailslurp.models.TrackingPixelDto
+
 
+
url(String) - Method in class com.mailslurp.models.WebhookDto
+
 
+
url(String) - Method in class com.mailslurp.models.WebhookProjection
+
 
+
url(String) - Method in class com.mailslurp.models.WebhookTestRequest
+
 
+
useDomainPool(Boolean) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
useInboxName(Boolean) - Method in class com.mailslurp.models.ForwardEmailOptions
+
 
+
useInboxName(Boolean) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
 
+
useInboxName(Boolean) - Method in class com.mailslurp.models.ReplyToEmailOptions
+
 
+
useInboxName(Boolean) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
UserControllerApi - Class in com.mailslurp.apis
+
 
+
UserControllerApi() - Constructor for class com.mailslurp.apis.UserControllerApi
+
 
+
UserControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.UserControllerApi
+
 
+
userId(UUID) - Method in class com.mailslurp.models.AliasDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.AliasProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.AttachmentEntity
+
 
+
userId(UUID) - Method in class com.mailslurp.models.AttachmentProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.BouncedEmailDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.BouncedRecipientDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.Complaint
+
 
+
userId(UUID) - Method in class com.mailslurp.models.ConnectorDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.ConnectorProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.DeliveryStatusDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.DomainDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.Email
+
 
+
userId(UUID) - Method in class com.mailslurp.models.EmailValidationRequestDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.EmergencyAddress
+
 
+
userId(UUID) - Method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.InboxDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.InboxForwarderEventProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.InboxReplierEventProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.MissedEmailDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.MissedEmailProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.PhoneNumberDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.PhoneNumberProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.PhonePlanDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.ScheduledJob
+
 
+
userId(UUID) - Method in class com.mailslurp.models.ScheduledJobDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.SendWithQueueResult
+
 
+
userId(UUID) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.SmsDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.SmsPreview
+
 
+
userId(UUID) - Method in class com.mailslurp.models.SmsProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.ThreadProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.TrackingPixelProjection
+
 
+
userId(UUID) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
userId(UUID) - Method in class com.mailslurp.models.WebhookDto
+
 
+
userId(UUID) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
userId(UUID) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
UserInfoDto - Class in com.mailslurp.models
+
+
UserInfoDto
+
+
UserInfoDto() - Constructor for class com.mailslurp.models.UserInfoDto
+
 
+
UserInfoDto.AccountStateEnum - Enum in com.mailslurp.models
+
+
Gets or Sets accountState
+
+
UserInfoDto.AccountStateEnum.Adapter - Class in com.mailslurp.models
+
 
+
UserInfoDto.AccountTypeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets accountType
+
+
UserInfoDto.AccountTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
UserInfoDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
UserInfoDto.SubscriptionTypeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets subscriptionType
+
+
UserInfoDto.SubscriptionTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
username(String) - Method in class com.mailslurp.models.BasicAuthOptions
+
 
+
username(String) - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
useShortAddress(Boolean) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
useSSL(Boolean) - Method in class com.mailslurp.models.CreateConnectorImapOptions
+
 
+
useStaticIpRange(Boolean) - Method in class com.mailslurp.models.CreateWebhookOptions
+
 
+
useStaticIpRange(Boolean) - Method in class com.mailslurp.models.WebhookDto
+
 
+
useThreads(Boolean) - Method in class com.mailslurp.models.AliasDto
+
 
+
useThreads(Boolean) - Method in class com.mailslurp.models.AliasProjection
+
 
+
useThreads(Boolean) - Method in class com.mailslurp.models.CreateAliasOptions
+
 
+
+ + + +

V

+
+
validateEmail(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Validate email HTML contents + Validate the HTML content of email if HTML is found.
+
+
validateEmailAddresses(SendEmailOptions.ValidateEmailAddressesEnum) - Method in class com.mailslurp.models.SendEmailOptions
+
 
+
validateEmailAddressList(ValidateEmailAddressListOptions) - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
+
Validate a list of email addresses.
+
+
validateEmailAddressListAsync(ValidateEmailAddressListOptions, ApiCallback<ValidateEmailAddressListResult>) - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
+
Validate a list of email addresses.
+
+
validateEmailAddressListCall(ValidateEmailAddressListOptions, ApiCallback) - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
+
Build call for validateEmailAddressList
+
+
ValidateEmailAddressListOptions - Class in com.mailslurp.models
+
+
Options for validating a list of email addresses
+
+
ValidateEmailAddressListOptions() - Constructor for class com.mailslurp.models.ValidateEmailAddressListOptions
+
 
+
ValidateEmailAddressListOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ValidateEmailAddressListResult - Class in com.mailslurp.models
+
+
Result of validating a list of email addresses
+
+
ValidateEmailAddressListResult() - Constructor for class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
ValidateEmailAddressListResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
validateEmailAddressListWithHttpInfo(ValidateEmailAddressListOptions) - Method in class com.mailslurp.apis.EmailVerificationControllerApi
+
+
Validate a list of email addresses.
+
+
validateEmailAsync(UUID, ApiCallback<ValidationDto>) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Validate email HTML contents (asynchronously) + Validate the HTML content of email if HTML is found.
+
+
validateEmailCall(UUID, ApiCallback) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Build call for validateEmail
+
+
validateEmailWithHttpInfo(UUID) - Method in class com.mailslurp.apis.EmailControllerApi
+
+
Validate email HTML contents + Validate the HTML content of email if HTML is found.
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.AbstractWebhookPayload
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.AliasDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.AliasProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.AttachmentEntity
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.AttachmentMetaData
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.AttachmentProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.BasicAuthOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.BouncedEmailDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.BouncedRecipientDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.BounceProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.BounceRecipientProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.BulkSendEmailOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.Complaint
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ConditionOption
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ConnectorDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ConnectorProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ConnectorSyncEventDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ConnectorSyncEventProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ConnectorSyncRequestResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ConnectorSyncRequestResultException
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCause
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ConnectorSyncResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ContactDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ContactProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ContentMatchOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CountDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateAliasOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateConnectorImapOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateConnectorOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateContactOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateDomainOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateEmergencyAddressOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateGroupOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateInboxDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateInboxForwarderOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateInboxReplierOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateInboxRulesetOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateTemplateOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateTrackingPixelOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.CreateWebhookOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.DeliveryStatusDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.DescribeDomainOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.DescribeMailServerDomainResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.DNSLookupOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.DNSLookupResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.DNSLookupResults
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.DomainDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.DomainIssuesDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.DomainNameRecord
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.DomainPreview
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.DownloadAttachmentDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.Email
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmailAnalysis
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmailContentMatchResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmailHtmlDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmailLinksResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmailPreview
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmailPreviewUrls
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmailProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmailRecipients
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmailTextLinesResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmailValidationRequestDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmailVerificationResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmergencyAddress
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmergencyAddressDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.EmptyResponseDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ExpirationDefaults
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ExpiredInboxDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ExpiredInboxRecordProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ExportLink
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ExportOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.FilterBouncedRecipientsOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.FilterBouncedRecipientsResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.FlushExpiredInboxesResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ForwardEmailOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.GravatarUrl
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.GroupContactsDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.GroupDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.GroupProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.HTMLValidationResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ImapFlagOperationOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ImapSmtpAccessDetails
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxByEmailAddressResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxByNameResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxExistsDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxForwarderDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxForwarderEventProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxForwarderTestOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxForwarderTestResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxIdItem
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxIdsResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxPreview
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxReplierDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxReplierEventProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxRulesetDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxRulesetTestOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.InboxRulesetTestResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.IPAddressResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.JSONSchemaDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ListUnsubscribeRecipientProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.MatchOption
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.MatchOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.MissedEmailDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.MissedEmailProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.NameServerRecord
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.OrganizationInboxProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageableObject
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageAlias
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageAttachmentEntity
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageBouncedEmail
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageBouncedRecipients
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageComplaint
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageConnector
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageConnectorSyncEvents
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageContactProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageDeliveryStatus
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageEmailPreview
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageEmailProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageEmailValidationRequest
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageExpiredInboxRecordProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageGroupProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageInboxForwarderDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageInboxForwarderEvents
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageInboxProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageInboxReplierDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageInboxReplierEvents
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageInboxRulesetDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageListUnsubscribeRecipients
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageMissedEmailProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageOrganizationInboxProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PagePhoneNumberProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageScheduledJobs
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageSentEmailProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageSentEmailWithQueueProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageSmsProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageTemplateProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageThreadProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageTrackingPixelProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageUnknownMissedEmailProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageWebhookProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PageWebhookResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PhoneNumberDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PhoneNumberProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.PhonePlanDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.RawEmailJson
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.Recipient
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ReplyToAliasEmailOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ReplyToEmailOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ScheduledJob
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ScheduledJobDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.SendEmailOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.Sender
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.SendSMTPEnvelopeOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.SendWithQueueResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.SentEmailDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.SentEmailProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.SetInboxFavouritedOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.SimpleSendEmailOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.SmsDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.SmsMatchOption
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.SmsPreview
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.SmsProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.Sort
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.TemplateDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.TemplatePreview
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.TemplateProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.TemplateVariable
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.TestNewInboxForwarderOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.TestNewInboxRulesetOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.TestPhoneNumberOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ThreadProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.TrackingPixelDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.TrackingPixelProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UnknownMissedEmailProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UnreadCount
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UnseenErrorCountDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UpdateAliasOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UpdateDomainOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UpdateGroupContacts
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UpdateInboxOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UpdateInboxReplierOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UploadAttachmentOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UploadMultipartFormRequest
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.UserInfoDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ValidateEmailAddressListOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ValidateEmailAddressListResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ValidationDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.ValidationMessage
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.VerifyEmailAddressOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.VerifyWebhookSignatureOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.VerifyWebhookSignatureResults
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WaitForConditions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WaitForSingleSmsOptions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WaitForSmsConditions
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookBouncePayload
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookEmailReadPayload
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookHeaderNameValue
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookHeaders
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookNewContactPayload
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookNewEmailPayload
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookNewSmsPayload
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookProjection
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookRedriveResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookResultDto
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookTestRequest
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookTestResponse
+
+
Validates the JSON Object and throws an exception if issues found
+
+
validateJsonObject(JsonObject) - Static method in class com.mailslurp.models.WebhookTestResult
+
+
Validates the JSON Object and throws an exception if issues found
+
+
ValidationDto - Class in com.mailslurp.models
+
+
Response object for email validation operation
+
+
ValidationDto() - Constructor for class com.mailslurp.models.ValidationDto
+
 
+
ValidationDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
ValidationMessage - Class in com.mailslurp.models
+
+
Optional warnings resulting from HTML validation
+
+
ValidationMessage() - Constructor for class com.mailslurp.models.ValidationMessage
+
 
+
ValidationMessage.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
validEmailAddresses(List<String>) - Method in class com.mailslurp.models.ValidateEmailAddressListResult
+
 
+
value(ConditionOption.ValueEnum) - Method in class com.mailslurp.models.ConditionOption
+
 
+
value(String) - Method in class com.mailslurp.models.JSONSchemaDto
+
 
+
value(String) - Method in class com.mailslurp.models.MatchOption
+
 
+
value(String) - Method in class com.mailslurp.models.NameServerRecord
+
 
+
value(String) - Method in class com.mailslurp.models.SmsMatchOption
+
 
+
value(String) - Method in class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
valueOf(String) - Static method in enum com.mailslurp.models.AbstractWebhookPayload.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ConditionOption.ConditionEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ConditionOption.ValueEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ConnectorDto.ConnectorTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.CreateDomainOptions.DomainTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.CreateInboxDto.InboxTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.CreateInboxReplierOptions.FieldEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.CreateWebhookOptions.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.DNSLookupOptions.RecordTypesEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.DNSLookupResult.RecordTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.DomainDto.DomainTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.DomainNameRecord.LabelEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.DomainNameRecord.RecordTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.DomainPreview.DomainTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.EmergencyAddress.PhoneCountryEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ExportOptions.OutputFormatEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.InboxDto.InboxTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.InboxForwarderDto.FieldEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.InboxForwarderEventProjection.StatusEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.InboxPreview.InboxTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.InboxReplierDto.FieldEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.InboxReplierEventProjection.StatusEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.InboxRulesetDto.ActionEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.InboxRulesetDto.HandlerEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.InboxRulesetDto.ScopeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.MatchOption.FieldEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.MatchOption.ShouldEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.PhonePlanDto.PhoneCountryEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ScheduledJob.StatusEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.ScheduledJobDto.StatusEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.SendEmailOptions.SendStrategyEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.SmsMatchOption.FieldEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.SmsMatchOption.ShouldEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.TemplateVariable.VariableTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.UserInfoDto.AccountStateEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.UserInfoDto.AccountTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WaitForConditions.CountTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WaitForConditions.SortDirectionEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WaitForSmsConditions.CountTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookBouncePayload.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookDto.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookDto.MethodEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookNewContactPayload.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookProjection.EventNameEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookResultDto.HttpMethodEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookResultDto.ResultTypeEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookResultDto.WebhookEventEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum com.mailslurp.models.WebhookTestRequest.MethodEnum
+
+
Returns the enum constant of this type with the specified name.
+
+
values() - Static method in enum com.mailslurp.models.AbstractWebhookPayload.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ConditionOption.ConditionEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ConditionOption.ValueEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ConnectorDto.ConnectorTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.CreateDomainOptions.DomainTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.CreateInboxDto.InboxTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.CreateInboxReplierOptions.FieldEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.CreateWebhookOptions.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.DNSLookupOptions.RecordTypesEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.DNSLookupResult.RecordTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.DomainDto.DomainTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.DomainNameRecord.LabelEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.DomainNameRecord.RecordTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.DomainPreview.DomainTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.EmergencyAddress.PhoneCountryEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ExportOptions.OutputFormatEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.InboxDto.InboxTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.InboxForwarderDto.FieldEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.InboxForwarderEventProjection.StatusEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.InboxPreview.InboxTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.InboxReplierDto.FieldEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.InboxReplierEventProjection.StatusEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.InboxRulesetDto.ActionEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.InboxRulesetDto.HandlerEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.InboxRulesetDto.ScopeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.MatchOption.FieldEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.MatchOption.ShouldEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.PhonePlanDto.PhoneCountryEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ScheduledJob.StatusEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.ScheduledJobDto.StatusEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.SendEmailOptions.SendStrategyEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.SmsMatchOption.FieldEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.SmsMatchOption.ShouldEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.TemplateVariable.VariableTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.UserInfoDto.AccountStateEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.UserInfoDto.AccountTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WaitForConditions.CountTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WaitForConditions.SortDirectionEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WaitForSmsConditions.CountTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookBouncePayload.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookDto.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookDto.MethodEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookNewContactPayload.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookProjection.EventNameEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookResultDto.HttpMethodEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookResultDto.ResultTypeEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookResultDto.WebhookEventEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum com.mailslurp.models.WebhookTestRequest.MethodEnum
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
variables - Variable in class com.mailslurp.clients.ServerConfiguration
+
 
+
variables(List<TemplateVariable>) - Method in class com.mailslurp.models.TemplateDto
+
 
+
variables(List<String>) - Method in class com.mailslurp.models.TemplateProjection
+
 
+
variableType(TemplateVariable.VariableTypeEnum) - Method in class com.mailslurp.models.TemplateVariable
+
 
+
verificationToken(String) - Method in class com.mailslurp.models.DomainDto
+
 
+
verifyEmailAddress(VerifyEmailAddressOptions) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Deprecated. 
+
+
verifyEmailAddressAsync(VerifyEmailAddressOptions, ApiCallback<EmailVerificationResult>) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Deprecated. 
+
+
verifyEmailAddressCall(VerifyEmailAddressOptions, ApiCallback) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Deprecated. 
+
+
VerifyEmailAddressOptions - Class in com.mailslurp.models
+
+
Options for verifying that an email address exists at a remote mail server.
+
+
VerifyEmailAddressOptions() - Constructor for class com.mailslurp.models.VerifyEmailAddressOptions
+
 
+
VerifyEmailAddressOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
verifyEmailAddressWithHttpInfo(VerifyEmailAddressOptions) - Method in class com.mailslurp.apis.MailServerControllerApi
+
+
Deprecated. 
+
+
verifyWebhookSignature(VerifyWebhookSignatureOptions) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Verify a webhook payload signature + Verify a webhook payload using the messageId and signature.
+
+
verifyWebhookSignatureAsync(VerifyWebhookSignatureOptions, ApiCallback<VerifyWebhookSignatureResults>) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Verify a webhook payload signature (asynchronously) + Verify a webhook payload using the messageId and signature.
+
+
verifyWebhookSignatureCall(VerifyWebhookSignatureOptions, ApiCallback) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Build call for verifyWebhookSignature
+
+
VerifyWebhookSignatureOptions - Class in com.mailslurp.models
+
+
VerifyWebhookSignatureOptions
+
+
VerifyWebhookSignatureOptions() - Constructor for class com.mailslurp.models.VerifyWebhookSignatureOptions
+
 
+
VerifyWebhookSignatureOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
VerifyWebhookSignatureResults - Class in com.mailslurp.models
+
+
VerifyWebhookSignatureResults
+
+
VerifyWebhookSignatureResults() - Constructor for class com.mailslurp.models.VerifyWebhookSignatureResults
+
 
+
VerifyWebhookSignatureResults.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
verifyWebhookSignatureWithHttpInfo(VerifyWebhookSignatureOptions) - Method in class com.mailslurp.apis.WebhookControllerApi
+
+
Verify a webhook payload signature + Verify a webhook payload using the messageId and signature.
+
+
virtualInbox(Boolean) - Method in class com.mailslurp.models.CreateInboxDto
+
 
+
virtualInbox(Boolean) - Method in class com.mailslurp.models.InboxDto
+
 
+
virtualInbox(Boolean) - Method in class com.mailslurp.models.InboxPreview
+
 
+
virtualInbox(Boolean) - Method in class com.mailslurp.models.OrganizationInboxProjection
+
 
+
virtualSend(Boolean) - Method in class com.mailslurp.models.SentEmailDto
+
 
+
virtualSend(Boolean) - Method in class com.mailslurp.models.SentEmailProjection
+
 
+
virusVerdict(String) - Method in class com.mailslurp.models.EmailAnalysis
+
 
+
+ + + +

W

+
+
waitFor(WaitForConditions) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for an email to match the provided filter conditions such as subject contains keyword.
+
+
waitForAsync(WaitForConditions, ApiCallback<List<EmailPreview>>) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for an email to match the provided filter conditions such as subject contains keyword.
+
+
waitForCall(WaitForConditions, ApiCallback) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Build call for waitFor
+
+
WaitForConditions - Class in com.mailslurp.models
+
+
Conditions to apply to emails that you are waiting for
+
+
WaitForConditions() - Constructor for class com.mailslurp.models.WaitForConditions
+
 
+
WaitForConditions.CountTypeEnum - Enum in com.mailslurp.models
+
+
How result size should be compared with the expected size.
+
+
WaitForConditions.CountTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
WaitForConditions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WaitForConditions.SortDirectionEnum - Enum in com.mailslurp.models
+
+
Direction to sort matching emails by created time
+
+
WaitForConditions.SortDirectionEnum.Adapter - Class in com.mailslurp.models
+
 
+
WaitForControllerApi - Class in com.mailslurp.apis
+
 
+
WaitForControllerApi() - Constructor for class com.mailslurp.apis.WaitForControllerApi
+
 
+
WaitForControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.WaitForControllerApi
+
 
+
waitForDeliveryStatuses(UUID, UUID, Long, Integer, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Wait for delivery statuses
+
+
waitForDeliveryStatusesAsync(UUID, UUID, Long, Integer, OffsetDateTime, OffsetDateTime, ApiCallback<DeliveryStatusDto>) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
(asynchronously) + Wait for delivery statuses
+
+
waitForDeliveryStatusesCall(UUID, UUID, Long, Integer, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Build call for waitForDeliveryStatuses
+
+
waitForDeliveryStatusesWithHttpInfo(UUID, UUID, Long, Integer, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.SentEmailsControllerApi
+
+
Wait for delivery statuses
+
+
waitForEmailCount(UUID, Integer, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for and return count number of emails.
+
+
waitForEmailCountAsync(UUID, Integer, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long, ApiCallback<List<EmailPreview>>) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for and return count number of emails.
+
+
waitForEmailCountCall(UUID, Integer, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long, ApiCallback) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Build call for waitForEmailCount
+
+
waitForEmailCountWithHttpInfo(UUID, Integer, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for and return count number of emails.
+
+
waitForLatestEmail(UUID, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Fetch inbox's latest email or if empty wait for an email to arrive + Will return either the last received email or wait for an email to arrive and return that.
+
+
waitForLatestEmailAsync(UUID, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long, ApiCallback<Email>) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Fetch inbox's latest email or if empty wait for an email to arrive (asynchronously) + Will return either the last received email or wait for an email to arrive and return that.
+
+
waitForLatestEmailCall(UUID, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long, ApiCallback) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Build call for waitForLatestEmail
+
+
waitForLatestEmailWithHttpInfo(UUID, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Fetch inbox's latest email or if empty wait for an email to arrive + Will return either the last received email or wait for an email to arrive and return that.
+
+
waitForLatestSms(WaitForSingleSmsOptions) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for the latest SMS message to match the provided filter conditions such as body contains keyword.
+
+
waitForLatestSmsAsync(WaitForSingleSmsOptions, ApiCallback<SmsDto>) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for the latest SMS message to match the provided filter conditions such as body contains keyword.
+
+
waitForLatestSmsCall(WaitForSingleSmsOptions, ApiCallback) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Build call for waitForLatestSms
+
+
waitForLatestSmsWithHttpInfo(WaitForSingleSmsOptions) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for the latest SMS message to match the provided filter conditions such as body contains keyword.
+
+
waitForMatchingEmails(UUID, Integer, MatchOptions, OffsetDateTime, OffsetDateTime, String, Long, Long, Boolean) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait or return list of emails that match simple matching patterns + Perform a search of emails in an inbox with the given patterns.
+
+
waitForMatchingEmailsAsync(UUID, Integer, MatchOptions, OffsetDateTime, OffsetDateTime, String, Long, Long, Boolean, ApiCallback<List<EmailPreview>>) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait or return list of emails that match simple matching patterns (asynchronously) + Perform a search of emails in an inbox with the given patterns.
+
+
waitForMatchingEmailsCall(UUID, Integer, MatchOptions, OffsetDateTime, OffsetDateTime, String, Long, Long, Boolean, ApiCallback) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Build call for waitForMatchingEmails
+
+
waitForMatchingEmailsWithHttpInfo(UUID, Integer, MatchOptions, OffsetDateTime, OffsetDateTime, String, Long, Long, Boolean) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait or return list of emails that match simple matching patterns + Perform a search of emails in an inbox with the given patterns.
+
+
waitForMatchingFirstEmail(UUID, MatchOptions, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for or return the first email that matches provided MatchOptions array + Perform a search of emails in an inbox with the given patterns.
+
+
waitForMatchingFirstEmailAsync(UUID, MatchOptions, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long, ApiCallback<Email>) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for or return the first email that matches provided MatchOptions array (asynchronously) + Perform a search of emails in an inbox with the given patterns.
+
+
waitForMatchingFirstEmailCall(UUID, MatchOptions, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long, ApiCallback) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Build call for waitForMatchingFirstEmail
+
+
waitForMatchingFirstEmailWithHttpInfo(UUID, MatchOptions, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for or return the first email that matches provided MatchOptions array + Perform a search of emails in an inbox with the given patterns.
+
+
waitForNthEmail(UUID, Integer, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for or fetch the email with a given index in the inbox specified.
+
+
waitForNthEmailAsync(UUID, Integer, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long, ApiCallback<Email>) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for or fetch the email with a given index in the inbox specified.
+
+
waitForNthEmailCall(UUID, Integer, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long, ApiCallback) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Build call for waitForNthEmail
+
+
waitForNthEmailWithHttpInfo(UUID, Integer, Long, Boolean, OffsetDateTime, OffsetDateTime, String, Long) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for or fetch the email with a given index in the inbox specified.
+
+
waitForNthMissedEmail(Integer, UUID, Long, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Wait for Nth missed email + Wait for 0 based index missed email
+
+
waitForNthMissedEmailAsync(Integer, UUID, Long, OffsetDateTime, OffsetDateTime, ApiCallback<MissedEmailDto>) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Wait for Nth missed email (asynchronously) + Wait for 0 based index missed email
+
+
waitForNthMissedEmailCall(Integer, UUID, Long, OffsetDateTime, OffsetDateTime, ApiCallback) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Build call for waitForNthMissedEmail
+
+
waitForNthMissedEmailWithHttpInfo(Integer, UUID, Long, OffsetDateTime, OffsetDateTime) - Method in class com.mailslurp.apis.MissedEmailControllerApi
+
+
Wait for Nth missed email + Wait for 0 based index missed email
+
+
WaitForSingleSmsOptions - Class in com.mailslurp.models
+
+
WaitForSingleSmsOptions
+
+
WaitForSingleSmsOptions() - Constructor for class com.mailslurp.models.WaitForSingleSmsOptions
+
 
+
WaitForSingleSmsOptions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WaitForSingleSmsOptions.SortDirectionEnum - Enum in com.mailslurp.models
+
+
Gets or Sets sortDirection
+
+
WaitForSingleSmsOptions.SortDirectionEnum.Adapter - Class in com.mailslurp.models
+
 
+
waitForSms(WaitForSmsConditions) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for an SMS message to match the provided filter conditions such as body contains keyword.
+
+
waitForSmsAsync(WaitForSmsConditions, ApiCallback<List<SmsPreview>>) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for an SMS message to match the provided filter conditions such as body contains keyword.
+
+
waitForSmsCall(WaitForSmsConditions, ApiCallback) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Build call for waitForSms
+
+
WaitForSmsConditions - Class in com.mailslurp.models
+
+
Conditions to apply to emails that you are waiting for
+
+
WaitForSmsConditions() - Constructor for class com.mailslurp.models.WaitForSmsConditions
+
 
+
WaitForSmsConditions.CountTypeEnum - Enum in com.mailslurp.models
+
+
How result size should be compared with the expected size.
+
+
WaitForSmsConditions.CountTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
WaitForSmsConditions.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WaitForSmsConditions.SortDirectionEnum - Enum in com.mailslurp.models
+
+
Direction to sort matching SMSs by created time
+
+
WaitForSmsConditions.SortDirectionEnum.Adapter - Class in com.mailslurp.models
+
 
+
waitForSmsWithHttpInfo(WaitForSmsConditions) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for an SMS message to match the provided filter conditions such as body contains keyword.
+
+
waitForWithHttpInfo(WaitForConditions) - Method in class com.mailslurp.apis.WaitForControllerApi
+
+
Wait for an email to match the provided filter conditions such as subject contains keyword.
+
+
warnings(List<ValidationMessage>) - Method in class com.mailslurp.models.HTMLValidationResult
+
 
+
WebhookBouncePayload - Class in com.mailslurp.models
+
+
BOUNCE webhook payload.
+
+
WebhookBouncePayload() - Constructor for class com.mailslurp.models.WebhookBouncePayload
+
 
+
WebhookBouncePayload.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookBouncePayload.EventNameEnum - Enum in com.mailslurp.models
+
+
Name of the event type webhook is being triggered for.
+
+
WebhookBouncePayload.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookBounceRecipientPayload - Class in com.mailslurp.models
+
+
BOUNCE_RECIPIENT webhook payload.
+
+
WebhookBounceRecipientPayload() - Constructor for class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
WebhookBounceRecipientPayload.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookBounceRecipientPayload.EventNameEnum - Enum in com.mailslurp.models
+
+
Name of the event type webhook is being triggered for.
+
+
WebhookBounceRecipientPayload.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookControllerApi - Class in com.mailslurp.apis
+
 
+
WebhookControllerApi() - Constructor for class com.mailslurp.apis.WebhookControllerApi
+
 
+
WebhookControllerApi(ApiClient) - Constructor for class com.mailslurp.apis.WebhookControllerApi
+
 
+
WebhookDeliveryStatusPayload - Class in com.mailslurp.models
+
+
DELIVERY_STATUS webhook payload.
+
+
WebhookDeliveryStatusPayload() - Constructor for class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
WebhookDeliveryStatusPayload.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookDeliveryStatusPayload.EventNameEnum - Enum in com.mailslurp.models
+
+
Name of the event type webhook is being triggered for.
+
+
WebhookDeliveryStatusPayload.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookDto - Class in com.mailslurp.models
+
+
Representation of a webhook for an inbox.
+
+
WebhookDto() - Constructor for class com.mailslurp.models.WebhookDto
+
 
+
WebhookDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookDto.EventNameEnum - Enum in com.mailslurp.models
+
+
Webhook trigger event name
+
+
WebhookDto.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookDto.MethodEnum - Enum in com.mailslurp.models
+
+
HTTP method that your server endpoint must listen for
+
+
WebhookDto.MethodEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookEmailOpenedPayload - Class in com.mailslurp.models
+
+
EMAIL_OPENED webhook payload.
+
+
WebhookEmailOpenedPayload() - Constructor for class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
WebhookEmailOpenedPayload.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookEmailOpenedPayload.EventNameEnum - Enum in com.mailslurp.models
+
+
Name of the event type webhook is being triggered for.
+
+
WebhookEmailOpenedPayload.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookEmailReadPayload - Class in com.mailslurp.models
+
+
EMAIL_READ webhook payload.
+
+
WebhookEmailReadPayload() - Constructor for class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
WebhookEmailReadPayload.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookEmailReadPayload.EventNameEnum - Enum in com.mailslurp.models
+
+
Name of the event type webhook is being triggered for.
+
+
WebhookEmailReadPayload.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
webhookEvent(WebhookResultDto.WebhookEventEnum) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
WebhookHeaderNameValue - Class in com.mailslurp.models
+
+
Name value pair for webhook header
+
+
WebhookHeaderNameValue() - Constructor for class com.mailslurp.models.WebhookHeaderNameValue
+
 
+
WebhookHeaderNameValue.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookHeaders - Class in com.mailslurp.models
+
+
Webhook HTTP headers to include with each request from MailSlurp to your server
+
+
WebhookHeaders() - Constructor for class com.mailslurp.models.WebhookHeaders
+
 
+
WebhookHeaders.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
webhookId(UUID) - Method in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
webhookId(UUID) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
webhookId(UUID) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
webhookId(UUID) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
webhookId(UUID) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
webhookId(UUID) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
webhookId(UUID) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
webhookId(UUID) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
webhookId(UUID) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
webhookId(UUID) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
webhookId(UUID) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
webhookName(String) - Method in class com.mailslurp.models.AbstractWebhookPayload
+
 
+
webhookName(String) - Method in class com.mailslurp.models.WebhookBouncePayload
+
 
+
webhookName(String) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload
+
 
+
webhookName(String) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload
+
 
+
webhookName(String) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload
+
 
+
webhookName(String) - Method in class com.mailslurp.models.WebhookEmailReadPayload
+
 
+
webhookName(String) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
webhookName(String) - Method in class com.mailslurp.models.WebhookNewContactPayload
+
 
+
webhookName(String) - Method in class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
webhookName(String) - Method in class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
WebhookNewAttachmentPayload - Class in com.mailslurp.models
+
+
NEW_ATTACHMENT webhook payload.
+
+
WebhookNewAttachmentPayload() - Constructor for class com.mailslurp.models.WebhookNewAttachmentPayload
+
 
+
WebhookNewAttachmentPayload.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookNewAttachmentPayload.EventNameEnum - Enum in com.mailslurp.models
+
+
Name of the event type webhook is being triggered for.
+
+
WebhookNewAttachmentPayload.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookNewContactPayload - Class in com.mailslurp.models
+
+
NEW_CONTACT webhook payload.
+
+
WebhookNewContactPayload() - Constructor for class com.mailslurp.models.WebhookNewContactPayload
+
 
+
WebhookNewContactPayload.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookNewContactPayload.EventNameEnum - Enum in com.mailslurp.models
+
+
Name of the event type webhook is being triggered for.
+
+
WebhookNewContactPayload.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookNewEmailPayload - Class in com.mailslurp.models
+
+
NEW_EMAIL webhook payload.
+
+
WebhookNewEmailPayload() - Constructor for class com.mailslurp.models.WebhookNewEmailPayload
+
 
+
WebhookNewEmailPayload.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookNewEmailPayload.EventNameEnum - Enum in com.mailslurp.models
+
+
Name of the event type webhook is being triggered for.
+
+
WebhookNewEmailPayload.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookNewSmsPayload - Class in com.mailslurp.models
+
+
NEW_SMS webhook payload.
+
+
WebhookNewSmsPayload() - Constructor for class com.mailslurp.models.WebhookNewSmsPayload
+
 
+
WebhookNewSmsPayload.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookNewSmsPayload.EventNameEnum - Enum in com.mailslurp.models
+
+
Name of the event type webhook is being triggered for.
+
+
WebhookNewSmsPayload.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookProjection - Class in com.mailslurp.models
+
+
Representation of a webhook
+
+
WebhookProjection() - Constructor for class com.mailslurp.models.WebhookProjection
+
 
+
WebhookProjection.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookProjection.EventNameEnum - Enum in com.mailslurp.models
+
+
Gets or Sets eventName
+
+
WebhookProjection.EventNameEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookRedriveResult - Class in com.mailslurp.models
+
+
Result of retrying webhook
+
+
WebhookRedriveResult() - Constructor for class com.mailslurp.models.WebhookRedriveResult
+
 
+
WebhookRedriveResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookResultDto - Class in com.mailslurp.models
+
+
Result of a webhook notification
+
+
WebhookResultDto() - Constructor for class com.mailslurp.models.WebhookResultDto
+
 
+
WebhookResultDto.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookResultDto.HttpMethodEnum - Enum in com.mailslurp.models
+
+
Gets or Sets httpMethod
+
+
WebhookResultDto.HttpMethodEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookResultDto.ResultTypeEnum - Enum in com.mailslurp.models
+
+
Gets or Sets resultType
+
+
WebhookResultDto.ResultTypeEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookResultDto.WebhookEventEnum - Enum in com.mailslurp.models
+
+
Gets or Sets webhookEvent
+
+
WebhookResultDto.WebhookEventEnum.Adapter - Class in com.mailslurp.models
+
 
+
webhookResultId(UUID) - Method in class com.mailslurp.models.WebhookRedriveResult
+
 
+
WebhookTestRequest - Class in com.mailslurp.models
+
+
Result of webhook test request
+
+
WebhookTestRequest() - Constructor for class com.mailslurp.models.WebhookTestRequest
+
 
+
WebhookTestRequest.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookTestRequest.MethodEnum - Enum in com.mailslurp.models
+
+
Gets or Sets method
+
+
WebhookTestRequest.MethodEnum.Adapter - Class in com.mailslurp.models
+
 
+
WebhookTestResponse - Class in com.mailslurp.models
+
+
Response from webhook test request
+
+
WebhookTestResponse() - Constructor for class com.mailslurp.models.WebhookTestResponse
+
 
+
WebhookTestResponse.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
WebhookTestResult - Class in com.mailslurp.models
+
+
Results of testing a webhook
+
+
WebhookTestResult() - Constructor for class com.mailslurp.models.WebhookTestResult
+
 
+
WebhookTestResult.CustomTypeAdapterFactory - Class in com.mailslurp.models
+
 
+
webhookUrl(String) - Method in class com.mailslurp.models.WebhookResultDto
+
 
+
write(JsonWriter, byte[]) - Method in class com.mailslurp.clients.JSON.ByteArrayAdapter
+
 
+
write(JsonWriter, Date) - Method in class com.mailslurp.clients.JSON.DateTypeAdapter
+
 
+
write(JsonWriter, LocalDate) - Method in class com.mailslurp.clients.JSON.LocalDateTypeAdapter
+
 
+
write(JsonWriter, OffsetDateTime) - Method in class com.mailslurp.clients.JSON.OffsetDateTimeTypeAdapter
+
 
+
write(JsonWriter, Date) - Method in class com.mailslurp.clients.JSON.SqlDateTypeAdapter
+
 
+
write(JsonWriter, AbstractWebhookPayload.EventNameEnum) - Method in class com.mailslurp.models.AbstractWebhookPayload.EventNameEnum.Adapter
+
 
+
write(JsonWriter, ConditionOption.ConditionEnum) - Method in class com.mailslurp.models.ConditionOption.ConditionEnum.Adapter
+
 
+
write(JsonWriter, ConditionOption.ValueEnum) - Method in class com.mailslurp.models.ConditionOption.ValueEnum.Adapter
+
 
+
write(JsonWriter, ConnectorDto.ConnectorAuthTypeEnum) - Method in class com.mailslurp.models.ConnectorDto.ConnectorAuthTypeEnum.Adapter
+
 
+
write(JsonWriter, ConnectorDto.ConnectorTypeEnum) - Method in class com.mailslurp.models.ConnectorDto.ConnectorTypeEnum.Adapter
+
 
+
write(JsonWriter, ConnectorDto.SyncScheduleTypeEnum) - Method in class com.mailslurp.models.ConnectorDto.SyncScheduleTypeEnum.Adapter
+
 
+
write(JsonWriter, ConnectorProjection.ConnectorTypeEnum) - Method in class com.mailslurp.models.ConnectorProjection.ConnectorTypeEnum.Adapter
+
 
+
write(JsonWriter, ConnectorProjection.SyncScheduleTypeEnum) - Method in class com.mailslurp.models.ConnectorProjection.SyncScheduleTypeEnum.Adapter
+
 
+
write(JsonWriter, ConnectorSyncEventDto.SyncStatusEnum) - Method in class com.mailslurp.models.ConnectorSyncEventDto.SyncStatusEnum.Adapter
+
 
+
write(JsonWriter, ConnectorSyncEventProjection.SyncStatusEnum) - Method in class com.mailslurp.models.ConnectorSyncEventProjection.SyncStatusEnum.Adapter
+
 
+
write(JsonWriter, CreateConnectorOptions.ConnectorAuthTypeEnum) - Method in class com.mailslurp.models.CreateConnectorOptions.ConnectorAuthTypeEnum.Adapter
+
 
+
write(JsonWriter, CreateConnectorOptions.ConnectorTypeEnum) - Method in class com.mailslurp.models.CreateConnectorOptions.ConnectorTypeEnum.Adapter
+
 
+
write(JsonWriter, CreateConnectorOptions.SyncScheduleTypeEnum) - Method in class com.mailslurp.models.CreateConnectorOptions.SyncScheduleTypeEnum.Adapter
+
 
+
write(JsonWriter, CreateDomainOptions.DomainTypeEnum) - Method in class com.mailslurp.models.CreateDomainOptions.DomainTypeEnum.Adapter
+
 
+
write(JsonWriter, CreateEmergencyAddressOptions.IsoCountryCodeEnum) - Method in class com.mailslurp.models.CreateEmergencyAddressOptions.IsoCountryCodeEnum.Adapter
+
 
+
write(JsonWriter, CreateInboxDto.InboxTypeEnum) - Method in class com.mailslurp.models.CreateInboxDto.InboxTypeEnum.Adapter
+
 
+
write(JsonWriter, CreateInboxForwarderOptions.FieldEnum) - Method in class com.mailslurp.models.CreateInboxForwarderOptions.FieldEnum.Adapter
+
 
+
write(JsonWriter, CreateInboxReplierOptions.FieldEnum) - Method in class com.mailslurp.models.CreateInboxReplierOptions.FieldEnum.Adapter
+
 
+
write(JsonWriter, CreateInboxRulesetOptions.ActionEnum) - Method in class com.mailslurp.models.CreateInboxRulesetOptions.ActionEnum.Adapter
+
 
+
write(JsonWriter, CreateInboxRulesetOptions.ScopeEnum) - Method in class com.mailslurp.models.CreateInboxRulesetOptions.ScopeEnum.Adapter
+
 
+
write(JsonWriter, CreateWebhookOptions.EventNameEnum) - Method in class com.mailslurp.models.CreateWebhookOptions.EventNameEnum.Adapter
+
 
+
write(JsonWriter, DNSLookupOptions.RecordTypesEnum) - Method in class com.mailslurp.models.DNSLookupOptions.RecordTypesEnum.Adapter
+
 
+
write(JsonWriter, DNSLookupResult.RecordTypeEnum) - Method in class com.mailslurp.models.DNSLookupResult.RecordTypeEnum.Adapter
+
 
+
write(JsonWriter, DomainDto.DomainTypeEnum) - Method in class com.mailslurp.models.DomainDto.DomainTypeEnum.Adapter
+
 
+
write(JsonWriter, DomainNameRecord.LabelEnum) - Method in class com.mailslurp.models.DomainNameRecord.LabelEnum.Adapter
+
 
+
write(JsonWriter, DomainNameRecord.RecordTypeEnum) - Method in class com.mailslurp.models.DomainNameRecord.RecordTypeEnum.Adapter
+
 
+
write(JsonWriter, DomainPreview.DomainTypeEnum) - Method in class com.mailslurp.models.DomainPreview.DomainTypeEnum.Adapter
+
 
+
write(JsonWriter, EmergencyAddress.PhoneCountryEnum) - Method in class com.mailslurp.models.EmergencyAddress.PhoneCountryEnum.Adapter
+
 
+
write(JsonWriter, EmergencyAddressDto.PhoneCountryEnum) - Method in class com.mailslurp.models.EmergencyAddressDto.PhoneCountryEnum.Adapter
+
 
+
write(JsonWriter, ExportOptions.OutputFormatEnum) - Method in class com.mailslurp.models.ExportOptions.OutputFormatEnum.Adapter
+
 
+
write(JsonWriter, ImapFlagOperationOptions.FlagOperationEnum) - Method in class com.mailslurp.models.ImapFlagOperationOptions.FlagOperationEnum.Adapter
+
 
+
write(JsonWriter, InboxDto.InboxTypeEnum) - Method in class com.mailslurp.models.InboxDto.InboxTypeEnum.Adapter
+
 
+
write(JsonWriter, InboxForwarderDto.FieldEnum) - Method in class com.mailslurp.models.InboxForwarderDto.FieldEnum.Adapter
+
 
+
write(JsonWriter, InboxForwarderEventProjection.StatusEnum) - Method in class com.mailslurp.models.InboxForwarderEventProjection.StatusEnum.Adapter
+
 
+
write(JsonWriter, InboxPreview.InboxTypeEnum) - Method in class com.mailslurp.models.InboxPreview.InboxTypeEnum.Adapter
+
 
+
write(JsonWriter, InboxReplierDto.FieldEnum) - Method in class com.mailslurp.models.InboxReplierDto.FieldEnum.Adapter
+
 
+
write(JsonWriter, InboxReplierEventProjection.StatusEnum) - Method in class com.mailslurp.models.InboxReplierEventProjection.StatusEnum.Adapter
+
 
+
write(JsonWriter, InboxRulesetDto.ActionEnum) - Method in class com.mailslurp.models.InboxRulesetDto.ActionEnum.Adapter
+
 
+
write(JsonWriter, InboxRulesetDto.HandlerEnum) - Method in class com.mailslurp.models.InboxRulesetDto.HandlerEnum.Adapter
+
 
+
write(JsonWriter, InboxRulesetDto.ScopeEnum) - Method in class com.mailslurp.models.InboxRulesetDto.ScopeEnum.Adapter
+
 
+
write(JsonWriter, MatchOption.FieldEnum) - Method in class com.mailslurp.models.MatchOption.FieldEnum.Adapter
+
 
+
write(JsonWriter, MatchOption.ShouldEnum) - Method in class com.mailslurp.models.MatchOption.ShouldEnum.Adapter
+
 
+
write(JsonWriter, OrganizationInboxProjection.InboxTypeEnum) - Method in class com.mailslurp.models.OrganizationInboxProjection.InboxTypeEnum.Adapter
+
 
+
write(JsonWriter, PhoneNumberDto.PhoneCountryEnum) - Method in class com.mailslurp.models.PhoneNumberDto.PhoneCountryEnum.Adapter
+
 
+
write(JsonWriter, PhoneNumberProjection.PhoneCountryEnum) - Method in class com.mailslurp.models.PhoneNumberProjection.PhoneCountryEnum.Adapter
+
 
+
write(JsonWriter, PhonePlanDto.PhoneCountryEnum) - Method in class com.mailslurp.models.PhonePlanDto.PhoneCountryEnum.Adapter
+
 
+
write(JsonWriter, ReplyToAliasEmailOptions.SendStrategyEnum) - Method in class com.mailslurp.models.ReplyToAliasEmailOptions.SendStrategyEnum.Adapter
+
 
+
write(JsonWriter, ReplyToEmailOptions.SendStrategyEnum) - Method in class com.mailslurp.models.ReplyToEmailOptions.SendStrategyEnum.Adapter
+
 
+
write(JsonWriter, ScheduledJob.StatusEnum) - Method in class com.mailslurp.models.ScheduledJob.StatusEnum.Adapter
+
 
+
write(JsonWriter, ScheduledJobDto.StatusEnum) - Method in class com.mailslurp.models.ScheduledJobDto.StatusEnum.Adapter
+
 
+
write(JsonWriter, SendEmailOptions.SendStrategyEnum) - Method in class com.mailslurp.models.SendEmailOptions.SendStrategyEnum.Adapter
+
 
+
write(JsonWriter, SendEmailOptions.ValidateEmailAddressesEnum) - Method in class com.mailslurp.models.SendEmailOptions.ValidateEmailAddressesEnum.Adapter
+
 
+
write(JsonWriter, SmsMatchOption.FieldEnum) - Method in class com.mailslurp.models.SmsMatchOption.FieldEnum.Adapter
+
 
+
write(JsonWriter, SmsMatchOption.ShouldEnum) - Method in class com.mailslurp.models.SmsMatchOption.ShouldEnum.Adapter
+
 
+
write(JsonWriter, TemplateVariable.VariableTypeEnum) - Method in class com.mailslurp.models.TemplateVariable.VariableTypeEnum.Adapter
+
 
+
write(JsonWriter, UpdateInboxReplierOptions.FieldEnum) - Method in class com.mailslurp.models.UpdateInboxReplierOptions.FieldEnum.Adapter
+
 
+
write(JsonWriter, UserInfoDto.AccountStateEnum) - Method in class com.mailslurp.models.UserInfoDto.AccountStateEnum.Adapter
+
 
+
write(JsonWriter, UserInfoDto.AccountTypeEnum) - Method in class com.mailslurp.models.UserInfoDto.AccountTypeEnum.Adapter
+
 
+
write(JsonWriter, UserInfoDto.SubscriptionTypeEnum) - Method in class com.mailslurp.models.UserInfoDto.SubscriptionTypeEnum.Adapter
+
 
+
write(JsonWriter, WaitForConditions.CountTypeEnum) - Method in class com.mailslurp.models.WaitForConditions.CountTypeEnum.Adapter
+
 
+
write(JsonWriter, WaitForConditions.SortDirectionEnum) - Method in class com.mailslurp.models.WaitForConditions.SortDirectionEnum.Adapter
+
 
+
write(JsonWriter, WaitForSingleSmsOptions.SortDirectionEnum) - Method in class com.mailslurp.models.WaitForSingleSmsOptions.SortDirectionEnum.Adapter
+
 
+
write(JsonWriter, WaitForSmsConditions.CountTypeEnum) - Method in class com.mailslurp.models.WaitForSmsConditions.CountTypeEnum.Adapter
+
 
+
write(JsonWriter, WaitForSmsConditions.SortDirectionEnum) - Method in class com.mailslurp.models.WaitForSmsConditions.SortDirectionEnum.Adapter
+
 
+
write(JsonWriter, WebhookBouncePayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookBouncePayload.EventNameEnum.Adapter
+
 
+
write(JsonWriter, WebhookBounceRecipientPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookBounceRecipientPayload.EventNameEnum.Adapter
+
 
+
write(JsonWriter, WebhookDeliveryStatusPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookDeliveryStatusPayload.EventNameEnum.Adapter
+
 
+
write(JsonWriter, WebhookDto.EventNameEnum) - Method in class com.mailslurp.models.WebhookDto.EventNameEnum.Adapter
+
 
+
write(JsonWriter, WebhookDto.MethodEnum) - Method in class com.mailslurp.models.WebhookDto.MethodEnum.Adapter
+
 
+
write(JsonWriter, WebhookEmailOpenedPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookEmailOpenedPayload.EventNameEnum.Adapter
+
 
+
write(JsonWriter, WebhookEmailReadPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookEmailReadPayload.EventNameEnum.Adapter
+
 
+
write(JsonWriter, WebhookNewAttachmentPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewAttachmentPayload.EventNameEnum.Adapter
+
 
+
write(JsonWriter, WebhookNewContactPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewContactPayload.EventNameEnum.Adapter
+
 
+
write(JsonWriter, WebhookNewEmailPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewEmailPayload.EventNameEnum.Adapter
+
 
+
write(JsonWriter, WebhookNewSmsPayload.EventNameEnum) - Method in class com.mailslurp.models.WebhookNewSmsPayload.EventNameEnum.Adapter
+
 
+
write(JsonWriter, WebhookProjection.EventNameEnum) - Method in class com.mailslurp.models.WebhookProjection.EventNameEnum.Adapter
+
 
+
write(JsonWriter, WebhookResultDto.HttpMethodEnum) - Method in class com.mailslurp.models.WebhookResultDto.HttpMethodEnum.Adapter
+
 
+
write(JsonWriter, WebhookResultDto.ResultTypeEnum) - Method in class com.mailslurp.models.WebhookResultDto.ResultTypeEnum.Adapter
+
 
+
write(JsonWriter, WebhookResultDto.WebhookEventEnum) - Method in class com.mailslurp.models.WebhookResultDto.WebhookEventEnum.Adapter
+
 
+
write(JsonWriter, WebhookTestRequest.MethodEnum) - Method in class com.mailslurp.models.WebhookTestRequest.MethodEnum.Adapter
+
 
+
writeTo(BufferedSink) - Method in class com.mailslurp.clients.ProgressRequestBody
+
 
+
+ + + +

_

+
+
_char(String) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
_double(Double) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
_file(File) - Method in class com.mailslurp.models.UploadMultipartFormRequest
+
 
+
_float(Float) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
_int(Integer) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
_long(Long) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
_short(Integer) - Method in class com.mailslurp.models.UploadAttachmentBytesRequest
+
 
+
+A B C D E F G H I J L M N O P R S T U V W _ 
+ +
+ + + + + + + +
+ + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/index.html b/site/index.html new file mode 100644 index 000000000..0e5eb9298 --- /dev/null +++ b/site/index.html @@ -0,0 +1,76 @@ + + + + + + +mailslurp-client-java 15.17.17 API + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/site/overview-frame.html b/site/overview-frame.html new file mode 100644 index 000000000..cec46035b --- /dev/null +++ b/site/overview-frame.html @@ -0,0 +1,25 @@ + + + + + + +Overview List (mailslurp-client-java 15.17.17 API) + + + + + + + +

 

+ + diff --git a/site/overview-summary.html b/site/overview-summary.html new file mode 100644 index 000000000..dc08d9053 --- /dev/null +++ b/site/overview-summary.html @@ -0,0 +1,152 @@ + + + + + + +Overview (mailslurp-client-java 15.17.17 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

mailslurp-client-java 15.17.17 API

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
com.mailslurp.apis 
com.mailslurp.clients 
com.mailslurp.clients.auth 
com.mailslurp.models 
+
+ +
+ + + + + + + +
+ + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/overview-tree.html b/site/overview-tree.html new file mode 100644 index 000000000..435054c26 --- /dev/null +++ b/site/overview-tree.html @@ -0,0 +1,817 @@ + + + + + + +Class Hierarchy (mailslurp-client-java 15.17.17 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/package-list b/site/package-list new file mode 100644 index 000000000..81a3d858b --- /dev/null +++ b/site/package-list @@ -0,0 +1,4 @@ +com.mailslurp.apis +com.mailslurp.clients +com.mailslurp.clients.auth +com.mailslurp.models diff --git a/site/script.js b/site/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/site/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/site/serialized-form.html b/site/serialized-form.html new file mode 100644 index 000000000..04a38e37a --- /dev/null +++ b/site/serialized-form.html @@ -0,0 +1,158 @@ + + + + + + +Serialized Form (mailslurp-client-java 15.17.17 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Serialized Form

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2023. All rights reserved.

+ + diff --git a/site/stylesheet.css b/site/stylesheet.css new file mode 100644 index 000000000..98055b22d --- /dev/null +++ b/site/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml new file mode 100644 index 000000000..d29e0552d --- /dev/null +++ b/src/main/AndroidManifest.xml @@ -0,0 +1,3 @@ + + + diff --git a/src/main/java/com/mailslurp/apis/AliasControllerApi.java b/src/main/java/com/mailslurp/apis/AliasControllerApi.java new file mode 100644 index 000000000..b2c3368e1 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/AliasControllerApi.java @@ -0,0 +1,1338 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.AliasDto; +import com.mailslurp.models.CreateAliasOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageAlias; +import com.mailslurp.models.PageEmailProjection; +import com.mailslurp.models.PageThreadProjection; +import com.mailslurp.models.ReplyToAliasEmailOptions; +import com.mailslurp.models.SendEmailOptions; +import com.mailslurp.models.SentEmailDto; +import java.util.UUID; +import com.mailslurp.models.UpdateAliasOptions; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class AliasControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public AliasControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public AliasControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createAlias + * @param createAliasOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createAliasCall(CreateAliasOptions createAliasOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createAliasOptions; + + // create path and map variables + String localVarPath = "/aliases"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createAliasValidateBeforeCall(CreateAliasOptions createAliasOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createAliasOptions' is set + if (createAliasOptions == null) { + throw new ApiException("Missing the required parameter 'createAliasOptions' when calling createAlias(Async)"); + } + + return createAliasCall(createAliasOptions, _callback); + + } + + /** + * Create an email alias. Must be verified by clicking link inside verification email that will be sent to the address. Once verified the alias will be active. + * Email aliases use a MailSlurp randomly generated email address (or a custom domain inbox that you provide) to mask or proxy a real email address. Emails sent to the alias address will be forwarded to the hidden email address it was created for. If you want to send a reply use the threadId attached + * @param createAliasOptions (required) + * @return AliasDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public AliasDto createAlias(CreateAliasOptions createAliasOptions) throws ApiException { + ApiResponse localVarResp = createAliasWithHttpInfo(createAliasOptions); + return localVarResp.getData(); + } + + /** + * Create an email alias. Must be verified by clicking link inside verification email that will be sent to the address. Once verified the alias will be active. + * Email aliases use a MailSlurp randomly generated email address (or a custom domain inbox that you provide) to mask or proxy a real email address. Emails sent to the alias address will be forwarded to the hidden email address it was created for. If you want to send a reply use the threadId attached + * @param createAliasOptions (required) + * @return ApiResponse<AliasDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createAliasWithHttpInfo(CreateAliasOptions createAliasOptions) throws ApiException { + okhttp3.Call localVarCall = createAliasValidateBeforeCall(createAliasOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create an email alias. Must be verified by clicking link inside verification email that will be sent to the address. Once verified the alias will be active. (asynchronously) + * Email aliases use a MailSlurp randomly generated email address (or a custom domain inbox that you provide) to mask or proxy a real email address. Emails sent to the alias address will be forwarded to the hidden email address it was created for. If you want to send a reply use the threadId attached + * @param createAliasOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createAliasAsync(CreateAliasOptions createAliasOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createAliasValidateBeforeCall(createAliasOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteAlias + * @param aliasId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAliasCall(UUID aliasId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/aliases/{aliasId}" + .replace("{" + "aliasId" + "}", localVarApiClient.escapeString(aliasId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteAliasValidateBeforeCall(UUID aliasId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'aliasId' is set + if (aliasId == null) { + throw new ApiException("Missing the required parameter 'aliasId' when calling deleteAlias(Async)"); + } + + return deleteAliasCall(aliasId, _callback); + + } + + /** + * Delete an email alias + * + * @param aliasId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteAlias(UUID aliasId) throws ApiException { + deleteAliasWithHttpInfo(aliasId); + } + + /** + * Delete an email alias + * + * @param aliasId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteAliasWithHttpInfo(UUID aliasId) throws ApiException { + okhttp3.Call localVarCall = deleteAliasValidateBeforeCall(aliasId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete an email alias (asynchronously) + * + * @param aliasId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAliasAsync(UUID aliasId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteAliasValidateBeforeCall(aliasId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getAlias + * @param aliasId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAliasCall(UUID aliasId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/aliases/{aliasId}" + .replace("{" + "aliasId" + "}", localVarApiClient.escapeString(aliasId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAliasValidateBeforeCall(UUID aliasId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'aliasId' is set + if (aliasId == null) { + throw new ApiException("Missing the required parameter 'aliasId' when calling getAlias(Async)"); + } + + return getAliasCall(aliasId, _callback); + + } + + /** + * Get an email alias + * Get an email alias by ID + * @param aliasId (required) + * @return AliasDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public AliasDto getAlias(UUID aliasId) throws ApiException { + ApiResponse localVarResp = getAliasWithHttpInfo(aliasId); + return localVarResp.getData(); + } + + /** + * Get an email alias + * Get an email alias by ID + * @param aliasId (required) + * @return ApiResponse<AliasDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAliasWithHttpInfo(UUID aliasId) throws ApiException { + okhttp3.Call localVarCall = getAliasValidateBeforeCall(aliasId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get an email alias (asynchronously) + * Get an email alias by ID + * @param aliasId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAliasAsync(UUID aliasId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAliasValidateBeforeCall(aliasId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAliasEmails + * @param aliasId (required) + * @param page Optional page index alias email list pagination (optional, default to 0) + * @param size Optional page size alias email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAliasEmailsCall(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/aliases/{aliasId}/emails" + .replace("{" + "aliasId" + "}", localVarApiClient.escapeString(aliasId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAliasEmailsValidateBeforeCall(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'aliasId' is set + if (aliasId == null) { + throw new ApiException("Missing the required parameter 'aliasId' when calling getAliasEmails(Async)"); + } + + return getAliasEmailsCall(aliasId, page, size, sort, since, before, _callback); + + } + + /** + * Get emails for an alias + * Get paginated emails for an alias by ID + * @param aliasId (required) + * @param page Optional page index alias email list pagination (optional, default to 0) + * @param size Optional page size alias email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @return PageEmailProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageEmailProjection getAliasEmails(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAliasEmailsWithHttpInfo(aliasId, page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get emails for an alias + * Get paginated emails for an alias by ID + * @param aliasId (required) + * @param page Optional page index alias email list pagination (optional, default to 0) + * @param size Optional page size alias email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @return ApiResponse<PageEmailProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAliasEmailsWithHttpInfo(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAliasEmailsValidateBeforeCall(aliasId, page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get emails for an alias (asynchronously) + * Get paginated emails for an alias by ID + * @param aliasId (required) + * @param page Optional page index alias email list pagination (optional, default to 0) + * @param size Optional page size alias email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAliasEmailsAsync(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAliasEmailsValidateBeforeCall(aliasId, page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAliasThreads + * @param aliasId (required) + * @param page Optional page index in thread list pagination (optional, default to 0) + * @param size Optional page size in thread list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAliasThreadsCall(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/aliases/{aliasId}/threads" + .replace("{" + "aliasId" + "}", localVarApiClient.escapeString(aliasId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAliasThreadsValidateBeforeCall(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'aliasId' is set + if (aliasId == null) { + throw new ApiException("Missing the required parameter 'aliasId' when calling getAliasThreads(Async)"); + } + + return getAliasThreadsCall(aliasId, page, size, sort, since, before, _callback); + + } + + /** + * Get threads created for an alias + * Returns threads created for an email alias in paginated form + * @param aliasId (required) + * @param page Optional page index in thread list pagination (optional, default to 0) + * @param size Optional page size in thread list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @return PageThreadProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageThreadProjection getAliasThreads(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAliasThreadsWithHttpInfo(aliasId, page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get threads created for an alias + * Returns threads created for an email alias in paginated form + * @param aliasId (required) + * @param page Optional page index in thread list pagination (optional, default to 0) + * @param size Optional page size in thread list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @return ApiResponse<PageThreadProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAliasThreadsWithHttpInfo(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAliasThreadsValidateBeforeCall(aliasId, page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get threads created for an alias (asynchronously) + * Returns threads created for an email alias in paginated form + * @param aliasId (required) + * @param page Optional page index in thread list pagination (optional, default to 0) + * @param size Optional page size in thread list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAliasThreadsAsync(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAliasThreadsValidateBeforeCall(aliasId, page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAliases + * @param page Optional page index in alias list pagination (optional, default to 0) + * @param size Optional page size in alias list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAliasesCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/aliases"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAliasesValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getAliasesCall(page, size, sort, since, before, _callback); + + } + + /** + * Get all email aliases you have created + * Get all email aliases in paginated form + * @param page Optional page index in alias list pagination (optional, default to 0) + * @param size Optional page size in alias list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageAlias + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageAlias getAliases(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAliasesWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get all email aliases you have created + * Get all email aliases in paginated form + * @param page Optional page index in alias list pagination (optional, default to 0) + * @param size Optional page size in alias list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageAlias> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAliasesWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAliasesValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all email aliases you have created (asynchronously) + * Get all email aliases in paginated form + * @param page Optional page index in alias list pagination (optional, default to 0) + * @param size Optional page size in alias list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAliasesAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAliasesValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for replyToAliasEmail + * @param aliasId ID of the alias that email belongs to (required) + * @param emailId ID of the email that should be replied to (required) + * @param replyToAliasEmailOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call replyToAliasEmailCall(UUID aliasId, UUID emailId, ReplyToAliasEmailOptions replyToAliasEmailOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = replyToAliasEmailOptions; + + // create path and map variables + String localVarPath = "/aliases/{aliasId}/emails/{emailId}" + .replace("{" + "aliasId" + "}", localVarApiClient.escapeString(aliasId.toString())) + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call replyToAliasEmailValidateBeforeCall(UUID aliasId, UUID emailId, ReplyToAliasEmailOptions replyToAliasEmailOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'aliasId' is set + if (aliasId == null) { + throw new ApiException("Missing the required parameter 'aliasId' when calling replyToAliasEmail(Async)"); + } + + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling replyToAliasEmail(Async)"); + } + + // verify the required parameter 'replyToAliasEmailOptions' is set + if (replyToAliasEmailOptions == null) { + throw new ApiException("Missing the required parameter 'replyToAliasEmailOptions' when calling replyToAliasEmail(Async)"); + } + + return replyToAliasEmailCall(aliasId, emailId, replyToAliasEmailOptions, _callback); + + } + + /** + * Reply to an email + * Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`. + * @param aliasId ID of the alias that email belongs to (required) + * @param emailId ID of the email that should be replied to (required) + * @param replyToAliasEmailOptions (required) + * @return SentEmailDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public SentEmailDto replyToAliasEmail(UUID aliasId, UUID emailId, ReplyToAliasEmailOptions replyToAliasEmailOptions) throws ApiException { + ApiResponse localVarResp = replyToAliasEmailWithHttpInfo(aliasId, emailId, replyToAliasEmailOptions); + return localVarResp.getData(); + } + + /** + * Reply to an email + * Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`. + * @param aliasId ID of the alias that email belongs to (required) + * @param emailId ID of the email that should be replied to (required) + * @param replyToAliasEmailOptions (required) + * @return ApiResponse<SentEmailDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse replyToAliasEmailWithHttpInfo(UUID aliasId, UUID emailId, ReplyToAliasEmailOptions replyToAliasEmailOptions) throws ApiException { + okhttp3.Call localVarCall = replyToAliasEmailValidateBeforeCall(aliasId, emailId, replyToAliasEmailOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Reply to an email (asynchronously) + * Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`. + * @param aliasId ID of the alias that email belongs to (required) + * @param emailId ID of the email that should be replied to (required) + * @param replyToAliasEmailOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call replyToAliasEmailAsync(UUID aliasId, UUID emailId, ReplyToAliasEmailOptions replyToAliasEmailOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = replyToAliasEmailValidateBeforeCall(aliasId, emailId, replyToAliasEmailOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for sendAliasEmail + * @param aliasId (required) + * @param sendEmailOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call sendAliasEmailCall(UUID aliasId, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = sendEmailOptions; + + // create path and map variables + String localVarPath = "/aliases/{aliasId}/emails" + .replace("{" + "aliasId" + "}", localVarApiClient.escapeString(aliasId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call sendAliasEmailValidateBeforeCall(UUID aliasId, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'aliasId' is set + if (aliasId == null) { + throw new ApiException("Missing the required parameter 'aliasId' when calling sendAliasEmail(Async)"); + } + + // verify the required parameter 'sendEmailOptions' is set + if (sendEmailOptions == null) { + throw new ApiException("Missing the required parameter 'sendEmailOptions' when calling sendAliasEmail(Async)"); + } + + return sendAliasEmailCall(aliasId, sendEmailOptions, _callback); + + } + + /** + * Send an email from an alias inbox + * Send an email from an alias. Replies to the email will be forwarded to the alias masked email address + * @param aliasId (required) + * @param sendEmailOptions (required) + * @return SentEmailDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public SentEmailDto sendAliasEmail(UUID aliasId, SendEmailOptions sendEmailOptions) throws ApiException { + ApiResponse localVarResp = sendAliasEmailWithHttpInfo(aliasId, sendEmailOptions); + return localVarResp.getData(); + } + + /** + * Send an email from an alias inbox + * Send an email from an alias. Replies to the email will be forwarded to the alias masked email address + * @param aliasId (required) + * @param sendEmailOptions (required) + * @return ApiResponse<SentEmailDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse sendAliasEmailWithHttpInfo(UUID aliasId, SendEmailOptions sendEmailOptions) throws ApiException { + okhttp3.Call localVarCall = sendAliasEmailValidateBeforeCall(aliasId, sendEmailOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Send an email from an alias inbox (asynchronously) + * Send an email from an alias. Replies to the email will be forwarded to the alias masked email address + * @param aliasId (required) + * @param sendEmailOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call sendAliasEmailAsync(UUID aliasId, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = sendAliasEmailValidateBeforeCall(aliasId, sendEmailOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateAlias + * @param aliasId (required) + * @param updateAliasOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
202 Accepted -
+ */ + public okhttp3.Call updateAliasCall(UUID aliasId, UpdateAliasOptions updateAliasOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updateAliasOptions; + + // create path and map variables + String localVarPath = "/aliases/{aliasId}" + .replace("{" + "aliasId" + "}", localVarApiClient.escapeString(aliasId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateAliasValidateBeforeCall(UUID aliasId, UpdateAliasOptions updateAliasOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'aliasId' is set + if (aliasId == null) { + throw new ApiException("Missing the required parameter 'aliasId' when calling updateAlias(Async)"); + } + + // verify the required parameter 'updateAliasOptions' is set + if (updateAliasOptions == null) { + throw new ApiException("Missing the required parameter 'updateAliasOptions' when calling updateAlias(Async)"); + } + + return updateAliasCall(aliasId, updateAliasOptions, _callback); + + } + + /** + * Update an email alias + * + * @param aliasId (required) + * @param updateAliasOptions (required) + * @return AliasDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
202 Accepted -
+ */ + public AliasDto updateAlias(UUID aliasId, UpdateAliasOptions updateAliasOptions) throws ApiException { + ApiResponse localVarResp = updateAliasWithHttpInfo(aliasId, updateAliasOptions); + return localVarResp.getData(); + } + + /** + * Update an email alias + * + * @param aliasId (required) + * @param updateAliasOptions (required) + * @return ApiResponse<AliasDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
202 Accepted -
+ */ + public ApiResponse updateAliasWithHttpInfo(UUID aliasId, UpdateAliasOptions updateAliasOptions) throws ApiException { + okhttp3.Call localVarCall = updateAliasValidateBeforeCall(aliasId, updateAliasOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update an email alias (asynchronously) + * + * @param aliasId (required) + * @param updateAliasOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
202 Accepted -
+ */ + public okhttp3.Call updateAliasAsync(UUID aliasId, UpdateAliasOptions updateAliasOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateAliasValidateBeforeCall(aliasId, updateAliasOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/AttachmentControllerApi.java b/src/main/java/com/mailslurp/apis/AttachmentControllerApi.java new file mode 100644 index 000000000..7f00507c1 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/AttachmentControllerApi.java @@ -0,0 +1,1366 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.AttachmentEntity; +import com.mailslurp.models.AttachmentMetaData; +import com.mailslurp.models.DownloadAttachmentDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageAttachmentEntity; +import com.mailslurp.models.UploadAttachmentBytesRequest; +import com.mailslurp.models.UploadAttachmentOptions; +import com.mailslurp.models.UploadMultipartFormRequest; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class AttachmentControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public AttachmentControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public AttachmentControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for deleteAllAttachments + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllAttachmentsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/attachments"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteAllAttachmentsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return deleteAllAttachmentsCall(_callback); + + } + + /** + * Delete all attachments + * + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteAllAttachments() throws ApiException { + deleteAllAttachmentsWithHttpInfo(); + } + + /** + * Delete all attachments + * + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteAllAttachmentsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = deleteAllAttachmentsValidateBeforeCall(null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete all attachments (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllAttachmentsAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteAllAttachmentsValidateBeforeCall(_callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for deleteAttachment + * @param attachmentId ID of attachment (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAttachmentCall(String attachmentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/attachments/{attachmentId}" + .replace("{" + "attachmentId" + "}", localVarApiClient.escapeString(attachmentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteAttachmentValidateBeforeCall(String attachmentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) { + throw new ApiException("Missing the required parameter 'attachmentId' when calling deleteAttachment(Async)"); + } + + return deleteAttachmentCall(attachmentId, _callback); + + } + + /** + * Delete an attachment + * + * @param attachmentId ID of attachment (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteAttachment(String attachmentId) throws ApiException { + deleteAttachmentWithHttpInfo(attachmentId); + } + + /** + * Delete an attachment + * + * @param attachmentId ID of attachment (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteAttachmentWithHttpInfo(String attachmentId) throws ApiException { + okhttp3.Call localVarCall = deleteAttachmentValidateBeforeCall(attachmentId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete an attachment (asynchronously) + * + * @param attachmentId ID of attachment (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAttachmentAsync(String attachmentId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteAttachmentValidateBeforeCall(attachmentId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for downloadAttachmentAsBase64Encoded + * @param attachmentId ID of attachment (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call downloadAttachmentAsBase64EncodedCall(String attachmentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/attachments/{attachmentId}/base64" + .replace("{" + "attachmentId" + "}", localVarApiClient.escapeString(attachmentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call downloadAttachmentAsBase64EncodedValidateBeforeCall(String attachmentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) { + throw new ApiException("Missing the required parameter 'attachmentId' when calling downloadAttachmentAsBase64Encoded(Async)"); + } + + return downloadAttachmentAsBase64EncodedCall(attachmentId, _callback); + + } + + /** + * Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents. + * Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses. + * @param attachmentId ID of attachment (required) + * @return DownloadAttachmentDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public DownloadAttachmentDto downloadAttachmentAsBase64Encoded(String attachmentId) throws ApiException { + ApiResponse localVarResp = downloadAttachmentAsBase64EncodedWithHttpInfo(attachmentId); + return localVarResp.getData(); + } + + /** + * Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents. + * Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses. + * @param attachmentId ID of attachment (required) + * @return ApiResponse<DownloadAttachmentDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse downloadAttachmentAsBase64EncodedWithHttpInfo(String attachmentId) throws ApiException { + okhttp3.Call localVarCall = downloadAttachmentAsBase64EncodedValidateBeforeCall(attachmentId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents. (asynchronously) + * Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses. + * @param attachmentId ID of attachment (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call downloadAttachmentAsBase64EncodedAsync(String attachmentId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = downloadAttachmentAsBase64EncodedValidateBeforeCall(attachmentId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for downloadAttachmentAsBytes + * @param attachmentId ID of attachment (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public okhttp3.Call downloadAttachmentAsBytesCall(String attachmentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/attachments/{attachmentId}/bytes" + .replace("{" + "attachmentId" + "}", localVarApiClient.escapeString(attachmentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/octet-stream" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call downloadAttachmentAsBytesValidateBeforeCall(String attachmentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) { + throw new ApiException("Missing the required parameter 'attachmentId' when calling downloadAttachmentAsBytes(Async)"); + } + + return downloadAttachmentAsBytesCall(attachmentId, _callback); + + } + + /** + * Download attachments. Get email attachment bytes. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints. + * Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream. + * @param attachmentId ID of attachment (required) + * @return byte[] + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public byte[] downloadAttachmentAsBytes(String attachmentId) throws ApiException { + ApiResponse localVarResp = downloadAttachmentAsBytesWithHttpInfo(attachmentId); + return localVarResp.getData(); + } + + /** + * Download attachments. Get email attachment bytes. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints. + * Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream. + * @param attachmentId ID of attachment (required) + * @return ApiResponse<byte[]> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public ApiResponse downloadAttachmentAsBytesWithHttpInfo(String attachmentId) throws ApiException { + okhttp3.Call localVarCall = downloadAttachmentAsBytesValidateBeforeCall(attachmentId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Download attachments. Get email attachment bytes. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints. (asynchronously) + * Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream. + * @param attachmentId ID of attachment (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public okhttp3.Call downloadAttachmentAsBytesAsync(String attachmentId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = downloadAttachmentAsBytesValidateBeforeCall(attachmentId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAttachment + * @param attachmentId ID of attachment (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAttachmentCall(String attachmentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/attachments/{attachmentId}" + .replace("{" + "attachmentId" + "}", localVarApiClient.escapeString(attachmentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAttachmentValidateBeforeCall(String attachmentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) { + throw new ApiException("Missing the required parameter 'attachmentId' when calling getAttachment(Async)"); + } + + return getAttachmentCall(attachmentId, _callback); + + } + + /** + * Get an attachment entity + * + * @param attachmentId ID of attachment (required) + * @return AttachmentEntity + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public AttachmentEntity getAttachment(String attachmentId) throws ApiException { + ApiResponse localVarResp = getAttachmentWithHttpInfo(attachmentId); + return localVarResp.getData(); + } + + /** + * Get an attachment entity + * + * @param attachmentId ID of attachment (required) + * @return ApiResponse<AttachmentEntity> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAttachmentWithHttpInfo(String attachmentId) throws ApiException { + okhttp3.Call localVarCall = getAttachmentValidateBeforeCall(attachmentId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get an attachment entity (asynchronously) + * + * @param attachmentId ID of attachment (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAttachmentAsync(String attachmentId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAttachmentValidateBeforeCall(attachmentId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAttachmentInfo + * @param attachmentId ID of attachment (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAttachmentInfoCall(String attachmentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/attachments/{attachmentId}/metadata" + .replace("{" + "attachmentId" + "}", localVarApiClient.escapeString(attachmentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAttachmentInfoValidateBeforeCall(String attachmentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) { + throw new ApiException("Missing the required parameter 'attachmentId' when calling getAttachmentInfo(Async)"); + } + + return getAttachmentInfoCall(attachmentId, _callback); + + } + + /** + * Get email attachment metadata information + * Returns the metadata for an attachment. It is saved separately to the content of the attachment. Contains properties `name` and `content-type` and `content-length` in bytes for a given attachment. + * @param attachmentId ID of attachment (required) + * @return AttachmentMetaData + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public AttachmentMetaData getAttachmentInfo(String attachmentId) throws ApiException { + ApiResponse localVarResp = getAttachmentInfoWithHttpInfo(attachmentId); + return localVarResp.getData(); + } + + /** + * Get email attachment metadata information + * Returns the metadata for an attachment. It is saved separately to the content of the attachment. Contains properties `name` and `content-type` and `content-length` in bytes for a given attachment. + * @param attachmentId ID of attachment (required) + * @return ApiResponse<AttachmentMetaData> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAttachmentInfoWithHttpInfo(String attachmentId) throws ApiException { + okhttp3.Call localVarCall = getAttachmentInfoValidateBeforeCall(attachmentId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email attachment metadata information (asynchronously) + * Returns the metadata for an attachment. It is saved separately to the content of the attachment. Contains properties `name` and `content-type` and `content-length` in bytes for a given attachment. + * @param attachmentId ID of attachment (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAttachmentInfoAsync(String attachmentId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAttachmentInfoValidateBeforeCall(attachmentId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAttachments + * @param page Optional page index for list pagination (optional, default to 0) + * @param size Optional page size for list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param fileNameFilter Optional file name and content type search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAttachmentsCall(Integer page, Integer size, String sort, String fileNameFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/attachments"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (fileNameFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fileNameFilter", fileNameFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAttachmentsValidateBeforeCall(Integer page, Integer size, String sort, String fileNameFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getAttachmentsCall(page, size, sort, fileNameFilter, since, before, _callback); + + } + + /** + * Get email attachments + * Get all attachments in paginated response. Each entity contains meta data for the attachment such as `name` and `content-type`. Use the `attachmentId` and the download endpoints to get the file contents. + * @param page Optional page index for list pagination (optional, default to 0) + * @param size Optional page size for list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param fileNameFilter Optional file name and content type search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageAttachmentEntity + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageAttachmentEntity getAttachments(Integer page, Integer size, String sort, String fileNameFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAttachmentsWithHttpInfo(page, size, sort, fileNameFilter, since, before); + return localVarResp.getData(); + } + + /** + * Get email attachments + * Get all attachments in paginated response. Each entity contains meta data for the attachment such as `name` and `content-type`. Use the `attachmentId` and the download endpoints to get the file contents. + * @param page Optional page index for list pagination (optional, default to 0) + * @param size Optional page size for list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param fileNameFilter Optional file name and content type search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageAttachmentEntity> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAttachmentsWithHttpInfo(Integer page, Integer size, String sort, String fileNameFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAttachmentsValidateBeforeCall(page, size, sort, fileNameFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email attachments (asynchronously) + * Get all attachments in paginated response. Each entity contains meta data for the attachment such as `name` and `content-type`. Use the `attachmentId` and the download endpoints to get the file contents. + * @param page Optional page index for list pagination (optional, default to 0) + * @param size Optional page size for list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param fileNameFilter Optional file name and content type search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAttachmentsAsync(Integer page, Integer size, String sort, String fileNameFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAttachmentsValidateBeforeCall(page, size, sort, fileNameFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for uploadAttachment + * @param uploadAttachmentOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call uploadAttachmentCall(UploadAttachmentOptions uploadAttachmentOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = uploadAttachmentOptions; + + // create path and map variables + String localVarPath = "/attachments"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call uploadAttachmentValidateBeforeCall(UploadAttachmentOptions uploadAttachmentOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'uploadAttachmentOptions' is set + if (uploadAttachmentOptions == null) { + throw new ApiException("Missing the required parameter 'uploadAttachmentOptions' when calling uploadAttachment(Async)"); + } + + return uploadAttachmentCall(uploadAttachmentOptions, _callback); + + } + + /** + * Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment. + * + * @param uploadAttachmentOptions (required) + * @return List<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public List uploadAttachment(UploadAttachmentOptions uploadAttachmentOptions) throws ApiException { + ApiResponse> localVarResp = uploadAttachmentWithHttpInfo(uploadAttachmentOptions); + return localVarResp.getData(); + } + + /** + * Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment. + * + * @param uploadAttachmentOptions (required) + * @return ApiResponse<List<String>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse> uploadAttachmentWithHttpInfo(UploadAttachmentOptions uploadAttachmentOptions) throws ApiException { + okhttp3.Call localVarCall = uploadAttachmentValidateBeforeCall(uploadAttachmentOptions, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment. (asynchronously) + * + * @param uploadAttachmentOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call uploadAttachmentAsync(UploadAttachmentOptions uploadAttachmentOptions, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = uploadAttachmentValidateBeforeCall(uploadAttachmentOptions, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for uploadAttachmentBytes + * @param uploadAttachmentBytesRequest (required) + * @param contentType Optional contentType for file. For instance `application/pdf` (optional) + * @param filename Optional filename to save upload with (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call uploadAttachmentBytesCall(UploadAttachmentBytesRequest uploadAttachmentBytesRequest, String contentType, String filename, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = uploadAttachmentBytesRequest; + + // create path and map variables + String localVarPath = "/attachments/bytes"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (filename != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("filename", filename)); + } + + if (contentType != null) { + localVarHeaderParams.put("contentType", localVarApiClient.parameterToString(contentType)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/octet-stream" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call uploadAttachmentBytesValidateBeforeCall(UploadAttachmentBytesRequest uploadAttachmentBytesRequest, String contentType, String filename, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'uploadAttachmentBytesRequest' is set + if (uploadAttachmentBytesRequest == null) { + throw new ApiException("Missing the required parameter 'uploadAttachmentBytesRequest' when calling uploadAttachmentBytes(Async)"); + } + + return uploadAttachmentBytesCall(uploadAttachmentBytesRequest, contentType, filename, _callback); + + } + + /** + * Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment. + * + * @param uploadAttachmentBytesRequest (required) + * @param contentType Optional contentType for file. For instance `application/pdf` (optional) + * @param filename Optional filename to save upload with (optional) + * @return List<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public List uploadAttachmentBytes(UploadAttachmentBytesRequest uploadAttachmentBytesRequest, String contentType, String filename) throws ApiException { + ApiResponse> localVarResp = uploadAttachmentBytesWithHttpInfo(uploadAttachmentBytesRequest, contentType, filename); + return localVarResp.getData(); + } + + /** + * Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment. + * + * @param uploadAttachmentBytesRequest (required) + * @param contentType Optional contentType for file. For instance `application/pdf` (optional) + * @param filename Optional filename to save upload with (optional) + * @return ApiResponse<List<String>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse> uploadAttachmentBytesWithHttpInfo(UploadAttachmentBytesRequest uploadAttachmentBytesRequest, String contentType, String filename) throws ApiException { + okhttp3.Call localVarCall = uploadAttachmentBytesValidateBeforeCall(uploadAttachmentBytesRequest, contentType, filename, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment. (asynchronously) + * + * @param uploadAttachmentBytesRequest (required) + * @param contentType Optional contentType for file. For instance `application/pdf` (optional) + * @param filename Optional filename to save upload with (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call uploadAttachmentBytesAsync(UploadAttachmentBytesRequest uploadAttachmentBytesRequest, String contentType, String filename, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = uploadAttachmentBytesValidateBeforeCall(uploadAttachmentBytesRequest, contentType, filename, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for uploadMultipartForm + * @param contentType Optional content type of attachment (optional) + * @param filename Optional name of file (optional) + * @param xFilename Optional content type header of attachment (optional) + * @param uploadMultipartFormRequest (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call uploadMultipartFormCall(String contentType, String filename, String xFilename, UploadMultipartFormRequest uploadMultipartFormRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = uploadMultipartFormRequest; + + // create path and map variables + String localVarPath = "/attachments/multipart"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (contentType != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("contentType", contentType)); + } + + if (filename != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("filename", filename)); + } + + if (xFilename != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("x-filename", xFilename)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call uploadMultipartFormValidateBeforeCall(String contentType, String filename, String xFilename, UploadMultipartFormRequest uploadMultipartFormRequest, final ApiCallback _callback) throws ApiException { + return uploadMultipartFormCall(contentType, filename, xFilename, uploadMultipartFormRequest, _callback); + + } + + /** + * Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment. + * + * @param contentType Optional content type of attachment (optional) + * @param filename Optional name of file (optional) + * @param xFilename Optional content type header of attachment (optional) + * @param uploadMultipartFormRequest (optional) + * @return List<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public List uploadMultipartForm(String contentType, String filename, String xFilename, UploadMultipartFormRequest uploadMultipartFormRequest) throws ApiException { + ApiResponse> localVarResp = uploadMultipartFormWithHttpInfo(contentType, filename, xFilename, uploadMultipartFormRequest); + return localVarResp.getData(); + } + + /** + * Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment. + * + * @param contentType Optional content type of attachment (optional) + * @param filename Optional name of file (optional) + * @param xFilename Optional content type header of attachment (optional) + * @param uploadMultipartFormRequest (optional) + * @return ApiResponse<List<String>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse> uploadMultipartFormWithHttpInfo(String contentType, String filename, String xFilename, UploadMultipartFormRequest uploadMultipartFormRequest) throws ApiException { + okhttp3.Call localVarCall = uploadMultipartFormValidateBeforeCall(contentType, filename, xFilename, uploadMultipartFormRequest, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment. (asynchronously) + * + * @param contentType Optional content type of attachment (optional) + * @param filename Optional name of file (optional) + * @param xFilename Optional content type header of attachment (optional) + * @param uploadMultipartFormRequest (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call uploadMultipartFormAsync(String contentType, String filename, String xFilename, UploadMultipartFormRequest uploadMultipartFormRequest, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = uploadMultipartFormValidateBeforeCall(contentType, filename, xFilename, uploadMultipartFormRequest, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/BounceControllerApi.java b/src/main/java/com/mailslurp/apis/BounceControllerApi.java new file mode 100644 index 000000000..f84bd1205 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/BounceControllerApi.java @@ -0,0 +1,1058 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.BouncedEmailDto; +import com.mailslurp.models.BouncedRecipientDto; +import com.mailslurp.models.FilterBouncedRecipientsOptions; +import com.mailslurp.models.FilterBouncedRecipientsResult; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageBouncedEmail; +import com.mailslurp.models.PageBouncedRecipients; +import com.mailslurp.models.PageComplaint; +import com.mailslurp.models.PageListUnsubscribeRecipients; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class BounceControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public BounceControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public BounceControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for filterBouncedRecipient + * @param filterBouncedRecipientsOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call filterBouncedRecipientCall(FilterBouncedRecipientsOptions filterBouncedRecipientsOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = filterBouncedRecipientsOptions; + + // create path and map variables + String localVarPath = "/bounce/filter-recipients"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call filterBouncedRecipientValidateBeforeCall(FilterBouncedRecipientsOptions filterBouncedRecipientsOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'filterBouncedRecipientsOptions' is set + if (filterBouncedRecipientsOptions == null) { + throw new ApiException("Missing the required parameter 'filterBouncedRecipientsOptions' when calling filterBouncedRecipient(Async)"); + } + + return filterBouncedRecipientCall(filterBouncedRecipientsOptions, _callback); + + } + + /** + * Filter a list of email recipients and remove those who have bounced + * Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints + * @param filterBouncedRecipientsOptions (required) + * @return FilterBouncedRecipientsResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public FilterBouncedRecipientsResult filterBouncedRecipient(FilterBouncedRecipientsOptions filterBouncedRecipientsOptions) throws ApiException { + ApiResponse localVarResp = filterBouncedRecipientWithHttpInfo(filterBouncedRecipientsOptions); + return localVarResp.getData(); + } + + /** + * Filter a list of email recipients and remove those who have bounced + * Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints + * @param filterBouncedRecipientsOptions (required) + * @return ApiResponse<FilterBouncedRecipientsResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse filterBouncedRecipientWithHttpInfo(FilterBouncedRecipientsOptions filterBouncedRecipientsOptions) throws ApiException { + okhttp3.Call localVarCall = filterBouncedRecipientValidateBeforeCall(filterBouncedRecipientsOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Filter a list of email recipients and remove those who have bounced (asynchronously) + * Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints + * @param filterBouncedRecipientsOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call filterBouncedRecipientAsync(FilterBouncedRecipientsOptions filterBouncedRecipientsOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = filterBouncedRecipientValidateBeforeCall(filterBouncedRecipientsOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getBouncedEmail + * @param id ID of the bounced email to fetch (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getBouncedEmailCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/bounce/emails/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getBouncedEmailValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getBouncedEmail(Async)"); + } + + return getBouncedEmailCall(id, _callback); + + } + + /** + * Get a bounced email. + * Bounced emails are email you have sent that were rejected by a recipient + * @param id ID of the bounced email to fetch (required) + * @return BouncedEmailDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public BouncedEmailDto getBouncedEmail(UUID id) throws ApiException { + ApiResponse localVarResp = getBouncedEmailWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get a bounced email. + * Bounced emails are email you have sent that were rejected by a recipient + * @param id ID of the bounced email to fetch (required) + * @return ApiResponse<BouncedEmailDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getBouncedEmailWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getBouncedEmailValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a bounced email. (asynchronously) + * Bounced emails are email you have sent that were rejected by a recipient + * @param id ID of the bounced email to fetch (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getBouncedEmailAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getBouncedEmailValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getBouncedEmails + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getBouncedEmailsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/bounce/emails"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getBouncedEmailsValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getBouncedEmailsCall(page, size, sort, since, before, _callback); + + } + + /** + * Get paginated list of bounced emails. + * Bounced emails are email you have sent that were rejected by a recipient + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageBouncedEmail + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageBouncedEmail getBouncedEmails(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getBouncedEmailsWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get paginated list of bounced emails. + * Bounced emails are email you have sent that were rejected by a recipient + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageBouncedEmail> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getBouncedEmailsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getBouncedEmailsValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get paginated list of bounced emails. (asynchronously) + * Bounced emails are email you have sent that were rejected by a recipient + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getBouncedEmailsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getBouncedEmailsValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getBouncedRecipient + * @param id ID of the bounced recipient (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getBouncedRecipientCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/bounce/recipients/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getBouncedRecipientValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getBouncedRecipient(Async)"); + } + + return getBouncedRecipientCall(id, _callback); + + } + + /** + * Get a bounced email. + * Bounced emails are email you have sent that were rejected by a recipient + * @param id ID of the bounced recipient (required) + * @return BouncedRecipientDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public BouncedRecipientDto getBouncedRecipient(UUID id) throws ApiException { + ApiResponse localVarResp = getBouncedRecipientWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get a bounced email. + * Bounced emails are email you have sent that were rejected by a recipient + * @param id ID of the bounced recipient (required) + * @return ApiResponse<BouncedRecipientDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getBouncedRecipientWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getBouncedRecipientValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a bounced email. (asynchronously) + * Bounced emails are email you have sent that were rejected by a recipient + * @param id ID of the bounced recipient (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getBouncedRecipientAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getBouncedRecipientValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getBouncedRecipients + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getBouncedRecipientsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/bounce/recipients"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getBouncedRecipientsValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getBouncedRecipientsCall(page, size, sort, since, before, _callback); + + } + + /** + * Get paginated list of bounced recipients. + * Bounced recipients are email addresses that you have sent emails to that did not accept the sent email. Once a recipient is bounced you cannot send emails to that address. + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageBouncedRecipients + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageBouncedRecipients getBouncedRecipients(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getBouncedRecipientsWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get paginated list of bounced recipients. + * Bounced recipients are email addresses that you have sent emails to that did not accept the sent email. Once a recipient is bounced you cannot send emails to that address. + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageBouncedRecipients> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getBouncedRecipientsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getBouncedRecipientsValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get paginated list of bounced recipients. (asynchronously) + * Bounced recipients are email addresses that you have sent emails to that did not accept the sent email. Once a recipient is bounced you cannot send emails to that address. + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getBouncedRecipientsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getBouncedRecipientsValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getComplaints + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getComplaintsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/bounce/complaints"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getComplaintsValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getComplaintsCall(page, size, sort, since, before, _callback); + + } + + /** + * Get paginated list of complaints. + * SMTP complaints made against your account + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageComplaint + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageComplaint getComplaints(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getComplaintsWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get paginated list of complaints. + * SMTP complaints made against your account + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageComplaint> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getComplaintsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getComplaintsValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get paginated list of complaints. (asynchronously) + * SMTP complaints made against your account + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getComplaintsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getComplaintsValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getListUnsubscribeRecipients + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param domainId Filter by domainId (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getListUnsubscribeRecipientsCall(Integer page, Integer size, String sort, UUID domainId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/bounce/list-unsubscribe-recipients"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (domainId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("domainId", domainId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getListUnsubscribeRecipientsValidateBeforeCall(Integer page, Integer size, String sort, UUID domainId, final ApiCallback _callback) throws ApiException { + return getListUnsubscribeRecipientsCall(page, size, sort, domainId, _callback); + + } + + /** + * Get paginated list of unsubscribed recipients. + * Unsubscribed recipient have unsubscribed from a mailing list for a user or domain and cannot be contacted again. + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param domainId Filter by domainId (optional) + * @return PageListUnsubscribeRecipients + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageListUnsubscribeRecipients getListUnsubscribeRecipients(Integer page, Integer size, String sort, UUID domainId) throws ApiException { + ApiResponse localVarResp = getListUnsubscribeRecipientsWithHttpInfo(page, size, sort, domainId); + return localVarResp.getData(); + } + + /** + * Get paginated list of unsubscribed recipients. + * Unsubscribed recipient have unsubscribed from a mailing list for a user or domain and cannot be contacted again. + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param domainId Filter by domainId (optional) + * @return ApiResponse<PageListUnsubscribeRecipients> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getListUnsubscribeRecipientsWithHttpInfo(Integer page, Integer size, String sort, UUID domainId) throws ApiException { + okhttp3.Call localVarCall = getListUnsubscribeRecipientsValidateBeforeCall(page, size, sort, domainId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get paginated list of unsubscribed recipients. (asynchronously) + * Unsubscribed recipient have unsubscribed from a mailing list for a user or domain and cannot be contacted again. + * @param page Optional page index (optional, default to 0) + * @param size Optional page size (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param domainId Filter by domainId (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getListUnsubscribeRecipientsAsync(Integer page, Integer size, String sort, UUID domainId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getListUnsubscribeRecipientsValidateBeforeCall(page, size, sort, domainId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/BulkActionsControllerApi.java b/src/main/java/com/mailslurp/apis/BulkActionsControllerApi.java new file mode 100644 index 000000000..e7a2a05a4 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/BulkActionsControllerApi.java @@ -0,0 +1,440 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.BulkSendEmailOptions; +import com.mailslurp.models.InboxDto; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class BulkActionsControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public BulkActionsControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public BulkActionsControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for bulkCreateInboxes + * @param count Number of inboxes to be created in bulk (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call bulkCreateInboxesCall(Integer count, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/bulk/inboxes"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (count != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("count", count)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call bulkCreateInboxesValidateBeforeCall(Integer count, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'count' is set + if (count == null) { + throw new ApiException("Missing the required parameter 'count' when calling bulkCreateInboxes(Async)"); + } + + return bulkCreateInboxesCall(count, _callback); + + } + + /** + * Bulk create Inboxes (email addresses) + * + * @param count Number of inboxes to be created in bulk (required) + * @return List<InboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public List bulkCreateInboxes(Integer count) throws ApiException { + ApiResponse> localVarResp = bulkCreateInboxesWithHttpInfo(count); + return localVarResp.getData(); + } + + /** + * Bulk create Inboxes (email addresses) + * + * @param count Number of inboxes to be created in bulk (required) + * @return ApiResponse<List<InboxDto>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse> bulkCreateInboxesWithHttpInfo(Integer count) throws ApiException { + okhttp3.Call localVarCall = bulkCreateInboxesValidateBeforeCall(count, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Bulk create Inboxes (email addresses) (asynchronously) + * + * @param count Number of inboxes to be created in bulk (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call bulkCreateInboxesAsync(Integer count, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = bulkCreateInboxesValidateBeforeCall(count, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for bulkDeleteInboxes + * @param UUID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call bulkDeleteInboxesCall(List UUID, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = UUID; + + // create path and map variables + String localVarPath = "/bulk/inboxes"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call bulkDeleteInboxesValidateBeforeCall(List UUID, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'UUID' is set + if (UUID == null) { + throw new ApiException("Missing the required parameter 'UUID' when calling bulkDeleteInboxes(Async)"); + } + + return bulkDeleteInboxesCall(UUID, _callback); + + } + + /** + * Bulk Delete Inboxes + * + * @param UUID (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void bulkDeleteInboxes(List UUID) throws ApiException { + bulkDeleteInboxesWithHttpInfo(UUID); + } + + /** + * Bulk Delete Inboxes + * + * @param UUID (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse bulkDeleteInboxesWithHttpInfo(List UUID) throws ApiException { + okhttp3.Call localVarCall = bulkDeleteInboxesValidateBeforeCall(UUID, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Bulk Delete Inboxes (asynchronously) + * + * @param UUID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call bulkDeleteInboxesAsync(List UUID, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = bulkDeleteInboxesValidateBeforeCall(UUID, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for bulkSendEmails + * @param bulkSendEmailOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call bulkSendEmailsCall(BulkSendEmailOptions bulkSendEmailOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = bulkSendEmailOptions; + + // create path and map variables + String localVarPath = "/bulk/send"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call bulkSendEmailsValidateBeforeCall(BulkSendEmailOptions bulkSendEmailOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'bulkSendEmailOptions' is set + if (bulkSendEmailOptions == null) { + throw new ApiException("Missing the required parameter 'bulkSendEmailOptions' when calling bulkSendEmails(Async)"); + } + + return bulkSendEmailsCall(bulkSendEmailOptions, _callback); + + } + + /** + * Bulk Send Emails + * + * @param bulkSendEmailOptions (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public void bulkSendEmails(BulkSendEmailOptions bulkSendEmailOptions) throws ApiException { + bulkSendEmailsWithHttpInfo(bulkSendEmailOptions); + } + + /** + * Bulk Send Emails + * + * @param bulkSendEmailOptions (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse bulkSendEmailsWithHttpInfo(BulkSendEmailOptions bulkSendEmailOptions) throws ApiException { + okhttp3.Call localVarCall = bulkSendEmailsValidateBeforeCall(bulkSendEmailOptions, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Bulk Send Emails (asynchronously) + * + * @param bulkSendEmailOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call bulkSendEmailsAsync(BulkSendEmailOptions bulkSendEmailOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = bulkSendEmailsValidateBeforeCall(bulkSendEmailOptions, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/CommonActionsControllerApi.java b/src/main/java/com/mailslurp/apis/CommonActionsControllerApi.java new file mode 100644 index 000000000..e777a61c5 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/CommonActionsControllerApi.java @@ -0,0 +1,889 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.InboxDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.SimpleSendEmailOptions; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class CommonActionsControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public CommonActionsControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public CommonActionsControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createNewEmailAddress + * @param allowTeamAccess (optional) + * @param useDomainPool (optional) + * @param expiresAt (optional) + * @param expiresIn (optional) + * @param emailAddress (optional) + * @param inboxType (optional) + * @param description (optional) + * @param name (optional) + * @param tags (optional) + * @param favourite (optional) + * @param virtualInbox (optional) + * @param useShortAddress (optional) + * @param domainName (optional) + * @param domainId (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createNewEmailAddressCall(Boolean allowTeamAccess, Boolean useDomainPool, OffsetDateTime expiresAt, Long expiresIn, String emailAddress, String inboxType, String description, String name, List tags, Boolean favourite, Boolean virtualInbox, Boolean useShortAddress, String domainName, UUID domainId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/newEmailAddress"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (allowTeamAccess != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowTeamAccess", allowTeamAccess)); + } + + if (useDomainPool != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("useDomainPool", useDomainPool)); + } + + if (expiresAt != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("expiresAt", expiresAt)); + } + + if (expiresIn != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("expiresIn", expiresIn)); + } + + if (emailAddress != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("emailAddress", emailAddress)); + } + + if (inboxType != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxType", inboxType)); + } + + if (description != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("description", description)); + } + + if (name != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("name", name)); + } + + if (tags != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "tags", tags)); + } + + if (favourite != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("favourite", favourite)); + } + + if (virtualInbox != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("virtualInbox", virtualInbox)); + } + + if (useShortAddress != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("useShortAddress", useShortAddress)); + } + + if (domainName != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("domainName", domainName)); + } + + if (domainId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("domainId", domainId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createNewEmailAddressValidateBeforeCall(Boolean allowTeamAccess, Boolean useDomainPool, OffsetDateTime expiresAt, Long expiresIn, String emailAddress, String inboxType, String description, String name, List tags, Boolean favourite, Boolean virtualInbox, Boolean useShortAddress, String domainName, UUID domainId, final ApiCallback _callback) throws ApiException { + return createNewEmailAddressCall(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId, _callback); + + } + + /** + * Create new random inbox + * Returns an Inbox with an `id` and an `emailAddress` + * @param allowTeamAccess (optional) + * @param useDomainPool (optional) + * @param expiresAt (optional) + * @param expiresIn (optional) + * @param emailAddress (optional) + * @param inboxType (optional) + * @param description (optional) + * @param name (optional) + * @param tags (optional) + * @param favourite (optional) + * @param virtualInbox (optional) + * @param useShortAddress (optional) + * @param domainName (optional) + * @param domainId (optional) + * @return InboxDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public InboxDto createNewEmailAddress(Boolean allowTeamAccess, Boolean useDomainPool, OffsetDateTime expiresAt, Long expiresIn, String emailAddress, String inboxType, String description, String name, List tags, Boolean favourite, Boolean virtualInbox, Boolean useShortAddress, String domainName, UUID domainId) throws ApiException { + ApiResponse localVarResp = createNewEmailAddressWithHttpInfo(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId); + return localVarResp.getData(); + } + + /** + * Create new random inbox + * Returns an Inbox with an `id` and an `emailAddress` + * @param allowTeamAccess (optional) + * @param useDomainPool (optional) + * @param expiresAt (optional) + * @param expiresIn (optional) + * @param emailAddress (optional) + * @param inboxType (optional) + * @param description (optional) + * @param name (optional) + * @param tags (optional) + * @param favourite (optional) + * @param virtualInbox (optional) + * @param useShortAddress (optional) + * @param domainName (optional) + * @param domainId (optional) + * @return ApiResponse<InboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createNewEmailAddressWithHttpInfo(Boolean allowTeamAccess, Boolean useDomainPool, OffsetDateTime expiresAt, Long expiresIn, String emailAddress, String inboxType, String description, String name, List tags, Boolean favourite, Boolean virtualInbox, Boolean useShortAddress, String domainName, UUID domainId) throws ApiException { + okhttp3.Call localVarCall = createNewEmailAddressValidateBeforeCall(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create new random inbox (asynchronously) + * Returns an Inbox with an `id` and an `emailAddress` + * @param allowTeamAccess (optional) + * @param useDomainPool (optional) + * @param expiresAt (optional) + * @param expiresIn (optional) + * @param emailAddress (optional) + * @param inboxType (optional) + * @param description (optional) + * @param name (optional) + * @param tags (optional) + * @param favourite (optional) + * @param virtualInbox (optional) + * @param useShortAddress (optional) + * @param domainName (optional) + * @param domainId (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createNewEmailAddressAsync(Boolean allowTeamAccess, Boolean useDomainPool, OffsetDateTime expiresAt, Long expiresIn, String emailAddress, String inboxType, String description, String name, List tags, Boolean favourite, Boolean virtualInbox, Boolean useShortAddress, String domainName, UUID domainId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createNewEmailAddressValidateBeforeCall(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createRandomInbox + * @param allowTeamAccess (optional) + * @param useDomainPool (optional) + * @param expiresAt (optional) + * @param expiresIn (optional) + * @param emailAddress (optional) + * @param inboxType (optional) + * @param description (optional) + * @param name (optional) + * @param tags (optional) + * @param favourite (optional) + * @param virtualInbox (optional) + * @param useShortAddress (optional) + * @param domainName (optional) + * @param domainId (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createRandomInboxCall(Boolean allowTeamAccess, Boolean useDomainPool, OffsetDateTime expiresAt, Long expiresIn, String emailAddress, String inboxType, String description, String name, List tags, Boolean favourite, Boolean virtualInbox, Boolean useShortAddress, String domainName, UUID domainId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/createInbox"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (allowTeamAccess != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowTeamAccess", allowTeamAccess)); + } + + if (useDomainPool != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("useDomainPool", useDomainPool)); + } + + if (expiresAt != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("expiresAt", expiresAt)); + } + + if (expiresIn != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("expiresIn", expiresIn)); + } + + if (emailAddress != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("emailAddress", emailAddress)); + } + + if (inboxType != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxType", inboxType)); + } + + if (description != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("description", description)); + } + + if (name != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("name", name)); + } + + if (tags != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "tags", tags)); + } + + if (favourite != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("favourite", favourite)); + } + + if (virtualInbox != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("virtualInbox", virtualInbox)); + } + + if (useShortAddress != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("useShortAddress", useShortAddress)); + } + + if (domainName != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("domainName", domainName)); + } + + if (domainId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("domainId", domainId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createRandomInboxValidateBeforeCall(Boolean allowTeamAccess, Boolean useDomainPool, OffsetDateTime expiresAt, Long expiresIn, String emailAddress, String inboxType, String description, String name, List tags, Boolean favourite, Boolean virtualInbox, Boolean useShortAddress, String domainName, UUID domainId, final ApiCallback _callback) throws ApiException { + return createRandomInboxCall(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId, _callback); + + } + + /** + * Create new random inbox + * Returns an Inbox with an `id` and an `emailAddress` + * @param allowTeamAccess (optional) + * @param useDomainPool (optional) + * @param expiresAt (optional) + * @param expiresIn (optional) + * @param emailAddress (optional) + * @param inboxType (optional) + * @param description (optional) + * @param name (optional) + * @param tags (optional) + * @param favourite (optional) + * @param virtualInbox (optional) + * @param useShortAddress (optional) + * @param domainName (optional) + * @param domainId (optional) + * @return InboxDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public InboxDto createRandomInbox(Boolean allowTeamAccess, Boolean useDomainPool, OffsetDateTime expiresAt, Long expiresIn, String emailAddress, String inboxType, String description, String name, List tags, Boolean favourite, Boolean virtualInbox, Boolean useShortAddress, String domainName, UUID domainId) throws ApiException { + ApiResponse localVarResp = createRandomInboxWithHttpInfo(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId); + return localVarResp.getData(); + } + + /** + * Create new random inbox + * Returns an Inbox with an `id` and an `emailAddress` + * @param allowTeamAccess (optional) + * @param useDomainPool (optional) + * @param expiresAt (optional) + * @param expiresIn (optional) + * @param emailAddress (optional) + * @param inboxType (optional) + * @param description (optional) + * @param name (optional) + * @param tags (optional) + * @param favourite (optional) + * @param virtualInbox (optional) + * @param useShortAddress (optional) + * @param domainName (optional) + * @param domainId (optional) + * @return ApiResponse<InboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createRandomInboxWithHttpInfo(Boolean allowTeamAccess, Boolean useDomainPool, OffsetDateTime expiresAt, Long expiresIn, String emailAddress, String inboxType, String description, String name, List tags, Boolean favourite, Boolean virtualInbox, Boolean useShortAddress, String domainName, UUID domainId) throws ApiException { + okhttp3.Call localVarCall = createRandomInboxValidateBeforeCall(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create new random inbox (asynchronously) + * Returns an Inbox with an `id` and an `emailAddress` + * @param allowTeamAccess (optional) + * @param useDomainPool (optional) + * @param expiresAt (optional) + * @param expiresIn (optional) + * @param emailAddress (optional) + * @param inboxType (optional) + * @param description (optional) + * @param name (optional) + * @param tags (optional) + * @param favourite (optional) + * @param virtualInbox (optional) + * @param useShortAddress (optional) + * @param domainName (optional) + * @param domainId (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createRandomInboxAsync(Boolean allowTeamAccess, Boolean useDomainPool, OffsetDateTime expiresAt, Long expiresIn, String emailAddress, String inboxType, String description, String name, List tags, Boolean favourite, Boolean virtualInbox, Boolean useShortAddress, String domainName, UUID domainId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createRandomInboxValidateBeforeCall(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteEmailAddress + * @param inboxId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteEmailAddressCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/deleteEmailAddress"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteEmailAddressValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling deleteEmailAddress(Async)"); + } + + return deleteEmailAddressCall(inboxId, _callback); + + } + + /** + * Delete inbox email address by inbox id + * Deletes inbox email address + * @param inboxId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteEmailAddress(UUID inboxId) throws ApiException { + deleteEmailAddressWithHttpInfo(inboxId); + } + + /** + * Delete inbox email address by inbox id + * Deletes inbox email address + * @param inboxId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteEmailAddressWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = deleteEmailAddressValidateBeforeCall(inboxId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete inbox email address by inbox id (asynchronously) + * Deletes inbox email address + * @param inboxId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteEmailAddressAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteEmailAddressValidateBeforeCall(inboxId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for emptyInbox + * @param inboxId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call emptyInboxCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emptyInbox"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call emptyInboxValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling emptyInbox(Async)"); + } + + return emptyInboxCall(inboxId, _callback); + + } + + /** + * Delete all emails in an inbox + * Deletes all emails + * @param inboxId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void emptyInbox(UUID inboxId) throws ApiException { + emptyInboxWithHttpInfo(inboxId); + } + + /** + * Delete all emails in an inbox + * Deletes all emails + * @param inboxId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse emptyInboxWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = emptyInboxValidateBeforeCall(inboxId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete all emails in an inbox (asynchronously) + * Deletes all emails + * @param inboxId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call emptyInboxAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = emptyInboxValidateBeforeCall(inboxId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for sendEmailSimple + * @param simpleSendEmailOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendEmailSimpleCall(SimpleSendEmailOptions simpleSendEmailOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = simpleSendEmailOptions; + + // create path and map variables + String localVarPath = "/sendEmail"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call sendEmailSimpleValidateBeforeCall(SimpleSendEmailOptions simpleSendEmailOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'simpleSendEmailOptions' is set + if (simpleSendEmailOptions == null) { + throw new ApiException("Missing the required parameter 'simpleSendEmailOptions' when calling sendEmailSimple(Async)"); + } + + return sendEmailSimpleCall(simpleSendEmailOptions, _callback); + + } + + /** + * Send an email + * If no senderId or inboxId provided a random email address will be used to send from. + * @param simpleSendEmailOptions (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public void sendEmailSimple(SimpleSendEmailOptions simpleSendEmailOptions) throws ApiException { + sendEmailSimpleWithHttpInfo(simpleSendEmailOptions); + } + + /** + * Send an email + * If no senderId or inboxId provided a random email address will be used to send from. + * @param simpleSendEmailOptions (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse sendEmailSimpleWithHttpInfo(SimpleSendEmailOptions simpleSendEmailOptions) throws ApiException { + okhttp3.Call localVarCall = sendEmailSimpleValidateBeforeCall(simpleSendEmailOptions, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Send an email (asynchronously) + * If no senderId or inboxId provided a random email address will be used to send from. + * @param simpleSendEmailOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendEmailSimpleAsync(SimpleSendEmailOptions simpleSendEmailOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = sendEmailSimpleValidateBeforeCall(simpleSendEmailOptions, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/ConnectorControllerApi.java b/src/main/java/com/mailslurp/apis/ConnectorControllerApi.java new file mode 100644 index 000000000..8b6ce428f --- /dev/null +++ b/src/main/java/com/mailslurp/apis/ConnectorControllerApi.java @@ -0,0 +1,1295 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.ConnectorDto; +import com.mailslurp.models.ConnectorSyncEventDto; +import com.mailslurp.models.ConnectorSyncRequestResult; +import com.mailslurp.models.CreateConnectorOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageConnector; +import com.mailslurp.models.PageConnectorSyncEvents; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class ConnectorControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public ConnectorControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public ConnectorControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createConnector + * @param createConnectorOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createConnectorCall(CreateConnectorOptions createConnectorOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createConnectorOptions; + + // create path and map variables + String localVarPath = "/connectors"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createConnectorValidateBeforeCall(CreateConnectorOptions createConnectorOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createConnectorOptions' is set + if (createConnectorOptions == null) { + throw new ApiException("Missing the required parameter 'createConnectorOptions' when calling createConnector(Async)"); + } + + return createConnectorCall(createConnectorOptions, _callback); + + } + + /** + * Create an inbox connector + * Sync emails between external mailboxes and MailSlurp inboxes + * @param createConnectorOptions (required) + * @return ConnectorDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ConnectorDto createConnector(CreateConnectorOptions createConnectorOptions) throws ApiException { + ApiResponse localVarResp = createConnectorWithHttpInfo(createConnectorOptions); + return localVarResp.getData(); + } + + /** + * Create an inbox connector + * Sync emails between external mailboxes and MailSlurp inboxes + * @param createConnectorOptions (required) + * @return ApiResponse<ConnectorDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createConnectorWithHttpInfo(CreateConnectorOptions createConnectorOptions) throws ApiException { + okhttp3.Call localVarCall = createConnectorValidateBeforeCall(createConnectorOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create an inbox connector (asynchronously) + * Sync emails between external mailboxes and MailSlurp inboxes + * @param createConnectorOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createConnectorAsync(CreateConnectorOptions createConnectorOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createConnectorValidateBeforeCall(createConnectorOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteConnector + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteConnectorCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/connectors/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteConnectorValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling deleteConnector(Async)"); + } + + return deleteConnectorCall(id, _callback); + + } + + /** + * Delete an inbox connector + * + * @param id (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteConnector(UUID id) throws ApiException { + deleteConnectorWithHttpInfo(id); + } + + /** + * Delete an inbox connector + * + * @param id (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteConnectorWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = deleteConnectorValidateBeforeCall(id, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete an inbox connector (asynchronously) + * + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteConnectorAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteConnectorValidateBeforeCall(id, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getAllConnectorSyncEvents + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllConnectorSyncEventsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/connectors/events"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllConnectorSyncEventsValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getAllConnectorSyncEventsCall(page, size, sort, since, before, _callback); + + } + + /** + * Get all inbox connector sync events + * + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageConnectorSyncEvents + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageConnectorSyncEvents getAllConnectorSyncEvents(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAllConnectorSyncEventsWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get all inbox connector sync events + * + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageConnectorSyncEvents> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllConnectorSyncEventsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAllConnectorSyncEventsValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all inbox connector sync events (asynchronously) + * + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllConnectorSyncEventsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllConnectorSyncEventsValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getConnector + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getConnectorCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/connectors/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getConnectorValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getConnector(Async)"); + } + + return getConnectorCall(id, _callback); + + } + + /** + * Get an inbox connector + * + * @param id (required) + * @return ConnectorDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ConnectorDto getConnector(UUID id) throws ApiException { + ApiResponse localVarResp = getConnectorWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get an inbox connector + * + * @param id (required) + * @return ApiResponse<ConnectorDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getConnectorWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getConnectorValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get an inbox connector (asynchronously) + * + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getConnectorAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getConnectorValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getConnectorSyncEvent + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getConnectorSyncEventCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/connectors/events/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getConnectorSyncEventValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getConnectorSyncEvent(Async)"); + } + + return getConnectorSyncEventCall(id, _callback); + + } + + /** + * Get an inbox connector sync event + * + * @param id (required) + * @return ConnectorSyncEventDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ConnectorSyncEventDto getConnectorSyncEvent(UUID id) throws ApiException { + ApiResponse localVarResp = getConnectorSyncEventWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get an inbox connector sync event + * + * @param id (required) + * @return ApiResponse<ConnectorSyncEventDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getConnectorSyncEventWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getConnectorSyncEventValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get an inbox connector sync event (asynchronously) + * + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getConnectorSyncEventAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getConnectorSyncEventValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getConnectorSyncEvents + * @param id (required) + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getConnectorSyncEventsCall(UUID id, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/connectors/{id}/events" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getConnectorSyncEventsValidateBeforeCall(UUID id, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getConnectorSyncEvents(Async)"); + } + + return getConnectorSyncEventsCall(id, page, size, sort, since, before, _callback); + + } + + /** + * Get an inbox connector sync events + * + * @param id (required) + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageConnectorSyncEvents + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageConnectorSyncEvents getConnectorSyncEvents(UUID id, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getConnectorSyncEventsWithHttpInfo(id, page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get an inbox connector sync events + * + * @param id (required) + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageConnectorSyncEvents> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getConnectorSyncEventsWithHttpInfo(UUID id, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getConnectorSyncEventsValidateBeforeCall(id, page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get an inbox connector sync events (asynchronously) + * + * @param id (required) + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getConnectorSyncEventsAsync(UUID id, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getConnectorSyncEventsValidateBeforeCall(id, page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getConnectors + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getConnectorsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/connectors"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getConnectorsValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getConnectorsCall(page, size, sort, since, before, _callback); + + } + + /** + * Get inbox connectors + * List inbox connectors that sync external emails to MailSlurp inboxes + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageConnector + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageConnector getConnectors(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getConnectorsWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get inbox connectors + * List inbox connectors that sync external emails to MailSlurp inboxes + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageConnector> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getConnectorsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getConnectorsValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get inbox connectors (asynchronously) + * List inbox connectors that sync external emails to MailSlurp inboxes + * @param page Optional page index in connector list pagination (optional, default to 0) + * @param size Optional page size in connector list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getConnectorsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getConnectorsValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for syncConnector + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call syncConnectorCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/connectors/{id}/sync" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call syncConnectorValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling syncConnector(Async)"); + } + + return syncConnectorCall(id, _callback); + + } + + /** + * Sync an inbox connector + * + * @param id (required) + * @return ConnectorSyncRequestResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ConnectorSyncRequestResult syncConnector(UUID id) throws ApiException { + ApiResponse localVarResp = syncConnectorWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Sync an inbox connector + * + * @param id (required) + * @return ApiResponse<ConnectorSyncRequestResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse syncConnectorWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = syncConnectorValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Sync an inbox connector (asynchronously) + * + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call syncConnectorAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = syncConnectorValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateConnector + * @param id (required) + * @param createConnectorOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateConnectorCall(UUID id, CreateConnectorOptions createConnectorOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createConnectorOptions; + + // create path and map variables + String localVarPath = "/connectors/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateConnectorValidateBeforeCall(UUID id, CreateConnectorOptions createConnectorOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling updateConnector(Async)"); + } + + // verify the required parameter 'createConnectorOptions' is set + if (createConnectorOptions == null) { + throw new ApiException("Missing the required parameter 'createConnectorOptions' when calling updateConnector(Async)"); + } + + return updateConnectorCall(id, createConnectorOptions, _callback); + + } + + /** + * Update an inbox connector + * + * @param id (required) + * @param createConnectorOptions (required) + * @return ConnectorDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ConnectorDto updateConnector(UUID id, CreateConnectorOptions createConnectorOptions) throws ApiException { + ApiResponse localVarResp = updateConnectorWithHttpInfo(id, createConnectorOptions); + return localVarResp.getData(); + } + + /** + * Update an inbox connector + * + * @param id (required) + * @param createConnectorOptions (required) + * @return ApiResponse<ConnectorDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse updateConnectorWithHttpInfo(UUID id, CreateConnectorOptions createConnectorOptions) throws ApiException { + okhttp3.Call localVarCall = updateConnectorValidateBeforeCall(id, createConnectorOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update an inbox connector (asynchronously) + * + * @param id (required) + * @param createConnectorOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateConnectorAsync(UUID id, CreateConnectorOptions createConnectorOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateConnectorValidateBeforeCall(id, createConnectorOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/ContactControllerApi.java b/src/main/java/com/mailslurp/apis/ContactControllerApi.java new file mode 100644 index 000000000..36431c08a --- /dev/null +++ b/src/main/java/com/mailslurp/apis/ContactControllerApi.java @@ -0,0 +1,834 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.ContactDto; +import com.mailslurp.models.ContactProjection; +import com.mailslurp.models.CreateContactOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageContactProjection; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class ContactControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public ContactControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public ContactControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createContact + * @param createContactOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createContactCall(CreateContactOptions createContactOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createContactOptions; + + // create path and map variables + String localVarPath = "/contacts"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createContactValidateBeforeCall(CreateContactOptions createContactOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createContactOptions' is set + if (createContactOptions == null) { + throw new ApiException("Missing the required parameter 'createContactOptions' when calling createContact(Async)"); + } + + return createContactCall(createContactOptions, _callback); + + } + + /** + * Create a contact + * + * @param createContactOptions (required) + * @return ContactDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ContactDto createContact(CreateContactOptions createContactOptions) throws ApiException { + ApiResponse localVarResp = createContactWithHttpInfo(createContactOptions); + return localVarResp.getData(); + } + + /** + * Create a contact + * + * @param createContactOptions (required) + * @return ApiResponse<ContactDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createContactWithHttpInfo(CreateContactOptions createContactOptions) throws ApiException { + okhttp3.Call localVarCall = createContactValidateBeforeCall(createContactOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create a contact (asynchronously) + * + * @param createContactOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createContactAsync(CreateContactOptions createContactOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createContactValidateBeforeCall(createContactOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteContact + * @param contactId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteContactCall(UUID contactId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/contacts/{contactId}" + .replace("{" + "contactId" + "}", localVarApiClient.escapeString(contactId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteContactValidateBeforeCall(UUID contactId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'contactId' is set + if (contactId == null) { + throw new ApiException("Missing the required parameter 'contactId' when calling deleteContact(Async)"); + } + + return deleteContactCall(contactId, _callback); + + } + + /** + * Delete contact + * + * @param contactId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteContact(UUID contactId) throws ApiException { + deleteContactWithHttpInfo(contactId); + } + + /** + * Delete contact + * + * @param contactId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteContactWithHttpInfo(UUID contactId) throws ApiException { + okhttp3.Call localVarCall = deleteContactValidateBeforeCall(contactId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete contact (asynchronously) + * + * @param contactId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteContactAsync(UUID contactId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteContactValidateBeforeCall(contactId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getAllContacts + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllContactsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/contacts/paginated"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllContactsValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getAllContactsCall(page, size, sort, since, before, _callback); + + } + + /** + * Get all contacts + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageContactProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageContactProjection getAllContacts(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAllContactsWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get all contacts + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageContactProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllContactsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAllContactsValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all contacts (asynchronously) + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllContactsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllContactsValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getContact + * @param contactId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getContactCall(UUID contactId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/contacts/{contactId}" + .replace("{" + "contactId" + "}", localVarApiClient.escapeString(contactId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getContactValidateBeforeCall(UUID contactId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'contactId' is set + if (contactId == null) { + throw new ApiException("Missing the required parameter 'contactId' when calling getContact(Async)"); + } + + return getContactCall(contactId, _callback); + + } + + /** + * Get contact + * + * @param contactId (required) + * @return ContactDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ContactDto getContact(UUID contactId) throws ApiException { + ApiResponse localVarResp = getContactWithHttpInfo(contactId); + return localVarResp.getData(); + } + + /** + * Get contact + * + * @param contactId (required) + * @return ApiResponse<ContactDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getContactWithHttpInfo(UUID contactId) throws ApiException { + okhttp3.Call localVarCall = getContactValidateBeforeCall(contactId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get contact (asynchronously) + * + * @param contactId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getContactAsync(UUID contactId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getContactValidateBeforeCall(contactId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getContactVCard + * @param contactId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getContactVCardCall(UUID contactId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/contacts/{contactId}/download" + .replace("{" + "contactId" + "}", localVarApiClient.escapeString(contactId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getContactVCardValidateBeforeCall(UUID contactId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'contactId' is set + if (contactId == null) { + throw new ApiException("Missing the required parameter 'contactId' when calling getContactVCard(Async)"); + } + + return getContactVCardCall(contactId, _callback); + + } + + /** + * Get contact vCard vcf file + * + * @param contactId (required) + * @return List<byte[]> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List getContactVCard(UUID contactId) throws ApiException { + ApiResponse> localVarResp = getContactVCardWithHttpInfo(contactId); + return localVarResp.getData(); + } + + /** + * Get contact vCard vcf file + * + * @param contactId (required) + * @return ApiResponse<List<byte[]>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> getContactVCardWithHttpInfo(UUID contactId) throws ApiException { + okhttp3.Call localVarCall = getContactVCardValidateBeforeCall(contactId, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get contact vCard vcf file (asynchronously) + * + * @param contactId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getContactVCardAsync(UUID contactId, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getContactVCardValidateBeforeCall(contactId, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getContacts + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getContactsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/contacts"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getContactsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getContactsCall(_callback); + + } + + /** + * Get all contacts + * + * @return List<ContactProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List getContacts() throws ApiException { + ApiResponse> localVarResp = getContactsWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get all contacts + * + * @return ApiResponse<List<ContactProjection>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> getContactsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getContactsValidateBeforeCall(null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all contacts (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getContactsAsync(final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getContactsValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/DomainControllerApi.java b/src/main/java/com/mailslurp/apis/DomainControllerApi.java new file mode 100644 index 000000000..cecb91d35 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/DomainControllerApi.java @@ -0,0 +1,1064 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.CreateDomainOptions; +import com.mailslurp.models.DomainDto; +import com.mailslurp.models.DomainIssuesDto; +import com.mailslurp.models.DomainPreview; +import com.mailslurp.models.InboxDto; +import java.util.UUID; +import com.mailslurp.models.UpdateDomainOptions; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class DomainControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public DomainControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public DomainControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for addDomainWildcardCatchAll + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call addDomainWildcardCatchAllCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/domains/{id}/wildcard" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call addDomainWildcardCatchAllValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling addDomainWildcardCatchAll(Async)"); + } + + return addDomainWildcardCatchAllCall(id, _callback); + + } + + /** + * Add catch all wild card inbox to domain + * Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated + * @param id (required) + * @return DomainDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public DomainDto addDomainWildcardCatchAll(UUID id) throws ApiException { + ApiResponse localVarResp = addDomainWildcardCatchAllWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Add catch all wild card inbox to domain + * Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated + * @param id (required) + * @return ApiResponse<DomainDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse addDomainWildcardCatchAllWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = addDomainWildcardCatchAllValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Add catch all wild card inbox to domain (asynchronously) + * Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call addDomainWildcardCatchAllAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = addDomainWildcardCatchAllValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createDomain + * @param createDomainOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createDomainCall(CreateDomainOptions createDomainOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createDomainOptions; + + // create path and map variables + String localVarPath = "/domains"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createDomainValidateBeforeCall(CreateDomainOptions createDomainOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createDomainOptions' is set + if (createDomainOptions == null) { + throw new ApiException("Missing the required parameter 'createDomainOptions' when calling createDomain(Async)"); + } + + return createDomainCall(createDomainOptions, _callback); + + } + + /** + * Create Domain + * Link a domain that you own with MailSlurp so you can create email addresses using it. Endpoint returns DNS records used for validation. You must add these verification records to your host provider's DNS setup to verify the domain. + * @param createDomainOptions (required) + * @return DomainDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public DomainDto createDomain(CreateDomainOptions createDomainOptions) throws ApiException { + ApiResponse localVarResp = createDomainWithHttpInfo(createDomainOptions); + return localVarResp.getData(); + } + + /** + * Create Domain + * Link a domain that you own with MailSlurp so you can create email addresses using it. Endpoint returns DNS records used for validation. You must add these verification records to your host provider's DNS setup to verify the domain. + * @param createDomainOptions (required) + * @return ApiResponse<DomainDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createDomainWithHttpInfo(CreateDomainOptions createDomainOptions) throws ApiException { + okhttp3.Call localVarCall = createDomainValidateBeforeCall(createDomainOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create Domain (asynchronously) + * Link a domain that you own with MailSlurp so you can create email addresses using it. Endpoint returns DNS records used for validation. You must add these verification records to your host provider's DNS setup to verify the domain. + * @param createDomainOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createDomainAsync(CreateDomainOptions createDomainOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createDomainValidateBeforeCall(createDomainOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteDomain + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteDomainCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/domains/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteDomainValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling deleteDomain(Async)"); + } + + return deleteDomainCall(id, _callback); + + } + + /** + * Delete a domain + * Delete a domain. This will disable any existing inboxes that use this domain. + * @param id (required) + * @return List<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public List deleteDomain(UUID id) throws ApiException { + ApiResponse> localVarResp = deleteDomainWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Delete a domain + * Delete a domain. This will disable any existing inboxes that use this domain. + * @param id (required) + * @return ApiResponse<List<String>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse> deleteDomainWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = deleteDomainValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Delete a domain (asynchronously) + * Delete a domain. This will disable any existing inboxes that use this domain. + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteDomainAsync(UUID id, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteDomainValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getDomain + * @param id (required) + * @param checkForErrors (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDomainCall(UUID id, Boolean checkForErrors, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/domains/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (checkForErrors != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("checkForErrors", checkForErrors)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getDomainValidateBeforeCall(UUID id, Boolean checkForErrors, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getDomain(Async)"); + } + + return getDomainCall(id, checkForErrors, _callback); + + } + + /** + * Get a domain + * Returns domain verification status and tokens for a given domain + * @param id (required) + * @param checkForErrors (optional) + * @return DomainDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public DomainDto getDomain(UUID id, Boolean checkForErrors) throws ApiException { + ApiResponse localVarResp = getDomainWithHttpInfo(id, checkForErrors); + return localVarResp.getData(); + } + + /** + * Get a domain + * Returns domain verification status and tokens for a given domain + * @param id (required) + * @param checkForErrors (optional) + * @return ApiResponse<DomainDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getDomainWithHttpInfo(UUID id, Boolean checkForErrors) throws ApiException { + okhttp3.Call localVarCall = getDomainValidateBeforeCall(id, checkForErrors, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a domain (asynchronously) + * Returns domain verification status and tokens for a given domain + * @param id (required) + * @param checkForErrors (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDomainAsync(UUID id, Boolean checkForErrors, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getDomainValidateBeforeCall(id, checkForErrors, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getDomainIssues + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDomainIssuesCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/domains/issues"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getDomainIssuesValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getDomainIssuesCall(_callback); + + } + + /** + * Get domain issues + * List domain issues for domains you have created + * @return DomainIssuesDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public DomainIssuesDto getDomainIssues() throws ApiException { + ApiResponse localVarResp = getDomainIssuesWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get domain issues + * List domain issues for domains you have created + * @return ApiResponse<DomainIssuesDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getDomainIssuesWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getDomainIssuesValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get domain issues (asynchronously) + * List domain issues for domains you have created + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDomainIssuesAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getDomainIssuesValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getDomainWildcardCatchAllInbox + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDomainWildcardCatchAllInboxCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/domains/{id}/wildcard" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getDomainWildcardCatchAllInboxValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getDomainWildcardCatchAllInbox(Async)"); + } + + return getDomainWildcardCatchAllInboxCall(id, _callback); + + } + + /** + * Get catch all wild card inbox for domain + * Get the catch all inbox for a domain for missed emails + * @param id (required) + * @return InboxDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxDto getDomainWildcardCatchAllInbox(UUID id) throws ApiException { + ApiResponse localVarResp = getDomainWildcardCatchAllInboxWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get catch all wild card inbox for domain + * Get the catch all inbox for a domain for missed emails + * @param id (required) + * @return ApiResponse<InboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getDomainWildcardCatchAllInboxWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getDomainWildcardCatchAllInboxValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get catch all wild card inbox for domain (asynchronously) + * Get the catch all inbox for a domain for missed emails + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDomainWildcardCatchAllInboxAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getDomainWildcardCatchAllInboxValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getDomains + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDomainsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/domains"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getDomainsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getDomainsCall(_callback); + + } + + /** + * Get domains + * List all custom domains you have created + * @return List<DomainPreview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List getDomains() throws ApiException { + ApiResponse> localVarResp = getDomainsWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get domains + * List all custom domains you have created + * @return ApiResponse<List<DomainPreview>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> getDomainsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getDomainsValidateBeforeCall(null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get domains (asynchronously) + * List all custom domains you have created + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDomainsAsync(final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getDomainsValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateDomain + * @param id (required) + * @param updateDomainOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateDomainCall(UUID id, UpdateDomainOptions updateDomainOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updateDomainOptions; + + // create path and map variables + String localVarPath = "/domains/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateDomainValidateBeforeCall(UUID id, UpdateDomainOptions updateDomainOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling updateDomain(Async)"); + } + + // verify the required parameter 'updateDomainOptions' is set + if (updateDomainOptions == null) { + throw new ApiException("Missing the required parameter 'updateDomainOptions' when calling updateDomain(Async)"); + } + + return updateDomainCall(id, updateDomainOptions, _callback); + + } + + /** + * Update a domain + * Update values on a domain. Note you cannot change the domain name as it is immutable. Recreate the domain if you need to alter this. + * @param id (required) + * @param updateDomainOptions (required) + * @return DomainDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public DomainDto updateDomain(UUID id, UpdateDomainOptions updateDomainOptions) throws ApiException { + ApiResponse localVarResp = updateDomainWithHttpInfo(id, updateDomainOptions); + return localVarResp.getData(); + } + + /** + * Update a domain + * Update values on a domain. Note you cannot change the domain name as it is immutable. Recreate the domain if you need to alter this. + * @param id (required) + * @param updateDomainOptions (required) + * @return ApiResponse<DomainDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse updateDomainWithHttpInfo(UUID id, UpdateDomainOptions updateDomainOptions) throws ApiException { + okhttp3.Call localVarCall = updateDomainValidateBeforeCall(id, updateDomainOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update a domain (asynchronously) + * Update values on a domain. Note you cannot change the domain name as it is immutable. Recreate the domain if you need to alter this. + * @param id (required) + * @param updateDomainOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateDomainAsync(UUID id, UpdateDomainOptions updateDomainOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateDomainValidateBeforeCall(id, updateDomainOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/EmailControllerApi.java b/src/main/java/com/mailslurp/apis/EmailControllerApi.java new file mode 100644 index 000000000..2bec48e88 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/EmailControllerApi.java @@ -0,0 +1,4151 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.AttachmentMetaData; +import com.mailslurp.models.ContentMatchOptions; +import com.mailslurp.models.CountDto; +import com.mailslurp.models.DownloadAttachmentDto; +import com.mailslurp.models.Email; +import com.mailslurp.models.EmailContentMatchResult; +import com.mailslurp.models.EmailHtmlDto; +import com.mailslurp.models.EmailLinksResult; +import com.mailslurp.models.EmailPreview; +import com.mailslurp.models.EmailPreviewUrls; +import com.mailslurp.models.EmailTextLinesResult; +import com.mailslurp.models.ForwardEmailOptions; +import com.mailslurp.models.GravatarUrl; +import com.mailslurp.models.ImapFlagOperationOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageEmailProjection; +import com.mailslurp.models.RawEmailJson; +import com.mailslurp.models.ReplyToEmailOptions; +import com.mailslurp.models.SendEmailOptions; +import com.mailslurp.models.SentEmailDto; +import java.util.UUID; +import com.mailslurp.models.UnreadCount; +import com.mailslurp.models.ValidationDto; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class EmailControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public EmailControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public EmailControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for applyImapFlagOperation + * @param emailId (required) + * @param imapFlagOperationOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call applyImapFlagOperationCall(UUID emailId, ImapFlagOperationOptions imapFlagOperationOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = imapFlagOperationOptions; + + // create path and map variables + String localVarPath = "/emails/{emailId}/imap-flag-operation" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call applyImapFlagOperationValidateBeforeCall(UUID emailId, ImapFlagOperationOptions imapFlagOperationOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling applyImapFlagOperation(Async)"); + } + + // verify the required parameter 'imapFlagOperationOptions' is set + if (imapFlagOperationOptions == null) { + throw new ApiException("Missing the required parameter 'imapFlagOperationOptions' when calling applyImapFlagOperation(Async)"); + } + + return applyImapFlagOperationCall(emailId, imapFlagOperationOptions, _callback); + + } + + /** + * Set IMAP flags associated with a message. Only supports '\\Seen' flag. + * Apply RFC3501 section-2.3.2 IMAP flag operations on an email + * @param emailId (required) + * @param imapFlagOperationOptions (required) + * @return EmailPreview + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmailPreview applyImapFlagOperation(UUID emailId, ImapFlagOperationOptions imapFlagOperationOptions) throws ApiException { + ApiResponse localVarResp = applyImapFlagOperationWithHttpInfo(emailId, imapFlagOperationOptions); + return localVarResp.getData(); + } + + /** + * Set IMAP flags associated with a message. Only supports '\\Seen' flag. + * Apply RFC3501 section-2.3.2 IMAP flag operations on an email + * @param emailId (required) + * @param imapFlagOperationOptions (required) + * @return ApiResponse<EmailPreview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse applyImapFlagOperationWithHttpInfo(UUID emailId, ImapFlagOperationOptions imapFlagOperationOptions) throws ApiException { + okhttp3.Call localVarCall = applyImapFlagOperationValidateBeforeCall(emailId, imapFlagOperationOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Set IMAP flags associated with a message. Only supports '\\Seen' flag. (asynchronously) + * Apply RFC3501 section-2.3.2 IMAP flag operations on an email + * @param emailId (required) + * @param imapFlagOperationOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call applyImapFlagOperationAsync(UUID emailId, ImapFlagOperationOptions imapFlagOperationOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = applyImapFlagOperationValidateBeforeCall(emailId, imapFlagOperationOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteAllEmails + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllEmailsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteAllEmailsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return deleteAllEmailsCall(_callback); + + } + + /** + * Delete all emails in all inboxes. + * Deletes all emails in your account. Be careful as emails cannot be recovered + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteAllEmails() throws ApiException { + deleteAllEmailsWithHttpInfo(); + } + + /** + * Delete all emails in all inboxes. + * Deletes all emails in your account. Be careful as emails cannot be recovered + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteAllEmailsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = deleteAllEmailsValidateBeforeCall(null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete all emails in all inboxes. (asynchronously) + * Deletes all emails in your account. Be careful as emails cannot be recovered + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllEmailsAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteAllEmailsValidateBeforeCall(_callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for deleteEmail + * @param emailId ID of email to delete (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteEmailCall(UUID emailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteEmailValidateBeforeCall(UUID emailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling deleteEmail(Async)"); + } + + return deleteEmailCall(emailId, _callback); + + } + + /** + * Delete an email + * Deletes an email and removes it from the inbox. Deleted emails cannot be recovered. + * @param emailId ID of email to delete (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteEmail(UUID emailId) throws ApiException { + deleteEmailWithHttpInfo(emailId); + } + + /** + * Delete an email + * Deletes an email and removes it from the inbox. Deleted emails cannot be recovered. + * @param emailId ID of email to delete (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteEmailWithHttpInfo(UUID emailId) throws ApiException { + okhttp3.Call localVarCall = deleteEmailValidateBeforeCall(emailId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete an email (asynchronously) + * Deletes an email and removes it from the inbox. Deleted emails cannot be recovered. + * @param emailId ID of email to delete (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteEmailAsync(UUID emailId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteEmailValidateBeforeCall(emailId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for downloadAttachment + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @param apiKey Can pass apiKey in url for this request if you wish to download the file in a browser. Content type will be set to original content type of the attachment file. This is so that browsers can download the file correctly. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public okhttp3.Call downloadAttachmentCall(UUID emailId, String attachmentId, String apiKey, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/attachments/{attachmentId}" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())) + .replace("{" + "attachmentId" + "}", localVarApiClient.escapeString(attachmentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (apiKey != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("apiKey", apiKey)); + } + + final String[] localVarAccepts = { + "application/octet-stream" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call downloadAttachmentValidateBeforeCall(UUID emailId, String attachmentId, String apiKey, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling downloadAttachment(Async)"); + } + + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) { + throw new ApiException("Missing the required parameter 'attachmentId' when calling downloadAttachment(Async)"); + } + + return downloadAttachmentCall(emailId, attachmentId, apiKey, _callback); + + } + + /** + * Get email attachment bytes. Returned as `octet-stream` with content type header. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints and convert the base 64 encoded content to a file or string. + * Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream. + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @param apiKey Can pass apiKey in url for this request if you wish to download the file in a browser. Content type will be set to original content type of the attachment file. This is so that browsers can download the file correctly. (optional) + * @return byte[] + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public byte[] downloadAttachment(UUID emailId, String attachmentId, String apiKey) throws ApiException { + ApiResponse localVarResp = downloadAttachmentWithHttpInfo(emailId, attachmentId, apiKey); + return localVarResp.getData(); + } + + /** + * Get email attachment bytes. Returned as `octet-stream` with content type header. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints and convert the base 64 encoded content to a file or string. + * Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream. + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @param apiKey Can pass apiKey in url for this request if you wish to download the file in a browser. Content type will be set to original content type of the attachment file. This is so that browsers can download the file correctly. (optional) + * @return ApiResponse<byte[]> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public ApiResponse downloadAttachmentWithHttpInfo(UUID emailId, String attachmentId, String apiKey) throws ApiException { + okhttp3.Call localVarCall = downloadAttachmentValidateBeforeCall(emailId, attachmentId, apiKey, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email attachment bytes. Returned as `octet-stream` with content type header. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints and convert the base 64 encoded content to a file or string. (asynchronously) + * Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream. + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @param apiKey Can pass apiKey in url for this request if you wish to download the file in a browser. Content type will be set to original content type of the attachment file. This is so that browsers can download the file correctly. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public okhttp3.Call downloadAttachmentAsync(UUID emailId, String attachmentId, String apiKey, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = downloadAttachmentValidateBeforeCall(emailId, attachmentId, apiKey, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for downloadAttachmentBase64 + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call downloadAttachmentBase64Call(UUID emailId, String attachmentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/attachments/{attachmentId}/base64" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())) + .replace("{" + "attachmentId" + "}", localVarApiClient.escapeString(attachmentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call downloadAttachmentBase64ValidateBeforeCall(UUID emailId, String attachmentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling downloadAttachmentBase64(Async)"); + } + + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) { + throw new ApiException("Missing the required parameter 'attachmentId' when calling downloadAttachmentBase64(Async)"); + } + + return downloadAttachmentBase64Call(emailId, attachmentId, _callback); + + } + + /** + * Get email attachment as base64 encoded string as an alternative to binary responses. Decode the `base64FileContents` as a `utf-8` encoded string or array of bytes depending on the `contentType`. + * Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses. + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @return DownloadAttachmentDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public DownloadAttachmentDto downloadAttachmentBase64(UUID emailId, String attachmentId) throws ApiException { + ApiResponse localVarResp = downloadAttachmentBase64WithHttpInfo(emailId, attachmentId); + return localVarResp.getData(); + } + + /** + * Get email attachment as base64 encoded string as an alternative to binary responses. Decode the `base64FileContents` as a `utf-8` encoded string or array of bytes depending on the `contentType`. + * Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses. + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @return ApiResponse<DownloadAttachmentDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse downloadAttachmentBase64WithHttpInfo(UUID emailId, String attachmentId) throws ApiException { + okhttp3.Call localVarCall = downloadAttachmentBase64ValidateBeforeCall(emailId, attachmentId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email attachment as base64 encoded string as an alternative to binary responses. Decode the `base64FileContents` as a `utf-8` encoded string or array of bytes depending on the `contentType`. (asynchronously) + * Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses. + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call downloadAttachmentBase64Async(UUID emailId, String attachmentId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = downloadAttachmentBase64ValidateBeforeCall(emailId, attachmentId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for downloadBody + * @param emailId ID of email (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call downloadBodyCall(UUID emailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/body" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "text/plain", + "text/html" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call downloadBodyValidateBeforeCall(UUID emailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling downloadBody(Async)"); + } + + return downloadBodyCall(emailId, _callback); + + } + + /** + * Get email body as string. Returned as `plain/text` with content type header. + * Returns the specified email body for a given email as a string + * @param emailId ID of email (required) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public String downloadBody(UUID emailId) throws ApiException { + ApiResponse localVarResp = downloadBodyWithHttpInfo(emailId); + return localVarResp.getData(); + } + + /** + * Get email body as string. Returned as `plain/text` with content type header. + * Returns the specified email body for a given email as a string + * @param emailId ID of email (required) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse downloadBodyWithHttpInfo(UUID emailId) throws ApiException { + okhttp3.Call localVarCall = downloadBodyValidateBeforeCall(emailId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email body as string. Returned as `plain/text` with content type header. (asynchronously) + * Returns the specified email body for a given email as a string + * @param emailId ID of email (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call downloadBodyAsync(UUID emailId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = downloadBodyValidateBeforeCall(emailId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for downloadBodyBytes + * @param emailId ID of email (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public okhttp3.Call downloadBodyBytesCall(UUID emailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/body-bytes" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/octet-stream" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call downloadBodyBytesValidateBeforeCall(UUID emailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling downloadBodyBytes(Async)"); + } + + return downloadBodyBytesCall(emailId, _callback); + + } + + /** + * Get email body in bytes. Returned as `octet-stream` with content type header. + * Returns the specified email body for a given email as a stream / array of bytes. + * @param emailId ID of email (required) + * @return byte[] + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public byte[] downloadBodyBytes(UUID emailId) throws ApiException { + ApiResponse localVarResp = downloadBodyBytesWithHttpInfo(emailId); + return localVarResp.getData(); + } + + /** + * Get email body in bytes. Returned as `octet-stream` with content type header. + * Returns the specified email body for a given email as a stream / array of bytes. + * @param emailId ID of email (required) + * @return ApiResponse<byte[]> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public ApiResponse downloadBodyBytesWithHttpInfo(UUID emailId) throws ApiException { + okhttp3.Call localVarCall = downloadBodyBytesValidateBeforeCall(emailId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email body in bytes. Returned as `octet-stream` with content type header. (asynchronously) + * Returns the specified email body for a given email as a stream / array of bytes. + * @param emailId ID of email (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
0 default response -
+ */ + public okhttp3.Call downloadBodyBytesAsync(UUID emailId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = downloadBodyBytesValidateBeforeCall(emailId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for forwardEmail + * @param emailId ID of email (required) + * @param forwardEmailOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call forwardEmailCall(UUID emailId, ForwardEmailOptions forwardEmailOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = forwardEmailOptions; + + // create path and map variables + String localVarPath = "/emails/{emailId}/forward" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call forwardEmailValidateBeforeCall(UUID emailId, ForwardEmailOptions forwardEmailOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling forwardEmail(Async)"); + } + + // verify the required parameter 'forwardEmailOptions' is set + if (forwardEmailOptions == null) { + throw new ApiException("Missing the required parameter 'forwardEmailOptions' when calling forwardEmail(Async)"); + } + + return forwardEmailCall(emailId, forwardEmailOptions, _callback); + + } + + /** + * Forward email to recipients + * Forward an existing email to new recipients. The sender of the email will be the inbox that received the email you are forwarding. You can override the sender with the `from` option. Note you must have access to the from address in MailSlurp to use the override. For more control consider fetching the email and sending it a new using the send email endpoints. + * @param emailId ID of email (required) + * @param forwardEmailOptions (required) + * @return SentEmailDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public SentEmailDto forwardEmail(UUID emailId, ForwardEmailOptions forwardEmailOptions) throws ApiException { + ApiResponse localVarResp = forwardEmailWithHttpInfo(emailId, forwardEmailOptions); + return localVarResp.getData(); + } + + /** + * Forward email to recipients + * Forward an existing email to new recipients. The sender of the email will be the inbox that received the email you are forwarding. You can override the sender with the `from` option. Note you must have access to the from address in MailSlurp to use the override. For more control consider fetching the email and sending it a new using the send email endpoints. + * @param emailId ID of email (required) + * @param forwardEmailOptions (required) + * @return ApiResponse<SentEmailDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse forwardEmailWithHttpInfo(UUID emailId, ForwardEmailOptions forwardEmailOptions) throws ApiException { + okhttp3.Call localVarCall = forwardEmailValidateBeforeCall(emailId, forwardEmailOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Forward email to recipients (asynchronously) + * Forward an existing email to new recipients. The sender of the email will be the inbox that received the email you are forwarding. You can override the sender with the `from` option. Note you must have access to the from address in MailSlurp to use the override. For more control consider fetching the email and sending it a new using the send email endpoints. + * @param emailId ID of email (required) + * @param forwardEmailOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call forwardEmailAsync(UUID emailId, ForwardEmailOptions forwardEmailOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = forwardEmailValidateBeforeCall(emailId, forwardEmailOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAttachmentMetaData + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAttachmentMetaDataCall(UUID emailId, String attachmentId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/attachments/{attachmentId}/metadata" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())) + .replace("{" + "attachmentId" + "}", localVarApiClient.escapeString(attachmentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAttachmentMetaDataValidateBeforeCall(UUID emailId, String attachmentId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getAttachmentMetaData(Async)"); + } + + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) { + throw new ApiException("Missing the required parameter 'attachmentId' when calling getAttachmentMetaData(Async)"); + } + + return getAttachmentMetaDataCall(emailId, attachmentId, _callback); + + } + + /** + * Get email attachment metadata. This is the `contentType` and `contentLength` of an attachment. To get the individual attachments use the `downloadAttachment` methods. + * Returns the metadata such as name and content-type for a given attachment and email. + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @return AttachmentMetaData + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public AttachmentMetaData getAttachmentMetaData(UUID emailId, String attachmentId) throws ApiException { + ApiResponse localVarResp = getAttachmentMetaDataWithHttpInfo(emailId, attachmentId); + return localVarResp.getData(); + } + + /** + * Get email attachment metadata. This is the `contentType` and `contentLength` of an attachment. To get the individual attachments use the `downloadAttachment` methods. + * Returns the metadata such as name and content-type for a given attachment and email. + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @return ApiResponse<AttachmentMetaData> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAttachmentMetaDataWithHttpInfo(UUID emailId, String attachmentId) throws ApiException { + okhttp3.Call localVarCall = getAttachmentMetaDataValidateBeforeCall(emailId, attachmentId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email attachment metadata. This is the `contentType` and `contentLength` of an attachment. To get the individual attachments use the `downloadAttachment` methods. (asynchronously) + * Returns the metadata such as name and content-type for a given attachment and email. + * @param emailId ID of email (required) + * @param attachmentId ID of attachment (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAttachmentMetaDataAsync(UUID emailId, String attachmentId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAttachmentMetaDataValidateBeforeCall(emailId, attachmentId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmail + * @param emailId (required) + * @param decode Decode email body quoted-printable encoding to plain text. SMTP servers often encode text using quoted-printable format (for instance `=D7`). This can be a pain for testing (optional, default to false) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailCall(UUID emailId, Boolean decode, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (decode != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("decode", decode)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailValidateBeforeCall(UUID emailId, Boolean decode, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getEmail(Async)"); + } + + return getEmailCall(emailId, decode, _callback); + + } + + /** + * Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController. + * Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints + * @param emailId (required) + * @param decode Decode email body quoted-printable encoding to plain text. SMTP servers often encode text using quoted-printable format (for instance `=D7`). This can be a pain for testing (optional, default to false) + * @return Email + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public Email getEmail(UUID emailId, Boolean decode) throws ApiException { + ApiResponse localVarResp = getEmailWithHttpInfo(emailId, decode); + return localVarResp.getData(); + } + + /** + * Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController. + * Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints + * @param emailId (required) + * @param decode Decode email body quoted-printable encoding to plain text. SMTP servers often encode text using quoted-printable format (for instance `=D7`). This can be a pain for testing (optional, default to false) + * @return ApiResponse<Email> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getEmailWithHttpInfo(UUID emailId, Boolean decode) throws ApiException { + okhttp3.Call localVarCall = getEmailValidateBeforeCall(emailId, decode, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController. (asynchronously) + * Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints + * @param emailId (required) + * @param decode Decode email body quoted-printable encoding to plain text. SMTP servers often encode text using quoted-printable format (for instance `=D7`). This can be a pain for testing (optional, default to false) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailAsync(UUID emailId, Boolean decode, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailValidateBeforeCall(emailId, decode, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmailAttachments + * @param emailId ID of email (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailAttachmentsCall(UUID emailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/attachments" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailAttachmentsValidateBeforeCall(UUID emailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getEmailAttachments(Async)"); + } + + return getEmailAttachmentsCall(emailId, _callback); + + } + + /** + * Get all email attachment metadata. Metadata includes name and size of attachments. + * Returns an array of attachment metadata such as name and content-type for a given email if present. + * @param emailId ID of email (required) + * @return List<AttachmentMetaData> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List getEmailAttachments(UUID emailId) throws ApiException { + ApiResponse> localVarResp = getEmailAttachmentsWithHttpInfo(emailId); + return localVarResp.getData(); + } + + /** + * Get all email attachment metadata. Metadata includes name and size of attachments. + * Returns an array of attachment metadata such as name and content-type for a given email if present. + * @param emailId ID of email (required) + * @return ApiResponse<List<AttachmentMetaData>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> getEmailAttachmentsWithHttpInfo(UUID emailId) throws ApiException { + okhttp3.Call localVarCall = getEmailAttachmentsValidateBeforeCall(emailId, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all email attachment metadata. Metadata includes name and size of attachments. (asynchronously) + * Returns an array of attachment metadata such as name and content-type for a given email if present. + * @param emailId ID of email (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailAttachmentsAsync(UUID emailId, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailAttachmentsValidateBeforeCall(emailId, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmailContentMatch + * @param emailId ID of email to match against (required) + * @param contentMatchOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailContentMatchCall(UUID emailId, ContentMatchOptions contentMatchOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = contentMatchOptions; + + // create path and map variables + String localVarPath = "/emails/{emailId}/contentMatch" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailContentMatchValidateBeforeCall(UUID emailId, ContentMatchOptions contentMatchOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getEmailContentMatch(Async)"); + } + + // verify the required parameter 'contentMatchOptions' is set + if (contentMatchOptions == null) { + throw new ApiException("Missing the required parameter 'contentMatchOptions' when calling getEmailContentMatch(Async)"); + } + + return getEmailContentMatchCall(emailId, contentMatchOptions, _callback); + + } + + /** + * Get email content regex pattern match results. Runs regex against email body and returns match groups. + * Return the matches for a given Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns. + * @param emailId ID of email to match against (required) + * @param contentMatchOptions (required) + * @return EmailContentMatchResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmailContentMatchResult getEmailContentMatch(UUID emailId, ContentMatchOptions contentMatchOptions) throws ApiException { + ApiResponse localVarResp = getEmailContentMatchWithHttpInfo(emailId, contentMatchOptions); + return localVarResp.getData(); + } + + /** + * Get email content regex pattern match results. Runs regex against email body and returns match groups. + * Return the matches for a given Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns. + * @param emailId ID of email to match against (required) + * @param contentMatchOptions (required) + * @return ApiResponse<EmailContentMatchResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getEmailContentMatchWithHttpInfo(UUID emailId, ContentMatchOptions contentMatchOptions) throws ApiException { + okhttp3.Call localVarCall = getEmailContentMatchValidateBeforeCall(emailId, contentMatchOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email content regex pattern match results. Runs regex against email body and returns match groups. (asynchronously) + * Return the matches for a given Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns. + * @param emailId ID of email to match against (required) + * @param contentMatchOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailContentMatchAsync(UUID emailId, ContentMatchOptions contentMatchOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailContentMatchValidateBeforeCall(emailId, contentMatchOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmailCount + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailCountCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/emails/count"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailCountValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getEmailCountCall(_callback); + + } + + /** + * Get email count + * + * @return CountDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public CountDto getEmailCount() throws ApiException { + ApiResponse localVarResp = getEmailCountWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get email count + * + * @return ApiResponse<CountDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getEmailCountWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getEmailCountValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email count (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailCountAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailCountValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmailHTML + * @param emailId (required) + * @param decode (optional, default to false) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailHTMLCall(UUID emailId, Boolean decode, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/html" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (decode != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("decode", decode)); + } + + final String[] localVarAccepts = { + "text/html;charset=utf-8", + "text/html" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailHTMLValidateBeforeCall(UUID emailId, Boolean decode, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getEmailHTML(Async)"); + } + + return getEmailHTMLCall(emailId, decode, _callback); + + } + + /** + * Get email content as HTML. For displaying emails in browser context. + * Retrieve email content as HTML response for viewing in browsers. Decodes quoted-printable entities and converts charset to UTF-8. Pass your API KEY as a request parameter when viewing in a browser: `?apiKey=xxx`. Returns content-type `text/html;charset=utf-8` so you must call expecting that content response not JSON. For JSON response see the `getEmailHTMLJson` method. + * @param emailId (required) + * @param decode (optional, default to false) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public String getEmailHTML(UUID emailId, Boolean decode) throws ApiException { + ApiResponse localVarResp = getEmailHTMLWithHttpInfo(emailId, decode); + return localVarResp.getData(); + } + + /** + * Get email content as HTML. For displaying emails in browser context. + * Retrieve email content as HTML response for viewing in browsers. Decodes quoted-printable entities and converts charset to UTF-8. Pass your API KEY as a request parameter when viewing in a browser: `?apiKey=xxx`. Returns content-type `text/html;charset=utf-8` so you must call expecting that content response not JSON. For JSON response see the `getEmailHTMLJson` method. + * @param emailId (required) + * @param decode (optional, default to false) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getEmailHTMLWithHttpInfo(UUID emailId, Boolean decode) throws ApiException { + okhttp3.Call localVarCall = getEmailHTMLValidateBeforeCall(emailId, decode, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email content as HTML. For displaying emails in browser context. (asynchronously) + * Retrieve email content as HTML response for viewing in browsers. Decodes quoted-printable entities and converts charset to UTF-8. Pass your API KEY as a request parameter when viewing in a browser: `?apiKey=xxx`. Returns content-type `text/html;charset=utf-8` so you must call expecting that content response not JSON. For JSON response see the `getEmailHTMLJson` method. + * @param emailId (required) + * @param decode (optional, default to false) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailHTMLAsync(UUID emailId, Boolean decode, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailHTMLValidateBeforeCall(emailId, decode, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmailHTMLJson + * @param emailId (required) + * @param decode (optional, default to false) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailHTMLJsonCall(UUID emailId, Boolean decode, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/html/json" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (decode != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("decode", decode)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailHTMLJsonValidateBeforeCall(UUID emailId, Boolean decode, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getEmailHTMLJson(Async)"); + } + + return getEmailHTMLJsonCall(emailId, decode, _callback); + + } + + /** + * Get email content as HTML in JSON wrapper. For fetching entity decoded HTML content + * Retrieve email content as HTML response. Decodes quoted-printable entities and converts charset to UTF-8. Returns content-type `application/json;charset=utf-8` so you must call expecting that content response not JSON. + * @param emailId (required) + * @param decode (optional, default to false) + * @return EmailHtmlDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmailHtmlDto getEmailHTMLJson(UUID emailId, Boolean decode) throws ApiException { + ApiResponse localVarResp = getEmailHTMLJsonWithHttpInfo(emailId, decode); + return localVarResp.getData(); + } + + /** + * Get email content as HTML in JSON wrapper. For fetching entity decoded HTML content + * Retrieve email content as HTML response. Decodes quoted-printable entities and converts charset to UTF-8. Returns content-type `application/json;charset=utf-8` so you must call expecting that content response not JSON. + * @param emailId (required) + * @param decode (optional, default to false) + * @return ApiResponse<EmailHtmlDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getEmailHTMLJsonWithHttpInfo(UUID emailId, Boolean decode) throws ApiException { + okhttp3.Call localVarCall = getEmailHTMLJsonValidateBeforeCall(emailId, decode, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email content as HTML in JSON wrapper. For fetching entity decoded HTML content (asynchronously) + * Retrieve email content as HTML response. Decodes quoted-printable entities and converts charset to UTF-8. Returns content-type `application/json;charset=utf-8` so you must call expecting that content response not JSON. + * @param emailId (required) + * @param decode (optional, default to false) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailHTMLJsonAsync(UUID emailId, Boolean decode, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailHTMLJsonValidateBeforeCall(emailId, decode, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmailHTMLQuery + * @param emailId ID of email to perform HTML query on (required) + * @param htmlSelector HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailHTMLQueryCall(UUID emailId, String htmlSelector, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/htmlQuery" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (htmlSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("htmlSelector", htmlSelector)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailHTMLQueryValidateBeforeCall(UUID emailId, String htmlSelector, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getEmailHTMLQuery(Async)"); + } + + // verify the required parameter 'htmlSelector' is set + if (htmlSelector == null) { + throw new ApiException("Missing the required parameter 'htmlSelector' when calling getEmailHTMLQuery(Async)"); + } + + return getEmailHTMLQueryCall(emailId, htmlSelector, _callback); + + } + + /** + * Parse and return text from an email, stripping HTML and decoding encoded characters + * Parse an email body and return the content as an array of text. HTML parsing uses JSoup which supports JQuery/CSS style selectors + * @param emailId ID of email to perform HTML query on (required) + * @param htmlSelector HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information. (required) + * @return EmailTextLinesResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmailTextLinesResult getEmailHTMLQuery(UUID emailId, String htmlSelector) throws ApiException { + ApiResponse localVarResp = getEmailHTMLQueryWithHttpInfo(emailId, htmlSelector); + return localVarResp.getData(); + } + + /** + * Parse and return text from an email, stripping HTML and decoding encoded characters + * Parse an email body and return the content as an array of text. HTML parsing uses JSoup which supports JQuery/CSS style selectors + * @param emailId ID of email to perform HTML query on (required) + * @param htmlSelector HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information. (required) + * @return ApiResponse<EmailTextLinesResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getEmailHTMLQueryWithHttpInfo(UUID emailId, String htmlSelector) throws ApiException { + okhttp3.Call localVarCall = getEmailHTMLQueryValidateBeforeCall(emailId, htmlSelector, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Parse and return text from an email, stripping HTML and decoding encoded characters (asynchronously) + * Parse an email body and return the content as an array of text. HTML parsing uses JSoup which supports JQuery/CSS style selectors + * @param emailId ID of email to perform HTML query on (required) + * @param htmlSelector HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailHTMLQueryAsync(UUID emailId, String htmlSelector, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailHTMLQueryValidateBeforeCall(emailId, htmlSelector, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmailLinks + * @param emailId ID of email to fetch text for (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailLinksCall(UUID emailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/links" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailLinksValidateBeforeCall(UUID emailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getEmailLinks(Async)"); + } + + return getEmailLinksCall(emailId, _callback); + + } + + /** + * Parse and return list of links found in an email (only works for HTML content) + * HTML parsing uses JSoup and UNIX line separators. Searches content for href attributes + * @param emailId ID of email to fetch text for (required) + * @return EmailLinksResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmailLinksResult getEmailLinks(UUID emailId) throws ApiException { + ApiResponse localVarResp = getEmailLinksWithHttpInfo(emailId); + return localVarResp.getData(); + } + + /** + * Parse and return list of links found in an email (only works for HTML content) + * HTML parsing uses JSoup and UNIX line separators. Searches content for href attributes + * @param emailId ID of email to fetch text for (required) + * @return ApiResponse<EmailLinksResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getEmailLinksWithHttpInfo(UUID emailId) throws ApiException { + okhttp3.Call localVarCall = getEmailLinksValidateBeforeCall(emailId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Parse and return list of links found in an email (only works for HTML content) (asynchronously) + * HTML parsing uses JSoup and UNIX line separators. Searches content for href attributes + * @param emailId ID of email to fetch text for (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailLinksAsync(UUID emailId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailLinksValidateBeforeCall(emailId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmailPreviewURLs + * @param emailId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailPreviewURLsCall(UUID emailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/urls" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailPreviewURLsValidateBeforeCall(UUID emailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getEmailPreviewURLs(Async)"); + } + + return getEmailPreviewURLsCall(emailId, _callback); + + } + + /** + * Get email URLs for viewing in browser or downloading + * Get a list of URLs for email content as text/html or raw SMTP message for viewing the message in a browser. + * @param emailId (required) + * @return EmailPreviewUrls + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmailPreviewUrls getEmailPreviewURLs(UUID emailId) throws ApiException { + ApiResponse localVarResp = getEmailPreviewURLsWithHttpInfo(emailId); + return localVarResp.getData(); + } + + /** + * Get email URLs for viewing in browser or downloading + * Get a list of URLs for email content as text/html or raw SMTP message for viewing the message in a browser. + * @param emailId (required) + * @return ApiResponse<EmailPreviewUrls> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getEmailPreviewURLsWithHttpInfo(UUID emailId) throws ApiException { + okhttp3.Call localVarCall = getEmailPreviewURLsValidateBeforeCall(emailId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email URLs for viewing in browser or downloading (asynchronously) + * Get a list of URLs for email content as text/html or raw SMTP message for viewing the message in a browser. + * @param emailId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailPreviewURLsAsync(UUID emailId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailPreviewURLsValidateBeforeCall(emailId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmailTextLines + * @param emailId ID of email to fetch text for (required) + * @param decodeHtmlEntities Decode HTML entities (optional) + * @param lineSeparator Line separator character (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailTextLinesCall(UUID emailId, Boolean decodeHtmlEntities, String lineSeparator, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/textLines" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (decodeHtmlEntities != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("decodeHtmlEntities", decodeHtmlEntities)); + } + + if (lineSeparator != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("lineSeparator", lineSeparator)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailTextLinesValidateBeforeCall(UUID emailId, Boolean decodeHtmlEntities, String lineSeparator, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getEmailTextLines(Async)"); + } + + return getEmailTextLinesCall(emailId, decodeHtmlEntities, lineSeparator, _callback); + + } + + /** + * Parse and return text from an email, stripping HTML and decoding encoded characters + * Parse an email body and return the content as an array of strings. HTML parsing uses JSoup and UNIX line separators. + * @param emailId ID of email to fetch text for (required) + * @param decodeHtmlEntities Decode HTML entities (optional) + * @param lineSeparator Line separator character (optional) + * @return EmailTextLinesResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmailTextLinesResult getEmailTextLines(UUID emailId, Boolean decodeHtmlEntities, String lineSeparator) throws ApiException { + ApiResponse localVarResp = getEmailTextLinesWithHttpInfo(emailId, decodeHtmlEntities, lineSeparator); + return localVarResp.getData(); + } + + /** + * Parse and return text from an email, stripping HTML and decoding encoded characters + * Parse an email body and return the content as an array of strings. HTML parsing uses JSoup and UNIX line separators. + * @param emailId ID of email to fetch text for (required) + * @param decodeHtmlEntities Decode HTML entities (optional) + * @param lineSeparator Line separator character (optional) + * @return ApiResponse<EmailTextLinesResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getEmailTextLinesWithHttpInfo(UUID emailId, Boolean decodeHtmlEntities, String lineSeparator) throws ApiException { + okhttp3.Call localVarCall = getEmailTextLinesValidateBeforeCall(emailId, decodeHtmlEntities, lineSeparator, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Parse and return text from an email, stripping HTML and decoding encoded characters (asynchronously) + * Parse an email body and return the content as an array of strings. HTML parsing uses JSoup and UNIX line separators. + * @param emailId ID of email to fetch text for (required) + * @param decodeHtmlEntities Decode HTML entities (optional) + * @param lineSeparator Line separator character (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailTextLinesAsync(UUID emailId, Boolean decodeHtmlEntities, String lineSeparator, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailTextLinesValidateBeforeCall(emailId, decodeHtmlEntities, lineSeparator, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmailsPaginated + * @param inboxId Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional) + * @param page Optional page index in email list pagination (optional, default to 0) + * @param size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param searchFilter Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body (optional) + * @param since Optional filter emails received after given date time (optional) + * @param before Optional filter emails received before given date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailsPaginatedCall(List inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "inboxId", inboxId)); + } + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (unreadOnly != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("unreadOnly", unreadOnly)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailsPaginatedValidateBeforeCall(List inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getEmailsPaginatedCall(inboxId, page, size, sort, unreadOnly, searchFilter, since, before, _callback); + + } + + /** + * Get all emails in all inboxes in paginated form. Email API list all. + * By default returns all emails across all inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages + * @param inboxId Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional) + * @param page Optional page index in email list pagination (optional, default to 0) + * @param size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param searchFilter Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body (optional) + * @param since Optional filter emails received after given date time (optional) + * @param before Optional filter emails received before given date time (optional) + * @return PageEmailProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageEmailProjection getEmailsPaginated(List inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getEmailsPaginatedWithHttpInfo(inboxId, page, size, sort, unreadOnly, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * Get all emails in all inboxes in paginated form. Email API list all. + * By default returns all emails across all inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages + * @param inboxId Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional) + * @param page Optional page index in email list pagination (optional, default to 0) + * @param size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param searchFilter Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body (optional) + * @param since Optional filter emails received after given date time (optional) + * @param before Optional filter emails received before given date time (optional) + * @return ApiResponse<PageEmailProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getEmailsPaginatedWithHttpInfo(List inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getEmailsPaginatedValidateBeforeCall(inboxId, page, size, sort, unreadOnly, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all emails in all inboxes in paginated form. Email API list all. (asynchronously) + * By default returns all emails across all inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages + * @param inboxId Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional) + * @param page Optional page index in email list pagination (optional, default to 0) + * @param size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param searchFilter Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body (optional) + * @param since Optional filter emails received after given date time (optional) + * @param before Optional filter emails received before given date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailsPaginatedAsync(List inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailsPaginatedValidateBeforeCall(inboxId, page, size, sort, unreadOnly, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getGravatarUrlForEmailAddress + * @param emailAddress (required) + * @param size (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getGravatarUrlForEmailAddressCall(String emailAddress, String size, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/gravatarFor"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (emailAddress != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("emailAddress", emailAddress)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getGravatarUrlForEmailAddressValidateBeforeCall(String emailAddress, String size, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailAddress' is set + if (emailAddress == null) { + throw new ApiException("Missing the required parameter 'emailAddress' when calling getGravatarUrlForEmailAddress(Async)"); + } + + return getGravatarUrlForEmailAddressCall(emailAddress, size, _callback); + + } + + /** + * + * Get gravatar url for email address + * @param emailAddress (required) + * @param size (optional) + * @return GravatarUrl + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public GravatarUrl getGravatarUrlForEmailAddress(String emailAddress, String size) throws ApiException { + ApiResponse localVarResp = getGravatarUrlForEmailAddressWithHttpInfo(emailAddress, size); + return localVarResp.getData(); + } + + /** + * + * Get gravatar url for email address + * @param emailAddress (required) + * @param size (optional) + * @return ApiResponse<GravatarUrl> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getGravatarUrlForEmailAddressWithHttpInfo(String emailAddress, String size) throws ApiException { + okhttp3.Call localVarCall = getGravatarUrlForEmailAddressValidateBeforeCall(emailAddress, size, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get gravatar url for email address + * @param emailAddress (required) + * @param size (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getGravatarUrlForEmailAddressAsync(String emailAddress, String size, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getGravatarUrlForEmailAddressValidateBeforeCall(emailAddress, size, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getLatestEmail + * @param inboxIds Optional set of inboxes to filter by. Only get the latest email from these inbox IDs. If not provided will search across all inboxes (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getLatestEmailCall(List inboxIds, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/latest"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxIds != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "inboxIds", inboxIds)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getLatestEmailValidateBeforeCall(List inboxIds, final ApiCallback _callback) throws ApiException { + return getLatestEmailCall(inboxIds, _callback); + + } + + /** + * Get latest email in all inboxes. Most recently received. + * Get the newest email in all inboxes or in a passed set of inbox IDs + * @param inboxIds Optional set of inboxes to filter by. Only get the latest email from these inbox IDs. If not provided will search across all inboxes (optional) + * @return Email + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public Email getLatestEmail(List inboxIds) throws ApiException { + ApiResponse localVarResp = getLatestEmailWithHttpInfo(inboxIds); + return localVarResp.getData(); + } + + /** + * Get latest email in all inboxes. Most recently received. + * Get the newest email in all inboxes or in a passed set of inbox IDs + * @param inboxIds Optional set of inboxes to filter by. Only get the latest email from these inbox IDs. If not provided will search across all inboxes (optional) + * @return ApiResponse<Email> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getLatestEmailWithHttpInfo(List inboxIds) throws ApiException { + okhttp3.Call localVarCall = getLatestEmailValidateBeforeCall(inboxIds, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get latest email in all inboxes. Most recently received. (asynchronously) + * Get the newest email in all inboxes or in a passed set of inbox IDs + * @param inboxIds Optional set of inboxes to filter by. Only get the latest email from these inbox IDs. If not provided will search across all inboxes (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getLatestEmailAsync(List inboxIds, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getLatestEmailValidateBeforeCall(inboxIds, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getLatestEmailInInbox1 + * @param inboxId ID of the inbox you want to get the latest email from (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getLatestEmailInInbox1Call(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/latestIn"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getLatestEmailInInbox1ValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getLatestEmailInInbox1(Async)"); + } + + return getLatestEmailInInbox1Call(inboxId, _callback); + + } + + /** + * Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + * Get the newest email in all inboxes or in a passed set of inbox IDs + * @param inboxId ID of the inbox you want to get the latest email from (required) + * @return Email + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public Email getLatestEmailInInbox1(UUID inboxId) throws ApiException { + ApiResponse localVarResp = getLatestEmailInInbox1WithHttpInfo(inboxId); + return localVarResp.getData(); + } + + /** + * Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + * Get the newest email in all inboxes or in a passed set of inbox IDs + * @param inboxId ID of the inbox you want to get the latest email from (required) + * @return ApiResponse<Email> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getLatestEmailInInbox1WithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = getLatestEmailInInbox1ValidateBeforeCall(inboxId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. (asynchronously) + * Get the newest email in all inboxes or in a passed set of inbox IDs + * @param inboxId ID of the inbox you want to get the latest email from (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getLatestEmailInInbox1Async(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getLatestEmailInInbox1ValidateBeforeCall(inboxId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getOrganizationEmailsPaginated + * @param inboxId Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional) + * @param page Optional page index in email list pagination (optional, default to 0) + * @param size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param searchFilter Optional search filter search filter for emails. (optional) + * @param since Optional filter emails received after given date time (optional) + * @param before Optional filter emails received before given date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getOrganizationEmailsPaginatedCall(List inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/organization"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "inboxId", inboxId)); + } + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (unreadOnly != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("unreadOnly", unreadOnly)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getOrganizationEmailsPaginatedValidateBeforeCall(List inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getOrganizationEmailsPaginatedCall(inboxId, page, size, sort, unreadOnly, searchFilter, since, before, _callback); + + } + + /** + * Get all organization emails. List team or shared test email accounts + * By default returns all emails across all team inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages + * @param inboxId Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional) + * @param page Optional page index in email list pagination (optional, default to 0) + * @param size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param searchFilter Optional search filter search filter for emails. (optional) + * @param since Optional filter emails received after given date time (optional) + * @param before Optional filter emails received before given date time (optional) + * @return PageEmailProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageEmailProjection getOrganizationEmailsPaginated(List inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getOrganizationEmailsPaginatedWithHttpInfo(inboxId, page, size, sort, unreadOnly, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * Get all organization emails. List team or shared test email accounts + * By default returns all emails across all team inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages + * @param inboxId Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional) + * @param page Optional page index in email list pagination (optional, default to 0) + * @param size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param searchFilter Optional search filter search filter for emails. (optional) + * @param since Optional filter emails received after given date time (optional) + * @param before Optional filter emails received before given date time (optional) + * @return ApiResponse<PageEmailProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getOrganizationEmailsPaginatedWithHttpInfo(List inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getOrganizationEmailsPaginatedValidateBeforeCall(inboxId, page, size, sort, unreadOnly, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all organization emails. List team or shared test email accounts (asynchronously) + * By default returns all emails across all team inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages + * @param inboxId Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account. (optional) + * @param page Optional page index in email list pagination (optional, default to 0) + * @param size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param searchFilter Optional search filter search filter for emails. (optional) + * @param since Optional filter emails received after given date time (optional) + * @param before Optional filter emails received before given date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getOrganizationEmailsPaginatedAsync(List inboxId, Integer page, Integer size, String sort, Boolean unreadOnly, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getOrganizationEmailsPaginatedValidateBeforeCall(inboxId, page, size, sort, unreadOnly, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getRawEmailContents + * @param emailId ID of email (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getRawEmailContentsCall(UUID emailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/raw" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "text/plain" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getRawEmailContentsValidateBeforeCall(UUID emailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getRawEmailContents(Async)"); + } + + return getRawEmailContentsCall(emailId, _callback); + + } + + /** + * Get raw email string. Returns unparsed raw SMTP message with headers and body. + * Returns a raw, unparsed, and unprocessed email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawEmailJson endpoint + * @param emailId ID of email (required) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public String getRawEmailContents(UUID emailId) throws ApiException { + ApiResponse localVarResp = getRawEmailContentsWithHttpInfo(emailId); + return localVarResp.getData(); + } + + /** + * Get raw email string. Returns unparsed raw SMTP message with headers and body. + * Returns a raw, unparsed, and unprocessed email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawEmailJson endpoint + * @param emailId ID of email (required) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getRawEmailContentsWithHttpInfo(UUID emailId) throws ApiException { + okhttp3.Call localVarCall = getRawEmailContentsValidateBeforeCall(emailId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get raw email string. Returns unparsed raw SMTP message with headers and body. (asynchronously) + * Returns a raw, unparsed, and unprocessed email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawEmailJson endpoint + * @param emailId ID of email (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getRawEmailContentsAsync(UUID emailId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getRawEmailContentsValidateBeforeCall(emailId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getRawEmailJson + * @param emailId ID of email (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getRawEmailJsonCall(UUID emailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/raw/json" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getRawEmailJsonValidateBeforeCall(UUID emailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getRawEmailJson(Async)"); + } + + return getRawEmailJsonCall(emailId, _callback); + + } + + /** + * Get raw email in JSON. Unparsed SMTP message in JSON wrapper format. + * Returns a raw, unparsed, and unprocessed email wrapped in a JSON response object for easier handling when compared with the getRawEmail text/plain response + * @param emailId ID of email (required) + * @return RawEmailJson + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public RawEmailJson getRawEmailJson(UUID emailId) throws ApiException { + ApiResponse localVarResp = getRawEmailJsonWithHttpInfo(emailId); + return localVarResp.getData(); + } + + /** + * Get raw email in JSON. Unparsed SMTP message in JSON wrapper format. + * Returns a raw, unparsed, and unprocessed email wrapped in a JSON response object for easier handling when compared with the getRawEmail text/plain response + * @param emailId ID of email (required) + * @return ApiResponse<RawEmailJson> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getRawEmailJsonWithHttpInfo(UUID emailId) throws ApiException { + okhttp3.Call localVarCall = getRawEmailJsonValidateBeforeCall(emailId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get raw email in JSON. Unparsed SMTP message in JSON wrapper format. (asynchronously) + * Returns a raw, unparsed, and unprocessed email wrapped in a JSON response object for easier handling when compared with the getRawEmail text/plain response + * @param emailId ID of email (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getRawEmailJsonAsync(UUID emailId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getRawEmailJsonValidateBeforeCall(emailId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getUnreadEmailCount + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getUnreadEmailCountCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/unreadCount"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getUnreadEmailCountValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getUnreadEmailCountCall(_callback); + + } + + /** + * Get unread email count + * Get number of emails unread. Unread means has not been viewed in dashboard or returned in an email API response + * @return UnreadCount + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public UnreadCount getUnreadEmailCount() throws ApiException { + ApiResponse localVarResp = getUnreadEmailCountWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get unread email count + * Get number of emails unread. Unread means has not been viewed in dashboard or returned in an email API response + * @return ApiResponse<UnreadCount> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getUnreadEmailCountWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getUnreadEmailCountValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get unread email count (asynchronously) + * Get number of emails unread. Unread means has not been viewed in dashboard or returned in an email API response + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getUnreadEmailCountAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getUnreadEmailCountValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for markAsRead + * @param emailId (required) + * @param read What value to assign to email read property. Default true. (optional, default to true) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call markAsReadCall(UUID emailId, Boolean read, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/read" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (read != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("read", read)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call markAsReadValidateBeforeCall(UUID emailId, Boolean read, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling markAsRead(Async)"); + } + + return markAsReadCall(emailId, read, _callback); + + } + + /** + * Mark an email as read on unread + * Marks an email as read or unread. Pass boolean read flag to set value. This is useful if you want to read an email but keep it as unread + * @param emailId (required) + * @param read What value to assign to email read property. Default true. (optional, default to true) + * @return EmailPreview + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmailPreview markAsRead(UUID emailId, Boolean read) throws ApiException { + ApiResponse localVarResp = markAsReadWithHttpInfo(emailId, read); + return localVarResp.getData(); + } + + /** + * Mark an email as read on unread + * Marks an email as read or unread. Pass boolean read flag to set value. This is useful if you want to read an email but keep it as unread + * @param emailId (required) + * @param read What value to assign to email read property. Default true. (optional, default to true) + * @return ApiResponse<EmailPreview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse markAsReadWithHttpInfo(UUID emailId, Boolean read) throws ApiException { + okhttp3.Call localVarCall = markAsReadValidateBeforeCall(emailId, read, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Mark an email as read on unread (asynchronously) + * Marks an email as read or unread. Pass boolean read flag to set value. This is useful if you want to read an email but keep it as unread + * @param emailId (required) + * @param read What value to assign to email read property. Default true. (optional, default to true) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call markAsReadAsync(UUID emailId, Boolean read, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = markAsReadValidateBeforeCall(emailId, read, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for replyToEmail + * @param emailId ID of the email that should be replied to (required) + * @param replyToEmailOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call replyToEmailCall(UUID emailId, ReplyToEmailOptions replyToEmailOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = replyToEmailOptions; + + // create path and map variables + String localVarPath = "/emails/{emailId}" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call replyToEmailValidateBeforeCall(UUID emailId, ReplyToEmailOptions replyToEmailOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling replyToEmail(Async)"); + } + + // verify the required parameter 'replyToEmailOptions' is set + if (replyToEmailOptions == null) { + throw new ApiException("Missing the required parameter 'replyToEmailOptions' when calling replyToEmail(Async)"); + } + + return replyToEmailCall(emailId, replyToEmailOptions, _callback); + + } + + /** + * Reply to an email + * Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`. + * @param emailId ID of the email that should be replied to (required) + * @param replyToEmailOptions (required) + * @return SentEmailDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public SentEmailDto replyToEmail(UUID emailId, ReplyToEmailOptions replyToEmailOptions) throws ApiException { + ApiResponse localVarResp = replyToEmailWithHttpInfo(emailId, replyToEmailOptions); + return localVarResp.getData(); + } + + /** + * Reply to an email + * Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`. + * @param emailId ID of the email that should be replied to (required) + * @param replyToEmailOptions (required) + * @return ApiResponse<SentEmailDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse replyToEmailWithHttpInfo(UUID emailId, ReplyToEmailOptions replyToEmailOptions) throws ApiException { + okhttp3.Call localVarCall = replyToEmailValidateBeforeCall(emailId, replyToEmailOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Reply to an email (asynchronously) + * Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`. + * @param emailId ID of the email that should be replied to (required) + * @param replyToEmailOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call replyToEmailAsync(UUID emailId, ReplyToEmailOptions replyToEmailOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = replyToEmailValidateBeforeCall(emailId, replyToEmailOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for sendEmailSourceOptional + * @param sendEmailOptions (required) + * @param inboxId ID of the inbox you want to send the email from (optional) + * @param useDomainPool Use domain pool. Optionally create inbox to send from using the mailslurp domain pool. (optional) + * @param virtualSend Optionally create inbox to send from that is a virtual inbox and won't send to external addresses (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendEmailSourceOptionalCall(SendEmailOptions sendEmailOptions, UUID inboxId, Boolean useDomainPool, Boolean virtualSend, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = sendEmailOptions; + + // create path and map variables + String localVarPath = "/emails"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (useDomainPool != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("useDomainPool", useDomainPool)); + } + + if (virtualSend != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("virtualSend", virtualSend)); + } + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call sendEmailSourceOptionalValidateBeforeCall(SendEmailOptions sendEmailOptions, UUID inboxId, Boolean useDomainPool, Boolean virtualSend, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'sendEmailOptions' is set + if (sendEmailOptions == null) { + throw new ApiException("Missing the required parameter 'sendEmailOptions' when calling sendEmailSourceOptional(Async)"); + } + + return sendEmailSourceOptionalCall(sendEmailOptions, inboxId, useDomainPool, virtualSend, _callback); + + } + + /** + * Send email + * Alias for `InboxController.sendEmail` method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email. + * @param sendEmailOptions (required) + * @param inboxId ID of the inbox you want to send the email from (optional) + * @param useDomainPool Use domain pool. Optionally create inbox to send from using the mailslurp domain pool. (optional) + * @param virtualSend Optionally create inbox to send from that is a virtual inbox and won't send to external addresses (optional) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public void sendEmailSourceOptional(SendEmailOptions sendEmailOptions, UUID inboxId, Boolean useDomainPool, Boolean virtualSend) throws ApiException { + sendEmailSourceOptionalWithHttpInfo(sendEmailOptions, inboxId, useDomainPool, virtualSend); + } + + /** + * Send email + * Alias for `InboxController.sendEmail` method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email. + * @param sendEmailOptions (required) + * @param inboxId ID of the inbox you want to send the email from (optional) + * @param useDomainPool Use domain pool. Optionally create inbox to send from using the mailslurp domain pool. (optional) + * @param virtualSend Optionally create inbox to send from that is a virtual inbox and won't send to external addresses (optional) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse sendEmailSourceOptionalWithHttpInfo(SendEmailOptions sendEmailOptions, UUID inboxId, Boolean useDomainPool, Boolean virtualSend) throws ApiException { + okhttp3.Call localVarCall = sendEmailSourceOptionalValidateBeforeCall(sendEmailOptions, inboxId, useDomainPool, virtualSend, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Send email (asynchronously) + * Alias for `InboxController.sendEmail` method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email. + * @param sendEmailOptions (required) + * @param inboxId ID of the inbox you want to send the email from (optional) + * @param useDomainPool Use domain pool. Optionally create inbox to send from using the mailslurp domain pool. (optional) + * @param virtualSend Optionally create inbox to send from that is a virtual inbox and won't send to external addresses (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendEmailSourceOptionalAsync(SendEmailOptions sendEmailOptions, UUID inboxId, Boolean useDomainPool, Boolean virtualSend, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = sendEmailSourceOptionalValidateBeforeCall(sendEmailOptions, inboxId, useDomainPool, virtualSend, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for validateEmail + * @param emailId ID of email (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call validateEmailCall(UUID emailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/emails/{emailId}/validate" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call validateEmailValidateBeforeCall(UUID emailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling validateEmail(Async)"); + } + + return validateEmailCall(emailId, _callback); + + } + + /** + * Validate email HTML contents + * Validate the HTML content of email if HTML is found. Considered valid if no HTML is present. + * @param emailId ID of email (required) + * @return ValidationDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ValidationDto validateEmail(UUID emailId) throws ApiException { + ApiResponse localVarResp = validateEmailWithHttpInfo(emailId); + return localVarResp.getData(); + } + + /** + * Validate email HTML contents + * Validate the HTML content of email if HTML is found. Considered valid if no HTML is present. + * @param emailId ID of email (required) + * @return ApiResponse<ValidationDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse validateEmailWithHttpInfo(UUID emailId) throws ApiException { + okhttp3.Call localVarCall = validateEmailValidateBeforeCall(emailId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Validate email HTML contents (asynchronously) + * Validate the HTML content of email if HTML is found. Considered valid if no HTML is present. + * @param emailId ID of email (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call validateEmailAsync(UUID emailId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = validateEmailValidateBeforeCall(emailId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/EmailVerificationControllerApi.java b/src/main/java/com/mailslurp/apis/EmailVerificationControllerApi.java new file mode 100644 index 000000000..7c7a842c2 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/EmailVerificationControllerApi.java @@ -0,0 +1,371 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import java.time.OffsetDateTime; +import com.mailslurp.models.PageEmailValidationRequest; +import com.mailslurp.models.ValidateEmailAddressListOptions; +import com.mailslurp.models.ValidateEmailAddressListResult; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class EmailVerificationControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public EmailVerificationControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public EmailVerificationControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for getValidationRequests + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param isValid Filter where email is valid is true or false (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getValidationRequestsCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean isValid, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/email-verification/validation-requests"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (isValid != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isValid", isValid)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getValidationRequestsValidateBeforeCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean isValid, final ApiCallback _callback) throws ApiException { + return getValidationRequestsCall(page, size, sort, searchFilter, since, before, isValid, _callback); + + } + + /** + * Validate a list of email addresses. Per unit billing. See your plan for pricing. + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param isValid Filter where email is valid is true or false (optional) + * @return PageEmailValidationRequest + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageEmailValidationRequest getValidationRequests(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean isValid) throws ApiException { + ApiResponse localVarResp = getValidationRequestsWithHttpInfo(page, size, sort, searchFilter, since, before, isValid); + return localVarResp.getData(); + } + + /** + * Validate a list of email addresses. Per unit billing. See your plan for pricing. + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param isValid Filter where email is valid is true or false (optional) + * @return ApiResponse<PageEmailValidationRequest> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getValidationRequestsWithHttpInfo(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean isValid) throws ApiException { + okhttp3.Call localVarCall = getValidationRequestsValidateBeforeCall(page, size, sort, searchFilter, since, before, isValid, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Validate a list of email addresses. Per unit billing. See your plan for pricing. (asynchronously) + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param isValid Filter where email is valid is true or false (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getValidationRequestsAsync(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean isValid, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getValidationRequestsValidateBeforeCall(page, size, sort, searchFilter, since, before, isValid, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for validateEmailAddressList + * @param validateEmailAddressListOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call validateEmailAddressListCall(ValidateEmailAddressListOptions validateEmailAddressListOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = validateEmailAddressListOptions; + + // create path and map variables + String localVarPath = "/email-verification/email-address-list"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call validateEmailAddressListValidateBeforeCall(ValidateEmailAddressListOptions validateEmailAddressListOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'validateEmailAddressListOptions' is set + if (validateEmailAddressListOptions == null) { + throw new ApiException("Missing the required parameter 'validateEmailAddressListOptions' when calling validateEmailAddressList(Async)"); + } + + return validateEmailAddressListCall(validateEmailAddressListOptions, _callback); + + } + + /** + * Validate a list of email addresses. Per unit billing. See your plan for pricing. + * + * @param validateEmailAddressListOptions (required) + * @return ValidateEmailAddressListResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ValidateEmailAddressListResult validateEmailAddressList(ValidateEmailAddressListOptions validateEmailAddressListOptions) throws ApiException { + ApiResponse localVarResp = validateEmailAddressListWithHttpInfo(validateEmailAddressListOptions); + return localVarResp.getData(); + } + + /** + * Validate a list of email addresses. Per unit billing. See your plan for pricing. + * + * @param validateEmailAddressListOptions (required) + * @return ApiResponse<ValidateEmailAddressListResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse validateEmailAddressListWithHttpInfo(ValidateEmailAddressListOptions validateEmailAddressListOptions) throws ApiException { + okhttp3.Call localVarCall = validateEmailAddressListValidateBeforeCall(validateEmailAddressListOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Validate a list of email addresses. Per unit billing. See your plan for pricing. (asynchronously) + * + * @param validateEmailAddressListOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call validateEmailAddressListAsync(ValidateEmailAddressListOptions validateEmailAddressListOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = validateEmailAddressListValidateBeforeCall(validateEmailAddressListOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/ExpiredControllerApi.java b/src/main/java/com/mailslurp/apis/ExpiredControllerApi.java new file mode 100644 index 000000000..e18c6a965 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/ExpiredControllerApi.java @@ -0,0 +1,592 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.ExpirationDefaults; +import com.mailslurp.models.ExpiredInboxDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageExpiredInboxRecordProjection; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class ExpiredControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public ExpiredControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public ExpiredControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for getExpirationDefaults + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getExpirationDefaultsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/expired/defaults"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getExpirationDefaultsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getExpirationDefaultsCall(_callback); + + } + + /** + * Get default expiration settings + * Return default times used for inbox expiration + * @return ExpirationDefaults + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ExpirationDefaults getExpirationDefaults() throws ApiException { + ApiResponse localVarResp = getExpirationDefaultsWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get default expiration settings + * Return default times used for inbox expiration + * @return ApiResponse<ExpirationDefaults> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getExpirationDefaultsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getExpirationDefaultsValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get default expiration settings (asynchronously) + * Return default times used for inbox expiration + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getExpirationDefaultsAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getExpirationDefaultsValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getExpiredInboxByInboxId + * @param inboxId ID of inbox you want to retrieve (not the inbox ID) (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getExpiredInboxByInboxIdCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/expired/inbox/{inboxId}" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getExpiredInboxByInboxIdValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getExpiredInboxByInboxId(Async)"); + } + + return getExpiredInboxByInboxIdCall(inboxId, _callback); + + } + + /** + * Get expired inbox record for a previously existing inbox + * Use the inboxId to return an ExpiredInboxRecord if an inbox has expired. Inboxes expire and are disabled if an expiration date is set or plan requires. Returns 404 if no expired inbox is found for the inboxId + * @param inboxId ID of inbox you want to retrieve (not the inbox ID) (required) + * @return ExpiredInboxDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ExpiredInboxDto getExpiredInboxByInboxId(UUID inboxId) throws ApiException { + ApiResponse localVarResp = getExpiredInboxByInboxIdWithHttpInfo(inboxId); + return localVarResp.getData(); + } + + /** + * Get expired inbox record for a previously existing inbox + * Use the inboxId to return an ExpiredInboxRecord if an inbox has expired. Inboxes expire and are disabled if an expiration date is set or plan requires. Returns 404 if no expired inbox is found for the inboxId + * @param inboxId ID of inbox you want to retrieve (not the inbox ID) (required) + * @return ApiResponse<ExpiredInboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getExpiredInboxByInboxIdWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = getExpiredInboxByInboxIdValidateBeforeCall(inboxId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get expired inbox record for a previously existing inbox (asynchronously) + * Use the inboxId to return an ExpiredInboxRecord if an inbox has expired. Inboxes expire and are disabled if an expiration date is set or plan requires. Returns 404 if no expired inbox is found for the inboxId + * @param inboxId ID of inbox you want to retrieve (not the inbox ID) (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getExpiredInboxByInboxIdAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getExpiredInboxByInboxIdValidateBeforeCall(inboxId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getExpiredInboxRecord + * @param expiredId ID of the ExpiredInboxRecord you want to retrieve. This is different from the ID of the inbox you are interested in. See other methods for getting ExpiredInboxRecord for an inbox inboxId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getExpiredInboxRecordCall(UUID expiredId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/expired/{expiredId}" + .replace("{" + "expiredId" + "}", localVarApiClient.escapeString(expiredId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getExpiredInboxRecordValidateBeforeCall(UUID expiredId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'expiredId' is set + if (expiredId == null) { + throw new ApiException("Missing the required parameter 'expiredId' when calling getExpiredInboxRecord(Async)"); + } + + return getExpiredInboxRecordCall(expiredId, _callback); + + } + + /** + * Get an expired inbox record + * Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity. You can still read emails in the inbox but it can no longer send or receive emails. Fetch the expired inboxes to view the old inboxes properties + * @param expiredId ID of the ExpiredInboxRecord you want to retrieve. This is different from the ID of the inbox you are interested in. See other methods for getting ExpiredInboxRecord for an inbox inboxId (required) + * @return ExpiredInboxDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ExpiredInboxDto getExpiredInboxRecord(UUID expiredId) throws ApiException { + ApiResponse localVarResp = getExpiredInboxRecordWithHttpInfo(expiredId); + return localVarResp.getData(); + } + + /** + * Get an expired inbox record + * Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity. You can still read emails in the inbox but it can no longer send or receive emails. Fetch the expired inboxes to view the old inboxes properties + * @param expiredId ID of the ExpiredInboxRecord you want to retrieve. This is different from the ID of the inbox you are interested in. See other methods for getting ExpiredInboxRecord for an inbox inboxId (required) + * @return ApiResponse<ExpiredInboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getExpiredInboxRecordWithHttpInfo(UUID expiredId) throws ApiException { + okhttp3.Call localVarCall = getExpiredInboxRecordValidateBeforeCall(expiredId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get an expired inbox record (asynchronously) + * Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity. You can still read emails in the inbox but it can no longer send or receive emails. Fetch the expired inboxes to view the old inboxes properties + * @param expiredId ID of the ExpiredInboxRecord you want to retrieve. This is different from the ID of the inbox you are interested in. See other methods for getting ExpiredInboxRecord for an inbox inboxId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getExpiredInboxRecordAsync(UUID expiredId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getExpiredInboxRecordValidateBeforeCall(expiredId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getExpiredInboxes + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getExpiredInboxesCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/expired"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getExpiredInboxesValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getExpiredInboxesCall(page, size, sort, since, before, _callback); + + } + + /** + * List records of expired inboxes + * Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageExpiredInboxRecordProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageExpiredInboxRecordProjection getExpiredInboxes(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getExpiredInboxesWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * List records of expired inboxes + * Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageExpiredInboxRecordProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getExpiredInboxesWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getExpiredInboxesValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List records of expired inboxes (asynchronously) + * Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getExpiredInboxesAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getExpiredInboxesValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/ExportControllerApi.java b/src/main/java/com/mailslurp/apis/ExportControllerApi.java new file mode 100644 index 000000000..faddf15f5 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/ExportControllerApi.java @@ -0,0 +1,414 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.ExportLink; +import com.mailslurp.models.ExportOptions; +import java.time.OffsetDateTime; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class ExportControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public ExportControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public ExportControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for exportEntities + * @param exportType (required) + * @param apiKey (required) + * @param outputFormat (required) + * @param filter (optional) + * @param listSeparatorToken (optional) + * @param excludePreviouslyExported (optional) + * @param createdEarliestTime (optional) + * @param createdOldestTime (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call exportEntitiesCall(String exportType, String apiKey, String outputFormat, String filter, String listSeparatorToken, Boolean excludePreviouslyExported, OffsetDateTime createdEarliestTime, OffsetDateTime createdOldestTime, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/export"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (exportType != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("exportType", exportType)); + } + + if (apiKey != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("apiKey", apiKey)); + } + + if (outputFormat != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("outputFormat", outputFormat)); + } + + if (filter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter", filter)); + } + + if (listSeparatorToken != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("listSeparatorToken", listSeparatorToken)); + } + + if (excludePreviouslyExported != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludePreviouslyExported", excludePreviouslyExported)); + } + + if (createdEarliestTime != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("createdEarliestTime", createdEarliestTime)); + } + + if (createdOldestTime != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("createdOldestTime", createdOldestTime)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call exportEntitiesValidateBeforeCall(String exportType, String apiKey, String outputFormat, String filter, String listSeparatorToken, Boolean excludePreviouslyExported, OffsetDateTime createdEarliestTime, OffsetDateTime createdOldestTime, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'exportType' is set + if (exportType == null) { + throw new ApiException("Missing the required parameter 'exportType' when calling exportEntities(Async)"); + } + + // verify the required parameter 'apiKey' is set + if (apiKey == null) { + throw new ApiException("Missing the required parameter 'apiKey' when calling exportEntities(Async)"); + } + + // verify the required parameter 'outputFormat' is set + if (outputFormat == null) { + throw new ApiException("Missing the required parameter 'outputFormat' when calling exportEntities(Async)"); + } + + return exportEntitiesCall(exportType, apiKey, outputFormat, filter, listSeparatorToken, excludePreviouslyExported, createdEarliestTime, createdOldestTime, _callback); + + } + + /** + * Export inboxes link callable via browser + * + * @param exportType (required) + * @param apiKey (required) + * @param outputFormat (required) + * @param filter (optional) + * @param listSeparatorToken (optional) + * @param excludePreviouslyExported (optional) + * @param createdEarliestTime (optional) + * @param createdOldestTime (optional) + * @return List<byte[]> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List exportEntities(String exportType, String apiKey, String outputFormat, String filter, String listSeparatorToken, Boolean excludePreviouslyExported, OffsetDateTime createdEarliestTime, OffsetDateTime createdOldestTime) throws ApiException { + ApiResponse> localVarResp = exportEntitiesWithHttpInfo(exportType, apiKey, outputFormat, filter, listSeparatorToken, excludePreviouslyExported, createdEarliestTime, createdOldestTime); + return localVarResp.getData(); + } + + /** + * Export inboxes link callable via browser + * + * @param exportType (required) + * @param apiKey (required) + * @param outputFormat (required) + * @param filter (optional) + * @param listSeparatorToken (optional) + * @param excludePreviouslyExported (optional) + * @param createdEarliestTime (optional) + * @param createdOldestTime (optional) + * @return ApiResponse<List<byte[]>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> exportEntitiesWithHttpInfo(String exportType, String apiKey, String outputFormat, String filter, String listSeparatorToken, Boolean excludePreviouslyExported, OffsetDateTime createdEarliestTime, OffsetDateTime createdOldestTime) throws ApiException { + okhttp3.Call localVarCall = exportEntitiesValidateBeforeCall(exportType, apiKey, outputFormat, filter, listSeparatorToken, excludePreviouslyExported, createdEarliestTime, createdOldestTime, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Export inboxes link callable via browser (asynchronously) + * + * @param exportType (required) + * @param apiKey (required) + * @param outputFormat (required) + * @param filter (optional) + * @param listSeparatorToken (optional) + * @param excludePreviouslyExported (optional) + * @param createdEarliestTime (optional) + * @param createdOldestTime (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call exportEntitiesAsync(String exportType, String apiKey, String outputFormat, String filter, String listSeparatorToken, Boolean excludePreviouslyExported, OffsetDateTime createdEarliestTime, OffsetDateTime createdOldestTime, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = exportEntitiesValidateBeforeCall(exportType, apiKey, outputFormat, filter, listSeparatorToken, excludePreviouslyExported, createdEarliestTime, createdOldestTime, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getExportLink + * @param exportType (required) + * @param exportOptions (required) + * @param apiKey (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getExportLinkCall(String exportType, ExportOptions exportOptions, String apiKey, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = exportOptions; + + // create path and map variables + String localVarPath = "/export"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (exportType != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("exportType", exportType)); + } + + if (apiKey != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("apiKey", apiKey)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getExportLinkValidateBeforeCall(String exportType, ExportOptions exportOptions, String apiKey, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'exportType' is set + if (exportType == null) { + throw new ApiException("Missing the required parameter 'exportType' when calling getExportLink(Async)"); + } + + // verify the required parameter 'exportOptions' is set + if (exportOptions == null) { + throw new ApiException("Missing the required parameter 'exportOptions' when calling getExportLink(Async)"); + } + + return getExportLinkCall(exportType, exportOptions, apiKey, _callback); + + } + + /** + * Get export link + * + * @param exportType (required) + * @param exportOptions (required) + * @param apiKey (optional) + * @return ExportLink + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ExportLink getExportLink(String exportType, ExportOptions exportOptions, String apiKey) throws ApiException { + ApiResponse localVarResp = getExportLinkWithHttpInfo(exportType, exportOptions, apiKey); + return localVarResp.getData(); + } + + /** + * Get export link + * + * @param exportType (required) + * @param exportOptions (required) + * @param apiKey (optional) + * @return ApiResponse<ExportLink> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getExportLinkWithHttpInfo(String exportType, ExportOptions exportOptions, String apiKey) throws ApiException { + okhttp3.Call localVarCall = getExportLinkValidateBeforeCall(exportType, exportOptions, apiKey, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get export link (asynchronously) + * + * @param exportType (required) + * @param exportOptions (required) + * @param apiKey (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getExportLinkAsync(String exportType, ExportOptions exportOptions, String apiKey, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getExportLinkValidateBeforeCall(exportType, exportOptions, apiKey, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/FormControllerApi.java b/src/main/java/com/mailslurp/apis/FormControllerApi.java new file mode 100644 index 000000000..eae6e7c12 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/FormControllerApi.java @@ -0,0 +1,244 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class FormControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public FormControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public FormControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for submitForm + * @param to The email address that submitted form should be sent to. (optional) + * @param subject Optional subject of the email that will be sent. (optional) + * @param redirectTo Optional URL to redirect form submitter to after submission. If not present user will see a success message. (optional) + * @param emailAddress Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later. (optional) + * @param successMessage Optional success message to display if no _redirectTo present. (optional) + * @param spamCheck Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored. (optional) + * @param otherParameters All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call submitFormCall(String to, String subject, String redirectTo, String emailAddress, String successMessage, String spamCheck, String otherParameters, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/forms"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (to != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("_to", to)); + } + + if (subject != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("_subject", subject)); + } + + if (redirectTo != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("_redirectTo", redirectTo)); + } + + if (emailAddress != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("_emailAddress", emailAddress)); + } + + if (successMessage != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("_successMessage", successMessage)); + } + + if (spamCheck != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("_spamCheck", spamCheck)); + } + + if (otherParameters != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("otherParameters", otherParameters)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call submitFormValidateBeforeCall(String to, String subject, String redirectTo, String emailAddress, String successMessage, String spamCheck, String otherParameters, final ApiCallback _callback) throws ApiException { + return submitFormCall(to, subject, redirectTo, emailAddress, successMessage, spamCheck, otherParameters, _callback); + + } + + /** + * Submit a form to be parsed and sent as an email to an address determined by the form fields + * This endpoint allows you to submit HTML forms and receive the field values and files via email. #### Parameters The endpoint looks for special meta parameters in the form fields OR in the URL request parameters. The meta parameters can be used to specify the behaviour of the email. You must provide at-least a `_to` email address to tell the endpoint where the form should be emailed. These can be submitted as hidden HTML input fields with the corresponding `name` attributes or as URL query parameters such as `?_to=test@example.com` The endpoint takes all other form fields that are named and includes them in the message body of the email. Files are sent as attachments. #### Submitting This endpoint accepts form submission via POST method. It accepts `application/x-www-form-urlencoded`, and `multipart/form-data` content-types. #### HTML Example ```html <form action=\"https://java.api.mailslurp.com/forms\" method=\"post\" > <input name=\"_to\" type=\"hidden\" value=\"test@example.com\"/> <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` #### URL Example ```html <form action=\"https://java.api.mailslurp.com/forms?_to=test@example.com\" method=\"post\" > <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` The email address is specified by a `_to` field OR is extracted from an email alias specified by a `_toAlias` field (see the alias controller for more information). Endpoint accepts . You can specify a content type in HTML forms using the `enctype` attribute, for instance: `<form enctype=\"multipart/form-data\">`. + * @param to The email address that submitted form should be sent to. (optional) + * @param subject Optional subject of the email that will be sent. (optional) + * @param redirectTo Optional URL to redirect form submitter to after submission. If not present user will see a success message. (optional) + * @param emailAddress Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later. (optional) + * @param successMessage Optional success message to display if no _redirectTo present. (optional) + * @param spamCheck Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored. (optional) + * @param otherParameters All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent. (optional) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public String submitForm(String to, String subject, String redirectTo, String emailAddress, String successMessage, String spamCheck, String otherParameters) throws ApiException { + ApiResponse localVarResp = submitFormWithHttpInfo(to, subject, redirectTo, emailAddress, successMessage, spamCheck, otherParameters); + return localVarResp.getData(); + } + + /** + * Submit a form to be parsed and sent as an email to an address determined by the form fields + * This endpoint allows you to submit HTML forms and receive the field values and files via email. #### Parameters The endpoint looks for special meta parameters in the form fields OR in the URL request parameters. The meta parameters can be used to specify the behaviour of the email. You must provide at-least a `_to` email address to tell the endpoint where the form should be emailed. These can be submitted as hidden HTML input fields with the corresponding `name` attributes or as URL query parameters such as `?_to=test@example.com` The endpoint takes all other form fields that are named and includes them in the message body of the email. Files are sent as attachments. #### Submitting This endpoint accepts form submission via POST method. It accepts `application/x-www-form-urlencoded`, and `multipart/form-data` content-types. #### HTML Example ```html <form action=\"https://java.api.mailslurp.com/forms\" method=\"post\" > <input name=\"_to\" type=\"hidden\" value=\"test@example.com\"/> <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` #### URL Example ```html <form action=\"https://java.api.mailslurp.com/forms?_to=test@example.com\" method=\"post\" > <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` The email address is specified by a `_to` field OR is extracted from an email alias specified by a `_toAlias` field (see the alias controller for more information). Endpoint accepts . You can specify a content type in HTML forms using the `enctype` attribute, for instance: `<form enctype=\"multipart/form-data\">`. + * @param to The email address that submitted form should be sent to. (optional) + * @param subject Optional subject of the email that will be sent. (optional) + * @param redirectTo Optional URL to redirect form submitter to after submission. If not present user will see a success message. (optional) + * @param emailAddress Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later. (optional) + * @param successMessage Optional success message to display if no _redirectTo present. (optional) + * @param spamCheck Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored. (optional) + * @param otherParameters All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent. (optional) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse submitFormWithHttpInfo(String to, String subject, String redirectTo, String emailAddress, String successMessage, String spamCheck, String otherParameters) throws ApiException { + okhttp3.Call localVarCall = submitFormValidateBeforeCall(to, subject, redirectTo, emailAddress, successMessage, spamCheck, otherParameters, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Submit a form to be parsed and sent as an email to an address determined by the form fields (asynchronously) + * This endpoint allows you to submit HTML forms and receive the field values and files via email. #### Parameters The endpoint looks for special meta parameters in the form fields OR in the URL request parameters. The meta parameters can be used to specify the behaviour of the email. You must provide at-least a `_to` email address to tell the endpoint where the form should be emailed. These can be submitted as hidden HTML input fields with the corresponding `name` attributes or as URL query parameters such as `?_to=test@example.com` The endpoint takes all other form fields that are named and includes them in the message body of the email. Files are sent as attachments. #### Submitting This endpoint accepts form submission via POST method. It accepts `application/x-www-form-urlencoded`, and `multipart/form-data` content-types. #### HTML Example ```html <form action=\"https://java.api.mailslurp.com/forms\" method=\"post\" > <input name=\"_to\" type=\"hidden\" value=\"test@example.com\"/> <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` #### URL Example ```html <form action=\"https://java.api.mailslurp.com/forms?_to=test@example.com\" method=\"post\" > <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` The email address is specified by a `_to` field OR is extracted from an email alias specified by a `_toAlias` field (see the alias controller for more information). Endpoint accepts . You can specify a content type in HTML forms using the `enctype` attribute, for instance: `<form enctype=\"multipart/form-data\">`. + * @param to The email address that submitted form should be sent to. (optional) + * @param subject Optional subject of the email that will be sent. (optional) + * @param redirectTo Optional URL to redirect form submitter to after submission. If not present user will see a success message. (optional) + * @param emailAddress Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later. (optional) + * @param successMessage Optional success message to display if no _redirectTo present. (optional) + * @param spamCheck Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored. (optional) + * @param otherParameters All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call submitFormAsync(String to, String subject, String redirectTo, String emailAddress, String successMessage, String spamCheck, String otherParameters, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = submitFormValidateBeforeCall(to, subject, redirectTo, emailAddress, successMessage, spamCheck, otherParameters, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/GroupControllerApi.java b/src/main/java/com/mailslurp/apis/GroupControllerApi.java new file mode 100644 index 000000000..293fef697 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/GroupControllerApi.java @@ -0,0 +1,1266 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.CreateGroupOptions; +import com.mailslurp.models.GroupContactsDto; +import com.mailslurp.models.GroupDto; +import com.mailslurp.models.GroupProjection; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageContactProjection; +import com.mailslurp.models.PageGroupProjection; +import java.util.UUID; +import com.mailslurp.models.UpdateGroupContacts; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class GroupControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public GroupControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public GroupControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for addContactsToGroup + * @param groupId (required) + * @param updateGroupContacts (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call addContactsToGroupCall(UUID groupId, UpdateGroupContacts updateGroupContacts, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updateGroupContacts; + + // create path and map variables + String localVarPath = "/groups/{groupId}/contacts" + .replace("{" + "groupId" + "}", localVarApiClient.escapeString(groupId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call addContactsToGroupValidateBeforeCall(UUID groupId, UpdateGroupContacts updateGroupContacts, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'groupId' is set + if (groupId == null) { + throw new ApiException("Missing the required parameter 'groupId' when calling addContactsToGroup(Async)"); + } + + // verify the required parameter 'updateGroupContacts' is set + if (updateGroupContacts == null) { + throw new ApiException("Missing the required parameter 'updateGroupContacts' when calling addContactsToGroup(Async)"); + } + + return addContactsToGroupCall(groupId, updateGroupContacts, _callback); + + } + + /** + * Add contacts to a group + * + * @param groupId (required) + * @param updateGroupContacts (required) + * @return GroupContactsDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public GroupContactsDto addContactsToGroup(UUID groupId, UpdateGroupContacts updateGroupContacts) throws ApiException { + ApiResponse localVarResp = addContactsToGroupWithHttpInfo(groupId, updateGroupContacts); + return localVarResp.getData(); + } + + /** + * Add contacts to a group + * + * @param groupId (required) + * @param updateGroupContacts (required) + * @return ApiResponse<GroupContactsDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse addContactsToGroupWithHttpInfo(UUID groupId, UpdateGroupContacts updateGroupContacts) throws ApiException { + okhttp3.Call localVarCall = addContactsToGroupValidateBeforeCall(groupId, updateGroupContacts, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Add contacts to a group (asynchronously) + * + * @param groupId (required) + * @param updateGroupContacts (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call addContactsToGroupAsync(UUID groupId, UpdateGroupContacts updateGroupContacts, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = addContactsToGroupValidateBeforeCall(groupId, updateGroupContacts, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createGroup + * @param createGroupOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createGroupCall(CreateGroupOptions createGroupOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createGroupOptions; + + // create path and map variables + String localVarPath = "/groups"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createGroupValidateBeforeCall(CreateGroupOptions createGroupOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createGroupOptions' is set + if (createGroupOptions == null) { + throw new ApiException("Missing the required parameter 'createGroupOptions' when calling createGroup(Async)"); + } + + return createGroupCall(createGroupOptions, _callback); + + } + + /** + * Create a group + * + * @param createGroupOptions (required) + * @return GroupDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public GroupDto createGroup(CreateGroupOptions createGroupOptions) throws ApiException { + ApiResponse localVarResp = createGroupWithHttpInfo(createGroupOptions); + return localVarResp.getData(); + } + + /** + * Create a group + * + * @param createGroupOptions (required) + * @return ApiResponse<GroupDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createGroupWithHttpInfo(CreateGroupOptions createGroupOptions) throws ApiException { + okhttp3.Call localVarCall = createGroupValidateBeforeCall(createGroupOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create a group (asynchronously) + * + * @param createGroupOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createGroupAsync(CreateGroupOptions createGroupOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createGroupValidateBeforeCall(createGroupOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteGroup + * @param groupId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteGroupCall(UUID groupId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/groups/{groupId}" + .replace("{" + "groupId" + "}", localVarApiClient.escapeString(groupId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteGroupValidateBeforeCall(UUID groupId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'groupId' is set + if (groupId == null) { + throw new ApiException("Missing the required parameter 'groupId' when calling deleteGroup(Async)"); + } + + return deleteGroupCall(groupId, _callback); + + } + + /** + * Delete group + * + * @param groupId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteGroup(UUID groupId) throws ApiException { + deleteGroupWithHttpInfo(groupId); + } + + /** + * Delete group + * + * @param groupId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteGroupWithHttpInfo(UUID groupId) throws ApiException { + okhttp3.Call localVarCall = deleteGroupValidateBeforeCall(groupId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete group (asynchronously) + * + * @param groupId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteGroupAsync(UUID groupId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteGroupValidateBeforeCall(groupId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getAllGroups + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllGroupsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/groups/paginated"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllGroupsValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getAllGroupsCall(page, size, sort, since, before, _callback); + + } + + /** + * Get all Contact Groups in paginated format + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageGroupProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageGroupProjection getAllGroups(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAllGroupsWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get all Contact Groups in paginated format + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageGroupProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllGroupsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAllGroupsValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all Contact Groups in paginated format (asynchronously) + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllGroupsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllGroupsValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getGroup + * @param groupId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getGroupCall(UUID groupId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/groups/{groupId}" + .replace("{" + "groupId" + "}", localVarApiClient.escapeString(groupId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getGroupValidateBeforeCall(UUID groupId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'groupId' is set + if (groupId == null) { + throw new ApiException("Missing the required parameter 'groupId' when calling getGroup(Async)"); + } + + return getGroupCall(groupId, _callback); + + } + + /** + * Get group + * + * @param groupId (required) + * @return GroupDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public GroupDto getGroup(UUID groupId) throws ApiException { + ApiResponse localVarResp = getGroupWithHttpInfo(groupId); + return localVarResp.getData(); + } + + /** + * Get group + * + * @param groupId (required) + * @return ApiResponse<GroupDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getGroupWithHttpInfo(UUID groupId) throws ApiException { + okhttp3.Call localVarCall = getGroupValidateBeforeCall(groupId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get group (asynchronously) + * + * @param groupId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getGroupAsync(UUID groupId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getGroupValidateBeforeCall(groupId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getGroupWithContacts + * @param groupId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getGroupWithContactsCall(UUID groupId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/groups/{groupId}/contacts" + .replace("{" + "groupId" + "}", localVarApiClient.escapeString(groupId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getGroupWithContactsValidateBeforeCall(UUID groupId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'groupId' is set + if (groupId == null) { + throw new ApiException("Missing the required parameter 'groupId' when calling getGroupWithContacts(Async)"); + } + + return getGroupWithContactsCall(groupId, _callback); + + } + + /** + * Get group and contacts belonging to it + * + * @param groupId (required) + * @return GroupContactsDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public GroupContactsDto getGroupWithContacts(UUID groupId) throws ApiException { + ApiResponse localVarResp = getGroupWithContactsWithHttpInfo(groupId); + return localVarResp.getData(); + } + + /** + * Get group and contacts belonging to it + * + * @param groupId (required) + * @return ApiResponse<GroupContactsDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getGroupWithContactsWithHttpInfo(UUID groupId) throws ApiException { + okhttp3.Call localVarCall = getGroupWithContactsValidateBeforeCall(groupId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get group and contacts belonging to it (asynchronously) + * + * @param groupId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getGroupWithContactsAsync(UUID groupId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getGroupWithContactsValidateBeforeCall(groupId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getGroupWithContactsPaginated + * @param groupId (required) + * @param page Optional page index in group contact pagination (optional, default to 0) + * @param size Optional page size in group contact pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getGroupWithContactsPaginatedCall(UUID groupId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/groups/{groupId}/contacts-paginated" + .replace("{" + "groupId" + "}", localVarApiClient.escapeString(groupId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getGroupWithContactsPaginatedValidateBeforeCall(UUID groupId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'groupId' is set + if (groupId == null) { + throw new ApiException("Missing the required parameter 'groupId' when calling getGroupWithContactsPaginated(Async)"); + } + + return getGroupWithContactsPaginatedCall(groupId, page, size, sort, since, before, _callback); + + } + + /** + * + * Get group and paginated contacts belonging to it + * @param groupId (required) + * @param page Optional page index in group contact pagination (optional, default to 0) + * @param size Optional page size in group contact pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageContactProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageContactProjection getGroupWithContactsPaginated(UUID groupId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getGroupWithContactsPaginatedWithHttpInfo(groupId, page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * + * Get group and paginated contacts belonging to it + * @param groupId (required) + * @param page Optional page index in group contact pagination (optional, default to 0) + * @param size Optional page size in group contact pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageContactProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getGroupWithContactsPaginatedWithHttpInfo(UUID groupId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getGroupWithContactsPaginatedValidateBeforeCall(groupId, page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get group and paginated contacts belonging to it + * @param groupId (required) + * @param page Optional page index in group contact pagination (optional, default to 0) + * @param size Optional page size in group contact pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getGroupWithContactsPaginatedAsync(UUID groupId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getGroupWithContactsPaginatedValidateBeforeCall(groupId, page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getGroups + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getGroupsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/groups"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getGroupsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getGroupsCall(_callback); + + } + + /** + * Get all groups + * + * @return List<GroupProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List getGroups() throws ApiException { + ApiResponse> localVarResp = getGroupsWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get all groups + * + * @return ApiResponse<List<GroupProjection>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> getGroupsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getGroupsValidateBeforeCall(null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all groups (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getGroupsAsync(final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getGroupsValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for removeContactsFromGroup + * @param groupId (required) + * @param updateGroupContacts (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call removeContactsFromGroupCall(UUID groupId, UpdateGroupContacts updateGroupContacts, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updateGroupContacts; + + // create path and map variables + String localVarPath = "/groups/{groupId}/contacts" + .replace("{" + "groupId" + "}", localVarApiClient.escapeString(groupId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call removeContactsFromGroupValidateBeforeCall(UUID groupId, UpdateGroupContacts updateGroupContacts, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'groupId' is set + if (groupId == null) { + throw new ApiException("Missing the required parameter 'groupId' when calling removeContactsFromGroup(Async)"); + } + + // verify the required parameter 'updateGroupContacts' is set + if (updateGroupContacts == null) { + throw new ApiException("Missing the required parameter 'updateGroupContacts' when calling removeContactsFromGroup(Async)"); + } + + return removeContactsFromGroupCall(groupId, updateGroupContacts, _callback); + + } + + /** + * Remove contacts from a group + * + * @param groupId (required) + * @param updateGroupContacts (required) + * @return GroupContactsDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public GroupContactsDto removeContactsFromGroup(UUID groupId, UpdateGroupContacts updateGroupContacts) throws ApiException { + ApiResponse localVarResp = removeContactsFromGroupWithHttpInfo(groupId, updateGroupContacts); + return localVarResp.getData(); + } + + /** + * Remove contacts from a group + * + * @param groupId (required) + * @param updateGroupContacts (required) + * @return ApiResponse<GroupContactsDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse removeContactsFromGroupWithHttpInfo(UUID groupId, UpdateGroupContacts updateGroupContacts) throws ApiException { + okhttp3.Call localVarCall = removeContactsFromGroupValidateBeforeCall(groupId, updateGroupContacts, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Remove contacts from a group (asynchronously) + * + * @param groupId (required) + * @param updateGroupContacts (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call removeContactsFromGroupAsync(UUID groupId, UpdateGroupContacts updateGroupContacts, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = removeContactsFromGroupValidateBeforeCall(groupId, updateGroupContacts, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/InboxControllerApi.java b/src/main/java/com/mailslurp/apis/InboxControllerApi.java new file mode 100644 index 000000000..d9cffc321 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/InboxControllerApi.java @@ -0,0 +1,5590 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.CountDto; +import com.mailslurp.models.CreateInboxDto; +import com.mailslurp.models.CreateInboxRulesetOptions; +import com.mailslurp.models.Email; +import com.mailslurp.models.EmailPreview; +import com.mailslurp.models.FlushExpiredInboxesResult; +import com.mailslurp.models.ImapSmtpAccessDetails; +import com.mailslurp.models.InboxByEmailAddressResult; +import com.mailslurp.models.InboxByNameResult; +import com.mailslurp.models.InboxDto; +import com.mailslurp.models.InboxExistsDto; +import com.mailslurp.models.InboxIdsResult; +import com.mailslurp.models.InboxRulesetDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageDeliveryStatus; +import com.mailslurp.models.PageEmailPreview; +import com.mailslurp.models.PageInboxProjection; +import com.mailslurp.models.PageInboxRulesetDto; +import com.mailslurp.models.PageOrganizationInboxProjection; +import com.mailslurp.models.PageScheduledJobs; +import com.mailslurp.models.PageSentEmailProjection; +import com.mailslurp.models.PageTrackingPixelProjection; +import com.mailslurp.models.ScheduledJobDto; +import com.mailslurp.models.SendEmailOptions; +import com.mailslurp.models.SendSMTPEnvelopeOptions; +import com.mailslurp.models.SentEmailDto; +import com.mailslurp.models.SetInboxFavouritedOptions; +import java.util.UUID; +import com.mailslurp.models.UpdateInboxOptions; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class InboxControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public InboxControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public InboxControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for cancelScheduledJob + * @param jobId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call cancelScheduledJobCall(UUID jobId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/scheduled-jobs/{jobId}" + .replace("{" + "jobId" + "}", localVarApiClient.escapeString(jobId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call cancelScheduledJobValidateBeforeCall(UUID jobId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'jobId' is set + if (jobId == null) { + throw new ApiException("Missing the required parameter 'jobId' when calling cancelScheduledJob(Async)"); + } + + return cancelScheduledJobCall(jobId, _callback); + + } + + /** + * Cancel a scheduled email job + * Get a scheduled email job and cancel it. Will fail if status of job is already cancelled, failed, or complete. + * @param jobId (required) + * @return ScheduledJobDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ScheduledJobDto cancelScheduledJob(UUID jobId) throws ApiException { + ApiResponse localVarResp = cancelScheduledJobWithHttpInfo(jobId); + return localVarResp.getData(); + } + + /** + * Cancel a scheduled email job + * Get a scheduled email job and cancel it. Will fail if status of job is already cancelled, failed, or complete. + * @param jobId (required) + * @return ApiResponse<ScheduledJobDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse cancelScheduledJobWithHttpInfo(UUID jobId) throws ApiException { + okhttp3.Call localVarCall = cancelScheduledJobValidateBeforeCall(jobId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Cancel a scheduled email job (asynchronously) + * Get a scheduled email job and cancel it. Will fail if status of job is already cancelled, failed, or complete. + * @param jobId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call cancelScheduledJobAsync(UUID jobId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = cancelScheduledJobValidateBeforeCall(jobId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createInbox + * @param emailAddress A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. (optional) + * @param tags Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. (optional) + * @param name Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. (optional) + * @param description Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with (optional) + * @param useDomainPool Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. (optional) + * @param favourite Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering (optional) + * @param expiresAt Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. (optional) + * @param expiresIn Number of milliseconds that inbox should exist for (optional) + * @param allowTeamAccess DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. (optional) + * @param inboxType HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at `mx.mailslurp.com`. (optional) + * @param virtualInbox Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. (optional) + * @param useShortAddress Use a shorter email address under 31 characters (optional) + * @param domainId ID of custom domain to use for email address. (optional) + * @param domainName FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createInboxCall(String emailAddress, List tags, String name, String description, Boolean useDomainPool, Boolean favourite, OffsetDateTime expiresAt, Long expiresIn, Boolean allowTeamAccess, String inboxType, Boolean virtualInbox, Boolean useShortAddress, UUID domainId, String domainName, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (emailAddress != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("emailAddress", emailAddress)); + } + + if (tags != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "tags", tags)); + } + + if (name != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("name", name)); + } + + if (description != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("description", description)); + } + + if (useDomainPool != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("useDomainPool", useDomainPool)); + } + + if (favourite != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("favourite", favourite)); + } + + if (expiresAt != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("expiresAt", expiresAt)); + } + + if (expiresIn != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("expiresIn", expiresIn)); + } + + if (allowTeamAccess != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowTeamAccess", allowTeamAccess)); + } + + if (inboxType != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxType", inboxType)); + } + + if (virtualInbox != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("virtualInbox", virtualInbox)); + } + + if (useShortAddress != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("useShortAddress", useShortAddress)); + } + + if (domainId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("domainId", domainId)); + } + + if (domainName != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("domainName", domainName)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createInboxValidateBeforeCall(String emailAddress, List tags, String name, String description, Boolean useDomainPool, Boolean favourite, OffsetDateTime expiresAt, Long expiresIn, Boolean allowTeamAccess, String inboxType, Boolean virtualInbox, Boolean useShortAddress, UUID domainId, String domainName, final ApiCallback _callback) throws ApiException { + return createInboxCall(emailAddress, tags, name, description, useDomainPool, favourite, expiresAt, expiresIn, allowTeamAccess, inboxType, virtualInbox, useShortAddress, domainId, domainName, _callback); + + } + + /** + * Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes. + * Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty. + * @param emailAddress A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. (optional) + * @param tags Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. (optional) + * @param name Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. (optional) + * @param description Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with (optional) + * @param useDomainPool Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. (optional) + * @param favourite Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering (optional) + * @param expiresAt Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. (optional) + * @param expiresIn Number of milliseconds that inbox should exist for (optional) + * @param allowTeamAccess DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. (optional) + * @param inboxType HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at `mx.mailslurp.com`. (optional) + * @param virtualInbox Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. (optional) + * @param useShortAddress Use a shorter email address under 31 characters (optional) + * @param domainId ID of custom domain to use for email address. (optional) + * @param domainName FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. (optional) + * @return InboxDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public InboxDto createInbox(String emailAddress, List tags, String name, String description, Boolean useDomainPool, Boolean favourite, OffsetDateTime expiresAt, Long expiresIn, Boolean allowTeamAccess, String inboxType, Boolean virtualInbox, Boolean useShortAddress, UUID domainId, String domainName) throws ApiException { + ApiResponse localVarResp = createInboxWithHttpInfo(emailAddress, tags, name, description, useDomainPool, favourite, expiresAt, expiresIn, allowTeamAccess, inboxType, virtualInbox, useShortAddress, domainId, domainName); + return localVarResp.getData(); + } + + /** + * Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes. + * Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty. + * @param emailAddress A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. (optional) + * @param tags Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. (optional) + * @param name Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. (optional) + * @param description Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with (optional) + * @param useDomainPool Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. (optional) + * @param favourite Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering (optional) + * @param expiresAt Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. (optional) + * @param expiresIn Number of milliseconds that inbox should exist for (optional) + * @param allowTeamAccess DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. (optional) + * @param inboxType HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at `mx.mailslurp.com`. (optional) + * @param virtualInbox Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. (optional) + * @param useShortAddress Use a shorter email address under 31 characters (optional) + * @param domainId ID of custom domain to use for email address. (optional) + * @param domainName FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. (optional) + * @return ApiResponse<InboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createInboxWithHttpInfo(String emailAddress, List tags, String name, String description, Boolean useDomainPool, Boolean favourite, OffsetDateTime expiresAt, Long expiresIn, Boolean allowTeamAccess, String inboxType, Boolean virtualInbox, Boolean useShortAddress, UUID domainId, String domainName) throws ApiException { + okhttp3.Call localVarCall = createInboxValidateBeforeCall(emailAddress, tags, name, description, useDomainPool, favourite, expiresAt, expiresIn, allowTeamAccess, inboxType, virtualInbox, useShortAddress, domainId, domainName, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes. (asynchronously) + * Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty. + * @param emailAddress A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. (optional) + * @param tags Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. (optional) + * @param name Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. (optional) + * @param description Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with (optional) + * @param useDomainPool Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. (optional) + * @param favourite Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering (optional) + * @param expiresAt Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. (optional) + * @param expiresIn Number of milliseconds that inbox should exist for (optional) + * @param allowTeamAccess DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. (optional) + * @param inboxType HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at `mx.mailslurp.com`. (optional) + * @param virtualInbox Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. (optional) + * @param useShortAddress Use a shorter email address under 31 characters (optional) + * @param domainId ID of custom domain to use for email address. (optional) + * @param domainName FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createInboxAsync(String emailAddress, List tags, String name, String description, Boolean useDomainPool, Boolean favourite, OffsetDateTime expiresAt, Long expiresIn, Boolean allowTeamAccess, String inboxType, Boolean virtualInbox, Boolean useShortAddress, UUID domainId, String domainName, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createInboxValidateBeforeCall(emailAddress, tags, name, description, useDomainPool, favourite, expiresAt, expiresIn, allowTeamAccess, inboxType, virtualInbox, useShortAddress, domainId, domainName, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createInboxRuleset + * @param inboxId inboxId (required) + * @param createInboxRulesetOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call createInboxRulesetCall(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createInboxRulesetOptions; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/rulesets" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createInboxRulesetValidateBeforeCall(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling createInboxRuleset(Async)"); + } + + // verify the required parameter 'createInboxRulesetOptions' is set + if (createInboxRulesetOptions == null) { + throw new ApiException("Missing the required parameter 'createInboxRulesetOptions' when calling createInboxRuleset(Async)"); + } + + return createInboxRulesetCall(inboxId, createInboxRulesetOptions, _callback); + + } + + /** + * Create an inbox ruleset + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * @param inboxId inboxId (required) + * @param createInboxRulesetOptions (required) + * @return InboxRulesetDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxRulesetDto createInboxRuleset(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions) throws ApiException { + ApiResponse localVarResp = createInboxRulesetWithHttpInfo(inboxId, createInboxRulesetOptions); + return localVarResp.getData(); + } + + /** + * Create an inbox ruleset + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * @param inboxId inboxId (required) + * @param createInboxRulesetOptions (required) + * @return ApiResponse<InboxRulesetDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse createInboxRulesetWithHttpInfo(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions) throws ApiException { + okhttp3.Call localVarCall = createInboxRulesetValidateBeforeCall(inboxId, createInboxRulesetOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create an inbox ruleset (asynchronously) + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * @param inboxId inboxId (required) + * @param createInboxRulesetOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call createInboxRulesetAsync(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createInboxRulesetValidateBeforeCall(inboxId, createInboxRulesetOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createInboxWithDefaults + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createInboxWithDefaultsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/withDefaults"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createInboxWithDefaultsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return createInboxWithDefaultsCall(_callback); + + } + + /** + * Create an inbox with default options. Uses MailSlurp domain pool address and is private. + * + * @return InboxDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public InboxDto createInboxWithDefaults() throws ApiException { + ApiResponse localVarResp = createInboxWithDefaultsWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Create an inbox with default options. Uses MailSlurp domain pool address and is private. + * + * @return ApiResponse<InboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createInboxWithDefaultsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = createInboxWithDefaultsValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create an inbox with default options. Uses MailSlurp domain pool address and is private. (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createInboxWithDefaultsAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createInboxWithDefaultsValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createInboxWithOptions + * @param createInboxDto (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createInboxWithOptionsCall(CreateInboxDto createInboxDto, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createInboxDto; + + // create path and map variables + String localVarPath = "/inboxes/withOptions"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createInboxWithOptionsValidateBeforeCall(CreateInboxDto createInboxDto, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createInboxDto' is set + if (createInboxDto == null) { + throw new ApiException("Missing the required parameter 'createInboxDto' when calling createInboxWithOptions(Async)"); + } + + return createInboxWithOptionsCall(createInboxDto, _callback); + + } + + /** + * Create an inbox with options. Extended options for inbox creation. + * Additional endpoint that allows inbox creation with request body options. Can be more flexible that other methods for some clients. + * @param createInboxDto (required) + * @return InboxDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public InboxDto createInboxWithOptions(CreateInboxDto createInboxDto) throws ApiException { + ApiResponse localVarResp = createInboxWithOptionsWithHttpInfo(createInboxDto); + return localVarResp.getData(); + } + + /** + * Create an inbox with options. Extended options for inbox creation. + * Additional endpoint that allows inbox creation with request body options. Can be more flexible that other methods for some clients. + * @param createInboxDto (required) + * @return ApiResponse<InboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createInboxWithOptionsWithHttpInfo(CreateInboxDto createInboxDto) throws ApiException { + okhttp3.Call localVarCall = createInboxWithOptionsValidateBeforeCall(createInboxDto, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create an inbox with options. Extended options for inbox creation. (asynchronously) + * Additional endpoint that allows inbox creation with request body options. Can be more flexible that other methods for some clients. + * @param createInboxDto (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createInboxWithOptionsAsync(CreateInboxDto createInboxDto, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createInboxWithOptionsValidateBeforeCall(createInboxDto, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteAllInboxEmails + * @param inboxId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllInboxEmailsCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/deleteAllInboxEmails" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteAllInboxEmailsValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling deleteAllInboxEmails(Async)"); + } + + return deleteAllInboxEmailsCall(inboxId, _callback); + + } + + /** + * Delete all emails in a given inboxes. + * Deletes all emails in an inbox. Be careful as emails cannot be recovered + * @param inboxId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteAllInboxEmails(UUID inboxId) throws ApiException { + deleteAllInboxEmailsWithHttpInfo(inboxId); + } + + /** + * Delete all emails in a given inboxes. + * Deletes all emails in an inbox. Be careful as emails cannot be recovered + * @param inboxId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteAllInboxEmailsWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = deleteAllInboxEmailsValidateBeforeCall(inboxId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete all emails in a given inboxes. (asynchronously) + * Deletes all emails in an inbox. Be careful as emails cannot be recovered + * @param inboxId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllInboxEmailsAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteAllInboxEmailsValidateBeforeCall(inboxId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for deleteAllInboxes + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllInboxesCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteAllInboxesValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return deleteAllInboxesCall(_callback); + + } + + /** + * Delete all inboxes + * Permanently delete all inboxes and associated email addresses. This will also delete all emails within the inboxes. Be careful as inboxes cannot be recovered once deleted. Note: deleting inboxes will not impact your usage limits. Monthly inbox creation limits are based on how many inboxes were created in the last 30 days, not how many inboxes you currently have. + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteAllInboxes() throws ApiException { + deleteAllInboxesWithHttpInfo(); + } + + /** + * Delete all inboxes + * Permanently delete all inboxes and associated email addresses. This will also delete all emails within the inboxes. Be careful as inboxes cannot be recovered once deleted. Note: deleting inboxes will not impact your usage limits. Monthly inbox creation limits are based on how many inboxes were created in the last 30 days, not how many inboxes you currently have. + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteAllInboxesWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = deleteAllInboxesValidateBeforeCall(null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete all inboxes (asynchronously) + * Permanently delete all inboxes and associated email addresses. This will also delete all emails within the inboxes. Be careful as inboxes cannot be recovered once deleted. Note: deleting inboxes will not impact your usage limits. Monthly inbox creation limits are based on how many inboxes were created in the last 30 days, not how many inboxes you currently have. + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllInboxesAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteAllInboxesValidateBeforeCall(_callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for deleteInbox + * @param inboxId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteInboxValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling deleteInbox(Async)"); + } + + return deleteInboxCall(inboxId, _callback); + + } + + /** + * Delete inbox + * Permanently delete an inbox and associated email address as well as all emails within the given inbox. This action cannot be undone. Note: deleting an inbox will not affect your account usage. Monthly inbox usage is based on how many inboxes you create within 30 days, not how many exist at time of request. + * @param inboxId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteInbox(UUID inboxId) throws ApiException { + deleteInboxWithHttpInfo(inboxId); + } + + /** + * Delete inbox + * Permanently delete an inbox and associated email address as well as all emails within the given inbox. This action cannot be undone. Note: deleting an inbox will not affect your account usage. Monthly inbox usage is based on how many inboxes you create within 30 days, not how many exist at time of request. + * @param inboxId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteInboxWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = deleteInboxValidateBeforeCall(inboxId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete inbox (asynchronously) + * Permanently delete an inbox and associated email address as well as all emails within the given inbox. This action cannot be undone. Note: deleting an inbox will not affect your account usage. Monthly inbox usage is based on how many inboxes you create within 30 days, not how many exist at time of request. + * @param inboxId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteInboxValidateBeforeCall(inboxId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for doesInboxExist + * @param emailAddress Email address (required) + * @param allowCatchAll (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call doesInboxExistCall(String emailAddress, Boolean allowCatchAll, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/exists"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (emailAddress != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("emailAddress", emailAddress)); + } + + if (allowCatchAll != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowCatchAll", allowCatchAll)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call doesInboxExistValidateBeforeCall(String emailAddress, Boolean allowCatchAll, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailAddress' is set + if (emailAddress == null) { + throw new ApiException("Missing the required parameter 'emailAddress' when calling doesInboxExist(Async)"); + } + + return doesInboxExistCall(emailAddress, allowCatchAll, _callback); + + } + + /** + * Does inbox exist + * Check if inboxes exist by email address. Useful if you are sending emails to mailslurp addresses + * @param emailAddress Email address (required) + * @param allowCatchAll (optional) + * @return InboxExistsDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxExistsDto doesInboxExist(String emailAddress, Boolean allowCatchAll) throws ApiException { + ApiResponse localVarResp = doesInboxExistWithHttpInfo(emailAddress, allowCatchAll); + return localVarResp.getData(); + } + + /** + * Does inbox exist + * Check if inboxes exist by email address. Useful if you are sending emails to mailslurp addresses + * @param emailAddress Email address (required) + * @param allowCatchAll (optional) + * @return ApiResponse<InboxExistsDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse doesInboxExistWithHttpInfo(String emailAddress, Boolean allowCatchAll) throws ApiException { + okhttp3.Call localVarCall = doesInboxExistValidateBeforeCall(emailAddress, allowCatchAll, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Does inbox exist (asynchronously) + * Check if inboxes exist by email address. Useful if you are sending emails to mailslurp addresses + * @param emailAddress Email address (required) + * @param allowCatchAll (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call doesInboxExistAsync(String emailAddress, Boolean allowCatchAll, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = doesInboxExistValidateBeforeCall(emailAddress, allowCatchAll, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for flushExpired + * @param before Optional expired at before flag to flush expired inboxes that have expired before the given time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call flushExpiredCall(OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/expired"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call flushExpiredValidateBeforeCall(OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return flushExpiredCall(before, _callback); + + } + + /** + * Remove expired inboxes + * Remove any expired inboxes for your account (instead of waiting for scheduled removal on server) + * @param before Optional expired at before flag to flush expired inboxes that have expired before the given time (optional) + * @return FlushExpiredInboxesResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public FlushExpiredInboxesResult flushExpired(OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = flushExpiredWithHttpInfo(before); + return localVarResp.getData(); + } + + /** + * Remove expired inboxes + * Remove any expired inboxes for your account (instead of waiting for scheduled removal on server) + * @param before Optional expired at before flag to flush expired inboxes that have expired before the given time (optional) + * @return ApiResponse<FlushExpiredInboxesResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse flushExpiredWithHttpInfo(OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = flushExpiredValidateBeforeCall(before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Remove expired inboxes (asynchronously) + * Remove any expired inboxes for your account (instead of waiting for scheduled removal on server) + * @param before Optional expired at before flag to flush expired inboxes that have expired before the given time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call flushExpiredAsync(OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = flushExpiredValidateBeforeCall(before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAllInboxes + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param favourite Optionally filter results for favourites only (optional, default to false) + * @param search Optionally filter by search words partial matching ID, tags, name, and email address (optional) + * @param tag Optionally filter by tags. Will return inboxes that include given tags (optional) + * @param teamAccess DEPRECATED. Optionally filter by team access. (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @param inboxType Optional filter by inbox type (optional) + * @param domainId Optional domain ID filter (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllInboxesCall(Integer page, Integer size, String sort, Boolean favourite, String search, String tag, Boolean teamAccess, OffsetDateTime since, OffsetDateTime before, String inboxType, UUID domainId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/paginated"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (favourite != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("favourite", favourite)); + } + + if (search != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("search", search)); + } + + if (tag != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("tag", tag)); + } + + if (teamAccess != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("teamAccess", teamAccess)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (inboxType != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxType", inboxType)); + } + + if (domainId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("domainId", domainId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllInboxesValidateBeforeCall(Integer page, Integer size, String sort, Boolean favourite, String search, String tag, Boolean teamAccess, OffsetDateTime since, OffsetDateTime before, String inboxType, UUID domainId, final ApiCallback _callback) throws ApiException { + return getAllInboxesCall(page, size, sort, favourite, search, tag, teamAccess, since, before, inboxType, domainId, _callback); + + } + + /** + * List All Inboxes Paginated + * List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param favourite Optionally filter results for favourites only (optional, default to false) + * @param search Optionally filter by search words partial matching ID, tags, name, and email address (optional) + * @param tag Optionally filter by tags. Will return inboxes that include given tags (optional) + * @param teamAccess DEPRECATED. Optionally filter by team access. (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @param inboxType Optional filter by inbox type (optional) + * @param domainId Optional domain ID filter (optional) + * @return PageInboxProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageInboxProjection getAllInboxes(Integer page, Integer size, String sort, Boolean favourite, String search, String tag, Boolean teamAccess, OffsetDateTime since, OffsetDateTime before, String inboxType, UUID domainId) throws ApiException { + ApiResponse localVarResp = getAllInboxesWithHttpInfo(page, size, sort, favourite, search, tag, teamAccess, since, before, inboxType, domainId); + return localVarResp.getData(); + } + + /** + * List All Inboxes Paginated + * List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param favourite Optionally filter results for favourites only (optional, default to false) + * @param search Optionally filter by search words partial matching ID, tags, name, and email address (optional) + * @param tag Optionally filter by tags. Will return inboxes that include given tags (optional) + * @param teamAccess DEPRECATED. Optionally filter by team access. (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @param inboxType Optional filter by inbox type (optional) + * @param domainId Optional domain ID filter (optional) + * @return ApiResponse<PageInboxProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllInboxesWithHttpInfo(Integer page, Integer size, String sort, Boolean favourite, String search, String tag, Boolean teamAccess, OffsetDateTime since, OffsetDateTime before, String inboxType, UUID domainId) throws ApiException { + okhttp3.Call localVarCall = getAllInboxesValidateBeforeCall(page, size, sort, favourite, search, tag, teamAccess, since, before, inboxType, domainId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List All Inboxes Paginated (asynchronously) + * List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param favourite Optionally filter results for favourites only (optional, default to false) + * @param search Optionally filter by search words partial matching ID, tags, name, and email address (optional) + * @param tag Optionally filter by tags. Will return inboxes that include given tags (optional) + * @param teamAccess DEPRECATED. Optionally filter by team access. (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @param inboxType Optional filter by inbox type (optional) + * @param domainId Optional domain ID filter (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllInboxesAsync(Integer page, Integer size, String sort, Boolean favourite, String search, String tag, Boolean teamAccess, OffsetDateTime since, OffsetDateTime before, String inboxType, UUID domainId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllInboxesValidateBeforeCall(page, size, sort, favourite, search, tag, teamAccess, since, before, inboxType, domainId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAllScheduledJobs + * @param page Optional page index in scheduled job list pagination (optional, default to 0) + * @param size Optional page size in scheduled job list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllScheduledJobsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/scheduled-jobs"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllScheduledJobsValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getAllScheduledJobsCall(page, size, sort, since, before, _callback); + + } + + /** + * Get all scheduled email sending jobs for account + * Schedule sending of emails using scheduled jobs. These can be inbox or account level. + * @param page Optional page index in scheduled job list pagination (optional, default to 0) + * @param size Optional page size in scheduled job list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageScheduledJobs + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageScheduledJobs getAllScheduledJobs(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAllScheduledJobsWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get all scheduled email sending jobs for account + * Schedule sending of emails using scheduled jobs. These can be inbox or account level. + * @param page Optional page index in scheduled job list pagination (optional, default to 0) + * @param size Optional page size in scheduled job list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageScheduledJobs> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllScheduledJobsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAllScheduledJobsValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all scheduled email sending jobs for account (asynchronously) + * Schedule sending of emails using scheduled jobs. These can be inbox or account level. + * @param page Optional page index in scheduled job list pagination (optional, default to 0) + * @param size Optional page size in scheduled job list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllScheduledJobsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllScheduledJobsValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getDeliveryStatusesByInboxId + * @param inboxId (required) + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDeliveryStatusesByInboxIdCall(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/delivery-status" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getDeliveryStatusesByInboxIdValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getDeliveryStatusesByInboxId(Async)"); + } + + return getDeliveryStatusesByInboxIdCall(inboxId, page, size, sort, since, before, _callback); + + } + + /** + * + * Get all email delivery statuses for an inbox + * @param inboxId (required) + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageDeliveryStatus + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageDeliveryStatus getDeliveryStatusesByInboxId(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getDeliveryStatusesByInboxIdWithHttpInfo(inboxId, page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * + * Get all email delivery statuses for an inbox + * @param inboxId (required) + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageDeliveryStatus> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getDeliveryStatusesByInboxIdWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getDeliveryStatusesByInboxIdValidateBeforeCall(inboxId, page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get all email delivery statuses for an inbox + * @param inboxId (required) + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDeliveryStatusesByInboxIdAsync(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getDeliveryStatusesByInboxIdValidateBeforeCall(inboxId, page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmails + * @param inboxId Id of inbox that emails belongs to (required) + * @param size Alias for limit. Assessed first before assessing any passed limit. (optional) + * @param limit Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller (optional) + * @param sort Sort the results by received date and direction ASC or DESC (optional) + * @param retryTimeout Maximum milliseconds to spend retrying inbox database until minCount emails are returned (optional) + * @param delayTimeout (optional) + * @param minCount Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached. (optional) + * @param unreadOnly (optional) + * @param before Exclude emails received after this ISO 8601 date time (optional) + * @param since Exclude emails received before this ISO 8601 date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailsCall(UUID inboxId, Integer size, Integer limit, String sort, Long retryTimeout, Long delayTimeout, Long minCount, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/emails" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (retryTimeout != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("retryTimeout", retryTimeout)); + } + + if (delayTimeout != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("delayTimeout", delayTimeout)); + } + + if (minCount != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCount", minCount)); + } + + if (unreadOnly != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("unreadOnly", unreadOnly)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmailsValidateBeforeCall(UUID inboxId, Integer size, Integer limit, String sort, Long retryTimeout, Long delayTimeout, Long minCount, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getEmails(Async)"); + } + + return getEmailsCall(inboxId, size, limit, sort, retryTimeout, delayTimeout, minCount, unreadOnly, before, since, _callback); + + } + + /** + * Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead. + * List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached + * @param inboxId Id of inbox that emails belongs to (required) + * @param size Alias for limit. Assessed first before assessing any passed limit. (optional) + * @param limit Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller (optional) + * @param sort Sort the results by received date and direction ASC or DESC (optional) + * @param retryTimeout Maximum milliseconds to spend retrying inbox database until minCount emails are returned (optional) + * @param delayTimeout (optional) + * @param minCount Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached. (optional) + * @param unreadOnly (optional) + * @param before Exclude emails received after this ISO 8601 date time (optional) + * @param since Exclude emails received before this ISO 8601 date time (optional) + * @return List<EmailPreview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List getEmails(UUID inboxId, Integer size, Integer limit, String sort, Long retryTimeout, Long delayTimeout, Long minCount, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since) throws ApiException { + ApiResponse> localVarResp = getEmailsWithHttpInfo(inboxId, size, limit, sort, retryTimeout, delayTimeout, minCount, unreadOnly, before, since); + return localVarResp.getData(); + } + + /** + * Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead. + * List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached + * @param inboxId Id of inbox that emails belongs to (required) + * @param size Alias for limit. Assessed first before assessing any passed limit. (optional) + * @param limit Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller (optional) + * @param sort Sort the results by received date and direction ASC or DESC (optional) + * @param retryTimeout Maximum milliseconds to spend retrying inbox database until minCount emails are returned (optional) + * @param delayTimeout (optional) + * @param minCount Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached. (optional) + * @param unreadOnly (optional) + * @param before Exclude emails received after this ISO 8601 date time (optional) + * @param since Exclude emails received before this ISO 8601 date time (optional) + * @return ApiResponse<List<EmailPreview>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> getEmailsWithHttpInfo(UUID inboxId, Integer size, Integer limit, String sort, Long retryTimeout, Long delayTimeout, Long minCount, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since) throws ApiException { + okhttp3.Call localVarCall = getEmailsValidateBeforeCall(inboxId, size, limit, sort, retryTimeout, delayTimeout, minCount, unreadOnly, before, since, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead. (asynchronously) + * List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached + * @param inboxId Id of inbox that emails belongs to (required) + * @param size Alias for limit. Assessed first before assessing any passed limit. (optional) + * @param limit Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller (optional) + * @param sort Sort the results by received date and direction ASC or DESC (optional) + * @param retryTimeout Maximum milliseconds to spend retrying inbox database until minCount emails are returned (optional) + * @param delayTimeout (optional) + * @param minCount Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached. (optional) + * @param unreadOnly (optional) + * @param before Exclude emails received after this ISO 8601 date time (optional) + * @param since Exclude emails received before this ISO 8601 date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmailsAsync(UUID inboxId, Integer size, Integer limit, String sort, Long retryTimeout, Long delayTimeout, Long minCount, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmailsValidateBeforeCall(inboxId, size, limit, sort, retryTimeout, delayTimeout, minCount, unreadOnly, before, since, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getImapSmtpAccess + * @param inboxId Inbox ID (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getImapSmtpAccessCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/imap-smtp-access"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getImapSmtpAccessValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + return getImapSmtpAccessCall(inboxId, _callback); + + } + + /** + * + * Get IMAP and SMTP access usernames and passwords + * @param inboxId Inbox ID (optional) + * @return ImapSmtpAccessDetails + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ImapSmtpAccessDetails getImapSmtpAccess(UUID inboxId) throws ApiException { + ApiResponse localVarResp = getImapSmtpAccessWithHttpInfo(inboxId); + return localVarResp.getData(); + } + + /** + * + * Get IMAP and SMTP access usernames and passwords + * @param inboxId Inbox ID (optional) + * @return ApiResponse<ImapSmtpAccessDetails> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getImapSmtpAccessWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = getImapSmtpAccessValidateBeforeCall(inboxId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get IMAP and SMTP access usernames and passwords + * @param inboxId Inbox ID (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getImapSmtpAccessAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getImapSmtpAccessValidateBeforeCall(inboxId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInbox + * @param inboxId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getInbox(Async)"); + } + + return getInboxCall(inboxId, _callback); + + } + + /** + * Get Inbox. Returns properties of an inbox. + * Returns an inbox's properties, including its email address and ID. + * @param inboxId (required) + * @return InboxDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxDto getInbox(UUID inboxId) throws ApiException { + ApiResponse localVarResp = getInboxWithHttpInfo(inboxId); + return localVarResp.getData(); + } + + /** + * Get Inbox. Returns properties of an inbox. + * Returns an inbox's properties, including its email address and ID. + * @param inboxId (required) + * @return ApiResponse<InboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = getInboxValidateBeforeCall(inboxId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Inbox. Returns properties of an inbox. (asynchronously) + * Returns an inbox's properties, including its email address and ID. + * @param inboxId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxValidateBeforeCall(inboxId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxByEmailAddress + * @param emailAddress (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxByEmailAddressCall(String emailAddress, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/byEmailAddress"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (emailAddress != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("emailAddress", emailAddress)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxByEmailAddressValidateBeforeCall(String emailAddress, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailAddress' is set + if (emailAddress == null) { + throw new ApiException("Missing the required parameter 'emailAddress' when calling getInboxByEmailAddress(Async)"); + } + + return getInboxByEmailAddressCall(emailAddress, _callback); + + } + + /** + * Search for an inbox with the provided email address + * Get a inbox result by email address + * @param emailAddress (required) + * @return InboxByEmailAddressResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxByEmailAddressResult getInboxByEmailAddress(String emailAddress) throws ApiException { + ApiResponse localVarResp = getInboxByEmailAddressWithHttpInfo(emailAddress); + return localVarResp.getData(); + } + + /** + * Search for an inbox with the provided email address + * Get a inbox result by email address + * @param emailAddress (required) + * @return ApiResponse<InboxByEmailAddressResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxByEmailAddressWithHttpInfo(String emailAddress) throws ApiException { + okhttp3.Call localVarCall = getInboxByEmailAddressValidateBeforeCall(emailAddress, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Search for an inbox with the provided email address (asynchronously) + * Get a inbox result by email address + * @param emailAddress (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxByEmailAddressAsync(String emailAddress, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxByEmailAddressValidateBeforeCall(emailAddress, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxByName + * @param name (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxByNameCall(String name, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/byName"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (name != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("name", name)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxByNameValidateBeforeCall(String name, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getInboxByName(Async)"); + } + + return getInboxByNameCall(name, _callback); + + } + + /** + * Search for an inbox with the given name + * Get a inbox result by name + * @param name (required) + * @return InboxByNameResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxByNameResult getInboxByName(String name) throws ApiException { + ApiResponse localVarResp = getInboxByNameWithHttpInfo(name); + return localVarResp.getData(); + } + + /** + * Search for an inbox with the given name + * Get a inbox result by name + * @param name (required) + * @return ApiResponse<InboxByNameResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxByNameWithHttpInfo(String name) throws ApiException { + okhttp3.Call localVarCall = getInboxByNameValidateBeforeCall(name, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Search for an inbox with the given name (asynchronously) + * Get a inbox result by name + * @param name (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxByNameAsync(String name, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxByNameValidateBeforeCall(name, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxCount + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxCountCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/count"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxCountValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getInboxCountCall(_callback); + + } + + /** + * Get total inbox count + * + * @return CountDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public CountDto getInboxCount() throws ApiException { + ApiResponse localVarResp = getInboxCountWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get total inbox count + * + * @return ApiResponse<CountDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxCountWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getInboxCountValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get total inbox count (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxCountAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxCountValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxEmailCount + * @param inboxId Id of inbox that emails belongs to (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxEmailCountCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/emails/count" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxEmailCountValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getInboxEmailCount(Async)"); + } + + return getInboxEmailCountCall(inboxId, _callback); + + } + + /** + * Get email count in inbox + * + * @param inboxId Id of inbox that emails belongs to (required) + * @return CountDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public CountDto getInboxEmailCount(UUID inboxId) throws ApiException { + ApiResponse localVarResp = getInboxEmailCountWithHttpInfo(inboxId); + return localVarResp.getData(); + } + + /** + * Get email count in inbox + * + * @param inboxId Id of inbox that emails belongs to (required) + * @return ApiResponse<CountDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxEmailCountWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = getInboxEmailCountValidateBeforeCall(inboxId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get email count in inbox (asynchronously) + * + * @param inboxId Id of inbox that emails belongs to (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxEmailCountAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxEmailCountValidateBeforeCall(inboxId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxEmailsPaginated + * @param inboxId Id of inbox that emails belongs to (required) + * @param page Optional page index in inbox emails list pagination (optional, default to 0) + * @param size Optional page size in inbox emails list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by received after given date time (optional) + * @param before Optional filter by received before given date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxEmailsPaginatedCall(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/emails/paginated" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxEmailsPaginatedValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getInboxEmailsPaginated(Async)"); + } + + return getInboxEmailsPaginatedCall(inboxId, page, size, sort, since, before, _callback); + + } + + /** + * Get inbox emails paginated + * Get a paginated list of emails in an inbox. Does not hold connections open. + * @param inboxId Id of inbox that emails belongs to (required) + * @param page Optional page index in inbox emails list pagination (optional, default to 0) + * @param size Optional page size in inbox emails list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by received after given date time (optional) + * @param before Optional filter by received before given date time (optional) + * @return PageEmailPreview + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageEmailPreview getInboxEmailsPaginated(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getInboxEmailsPaginatedWithHttpInfo(inboxId, page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get inbox emails paginated + * Get a paginated list of emails in an inbox. Does not hold connections open. + * @param inboxId Id of inbox that emails belongs to (required) + * @param page Optional page index in inbox emails list pagination (optional, default to 0) + * @param size Optional page size in inbox emails list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by received after given date time (optional) + * @param before Optional filter by received before given date time (optional) + * @return ApiResponse<PageEmailPreview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxEmailsPaginatedWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getInboxEmailsPaginatedValidateBeforeCall(inboxId, page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get inbox emails paginated (asynchronously) + * Get a paginated list of emails in an inbox. Does not hold connections open. + * @param inboxId Id of inbox that emails belongs to (required) + * @param page Optional page index in inbox emails list pagination (optional, default to 0) + * @param size Optional page size in inbox emails list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by received after given date time (optional) + * @param before Optional filter by received before given date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxEmailsPaginatedAsync(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxEmailsPaginatedValidateBeforeCall(inboxId, page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxIds + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxIdsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/ids"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxIdsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getInboxIdsCall(_callback); + + } + + /** + * Get all inbox IDs + * Get list of inbox IDs + * @return InboxIdsResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxIdsResult getInboxIds() throws ApiException { + ApiResponse localVarResp = getInboxIdsWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get all inbox IDs + * Get list of inbox IDs + * @return ApiResponse<InboxIdsResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxIdsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getInboxIdsValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all inbox IDs (asynchronously) + * Get list of inbox IDs + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxIdsAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxIdsValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxSentEmails + * @param inboxId (required) + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional sent email search (optional) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxSentEmailsCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/sent" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxSentEmailsValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getInboxSentEmails(Async)"); + } + + return getInboxSentEmailsCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * Get Inbox Sent Emails + * Returns an inbox's sent email receipts. Call individual sent email endpoints for more details. Note for privacy reasons the full body of sent emails is never stored. An MD5 hash hex is available for comparison instead. + * @param inboxId (required) + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional sent email search (optional) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @return PageSentEmailProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageSentEmailProjection getInboxSentEmails(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getInboxSentEmailsWithHttpInfo(inboxId, page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * Get Inbox Sent Emails + * Returns an inbox's sent email receipts. Call individual sent email endpoints for more details. Note for privacy reasons the full body of sent emails is never stored. An MD5 hash hex is available for comparison instead. + * @param inboxId (required) + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional sent email search (optional) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @return ApiResponse<PageSentEmailProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxSentEmailsWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getInboxSentEmailsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Inbox Sent Emails (asynchronously) + * Returns an inbox's sent email receipts. Call individual sent email endpoints for more details. Note for privacy reasons the full body of sent emails is never stored. An MD5 hash hex is available for comparison instead. + * @param inboxId (required) + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional sent email search (optional) + * @param since Optional filter by sent after given date time (optional) + * @param before Optional filter by sent before given date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxSentEmailsAsync(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxSentEmailsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxTags + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxTagsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/tags"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxTagsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getInboxTagsCall(_callback); + + } + + /** + * Get inbox tags + * Get all inbox tags + * @return List<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List getInboxTags() throws ApiException { + ApiResponse> localVarResp = getInboxTagsWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get inbox tags + * Get all inbox tags + * @return ApiResponse<List<String>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> getInboxTagsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getInboxTagsValidateBeforeCall(null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get inbox tags (asynchronously) + * Get all inbox tags + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxTagsAsync(final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxTagsValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxes + * @param size Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries. (optional, default to 100) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by created after given date time (optional) + * @param excludeCatchAllInboxes Optional exclude catch all inboxes (optional) + * @param before Optional filter by created before given date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public okhttp3.Call getInboxesCall(Integer size, String sort, OffsetDateTime since, Boolean excludeCatchAllInboxes, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (excludeCatchAllInboxes != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeCatchAllInboxes", excludeCatchAllInboxes)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @Deprecated + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxesValidateBeforeCall(Integer size, String sort, OffsetDateTime since, Boolean excludeCatchAllInboxes, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getInboxesCall(size, sort, since, excludeCatchAllInboxes, before, _callback); + + } + + /** + * List Inboxes and email addresses + * List the inboxes you have created. Note use of the more advanced `getAllInboxes` is recommended and allows paginated access using a limit and sort parameter. + * @param size Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries. (optional, default to 100) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by created after given date time (optional) + * @param excludeCatchAllInboxes Optional exclude catch all inboxes (optional) + * @param before Optional filter by created before given date time (optional) + * @return List<InboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public List getInboxes(Integer size, String sort, OffsetDateTime since, Boolean excludeCatchAllInboxes, OffsetDateTime before) throws ApiException { + ApiResponse> localVarResp = getInboxesWithHttpInfo(size, sort, since, excludeCatchAllInboxes, before); + return localVarResp.getData(); + } + + /** + * List Inboxes and email addresses + * List the inboxes you have created. Note use of the more advanced `getAllInboxes` is recommended and allows paginated access using a limit and sort parameter. + * @param size Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries. (optional, default to 100) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by created after given date time (optional) + * @param excludeCatchAllInboxes Optional exclude catch all inboxes (optional) + * @param before Optional filter by created before given date time (optional) + * @return ApiResponse<List<InboxDto>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public ApiResponse> getInboxesWithHttpInfo(Integer size, String sort, OffsetDateTime since, Boolean excludeCatchAllInboxes, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getInboxesValidateBeforeCall(size, sort, since, excludeCatchAllInboxes, before, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List Inboxes and email addresses (asynchronously) + * List the inboxes you have created. Note use of the more advanced `getAllInboxes` is recommended and allows paginated access using a limit and sort parameter. + * @param size Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries. (optional, default to 100) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Optional filter by created after given date time (optional) + * @param excludeCatchAllInboxes Optional exclude catch all inboxes (optional) + * @param before Optional filter by created before given date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public okhttp3.Call getInboxesAsync(Integer size, String sort, OffsetDateTime since, Boolean excludeCatchAllInboxes, OffsetDateTime before, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxesValidateBeforeCall(size, sort, since, excludeCatchAllInboxes, before, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getLatestEmailInInbox + * @param inboxId ID of the inbox you want to get the latest email from (required) + * @param timeoutMillis Timeout milliseconds to wait for latest email (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getLatestEmailInInboxCall(UUID inboxId, Long timeoutMillis, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/getLatestEmail"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (timeoutMillis != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutMillis", timeoutMillis)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getLatestEmailInInboxValidateBeforeCall(UUID inboxId, Long timeoutMillis, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getLatestEmailInInbox(Async)"); + } + + // verify the required parameter 'timeoutMillis' is set + if (timeoutMillis == null) { + throw new ApiException("Missing the required parameter 'timeoutMillis' when calling getLatestEmailInInbox(Async)"); + } + + return getLatestEmailInInboxCall(inboxId, timeoutMillis, _callback); + + } + + /** + * Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + * Get the newest email in an inbox or wait for one to arrive + * @param inboxId ID of the inbox you want to get the latest email from (required) + * @param timeoutMillis Timeout milliseconds to wait for latest email (required) + * @return Email + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public Email getLatestEmailInInbox(UUID inboxId, Long timeoutMillis) throws ApiException { + ApiResponse localVarResp = getLatestEmailInInboxWithHttpInfo(inboxId, timeoutMillis); + return localVarResp.getData(); + } + + /** + * Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + * Get the newest email in an inbox or wait for one to arrive + * @param inboxId ID of the inbox you want to get the latest email from (required) + * @param timeoutMillis Timeout milliseconds to wait for latest email (required) + * @return ApiResponse<Email> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getLatestEmailInInboxWithHttpInfo(UUID inboxId, Long timeoutMillis) throws ApiException { + okhttp3.Call localVarCall = getLatestEmailInInboxValidateBeforeCall(inboxId, timeoutMillis, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. (asynchronously) + * Get the newest email in an inbox or wait for one to arrive + * @param inboxId ID of the inbox you want to get the latest email from (required) + * @param timeoutMillis Timeout milliseconds to wait for latest email (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getLatestEmailInInboxAsync(UUID inboxId, Long timeoutMillis, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getLatestEmailInInboxValidateBeforeCall(inboxId, timeoutMillis, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getOrganizationInboxes + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getOrganizationInboxesCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/organization"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getOrganizationInboxesValidateBeforeCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getOrganizationInboxesCall(page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * List Organization Inboxes Paginated + * List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @return PageOrganizationInboxProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageOrganizationInboxProjection getOrganizationInboxes(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getOrganizationInboxesWithHttpInfo(page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * List Organization Inboxes Paginated + * List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @return ApiResponse<PageOrganizationInboxProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getOrganizationInboxesWithHttpInfo(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getOrganizationInboxesValidateBeforeCall(page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List Organization Inboxes Paginated (asynchronously) + * List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getOrganizationInboxesAsync(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getOrganizationInboxesValidateBeforeCall(page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getScheduledJob + * @param jobId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getScheduledJobCall(UUID jobId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/scheduled-jobs/{jobId}" + .replace("{" + "jobId" + "}", localVarApiClient.escapeString(jobId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getScheduledJobValidateBeforeCall(UUID jobId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'jobId' is set + if (jobId == null) { + throw new ApiException("Missing the required parameter 'jobId' when calling getScheduledJob(Async)"); + } + + return getScheduledJobCall(jobId, _callback); + + } + + /** + * Get a scheduled email job + * Get a scheduled email job details. + * @param jobId (required) + * @return ScheduledJobDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ScheduledJobDto getScheduledJob(UUID jobId) throws ApiException { + ApiResponse localVarResp = getScheduledJobWithHttpInfo(jobId); + return localVarResp.getData(); + } + + /** + * Get a scheduled email job + * Get a scheduled email job details. + * @param jobId (required) + * @return ApiResponse<ScheduledJobDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getScheduledJobWithHttpInfo(UUID jobId) throws ApiException { + okhttp3.Call localVarCall = getScheduledJobValidateBeforeCall(jobId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a scheduled email job (asynchronously) + * Get a scheduled email job details. + * @param jobId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getScheduledJobAsync(UUID jobId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getScheduledJobValidateBeforeCall(jobId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getScheduledJobsByInboxId + * @param inboxId (required) + * @param page Optional page index in scheduled job list pagination (optional, default to 0) + * @param size Optional page size in scheduled job list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getScheduledJobsByInboxIdCall(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/scheduled-jobs" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getScheduledJobsByInboxIdValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getScheduledJobsByInboxId(Async)"); + } + + return getScheduledJobsByInboxIdCall(inboxId, page, size, sort, since, before, _callback); + + } + + /** + * Get all scheduled email sending jobs for the inbox + * Schedule sending of emails using scheduled jobs. + * @param inboxId (required) + * @param page Optional page index in scheduled job list pagination (optional, default to 0) + * @param size Optional page size in scheduled job list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageScheduledJobs + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageScheduledJobs getScheduledJobsByInboxId(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getScheduledJobsByInboxIdWithHttpInfo(inboxId, page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get all scheduled email sending jobs for the inbox + * Schedule sending of emails using scheduled jobs. + * @param inboxId (required) + * @param page Optional page index in scheduled job list pagination (optional, default to 0) + * @param size Optional page size in scheduled job list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageScheduledJobs> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getScheduledJobsByInboxIdWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getScheduledJobsByInboxIdValidateBeforeCall(inboxId, page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all scheduled email sending jobs for the inbox (asynchronously) + * Schedule sending of emails using scheduled jobs. + * @param inboxId (required) + * @param page Optional page index in scheduled job list pagination (optional, default to 0) + * @param size Optional page size in scheduled job list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getScheduledJobsByInboxIdAsync(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getScheduledJobsByInboxIdValidateBeforeCall(inboxId, page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for listInboxRulesets + * @param inboxId (required) + * @param page Optional page index in inbox ruleset list pagination (optional, default to 0) + * @param size Optional page size in inbox ruleset list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call listInboxRulesetsCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/rulesets" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listInboxRulesetsValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling listInboxRulesets(Async)"); + } + + return listInboxRulesetsCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * List inbox rulesets + * List all rulesets attached to an inbox + * @param inboxId (required) + * @param page Optional page index in inbox ruleset list pagination (optional, default to 0) + * @param size Optional page size in inbox ruleset list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @return PageInboxRulesetDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageInboxRulesetDto listInboxRulesets(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = listInboxRulesetsWithHttpInfo(inboxId, page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * List inbox rulesets + * List all rulesets attached to an inbox + * @param inboxId (required) + * @param page Optional page index in inbox ruleset list pagination (optional, default to 0) + * @param size Optional page size in inbox ruleset list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @return ApiResponse<PageInboxRulesetDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse listInboxRulesetsWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = listInboxRulesetsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List inbox rulesets (asynchronously) + * List all rulesets attached to an inbox + * @param inboxId (required) + * @param page Optional page index in inbox ruleset list pagination (optional, default to 0) + * @param size Optional page size in inbox ruleset list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call listInboxRulesetsAsync(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listInboxRulesetsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for listInboxTrackingPixels + * @param inboxId (required) + * @param page Optional page index in inbox tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in inbox tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call listInboxTrackingPixelsCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/tracking-pixels" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listInboxTrackingPixelsValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling listInboxTrackingPixels(Async)"); + } + + return listInboxTrackingPixelsCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * List inbox tracking pixels + * List all tracking pixels sent from an inbox + * @param inboxId (required) + * @param page Optional page index in inbox tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in inbox tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @return PageTrackingPixelProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageTrackingPixelProjection listInboxTrackingPixels(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = listInboxTrackingPixelsWithHttpInfo(inboxId, page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * List inbox tracking pixels + * List all tracking pixels sent from an inbox + * @param inboxId (required) + * @param page Optional page index in inbox tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in inbox tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @return ApiResponse<PageTrackingPixelProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse listInboxTrackingPixelsWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = listInboxTrackingPixelsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List inbox tracking pixels (asynchronously) + * List all tracking pixels sent from an inbox + * @param inboxId (required) + * @param page Optional page index in inbox tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in inbox tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Optional filter by created after given date time (optional) + * @param before Optional filter by created before given date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call listInboxTrackingPixelsAsync(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listInboxTrackingPixelsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for sendEmail + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendEmailCall(UUID inboxId, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = sendEmailOptions; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call sendEmailValidateBeforeCall(UUID inboxId, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling sendEmail(Async)"); + } + + // verify the required parameter 'sendEmailOptions' is set + if (sendEmailOptions == null) { + throw new ApiException("Missing the required parameter 'sendEmailOptions' when calling sendEmail(Async)"); + } + + return sendEmailCall(inboxId, sendEmailOptions, _callback); + + } + + /** + * Send Email + * Send an email from an inbox's email address. The request body should contain the `SendEmailOptions` that include recipients, attachments, body etc. See `SendEmailOptions` for all available properties. Note the `inboxId` refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method `sendEmailAndConfirm`. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public void sendEmail(UUID inboxId, SendEmailOptions sendEmailOptions) throws ApiException { + sendEmailWithHttpInfo(inboxId, sendEmailOptions); + } + + /** + * Send Email + * Send an email from an inbox's email address. The request body should contain the `SendEmailOptions` that include recipients, attachments, body etc. See `SendEmailOptions` for all available properties. Note the `inboxId` refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method `sendEmailAndConfirm`. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse sendEmailWithHttpInfo(UUID inboxId, SendEmailOptions sendEmailOptions) throws ApiException { + okhttp3.Call localVarCall = sendEmailValidateBeforeCall(inboxId, sendEmailOptions, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Send Email (asynchronously) + * Send an email from an inbox's email address. The request body should contain the `SendEmailOptions` that include recipients, attachments, body etc. See `SendEmailOptions` for all available properties. Note the `inboxId` refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method `sendEmailAndConfirm`. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendEmailAsync(UUID inboxId, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = sendEmailValidateBeforeCall(inboxId, sendEmailOptions, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for sendEmailAndConfirm + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendEmailAndConfirmCall(UUID inboxId, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = sendEmailOptions; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/confirm" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call sendEmailAndConfirmValidateBeforeCall(UUID inboxId, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling sendEmailAndConfirm(Async)"); + } + + // verify the required parameter 'sendEmailOptions' is set + if (sendEmailOptions == null) { + throw new ApiException("Missing the required parameter 'sendEmailOptions' when calling sendEmailAndConfirm(Async)"); + } + + return sendEmailAndConfirmCall(inboxId, sendEmailOptions, _callback); + + } + + /** + * Send email and return sent confirmation + * Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @return SentEmailDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public SentEmailDto sendEmailAndConfirm(UUID inboxId, SendEmailOptions sendEmailOptions) throws ApiException { + ApiResponse localVarResp = sendEmailAndConfirmWithHttpInfo(inboxId, sendEmailOptions); + return localVarResp.getData(); + } + + /** + * Send email and return sent confirmation + * Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @return ApiResponse<SentEmailDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse sendEmailAndConfirmWithHttpInfo(UUID inboxId, SendEmailOptions sendEmailOptions) throws ApiException { + okhttp3.Call localVarCall = sendEmailAndConfirmValidateBeforeCall(inboxId, sendEmailOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Send email and return sent confirmation (asynchronously) + * Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendEmailAndConfirmAsync(UUID inboxId, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = sendEmailAndConfirmValidateBeforeCall(inboxId, sendEmailOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for sendEmailWithQueue + * @param inboxId ID of the inbox you want to send the email from (required) + * @param validateBeforeEnqueue Validate before adding to queue (required) + * @param sendEmailOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendEmailWithQueueCall(UUID inboxId, Boolean validateBeforeEnqueue, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = sendEmailOptions; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/with-queue" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (validateBeforeEnqueue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("validateBeforeEnqueue", validateBeforeEnqueue)); + } + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call sendEmailWithQueueValidateBeforeCall(UUID inboxId, Boolean validateBeforeEnqueue, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling sendEmailWithQueue(Async)"); + } + + // verify the required parameter 'validateBeforeEnqueue' is set + if (validateBeforeEnqueue == null) { + throw new ApiException("Missing the required parameter 'validateBeforeEnqueue' when calling sendEmailWithQueue(Async)"); + } + + // verify the required parameter 'sendEmailOptions' is set + if (sendEmailOptions == null) { + throw new ApiException("Missing the required parameter 'sendEmailOptions' when calling sendEmailWithQueue(Async)"); + } + + return sendEmailWithQueueCall(inboxId, validateBeforeEnqueue, sendEmailOptions, _callback); + + } + + /** + * Send email with queue + * Send an email using a queue. Will place the email onto a queue that will then be processed and sent. Use this queue method to enable any failed email sending to be recovered. This will prevent lost emails when sending if your account encounters a block or payment issue. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param validateBeforeEnqueue Validate before adding to queue (required) + * @param sendEmailOptions (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public void sendEmailWithQueue(UUID inboxId, Boolean validateBeforeEnqueue, SendEmailOptions sendEmailOptions) throws ApiException { + sendEmailWithQueueWithHttpInfo(inboxId, validateBeforeEnqueue, sendEmailOptions); + } + + /** + * Send email with queue + * Send an email using a queue. Will place the email onto a queue that will then be processed and sent. Use this queue method to enable any failed email sending to be recovered. This will prevent lost emails when sending if your account encounters a block or payment issue. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param validateBeforeEnqueue Validate before adding to queue (required) + * @param sendEmailOptions (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse sendEmailWithQueueWithHttpInfo(UUID inboxId, Boolean validateBeforeEnqueue, SendEmailOptions sendEmailOptions) throws ApiException { + okhttp3.Call localVarCall = sendEmailWithQueueValidateBeforeCall(inboxId, validateBeforeEnqueue, sendEmailOptions, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Send email with queue (asynchronously) + * Send an email using a queue. Will place the email onto a queue that will then be processed and sent. Use this queue method to enable any failed email sending to be recovered. This will prevent lost emails when sending if your account encounters a block or payment issue. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param validateBeforeEnqueue Validate before adding to queue (required) + * @param sendEmailOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendEmailWithQueueAsync(UUID inboxId, Boolean validateBeforeEnqueue, SendEmailOptions sendEmailOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = sendEmailWithQueueValidateBeforeCall(inboxId, validateBeforeEnqueue, sendEmailOptions, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for sendSmtpEnvelope + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendSMTPEnvelopeOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendSmtpEnvelopeCall(UUID inboxId, SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = sendSMTPEnvelopeOptions; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/smtp-envelope" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call sendSmtpEnvelopeValidateBeforeCall(UUID inboxId, SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling sendSmtpEnvelope(Async)"); + } + + // verify the required parameter 'sendSMTPEnvelopeOptions' is set + if (sendSMTPEnvelopeOptions == null) { + throw new ApiException("Missing the required parameter 'sendSMTPEnvelopeOptions' when calling sendSmtpEnvelope(Async)"); + } + + return sendSmtpEnvelopeCall(inboxId, sendSMTPEnvelopeOptions, _callback); + + } + + /** + * Send email using an SMTP mail envelope and message body and return sent confirmation + * Send email using an SMTP envelope containing RCPT TO, MAIL FROM, and a SMTP BODY. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendSMTPEnvelopeOptions (required) + * @return SentEmailDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public SentEmailDto sendSmtpEnvelope(UUID inboxId, SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions) throws ApiException { + ApiResponse localVarResp = sendSmtpEnvelopeWithHttpInfo(inboxId, sendSMTPEnvelopeOptions); + return localVarResp.getData(); + } + + /** + * Send email using an SMTP mail envelope and message body and return sent confirmation + * Send email using an SMTP envelope containing RCPT TO, MAIL FROM, and a SMTP BODY. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendSMTPEnvelopeOptions (required) + * @return ApiResponse<SentEmailDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse sendSmtpEnvelopeWithHttpInfo(UUID inboxId, SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions) throws ApiException { + okhttp3.Call localVarCall = sendSmtpEnvelopeValidateBeforeCall(inboxId, sendSMTPEnvelopeOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Send email using an SMTP mail envelope and message body and return sent confirmation (asynchronously) + * Send email using an SMTP envelope containing RCPT TO, MAIL FROM, and a SMTP BODY. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendSMTPEnvelopeOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendSmtpEnvelopeAsync(UUID inboxId, SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = sendSmtpEnvelopeValidateBeforeCall(inboxId, sendSMTPEnvelopeOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for sendTestEmail + * @param inboxId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call sendTestEmailCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/send-test-email" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call sendTestEmailValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling sendTestEmail(Async)"); + } + + return sendTestEmailCall(inboxId, _callback); + + } + + /** + * Send a test email to inbox + * Send an inbox a test email to test email receiving is working + * @param inboxId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void sendTestEmail(UUID inboxId) throws ApiException { + sendTestEmailWithHttpInfo(inboxId); + } + + /** + * Send a test email to inbox + * Send an inbox a test email to test email receiving is working + * @param inboxId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse sendTestEmailWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = sendTestEmailValidateBeforeCall(inboxId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Send a test email to inbox (asynchronously) + * Send an inbox a test email to test email receiving is working + * @param inboxId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call sendTestEmailAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = sendTestEmailValidateBeforeCall(inboxId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for sendWithSchedule + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @param sendAtTimestamp Sending timestamp (optional) + * @param sendAtNowPlusSeconds Send after n seconds (optional) + * @param validateBeforeEnqueue Validate before adding to queue (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendWithScheduleCall(UUID inboxId, SendEmailOptions sendEmailOptions, OffsetDateTime sendAtTimestamp, Long sendAtNowPlusSeconds, Boolean validateBeforeEnqueue, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = sendEmailOptions; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/with-schedule" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (sendAtTimestamp != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendAtTimestamp", sendAtTimestamp)); + } + + if (sendAtNowPlusSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendAtNowPlusSeconds", sendAtNowPlusSeconds)); + } + + if (validateBeforeEnqueue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("validateBeforeEnqueue", validateBeforeEnqueue)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call sendWithScheduleValidateBeforeCall(UUID inboxId, SendEmailOptions sendEmailOptions, OffsetDateTime sendAtTimestamp, Long sendAtNowPlusSeconds, Boolean validateBeforeEnqueue, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling sendWithSchedule(Async)"); + } + + // verify the required parameter 'sendEmailOptions' is set + if (sendEmailOptions == null) { + throw new ApiException("Missing the required parameter 'sendEmailOptions' when calling sendWithSchedule(Async)"); + } + + return sendWithScheduleCall(inboxId, sendEmailOptions, sendAtTimestamp, sendAtNowPlusSeconds, validateBeforeEnqueue, _callback); + + } + + /** + * Send email with with delay or schedule + * Send an email using a delay. Will place the email onto a scheduler that will then be processed and sent. Use delays to schedule email sending. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @param sendAtTimestamp Sending timestamp (optional) + * @param sendAtNowPlusSeconds Send after n seconds (optional) + * @param validateBeforeEnqueue Validate before adding to queue (optional) + * @return ScheduledJobDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ScheduledJobDto sendWithSchedule(UUID inboxId, SendEmailOptions sendEmailOptions, OffsetDateTime sendAtTimestamp, Long sendAtNowPlusSeconds, Boolean validateBeforeEnqueue) throws ApiException { + ApiResponse localVarResp = sendWithScheduleWithHttpInfo(inboxId, sendEmailOptions, sendAtTimestamp, sendAtNowPlusSeconds, validateBeforeEnqueue); + return localVarResp.getData(); + } + + /** + * Send email with with delay or schedule + * Send an email using a delay. Will place the email onto a scheduler that will then be processed and sent. Use delays to schedule email sending. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @param sendAtTimestamp Sending timestamp (optional) + * @param sendAtNowPlusSeconds Send after n seconds (optional) + * @param validateBeforeEnqueue Validate before adding to queue (optional) + * @return ApiResponse<ScheduledJobDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse sendWithScheduleWithHttpInfo(UUID inboxId, SendEmailOptions sendEmailOptions, OffsetDateTime sendAtTimestamp, Long sendAtNowPlusSeconds, Boolean validateBeforeEnqueue) throws ApiException { + okhttp3.Call localVarCall = sendWithScheduleValidateBeforeCall(inboxId, sendEmailOptions, sendAtTimestamp, sendAtNowPlusSeconds, validateBeforeEnqueue, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Send email with with delay or schedule (asynchronously) + * Send an email using a delay. Will place the email onto a scheduler that will then be processed and sent. Use delays to schedule email sending. + * @param inboxId ID of the inbox you want to send the email from (required) + * @param sendEmailOptions (required) + * @param sendAtTimestamp Sending timestamp (optional) + * @param sendAtNowPlusSeconds Send after n seconds (optional) + * @param validateBeforeEnqueue Validate before adding to queue (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendWithScheduleAsync(UUID inboxId, SendEmailOptions sendEmailOptions, OffsetDateTime sendAtTimestamp, Long sendAtNowPlusSeconds, Boolean validateBeforeEnqueue, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = sendWithScheduleValidateBeforeCall(inboxId, sendEmailOptions, sendAtTimestamp, sendAtNowPlusSeconds, validateBeforeEnqueue, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for setInboxFavourited + * @param inboxId ID of inbox to set favourite state (required) + * @param setInboxFavouritedOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call setInboxFavouritedCall(UUID inboxId, SetInboxFavouritedOptions setInboxFavouritedOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = setInboxFavouritedOptions; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/favourite" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call setInboxFavouritedValidateBeforeCall(UUID inboxId, SetInboxFavouritedOptions setInboxFavouritedOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling setInboxFavourited(Async)"); + } + + // verify the required parameter 'setInboxFavouritedOptions' is set + if (setInboxFavouritedOptions == null) { + throw new ApiException("Missing the required parameter 'setInboxFavouritedOptions' when calling setInboxFavourited(Async)"); + } + + return setInboxFavouritedCall(inboxId, setInboxFavouritedOptions, _callback); + + } + + /** + * Set inbox favourited state + * Set and return new favourite state for an inbox + * @param inboxId ID of inbox to set favourite state (required) + * @param setInboxFavouritedOptions (required) + * @return InboxDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxDto setInboxFavourited(UUID inboxId, SetInboxFavouritedOptions setInboxFavouritedOptions) throws ApiException { + ApiResponse localVarResp = setInboxFavouritedWithHttpInfo(inboxId, setInboxFavouritedOptions); + return localVarResp.getData(); + } + + /** + * Set inbox favourited state + * Set and return new favourite state for an inbox + * @param inboxId ID of inbox to set favourite state (required) + * @param setInboxFavouritedOptions (required) + * @return ApiResponse<InboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse setInboxFavouritedWithHttpInfo(UUID inboxId, SetInboxFavouritedOptions setInboxFavouritedOptions) throws ApiException { + okhttp3.Call localVarCall = setInboxFavouritedValidateBeforeCall(inboxId, setInboxFavouritedOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Set inbox favourited state (asynchronously) + * Set and return new favourite state for an inbox + * @param inboxId ID of inbox to set favourite state (required) + * @param setInboxFavouritedOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call setInboxFavouritedAsync(UUID inboxId, SetInboxFavouritedOptions setInboxFavouritedOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = setInboxFavouritedValidateBeforeCall(inboxId, setInboxFavouritedOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateInbox + * @param inboxId (required) + * @param updateInboxOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateInboxCall(UUID inboxId, UpdateInboxOptions updateInboxOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updateInboxOptions; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateInboxValidateBeforeCall(UUID inboxId, UpdateInboxOptions updateInboxOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling updateInbox(Async)"); + } + + // verify the required parameter 'updateInboxOptions' is set + if (updateInboxOptions == null) { + throw new ApiException("Missing the required parameter 'updateInboxOptions' when calling updateInbox(Async)"); + } + + return updateInboxCall(inboxId, updateInboxOptions, _callback); + + } + + /** + * Update Inbox. Change name and description. Email address is not editable. + * Update editable fields on an inbox + * @param inboxId (required) + * @param updateInboxOptions (required) + * @return InboxDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxDto updateInbox(UUID inboxId, UpdateInboxOptions updateInboxOptions) throws ApiException { + ApiResponse localVarResp = updateInboxWithHttpInfo(inboxId, updateInboxOptions); + return localVarResp.getData(); + } + + /** + * Update Inbox. Change name and description. Email address is not editable. + * Update editable fields on an inbox + * @param inboxId (required) + * @param updateInboxOptions (required) + * @return ApiResponse<InboxDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse updateInboxWithHttpInfo(UUID inboxId, UpdateInboxOptions updateInboxOptions) throws ApiException { + okhttp3.Call localVarCall = updateInboxValidateBeforeCall(inboxId, updateInboxOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update Inbox. Change name and description. Email address is not editable. (asynchronously) + * Update editable fields on an inbox + * @param inboxId (required) + * @param updateInboxOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateInboxAsync(UUID inboxId, UpdateInboxOptions updateInboxOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateInboxValidateBeforeCall(inboxId, updateInboxOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/InboxForwarderControllerApi.java b/src/main/java/com/mailslurp/apis/InboxForwarderControllerApi.java new file mode 100644 index 000000000..708cf5a83 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/InboxForwarderControllerApi.java @@ -0,0 +1,1418 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.CreateInboxForwarderOptions; +import com.mailslurp.models.InboxForwarderDto; +import com.mailslurp.models.InboxForwarderTestOptions; +import com.mailslurp.models.InboxForwarderTestResult; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageInboxForwarderDto; +import com.mailslurp.models.PageInboxForwarderEvents; +import com.mailslurp.models.TestNewInboxForwarderOptions; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class InboxForwarderControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public InboxForwarderControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public InboxForwarderControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createNewInboxForwarder + * @param inboxId Inbox id to attach forwarder to (required) + * @param createInboxForwarderOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call createNewInboxForwarderCall(UUID inboxId, CreateInboxForwarderOptions createInboxForwarderOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createInboxForwarderOptions; + + // create path and map variables + String localVarPath = "/forwarders"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createNewInboxForwarderValidateBeforeCall(UUID inboxId, CreateInboxForwarderOptions createInboxForwarderOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling createNewInboxForwarder(Async)"); + } + + // verify the required parameter 'createInboxForwarderOptions' is set + if (createInboxForwarderOptions == null) { + throw new ApiException("Missing the required parameter 'createInboxForwarderOptions' when calling createNewInboxForwarder(Async)"); + } + + return createNewInboxForwarderCall(inboxId, createInboxForwarderOptions, _callback); + + } + + /** + * Create an inbox forwarder + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * @param inboxId Inbox id to attach forwarder to (required) + * @param createInboxForwarderOptions (required) + * @return InboxForwarderDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxForwarderDto createNewInboxForwarder(UUID inboxId, CreateInboxForwarderOptions createInboxForwarderOptions) throws ApiException { + ApiResponse localVarResp = createNewInboxForwarderWithHttpInfo(inboxId, createInboxForwarderOptions); + return localVarResp.getData(); + } + + /** + * Create an inbox forwarder + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * @param inboxId Inbox id to attach forwarder to (required) + * @param createInboxForwarderOptions (required) + * @return ApiResponse<InboxForwarderDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse createNewInboxForwarderWithHttpInfo(UUID inboxId, CreateInboxForwarderOptions createInboxForwarderOptions) throws ApiException { + okhttp3.Call localVarCall = createNewInboxForwarderValidateBeforeCall(inboxId, createInboxForwarderOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create an inbox forwarder (asynchronously) + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * @param inboxId Inbox id to attach forwarder to (required) + * @param createInboxForwarderOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call createNewInboxForwarderAsync(UUID inboxId, CreateInboxForwarderOptions createInboxForwarderOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createNewInboxForwarderValidateBeforeCall(inboxId, createInboxForwarderOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteInboxForwarder + * @param id ID of inbox forwarder (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxForwarderCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/forwarders/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteInboxForwarderValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling deleteInboxForwarder(Async)"); + } + + return deleteInboxForwarderCall(id, _callback); + + } + + /** + * Delete an inbox forwarder + * Delete inbox forwarder + * @param id ID of inbox forwarder (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteInboxForwarder(UUID id) throws ApiException { + deleteInboxForwarderWithHttpInfo(id); + } + + /** + * Delete an inbox forwarder + * Delete inbox forwarder + * @param id ID of inbox forwarder (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteInboxForwarderWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = deleteInboxForwarderValidateBeforeCall(id, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete an inbox forwarder (asynchronously) + * Delete inbox forwarder + * @param id ID of inbox forwarder (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxForwarderAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteInboxForwarderValidateBeforeCall(id, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for deleteInboxForwarders + * @param inboxId Optional inbox id to attach forwarder to (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxForwardersCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/forwarders"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteInboxForwardersValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + return deleteInboxForwardersCall(inboxId, _callback); + + } + + /** + * Delete inbox forwarders + * Delete inbox forwarders. Accepts optional inboxId filter. + * @param inboxId Optional inbox id to attach forwarder to (optional) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteInboxForwarders(UUID inboxId) throws ApiException { + deleteInboxForwardersWithHttpInfo(inboxId); + } + + /** + * Delete inbox forwarders + * Delete inbox forwarders. Accepts optional inboxId filter. + * @param inboxId Optional inbox id to attach forwarder to (optional) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteInboxForwardersWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = deleteInboxForwardersValidateBeforeCall(inboxId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete inbox forwarders (asynchronously) + * Delete inbox forwarders. Accepts optional inboxId filter. + * @param inboxId Optional inbox id to attach forwarder to (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxForwardersAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteInboxForwardersValidateBeforeCall(inboxId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getInboxForwarder + * @param id ID of inbox forwarder (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxForwarderCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/forwarders/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxForwarderValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getInboxForwarder(Async)"); + } + + return getInboxForwarderCall(id, _callback); + + } + + /** + * Get an inbox forwarder + * Get inbox ruleset + * @param id ID of inbox forwarder (required) + * @return InboxForwarderDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxForwarderDto getInboxForwarder(UUID id) throws ApiException { + ApiResponse localVarResp = getInboxForwarderWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get an inbox forwarder + * Get inbox ruleset + * @param id ID of inbox forwarder (required) + * @return ApiResponse<InboxForwarderDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxForwarderWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getInboxForwarderValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get an inbox forwarder (asynchronously) + * Get inbox ruleset + * @param id ID of inbox forwarder (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxForwarderAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxForwarderValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxForwarderEvents + * @param id ID of inbox forwarder (required) + * @param page Optional page index in inbox forwarder event list pagination (optional, default to 0) + * @param size Optional page size in inbox forwarder event list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxForwarderEventsCall(UUID id, Integer page, Integer size, String sort, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/forwarders/{id}/events" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxForwarderEventsValidateBeforeCall(UUID id, Integer page, Integer size, String sort, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getInboxForwarderEvents(Async)"); + } + + return getInboxForwarderEventsCall(id, page, size, sort, _callback); + + } + + /** + * Get an inbox forwarder event list + * Get inbox ruleset events + * @param id ID of inbox forwarder (required) + * @param page Optional page index in inbox forwarder event list pagination (optional, default to 0) + * @param size Optional page size in inbox forwarder event list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @return PageInboxForwarderEvents + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageInboxForwarderEvents getInboxForwarderEvents(UUID id, Integer page, Integer size, String sort) throws ApiException { + ApiResponse localVarResp = getInboxForwarderEventsWithHttpInfo(id, page, size, sort); + return localVarResp.getData(); + } + + /** + * Get an inbox forwarder event list + * Get inbox ruleset events + * @param id ID of inbox forwarder (required) + * @param page Optional page index in inbox forwarder event list pagination (optional, default to 0) + * @param size Optional page size in inbox forwarder event list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @return ApiResponse<PageInboxForwarderEvents> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxForwarderEventsWithHttpInfo(UUID id, Integer page, Integer size, String sort) throws ApiException { + okhttp3.Call localVarCall = getInboxForwarderEventsValidateBeforeCall(id, page, size, sort, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get an inbox forwarder event list (asynchronously) + * Get inbox ruleset events + * @param id ID of inbox forwarder (required) + * @param page Optional page index in inbox forwarder event list pagination (optional, default to 0) + * @param size Optional page size in inbox forwarder event list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxForwarderEventsAsync(UUID id, Integer page, Integer size, String sort, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxForwarderEventsValidateBeforeCall(id, page, size, sort, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxForwarders + * @param inboxId Optional inbox id to get forwarders from (optional) + * @param page Optional page index in inbox forwarder list pagination (optional, default to 0) + * @param size Optional page size in inbox forwarder list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxForwardersCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/forwarders"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxForwardersValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getInboxForwardersCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * List inbox forwarders + * List all forwarders attached to an inbox + * @param inboxId Optional inbox id to get forwarders from (optional) + * @param page Optional page index in inbox forwarder list pagination (optional, default to 0) + * @param size Optional page size in inbox forwarder list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageInboxForwarderDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageInboxForwarderDto getInboxForwarders(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getInboxForwardersWithHttpInfo(inboxId, page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * List inbox forwarders + * List all forwarders attached to an inbox + * @param inboxId Optional inbox id to get forwarders from (optional) + * @param page Optional page index in inbox forwarder list pagination (optional, default to 0) + * @param size Optional page size in inbox forwarder list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageInboxForwarderDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxForwardersWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getInboxForwardersValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List inbox forwarders (asynchronously) + * List all forwarders attached to an inbox + * @param inboxId Optional inbox id to get forwarders from (optional) + * @param page Optional page index in inbox forwarder list pagination (optional, default to 0) + * @param size Optional page size in inbox forwarder list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxForwardersAsync(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxForwardersValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for testInboxForwarder + * @param id ID of inbox forwarder (required) + * @param inboxForwarderTestOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testInboxForwarderCall(UUID id, InboxForwarderTestOptions inboxForwarderTestOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = inboxForwarderTestOptions; + + // create path and map variables + String localVarPath = "/forwarders/{id}/test" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call testInboxForwarderValidateBeforeCall(UUID id, InboxForwarderTestOptions inboxForwarderTestOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling testInboxForwarder(Async)"); + } + + // verify the required parameter 'inboxForwarderTestOptions' is set + if (inboxForwarderTestOptions == null) { + throw new ApiException("Missing the required parameter 'inboxForwarderTestOptions' when calling testInboxForwarder(Async)"); + } + + return testInboxForwarderCall(id, inboxForwarderTestOptions, _callback); + + } + + /** + * Test an inbox forwarder + * Test an inbox forwarder + * @param id ID of inbox forwarder (required) + * @param inboxForwarderTestOptions (required) + * @return InboxForwarderTestResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxForwarderTestResult testInboxForwarder(UUID id, InboxForwarderTestOptions inboxForwarderTestOptions) throws ApiException { + ApiResponse localVarResp = testInboxForwarderWithHttpInfo(id, inboxForwarderTestOptions); + return localVarResp.getData(); + } + + /** + * Test an inbox forwarder + * Test an inbox forwarder + * @param id ID of inbox forwarder (required) + * @param inboxForwarderTestOptions (required) + * @return ApiResponse<InboxForwarderTestResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse testInboxForwarderWithHttpInfo(UUID id, InboxForwarderTestOptions inboxForwarderTestOptions) throws ApiException { + okhttp3.Call localVarCall = testInboxForwarderValidateBeforeCall(id, inboxForwarderTestOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Test an inbox forwarder (asynchronously) + * Test an inbox forwarder + * @param id ID of inbox forwarder (required) + * @param inboxForwarderTestOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testInboxForwarderAsync(UUID id, InboxForwarderTestOptions inboxForwarderTestOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = testInboxForwarderValidateBeforeCall(id, inboxForwarderTestOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for testInboxForwardersForInbox + * @param inboxId ID of inbox (required) + * @param inboxForwarderTestOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testInboxForwardersForInboxCall(UUID inboxId, InboxForwarderTestOptions inboxForwarderTestOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = inboxForwarderTestOptions; + + // create path and map variables + String localVarPath = "/forwarders"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call testInboxForwardersForInboxValidateBeforeCall(UUID inboxId, InboxForwarderTestOptions inboxForwarderTestOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling testInboxForwardersForInbox(Async)"); + } + + // verify the required parameter 'inboxForwarderTestOptions' is set + if (inboxForwarderTestOptions == null) { + throw new ApiException("Missing the required parameter 'inboxForwarderTestOptions' when calling testInboxForwardersForInbox(Async)"); + } + + return testInboxForwardersForInboxCall(inboxId, inboxForwarderTestOptions, _callback); + + } + + /** + * Test inbox forwarders for inbox + * Test inbox forwarders for inbox + * @param inboxId ID of inbox (required) + * @param inboxForwarderTestOptions (required) + * @return InboxForwarderTestResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxForwarderTestResult testInboxForwardersForInbox(UUID inboxId, InboxForwarderTestOptions inboxForwarderTestOptions) throws ApiException { + ApiResponse localVarResp = testInboxForwardersForInboxWithHttpInfo(inboxId, inboxForwarderTestOptions); + return localVarResp.getData(); + } + + /** + * Test inbox forwarders for inbox + * Test inbox forwarders for inbox + * @param inboxId ID of inbox (required) + * @param inboxForwarderTestOptions (required) + * @return ApiResponse<InboxForwarderTestResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse testInboxForwardersForInboxWithHttpInfo(UUID inboxId, InboxForwarderTestOptions inboxForwarderTestOptions) throws ApiException { + okhttp3.Call localVarCall = testInboxForwardersForInboxValidateBeforeCall(inboxId, inboxForwarderTestOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Test inbox forwarders for inbox (asynchronously) + * Test inbox forwarders for inbox + * @param inboxId ID of inbox (required) + * @param inboxForwarderTestOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testInboxForwardersForInboxAsync(UUID inboxId, InboxForwarderTestOptions inboxForwarderTestOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = testInboxForwardersForInboxValidateBeforeCall(inboxId, inboxForwarderTestOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for testNewInboxForwarder + * @param testNewInboxForwarderOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testNewInboxForwarderCall(TestNewInboxForwarderOptions testNewInboxForwarderOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = testNewInboxForwarderOptions; + + // create path and map variables + String localVarPath = "/forwarders"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call testNewInboxForwarderValidateBeforeCall(TestNewInboxForwarderOptions testNewInboxForwarderOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'testNewInboxForwarderOptions' is set + if (testNewInboxForwarderOptions == null) { + throw new ApiException("Missing the required parameter 'testNewInboxForwarderOptions' when calling testNewInboxForwarder(Async)"); + } + + return testNewInboxForwarderCall(testNewInboxForwarderOptions, _callback); + + } + + /** + * Test new inbox forwarder + * Test new inbox forwarder + * @param testNewInboxForwarderOptions (required) + * @return InboxForwarderTestResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxForwarderTestResult testNewInboxForwarder(TestNewInboxForwarderOptions testNewInboxForwarderOptions) throws ApiException { + ApiResponse localVarResp = testNewInboxForwarderWithHttpInfo(testNewInboxForwarderOptions); + return localVarResp.getData(); + } + + /** + * Test new inbox forwarder + * Test new inbox forwarder + * @param testNewInboxForwarderOptions (required) + * @return ApiResponse<InboxForwarderTestResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse testNewInboxForwarderWithHttpInfo(TestNewInboxForwarderOptions testNewInboxForwarderOptions) throws ApiException { + okhttp3.Call localVarCall = testNewInboxForwarderValidateBeforeCall(testNewInboxForwarderOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Test new inbox forwarder (asynchronously) + * Test new inbox forwarder + * @param testNewInboxForwarderOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testNewInboxForwarderAsync(TestNewInboxForwarderOptions testNewInboxForwarderOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = testNewInboxForwarderValidateBeforeCall(testNewInboxForwarderOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateInboxForwarder + * @param id ID of inbox forwarder (required) + * @param createInboxForwarderOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateInboxForwarderCall(UUID id, CreateInboxForwarderOptions createInboxForwarderOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createInboxForwarderOptions; + + // create path and map variables + String localVarPath = "/forwarders/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateInboxForwarderValidateBeforeCall(UUID id, CreateInboxForwarderOptions createInboxForwarderOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling updateInboxForwarder(Async)"); + } + + // verify the required parameter 'createInboxForwarderOptions' is set + if (createInboxForwarderOptions == null) { + throw new ApiException("Missing the required parameter 'createInboxForwarderOptions' when calling updateInboxForwarder(Async)"); + } + + return updateInboxForwarderCall(id, createInboxForwarderOptions, _callback); + + } + + /** + * Update an inbox forwarder + * Update inbox ruleset + * @param id ID of inbox forwarder (required) + * @param createInboxForwarderOptions (required) + * @return InboxForwarderDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxForwarderDto updateInboxForwarder(UUID id, CreateInboxForwarderOptions createInboxForwarderOptions) throws ApiException { + ApiResponse localVarResp = updateInboxForwarderWithHttpInfo(id, createInboxForwarderOptions); + return localVarResp.getData(); + } + + /** + * Update an inbox forwarder + * Update inbox ruleset + * @param id ID of inbox forwarder (required) + * @param createInboxForwarderOptions (required) + * @return ApiResponse<InboxForwarderDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse updateInboxForwarderWithHttpInfo(UUID id, CreateInboxForwarderOptions createInboxForwarderOptions) throws ApiException { + okhttp3.Call localVarCall = updateInboxForwarderValidateBeforeCall(id, createInboxForwarderOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update an inbox forwarder (asynchronously) + * Update inbox ruleset + * @param id ID of inbox forwarder (required) + * @param createInboxForwarderOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateInboxForwarderAsync(UUID id, CreateInboxForwarderOptions createInboxForwarderOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateInboxForwarderValidateBeforeCall(id, createInboxForwarderOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/InboxReplierControllerApi.java b/src/main/java/com/mailslurp/apis/InboxReplierControllerApi.java new file mode 100644 index 000000000..19c92152f --- /dev/null +++ b/src/main/java/com/mailslurp/apis/InboxReplierControllerApi.java @@ -0,0 +1,1003 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.CreateInboxReplierOptions; +import com.mailslurp.models.InboxReplierDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageInboxReplierDto; +import com.mailslurp.models.PageInboxReplierEvents; +import java.util.UUID; +import com.mailslurp.models.UpdateInboxReplierOptions; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class InboxReplierControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public InboxReplierControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public InboxReplierControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createNewInboxReplier + * @param createInboxReplierOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call createNewInboxReplierCall(CreateInboxReplierOptions createInboxReplierOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createInboxReplierOptions; + + // create path and map variables + String localVarPath = "/repliers"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createNewInboxReplierValidateBeforeCall(CreateInboxReplierOptions createInboxReplierOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createInboxReplierOptions' is set + if (createInboxReplierOptions == null) { + throw new ApiException("Missing the required parameter 'createInboxReplierOptions' when calling createNewInboxReplier(Async)"); + } + + return createNewInboxReplierCall(createInboxReplierOptions, _callback); + + } + + /** + * Create an inbox replier + * Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving + * @param createInboxReplierOptions (required) + * @return InboxReplierDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxReplierDto createNewInboxReplier(CreateInboxReplierOptions createInboxReplierOptions) throws ApiException { + ApiResponse localVarResp = createNewInboxReplierWithHttpInfo(createInboxReplierOptions); + return localVarResp.getData(); + } + + /** + * Create an inbox replier + * Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving + * @param createInboxReplierOptions (required) + * @return ApiResponse<InboxReplierDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse createNewInboxReplierWithHttpInfo(CreateInboxReplierOptions createInboxReplierOptions) throws ApiException { + okhttp3.Call localVarCall = createNewInboxReplierValidateBeforeCall(createInboxReplierOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create an inbox replier (asynchronously) + * Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving + * @param createInboxReplierOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call createNewInboxReplierAsync(CreateInboxReplierOptions createInboxReplierOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createNewInboxReplierValidateBeforeCall(createInboxReplierOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteInboxReplier + * @param id ID of inbox replier (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxReplierCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/repliers/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteInboxReplierValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling deleteInboxReplier(Async)"); + } + + return deleteInboxReplierCall(id, _callback); + + } + + /** + * Delete an inbox replier + * Delete inbox replier + * @param id ID of inbox replier (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteInboxReplier(UUID id) throws ApiException { + deleteInboxReplierWithHttpInfo(id); + } + + /** + * Delete an inbox replier + * Delete inbox replier + * @param id ID of inbox replier (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteInboxReplierWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = deleteInboxReplierValidateBeforeCall(id, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete an inbox replier (asynchronously) + * Delete inbox replier + * @param id ID of inbox replier (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxReplierAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteInboxReplierValidateBeforeCall(id, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for deleteInboxRepliers + * @param inboxId Optional inbox id to attach replier to (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxRepliersCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/repliers"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteInboxRepliersValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + return deleteInboxRepliersCall(inboxId, _callback); + + } + + /** + * Delete inbox repliers + * Delete inbox repliers. Accepts optional inboxId filter. + * @param inboxId Optional inbox id to attach replier to (optional) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteInboxRepliers(UUID inboxId) throws ApiException { + deleteInboxRepliersWithHttpInfo(inboxId); + } + + /** + * Delete inbox repliers + * Delete inbox repliers. Accepts optional inboxId filter. + * @param inboxId Optional inbox id to attach replier to (optional) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteInboxRepliersWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = deleteInboxRepliersValidateBeforeCall(inboxId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete inbox repliers (asynchronously) + * Delete inbox repliers. Accepts optional inboxId filter. + * @param inboxId Optional inbox id to attach replier to (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxRepliersAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteInboxRepliersValidateBeforeCall(inboxId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getInboxReplier + * @param id ID of inbox replier (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxReplierCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/repliers/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxReplierValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getInboxReplier(Async)"); + } + + return getInboxReplierCall(id, _callback); + + } + + /** + * Get an inbox replier + * Get inbox ruleset + * @param id ID of inbox replier (required) + * @return InboxReplierDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxReplierDto getInboxReplier(UUID id) throws ApiException { + ApiResponse localVarResp = getInboxReplierWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get an inbox replier + * Get inbox ruleset + * @param id ID of inbox replier (required) + * @return ApiResponse<InboxReplierDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxReplierWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getInboxReplierValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get an inbox replier (asynchronously) + * Get inbox ruleset + * @param id ID of inbox replier (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxReplierAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxReplierValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxReplierEvents + * @param id ID of inbox replier (required) + * @param page Optional page index in inbox replier event list pagination (optional, default to 0) + * @param size Optional page size in inbox replier event list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxReplierEventsCall(UUID id, Integer page, Integer size, String sort, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/repliers/{id}/events" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxReplierEventsValidateBeforeCall(UUID id, Integer page, Integer size, String sort, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getInboxReplierEvents(Async)"); + } + + return getInboxReplierEventsCall(id, page, size, sort, _callback); + + } + + /** + * Get an inbox replier event list + * Get inbox ruleset events + * @param id ID of inbox replier (required) + * @param page Optional page index in inbox replier event list pagination (optional, default to 0) + * @param size Optional page size in inbox replier event list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @return PageInboxReplierEvents + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageInboxReplierEvents getInboxReplierEvents(UUID id, Integer page, Integer size, String sort) throws ApiException { + ApiResponse localVarResp = getInboxReplierEventsWithHttpInfo(id, page, size, sort); + return localVarResp.getData(); + } + + /** + * Get an inbox replier event list + * Get inbox ruleset events + * @param id ID of inbox replier (required) + * @param page Optional page index in inbox replier event list pagination (optional, default to 0) + * @param size Optional page size in inbox replier event list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @return ApiResponse<PageInboxReplierEvents> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxReplierEventsWithHttpInfo(UUID id, Integer page, Integer size, String sort) throws ApiException { + okhttp3.Call localVarCall = getInboxReplierEventsValidateBeforeCall(id, page, size, sort, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get an inbox replier event list (asynchronously) + * Get inbox ruleset events + * @param id ID of inbox replier (required) + * @param page Optional page index in inbox replier event list pagination (optional, default to 0) + * @param size Optional page size in inbox replier event list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxReplierEventsAsync(UUID id, Integer page, Integer size, String sort, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxReplierEventsValidateBeforeCall(id, page, size, sort, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxRepliers + * @param inboxId Optional inbox id to get repliers from (optional) + * @param page Optional page index in inbox replier list pagination (optional, default to 0) + * @param size Optional page size in inbox replier list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxRepliersCall(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/repliers"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxRepliersValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getInboxRepliersCall(inboxId, page, size, sort, since, before, _callback); + + } + + /** + * List inbox repliers + * List all repliers attached to an inbox + * @param inboxId Optional inbox id to get repliers from (optional) + * @param page Optional page index in inbox replier list pagination (optional, default to 0) + * @param size Optional page size in inbox replier list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageInboxReplierDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageInboxReplierDto getInboxRepliers(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getInboxRepliersWithHttpInfo(inboxId, page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * List inbox repliers + * List all repliers attached to an inbox + * @param inboxId Optional inbox id to get repliers from (optional) + * @param page Optional page index in inbox replier list pagination (optional, default to 0) + * @param size Optional page size in inbox replier list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageInboxReplierDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxRepliersWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getInboxRepliersValidateBeforeCall(inboxId, page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List inbox repliers (asynchronously) + * List all repliers attached to an inbox + * @param inboxId Optional inbox id to get repliers from (optional) + * @param page Optional page index in inbox replier list pagination (optional, default to 0) + * @param size Optional page size in inbox replier list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxRepliersAsync(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxRepliersValidateBeforeCall(inboxId, page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateInboxReplier + * @param id ID of inbox replier (required) + * @param updateInboxReplierOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateInboxReplierCall(UUID id, UpdateInboxReplierOptions updateInboxReplierOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updateInboxReplierOptions; + + // create path and map variables + String localVarPath = "/repliers/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateInboxReplierValidateBeforeCall(UUID id, UpdateInboxReplierOptions updateInboxReplierOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling updateInboxReplier(Async)"); + } + + // verify the required parameter 'updateInboxReplierOptions' is set + if (updateInboxReplierOptions == null) { + throw new ApiException("Missing the required parameter 'updateInboxReplierOptions' when calling updateInboxReplier(Async)"); + } + + return updateInboxReplierCall(id, updateInboxReplierOptions, _callback); + + } + + /** + * Update an inbox replier + * Update inbox ruleset + * @param id ID of inbox replier (required) + * @param updateInboxReplierOptions (required) + * @return InboxReplierDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxReplierDto updateInboxReplier(UUID id, UpdateInboxReplierOptions updateInboxReplierOptions) throws ApiException { + ApiResponse localVarResp = updateInboxReplierWithHttpInfo(id, updateInboxReplierOptions); + return localVarResp.getData(); + } + + /** + * Update an inbox replier + * Update inbox ruleset + * @param id ID of inbox replier (required) + * @param updateInboxReplierOptions (required) + * @return ApiResponse<InboxReplierDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse updateInboxReplierWithHttpInfo(UUID id, UpdateInboxReplierOptions updateInboxReplierOptions) throws ApiException { + okhttp3.Call localVarCall = updateInboxReplierValidateBeforeCall(id, updateInboxReplierOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update an inbox replier (asynchronously) + * Update inbox ruleset + * @param id ID of inbox replier (required) + * @param updateInboxReplierOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateInboxReplierAsync(UUID id, UpdateInboxReplierOptions updateInboxReplierOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateInboxReplierValidateBeforeCall(id, updateInboxReplierOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/InboxRulesetControllerApi.java b/src/main/java/com/mailslurp/apis/InboxRulesetControllerApi.java new file mode 100644 index 000000000..1b3c91ac9 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/InboxRulesetControllerApi.java @@ -0,0 +1,1132 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.CreateInboxRulesetOptions; +import com.mailslurp.models.InboxRulesetDto; +import com.mailslurp.models.InboxRulesetTestOptions; +import com.mailslurp.models.InboxRulesetTestResult; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageInboxRulesetDto; +import com.mailslurp.models.TestNewInboxRulesetOptions; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class InboxRulesetControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public InboxRulesetControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public InboxRulesetControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createNewInboxRuleset + * @param createInboxRulesetOptions (required) + * @param inboxId Inbox id to attach ruleset to (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call createNewInboxRulesetCall(CreateInboxRulesetOptions createInboxRulesetOptions, UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createInboxRulesetOptions; + + // create path and map variables + String localVarPath = "/rulesets"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createNewInboxRulesetValidateBeforeCall(CreateInboxRulesetOptions createInboxRulesetOptions, UUID inboxId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createInboxRulesetOptions' is set + if (createInboxRulesetOptions == null) { + throw new ApiException("Missing the required parameter 'createInboxRulesetOptions' when calling createNewInboxRuleset(Async)"); + } + + return createNewInboxRulesetCall(createInboxRulesetOptions, inboxId, _callback); + + } + + /** + * Create an inbox ruleset + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * @param createInboxRulesetOptions (required) + * @param inboxId Inbox id to attach ruleset to (optional) + * @return InboxRulesetDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxRulesetDto createNewInboxRuleset(CreateInboxRulesetOptions createInboxRulesetOptions, UUID inboxId) throws ApiException { + ApiResponse localVarResp = createNewInboxRulesetWithHttpInfo(createInboxRulesetOptions, inboxId); + return localVarResp.getData(); + } + + /** + * Create an inbox ruleset + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * @param createInboxRulesetOptions (required) + * @param inboxId Inbox id to attach ruleset to (optional) + * @return ApiResponse<InboxRulesetDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse createNewInboxRulesetWithHttpInfo(CreateInboxRulesetOptions createInboxRulesetOptions, UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = createNewInboxRulesetValidateBeforeCall(createInboxRulesetOptions, inboxId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create an inbox ruleset (asynchronously) + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * @param createInboxRulesetOptions (required) + * @param inboxId Inbox id to attach ruleset to (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call createNewInboxRulesetAsync(CreateInboxRulesetOptions createInboxRulesetOptions, UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createNewInboxRulesetValidateBeforeCall(createInboxRulesetOptions, inboxId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteInboxRuleset + * @param id ID of inbox ruleset (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxRulesetCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/rulesets/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteInboxRulesetValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling deleteInboxRuleset(Async)"); + } + + return deleteInboxRulesetCall(id, _callback); + + } + + /** + * Delete an inbox ruleset + * Delete inbox ruleset + * @param id ID of inbox ruleset (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteInboxRuleset(UUID id) throws ApiException { + deleteInboxRulesetWithHttpInfo(id); + } + + /** + * Delete an inbox ruleset + * Delete inbox ruleset + * @param id ID of inbox ruleset (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteInboxRulesetWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = deleteInboxRulesetValidateBeforeCall(id, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete an inbox ruleset (asynchronously) + * Delete inbox ruleset + * @param id ID of inbox ruleset (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxRulesetAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteInboxRulesetValidateBeforeCall(id, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for deleteInboxRulesets + * @param inboxId Optional inbox id to attach ruleset to (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxRulesetsCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/rulesets"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteInboxRulesetsValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + return deleteInboxRulesetsCall(inboxId, _callback); + + } + + /** + * Delete inbox rulesets + * Delete inbox rulesets. Accepts optional inboxId filter. + * @param inboxId Optional inbox id to attach ruleset to (optional) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteInboxRulesets(UUID inboxId) throws ApiException { + deleteInboxRulesetsWithHttpInfo(inboxId); + } + + /** + * Delete inbox rulesets + * Delete inbox rulesets. Accepts optional inboxId filter. + * @param inboxId Optional inbox id to attach ruleset to (optional) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteInboxRulesetsWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = deleteInboxRulesetsValidateBeforeCall(inboxId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete inbox rulesets (asynchronously) + * Delete inbox rulesets. Accepts optional inboxId filter. + * @param inboxId Optional inbox id to attach ruleset to (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteInboxRulesetsAsync(UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteInboxRulesetsValidateBeforeCall(inboxId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getInboxRuleset + * @param id ID of inbox ruleset (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxRulesetCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/rulesets/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxRulesetValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getInboxRuleset(Async)"); + } + + return getInboxRulesetCall(id, _callback); + + } + + /** + * Get an inbox ruleset + * Get inbox ruleset + * @param id ID of inbox ruleset (required) + * @return InboxRulesetDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxRulesetDto getInboxRuleset(UUID id) throws ApiException { + ApiResponse localVarResp = getInboxRulesetWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get an inbox ruleset + * Get inbox ruleset + * @param id ID of inbox ruleset (required) + * @return ApiResponse<InboxRulesetDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxRulesetWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getInboxRulesetValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get an inbox ruleset (asynchronously) + * Get inbox ruleset + * @param id ID of inbox ruleset (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxRulesetAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxRulesetValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxRulesets + * @param inboxId Optional inbox id to get rulesets from (optional) + * @param page Optional page index in inbox ruleset list pagination (optional, default to 0) + * @param size Optional page size in inbox ruleset list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxRulesetsCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/rulesets"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxRulesetsValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getInboxRulesetsCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * List inbox rulesets + * List all rulesets attached to an inbox + * @param inboxId Optional inbox id to get rulesets from (optional) + * @param page Optional page index in inbox ruleset list pagination (optional, default to 0) + * @param size Optional page size in inbox ruleset list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageInboxRulesetDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageInboxRulesetDto getInboxRulesets(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getInboxRulesetsWithHttpInfo(inboxId, page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * List inbox rulesets + * List all rulesets attached to an inbox + * @param inboxId Optional inbox id to get rulesets from (optional) + * @param page Optional page index in inbox ruleset list pagination (optional, default to 0) + * @param size Optional page size in inbox ruleset list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageInboxRulesetDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxRulesetsWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getInboxRulesetsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List inbox rulesets (asynchronously) + * List all rulesets attached to an inbox + * @param inboxId Optional inbox id to get rulesets from (optional) + * @param page Optional page index in inbox ruleset list pagination (optional, default to 0) + * @param size Optional page size in inbox ruleset list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxRulesetsAsync(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxRulesetsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for testInboxRuleset + * @param id ID of inbox ruleset (required) + * @param inboxRulesetTestOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testInboxRulesetCall(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = inboxRulesetTestOptions; + + // create path and map variables + String localVarPath = "/rulesets/{id}/test" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call testInboxRulesetValidateBeforeCall(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling testInboxRuleset(Async)"); + } + + // verify the required parameter 'inboxRulesetTestOptions' is set + if (inboxRulesetTestOptions == null) { + throw new ApiException("Missing the required parameter 'inboxRulesetTestOptions' when calling testInboxRuleset(Async)"); + } + + return testInboxRulesetCall(id, inboxRulesetTestOptions, _callback); + + } + + /** + * Test an inbox ruleset + * Test an inbox ruleset + * @param id ID of inbox ruleset (required) + * @param inboxRulesetTestOptions (required) + * @return InboxRulesetTestResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxRulesetTestResult testInboxRuleset(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions) throws ApiException { + ApiResponse localVarResp = testInboxRulesetWithHttpInfo(id, inboxRulesetTestOptions); + return localVarResp.getData(); + } + + /** + * Test an inbox ruleset + * Test an inbox ruleset + * @param id ID of inbox ruleset (required) + * @param inboxRulesetTestOptions (required) + * @return ApiResponse<InboxRulesetTestResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse testInboxRulesetWithHttpInfo(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions) throws ApiException { + okhttp3.Call localVarCall = testInboxRulesetValidateBeforeCall(id, inboxRulesetTestOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Test an inbox ruleset (asynchronously) + * Test an inbox ruleset + * @param id ID of inbox ruleset (required) + * @param inboxRulesetTestOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testInboxRulesetAsync(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = testInboxRulesetValidateBeforeCall(id, inboxRulesetTestOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for testInboxRulesetsForInbox + * @param inboxId ID of inbox (required) + * @param inboxRulesetTestOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testInboxRulesetsForInboxCall(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = inboxRulesetTestOptions; + + // create path and map variables + String localVarPath = "/rulesets"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call testInboxRulesetsForInboxValidateBeforeCall(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling testInboxRulesetsForInbox(Async)"); + } + + // verify the required parameter 'inboxRulesetTestOptions' is set + if (inboxRulesetTestOptions == null) { + throw new ApiException("Missing the required parameter 'inboxRulesetTestOptions' when calling testInboxRulesetsForInbox(Async)"); + } + + return testInboxRulesetsForInboxCall(inboxId, inboxRulesetTestOptions, _callback); + + } + + /** + * Test inbox rulesets for inbox + * Test inbox rulesets for inbox + * @param inboxId ID of inbox (required) + * @param inboxRulesetTestOptions (required) + * @return InboxRulesetTestResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxRulesetTestResult testInboxRulesetsForInbox(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions) throws ApiException { + ApiResponse localVarResp = testInboxRulesetsForInboxWithHttpInfo(inboxId, inboxRulesetTestOptions); + return localVarResp.getData(); + } + + /** + * Test inbox rulesets for inbox + * Test inbox rulesets for inbox + * @param inboxId ID of inbox (required) + * @param inboxRulesetTestOptions (required) + * @return ApiResponse<InboxRulesetTestResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse testInboxRulesetsForInboxWithHttpInfo(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions) throws ApiException { + okhttp3.Call localVarCall = testInboxRulesetsForInboxValidateBeforeCall(inboxId, inboxRulesetTestOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Test inbox rulesets for inbox (asynchronously) + * Test inbox rulesets for inbox + * @param inboxId ID of inbox (required) + * @param inboxRulesetTestOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testInboxRulesetsForInboxAsync(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = testInboxRulesetsForInboxValidateBeforeCall(inboxId, inboxRulesetTestOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for testNewInboxRuleset + * @param testNewInboxRulesetOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testNewInboxRulesetCall(TestNewInboxRulesetOptions testNewInboxRulesetOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = testNewInboxRulesetOptions; + + // create path and map variables + String localVarPath = "/rulesets"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call testNewInboxRulesetValidateBeforeCall(TestNewInboxRulesetOptions testNewInboxRulesetOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'testNewInboxRulesetOptions' is set + if (testNewInboxRulesetOptions == null) { + throw new ApiException("Missing the required parameter 'testNewInboxRulesetOptions' when calling testNewInboxRuleset(Async)"); + } + + return testNewInboxRulesetCall(testNewInboxRulesetOptions, _callback); + + } + + /** + * Test new inbox ruleset + * Test new inbox ruleset + * @param testNewInboxRulesetOptions (required) + * @return InboxRulesetTestResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public InboxRulesetTestResult testNewInboxRuleset(TestNewInboxRulesetOptions testNewInboxRulesetOptions) throws ApiException { + ApiResponse localVarResp = testNewInboxRulesetWithHttpInfo(testNewInboxRulesetOptions); + return localVarResp.getData(); + } + + /** + * Test new inbox ruleset + * Test new inbox ruleset + * @param testNewInboxRulesetOptions (required) + * @return ApiResponse<InboxRulesetTestResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse testNewInboxRulesetWithHttpInfo(TestNewInboxRulesetOptions testNewInboxRulesetOptions) throws ApiException { + okhttp3.Call localVarCall = testNewInboxRulesetValidateBeforeCall(testNewInboxRulesetOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Test new inbox ruleset (asynchronously) + * Test new inbox ruleset + * @param testNewInboxRulesetOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testNewInboxRulesetAsync(TestNewInboxRulesetOptions testNewInboxRulesetOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = testNewInboxRulesetValidateBeforeCall(testNewInboxRulesetOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/MailServerControllerApi.java b/src/main/java/com/mailslurp/apis/MailServerControllerApi.java new file mode 100644 index 000000000..a182d7c38 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/MailServerControllerApi.java @@ -0,0 +1,586 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.DNSLookupOptions; +import com.mailslurp.models.DNSLookupResults; +import com.mailslurp.models.DescribeDomainOptions; +import com.mailslurp.models.DescribeMailServerDomainResult; +import com.mailslurp.models.EmailVerificationResult; +import com.mailslurp.models.IPAddressResult; +import com.mailslurp.models.VerifyEmailAddressOptions; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class MailServerControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public MailServerControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public MailServerControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for describeMailServerDomain + * @param describeDomainOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call describeMailServerDomainCall(DescribeDomainOptions describeDomainOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = describeDomainOptions; + + // create path and map variables + String localVarPath = "/mail-server/describe/domain"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call describeMailServerDomainValidateBeforeCall(DescribeDomainOptions describeDomainOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'describeDomainOptions' is set + if (describeDomainOptions == null) { + throw new ApiException("Missing the required parameter 'describeDomainOptions' when calling describeMailServerDomain(Async)"); + } + + return describeMailServerDomainCall(describeDomainOptions, _callback); + + } + + /** + * Get DNS Mail Server records for a domain + * + * @param describeDomainOptions (required) + * @return DescribeMailServerDomainResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public DescribeMailServerDomainResult describeMailServerDomain(DescribeDomainOptions describeDomainOptions) throws ApiException { + ApiResponse localVarResp = describeMailServerDomainWithHttpInfo(describeDomainOptions); + return localVarResp.getData(); + } + + /** + * Get DNS Mail Server records for a domain + * + * @param describeDomainOptions (required) + * @return ApiResponse<DescribeMailServerDomainResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse describeMailServerDomainWithHttpInfo(DescribeDomainOptions describeDomainOptions) throws ApiException { + okhttp3.Call localVarCall = describeMailServerDomainValidateBeforeCall(describeDomainOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get DNS Mail Server records for a domain (asynchronously) + * + * @param describeDomainOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call describeMailServerDomainAsync(DescribeDomainOptions describeDomainOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = describeMailServerDomainValidateBeforeCall(describeDomainOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getDnsLookup + * @param dnSLookupOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDnsLookupCall(DNSLookupOptions dnSLookupOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = dnSLookupOptions; + + // create path and map variables + String localVarPath = "/mail-server/describe/dns-lookup"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getDnsLookupValidateBeforeCall(DNSLookupOptions dnSLookupOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'dnSLookupOptions' is set + if (dnSLookupOptions == null) { + throw new ApiException("Missing the required parameter 'dnSLookupOptions' when calling getDnsLookup(Async)"); + } + + return getDnsLookupCall(dnSLookupOptions, _callback); + + } + + /** + * Lookup DNS records for a domain + * + * @param dnSLookupOptions (required) + * @return DNSLookupResults + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public DNSLookupResults getDnsLookup(DNSLookupOptions dnSLookupOptions) throws ApiException { + ApiResponse localVarResp = getDnsLookupWithHttpInfo(dnSLookupOptions); + return localVarResp.getData(); + } + + /** + * Lookup DNS records for a domain + * + * @param dnSLookupOptions (required) + * @return ApiResponse<DNSLookupResults> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getDnsLookupWithHttpInfo(DNSLookupOptions dnSLookupOptions) throws ApiException { + okhttp3.Call localVarCall = getDnsLookupValidateBeforeCall(dnSLookupOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Lookup DNS records for a domain (asynchronously) + * + * @param dnSLookupOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getDnsLookupAsync(DNSLookupOptions dnSLookupOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getDnsLookupValidateBeforeCall(dnSLookupOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getIpAddress + * @param name (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getIpAddressCall(String name, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/mail-server/describe/ip-address"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (name != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("name", name)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getIpAddressValidateBeforeCall(String name, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getIpAddress(Async)"); + } + + return getIpAddressCall(name, _callback); + + } + + /** + * Get IP address for a domain + * + * @param name (required) + * @return IPAddressResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public IPAddressResult getIpAddress(String name) throws ApiException { + ApiResponse localVarResp = getIpAddressWithHttpInfo(name); + return localVarResp.getData(); + } + + /** + * Get IP address for a domain + * + * @param name (required) + * @return ApiResponse<IPAddressResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getIpAddressWithHttpInfo(String name) throws ApiException { + okhttp3.Call localVarCall = getIpAddressValidateBeforeCall(name, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get IP address for a domain (asynchronously) + * + * @param name (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getIpAddressAsync(String name, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getIpAddressValidateBeforeCall(name, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for verifyEmailAddress + * @param verifyEmailAddressOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public okhttp3.Call verifyEmailAddressCall(VerifyEmailAddressOptions verifyEmailAddressOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = verifyEmailAddressOptions; + + // create path and map variables + String localVarPath = "/mail-server/verify/email-address"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @Deprecated + @SuppressWarnings("rawtypes") + private okhttp3.Call verifyEmailAddressValidateBeforeCall(VerifyEmailAddressOptions verifyEmailAddressOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'verifyEmailAddressOptions' is set + if (verifyEmailAddressOptions == null) { + throw new ApiException("Missing the required parameter 'verifyEmailAddressOptions' when calling verifyEmailAddress(Async)"); + } + + return verifyEmailAddressCall(verifyEmailAddressOptions, _callback); + + } + + /** + * Deprecated. Use the EmailVerificationController methods for more accurate and reliable functionality. Verify the existence of an email address at a given mail server. + * + * @param verifyEmailAddressOptions (required) + * @return EmailVerificationResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public EmailVerificationResult verifyEmailAddress(VerifyEmailAddressOptions verifyEmailAddressOptions) throws ApiException { + ApiResponse localVarResp = verifyEmailAddressWithHttpInfo(verifyEmailAddressOptions); + return localVarResp.getData(); + } + + /** + * Deprecated. Use the EmailVerificationController methods for more accurate and reliable functionality. Verify the existence of an email address at a given mail server. + * + * @param verifyEmailAddressOptions (required) + * @return ApiResponse<EmailVerificationResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public ApiResponse verifyEmailAddressWithHttpInfo(VerifyEmailAddressOptions verifyEmailAddressOptions) throws ApiException { + okhttp3.Call localVarCall = verifyEmailAddressValidateBeforeCall(verifyEmailAddressOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Deprecated. Use the EmailVerificationController methods for more accurate and reliable functionality. Verify the existence of an email address at a given mail server. (asynchronously) + * + * @param verifyEmailAddressOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public okhttp3.Call verifyEmailAddressAsync(VerifyEmailAddressOptions verifyEmailAddressOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = verifyEmailAddressValidateBeforeCall(verifyEmailAddressOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/MissedEmailControllerApi.java b/src/main/java/com/mailslurp/apis/MissedEmailControllerApi.java new file mode 100644 index 000000000..6d777e4f1 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/MissedEmailControllerApi.java @@ -0,0 +1,807 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.MissedEmailDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageMissedEmailProjection; +import com.mailslurp.models.PageUnknownMissedEmailProjection; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class MissedEmailControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public MissedEmailControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public MissedEmailControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for getAllMissedEmails + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param inboxId Optional inbox ID filter (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllMissedEmailsCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/missed-emails"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllMissedEmailsValidateBeforeCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, UUID inboxId, final ApiCallback _callback) throws ApiException { + return getAllMissedEmailsCall(page, size, sort, searchFilter, since, before, inboxId, _callback); + + } + + /** + * Get all MissedEmails in paginated format + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param inboxId Optional inbox ID filter (optional) + * @return PageMissedEmailProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageMissedEmailProjection getAllMissedEmails(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, UUID inboxId) throws ApiException { + ApiResponse localVarResp = getAllMissedEmailsWithHttpInfo(page, size, sort, searchFilter, since, before, inboxId); + return localVarResp.getData(); + } + + /** + * Get all MissedEmails in paginated format + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param inboxId Optional inbox ID filter (optional) + * @return ApiResponse<PageMissedEmailProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllMissedEmailsWithHttpInfo(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = getAllMissedEmailsValidateBeforeCall(page, size, sort, searchFilter, since, before, inboxId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all MissedEmails in paginated format (asynchronously) + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param inboxId Optional inbox ID filter (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllMissedEmailsAsync(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllMissedEmailsValidateBeforeCall(page, size, sort, searchFilter, since, before, inboxId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAllUnknownMissedEmails + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param inboxId Optional inbox ID filter (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllUnknownMissedEmailsCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/missed-emails/unknown"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllUnknownMissedEmailsValidateBeforeCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, UUID inboxId, final ApiCallback _callback) throws ApiException { + return getAllUnknownMissedEmailsCall(page, size, sort, searchFilter, since, before, inboxId, _callback); + + } + + /** + * Get all unknown missed emails in paginated format + * Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param inboxId Optional inbox ID filter (optional) + * @return PageUnknownMissedEmailProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageUnknownMissedEmailProjection getAllUnknownMissedEmails(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, UUID inboxId) throws ApiException { + ApiResponse localVarResp = getAllUnknownMissedEmailsWithHttpInfo(page, size, sort, searchFilter, since, before, inboxId); + return localVarResp.getData(); + } + + /** + * Get all unknown missed emails in paginated format + * Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param inboxId Optional inbox ID filter (optional) + * @return ApiResponse<PageUnknownMissedEmailProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllUnknownMissedEmailsWithHttpInfo(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = getAllUnknownMissedEmailsValidateBeforeCall(page, size, sort, searchFilter, since, before, inboxId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all unknown missed emails in paginated format (asynchronously) + * Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param inboxId Optional inbox ID filter (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllUnknownMissedEmailsAsync(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, UUID inboxId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllUnknownMissedEmailsValidateBeforeCall(page, size, sort, searchFilter, since, before, inboxId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getMissedEmail + * @param missedEmailId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getMissedEmailCall(UUID missedEmailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/missed-emails/{missedEmailId}" + .replace("{" + "missedEmailId" + "}", localVarApiClient.escapeString(missedEmailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getMissedEmailValidateBeforeCall(UUID missedEmailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'missedEmailId' is set + if (missedEmailId == null) { + throw new ApiException("Missing the required parameter 'missedEmailId' when calling getMissedEmail(Async)"); + } + + return getMissedEmailCall(missedEmailId, _callback); + + } + + /** + * Get MissedEmail + * List emails that were missed due to plan limits. + * @param missedEmailId (required) + * @return MissedEmailDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public MissedEmailDto getMissedEmail(UUID missedEmailId) throws ApiException { + ApiResponse localVarResp = getMissedEmailWithHttpInfo(missedEmailId); + return localVarResp.getData(); + } + + /** + * Get MissedEmail + * List emails that were missed due to plan limits. + * @param missedEmailId (required) + * @return ApiResponse<MissedEmailDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getMissedEmailWithHttpInfo(UUID missedEmailId) throws ApiException { + okhttp3.Call localVarCall = getMissedEmailValidateBeforeCall(missedEmailId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get MissedEmail (asynchronously) + * List emails that were missed due to plan limits. + * @param missedEmailId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getMissedEmailAsync(UUID missedEmailId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getMissedEmailValidateBeforeCall(missedEmailId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for restoreMissedEmails + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call restoreMissedEmailsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/missed-emails/restore"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call restoreMissedEmailsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return restoreMissedEmailsCall(_callback); + + } + + /** + * Restore missed emails + * If emails were missed due to a plan limit they are saved as missed emails. If support team enables the canRestore flag these emails can be reload into your account using this method. + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public void restoreMissedEmails() throws ApiException { + restoreMissedEmailsWithHttpInfo(); + } + + /** + * Restore missed emails + * If emails were missed due to a plan limit they are saved as missed emails. If support team enables the canRestore flag these emails can be reload into your account using this method. + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse restoreMissedEmailsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = restoreMissedEmailsValidateBeforeCall(null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Restore missed emails (asynchronously) + * If emails were missed due to a plan limit they are saved as missed emails. If support team enables the canRestore flag these emails can be reload into your account using this method. + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call restoreMissedEmailsAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = restoreMissedEmailsValidateBeforeCall(_callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for waitForNthMissedEmail + * @param index Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1 (required) + * @param inboxId Optional inbox ID filter (optional) + * @param timeout Optional timeout milliseconds (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForNthMissedEmailCall(Integer index, UUID inboxId, Long timeout, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/missed-emails/waitForNthMissedEmail"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (timeout != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeout", timeout)); + } + + if (index != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("index", index)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call waitForNthMissedEmailValidateBeforeCall(Integer index, UUID inboxId, Long timeout, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'index' is set + if (index == null) { + throw new ApiException("Missing the required parameter 'index' when calling waitForNthMissedEmail(Async)"); + } + + return waitForNthMissedEmailCall(index, inboxId, timeout, since, before, _callback); + + } + + /** + * Wait for Nth missed email + * Wait for 0 based index missed email + * @param index Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1 (required) + * @param inboxId Optional inbox ID filter (optional) + * @param timeout Optional timeout milliseconds (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return MissedEmailDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public MissedEmailDto waitForNthMissedEmail(Integer index, UUID inboxId, Long timeout, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = waitForNthMissedEmailWithHttpInfo(index, inboxId, timeout, since, before); + return localVarResp.getData(); + } + + /** + * Wait for Nth missed email + * Wait for 0 based index missed email + * @param index Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1 (required) + * @param inboxId Optional inbox ID filter (optional) + * @param timeout Optional timeout milliseconds (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<MissedEmailDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse waitForNthMissedEmailWithHttpInfo(Integer index, UUID inboxId, Long timeout, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = waitForNthMissedEmailValidateBeforeCall(index, inboxId, timeout, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Wait for Nth missed email (asynchronously) + * Wait for 0 based index missed email + * @param index Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1 (required) + * @param inboxId Optional inbox ID filter (optional) + * @param timeout Optional timeout milliseconds (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForNthMissedEmailAsync(Integer index, UUID inboxId, Long timeout, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = waitForNthMissedEmailValidateBeforeCall(index, inboxId, timeout, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/PhoneControllerApi.java b/src/main/java/com/mailslurp/apis/PhoneControllerApi.java new file mode 100644 index 000000000..0f0b36559 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/PhoneControllerApi.java @@ -0,0 +1,1218 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.CreateEmergencyAddressOptions; +import com.mailslurp.models.EmergencyAddress; +import com.mailslurp.models.EmergencyAddressDto; +import com.mailslurp.models.EmptyResponseDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PagePhoneNumberProjection; +import com.mailslurp.models.PhoneNumberDto; +import com.mailslurp.models.PhonePlanDto; +import com.mailslurp.models.TestPhoneNumberOptions; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class PhoneControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public PhoneControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public PhoneControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createEmergencyAddress + * @param createEmergencyAddressOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call createEmergencyAddressCall(CreateEmergencyAddressOptions createEmergencyAddressOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createEmergencyAddressOptions; + + // create path and map variables + String localVarPath = "/phone/emergency-addresses"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createEmergencyAddressValidateBeforeCall(CreateEmergencyAddressOptions createEmergencyAddressOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createEmergencyAddressOptions' is set + if (createEmergencyAddressOptions == null) { + throw new ApiException("Missing the required parameter 'createEmergencyAddressOptions' when calling createEmergencyAddress(Async)"); + } + + return createEmergencyAddressCall(createEmergencyAddressOptions, _callback); + + } + + /** + * + * + * @param createEmergencyAddressOptions (required) + * @return EmergencyAddress + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmergencyAddress createEmergencyAddress(CreateEmergencyAddressOptions createEmergencyAddressOptions) throws ApiException { + ApiResponse localVarResp = createEmergencyAddressWithHttpInfo(createEmergencyAddressOptions); + return localVarResp.getData(); + } + + /** + * + * + * @param createEmergencyAddressOptions (required) + * @return ApiResponse<EmergencyAddress> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse createEmergencyAddressWithHttpInfo(CreateEmergencyAddressOptions createEmergencyAddressOptions) throws ApiException { + okhttp3.Call localVarCall = createEmergencyAddressValidateBeforeCall(createEmergencyAddressOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param createEmergencyAddressOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call createEmergencyAddressAsync(CreateEmergencyAddressOptions createEmergencyAddressOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createEmergencyAddressValidateBeforeCall(createEmergencyAddressOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteEmergencyAddress + * @param addressId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call deleteEmergencyAddressCall(UUID addressId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/phone/emergency-addresses/{addressId}" + .replace("{" + "addressId" + "}", localVarApiClient.escapeString(addressId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteEmergencyAddressValidateBeforeCall(UUID addressId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'addressId' is set + if (addressId == null) { + throw new ApiException("Missing the required parameter 'addressId' when calling deleteEmergencyAddress(Async)"); + } + + return deleteEmergencyAddressCall(addressId, _callback); + + } + + /** + * + * + * @param addressId (required) + * @return EmptyResponseDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmptyResponseDto deleteEmergencyAddress(UUID addressId) throws ApiException { + ApiResponse localVarResp = deleteEmergencyAddressWithHttpInfo(addressId); + return localVarResp.getData(); + } + + /** + * + * + * @param addressId (required) + * @return ApiResponse<EmptyResponseDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse deleteEmergencyAddressWithHttpInfo(UUID addressId) throws ApiException { + okhttp3.Call localVarCall = deleteEmergencyAddressValidateBeforeCall(addressId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param addressId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call deleteEmergencyAddressAsync(UUID addressId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteEmergencyAddressValidateBeforeCall(addressId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deletePhoneNumber + * @param phoneNumberId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deletePhoneNumberCall(UUID phoneNumberId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/phone/numbers/{phoneNumberId}" + .replace("{" + "phoneNumberId" + "}", localVarApiClient.escapeString(phoneNumberId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deletePhoneNumberValidateBeforeCall(UUID phoneNumberId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'phoneNumberId' is set + if (phoneNumberId == null) { + throw new ApiException("Missing the required parameter 'phoneNumberId' when calling deletePhoneNumber(Async)"); + } + + return deletePhoneNumberCall(phoneNumberId, _callback); + + } + + /** + * + * + * @param phoneNumberId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deletePhoneNumber(UUID phoneNumberId) throws ApiException { + deletePhoneNumberWithHttpInfo(phoneNumberId); + } + + /** + * + * + * @param phoneNumberId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deletePhoneNumberWithHttpInfo(UUID phoneNumberId) throws ApiException { + okhttp3.Call localVarCall = deletePhoneNumberValidateBeforeCall(phoneNumberId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * (asynchronously) + * + * @param phoneNumberId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deletePhoneNumberAsync(UUID phoneNumberId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deletePhoneNumberValidateBeforeCall(phoneNumberId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getEmergencyAddress + * @param addressId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmergencyAddressCall(UUID addressId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/phone/emergency-addresses/{addressId}" + .replace("{" + "addressId" + "}", localVarApiClient.escapeString(addressId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmergencyAddressValidateBeforeCall(UUID addressId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'addressId' is set + if (addressId == null) { + throw new ApiException("Missing the required parameter 'addressId' when calling getEmergencyAddress(Async)"); + } + + return getEmergencyAddressCall(addressId, _callback); + + } + + /** + * + * + * @param addressId (required) + * @return EmergencyAddress + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmergencyAddress getEmergencyAddress(UUID addressId) throws ApiException { + ApiResponse localVarResp = getEmergencyAddressWithHttpInfo(addressId); + return localVarResp.getData(); + } + + /** + * + * + * @param addressId (required) + * @return ApiResponse<EmergencyAddress> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getEmergencyAddressWithHttpInfo(UUID addressId) throws ApiException { + okhttp3.Call localVarCall = getEmergencyAddressValidateBeforeCall(addressId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param addressId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmergencyAddressAsync(UUID addressId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmergencyAddressValidateBeforeCall(addressId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getEmergencyAddresses + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmergencyAddressesCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/phone/emergency-addresses"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEmergencyAddressesValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getEmergencyAddressesCall(_callback); + + } + + /** + * + * + * @return List<EmergencyAddressDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List getEmergencyAddresses() throws ApiException { + ApiResponse> localVarResp = getEmergencyAddressesWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * + * + * @return ApiResponse<List<EmergencyAddressDto>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> getEmergencyAddressesWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getEmergencyAddressesValidateBeforeCall(null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getEmergencyAddressesAsync(final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getEmergencyAddressesValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getPhoneNumber + * @param phoneNumberId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getPhoneNumberCall(UUID phoneNumberId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/phone/numbers/{phoneNumberId}" + .replace("{" + "phoneNumberId" + "}", localVarApiClient.escapeString(phoneNumberId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getPhoneNumberValidateBeforeCall(UUID phoneNumberId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'phoneNumberId' is set + if (phoneNumberId == null) { + throw new ApiException("Missing the required parameter 'phoneNumberId' when calling getPhoneNumber(Async)"); + } + + return getPhoneNumberCall(phoneNumberId, _callback); + + } + + /** + * + * + * @param phoneNumberId (required) + * @return PhoneNumberDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PhoneNumberDto getPhoneNumber(UUID phoneNumberId) throws ApiException { + ApiResponse localVarResp = getPhoneNumberWithHttpInfo(phoneNumberId); + return localVarResp.getData(); + } + + /** + * + * + * @param phoneNumberId (required) + * @return ApiResponse<PhoneNumberDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getPhoneNumberWithHttpInfo(UUID phoneNumberId) throws ApiException { + okhttp3.Call localVarCall = getPhoneNumberValidateBeforeCall(phoneNumberId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param phoneNumberId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getPhoneNumberAsync(UUID phoneNumberId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getPhoneNumberValidateBeforeCall(phoneNumberId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getPhoneNumbers + * @param phoneCountry Optional phone country (optional) + * @param page Optional page index for list pagination (optional, default to 0) + * @param size Optional page size for list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getPhoneNumbersCall(String phoneCountry, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/phone/numbers"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (phoneCountry != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("phoneCountry", phoneCountry)); + } + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getPhoneNumbersValidateBeforeCall(String phoneCountry, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getPhoneNumbersCall(phoneCountry, page, size, sort, since, before, _callback); + + } + + /** + * + * + * @param phoneCountry Optional phone country (optional) + * @param page Optional page index for list pagination (optional, default to 0) + * @param size Optional page size for list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PagePhoneNumberProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PagePhoneNumberProjection getPhoneNumbers(String phoneCountry, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getPhoneNumbersWithHttpInfo(phoneCountry, page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * + * + * @param phoneCountry Optional phone country (optional) + * @param page Optional page index for list pagination (optional, default to 0) + * @param size Optional page size for list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PagePhoneNumberProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getPhoneNumbersWithHttpInfo(String phoneCountry, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getPhoneNumbersValidateBeforeCall(phoneCountry, page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param phoneCountry Optional phone country (optional) + * @param page Optional page index for list pagination (optional, default to 0) + * @param size Optional page size for list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getPhoneNumbersAsync(String phoneCountry, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getPhoneNumbersValidateBeforeCall(phoneCountry, page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getPhonePlans + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getPhonePlansCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/phone/plans"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getPhonePlansValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getPhonePlansCall(_callback); + + } + + /** + * + * + * @return List<PhonePlanDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List getPhonePlans() throws ApiException { + ApiResponse> localVarResp = getPhonePlansWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * + * + * @return ApiResponse<List<PhonePlanDto>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> getPhonePlansWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getPhonePlansValidateBeforeCall(null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getPhonePlansAsync(final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getPhonePlansValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for testPhoneNumberSendSms + * @param phoneNumberId (required) + * @param testPhoneNumberOptions (required) + * @param xTestId (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testPhoneNumberSendSmsCall(UUID phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, String xTestId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = testPhoneNumberOptions; + + // create path and map variables + String localVarPath = "/phone/numbers/{phoneNumberId}/test" + .replace("{" + "phoneNumberId" + "}", localVarApiClient.escapeString(phoneNumberId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (xTestId != null) { + localVarHeaderParams.put("x-test-id", localVarApiClient.parameterToString(xTestId)); + } + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call testPhoneNumberSendSmsValidateBeforeCall(UUID phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, String xTestId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'phoneNumberId' is set + if (phoneNumberId == null) { + throw new ApiException("Missing the required parameter 'phoneNumberId' when calling testPhoneNumberSendSms(Async)"); + } + + // verify the required parameter 'testPhoneNumberOptions' is set + if (testPhoneNumberOptions == null) { + throw new ApiException("Missing the required parameter 'testPhoneNumberOptions' when calling testPhoneNumberSendSms(Async)"); + } + + return testPhoneNumberSendSmsCall(phoneNumberId, testPhoneNumberOptions, xTestId, _callback); + + } + + /** + * + * + * @param phoneNumberId (required) + * @param testPhoneNumberOptions (required) + * @param xTestId (optional) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public void testPhoneNumberSendSms(UUID phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, String xTestId) throws ApiException { + testPhoneNumberSendSmsWithHttpInfo(phoneNumberId, testPhoneNumberOptions, xTestId); + } + + /** + * + * + * @param phoneNumberId (required) + * @param testPhoneNumberOptions (required) + * @param xTestId (optional) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse testPhoneNumberSendSmsWithHttpInfo(UUID phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, String xTestId) throws ApiException { + okhttp3.Call localVarCall = testPhoneNumberSendSmsValidateBeforeCall(phoneNumberId, testPhoneNumberOptions, xTestId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * (asynchronously) + * + * @param phoneNumberId (required) + * @param testPhoneNumberOptions (required) + * @param xTestId (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call testPhoneNumberSendSmsAsync(UUID phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, String xTestId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = testPhoneNumberSendSmsValidateBeforeCall(phoneNumberId, testPhoneNumberOptions, xTestId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/SentEmailsControllerApi.java b/src/main/java/com/mailslurp/apis/SentEmailsControllerApi.java new file mode 100644 index 000000000..8ab946287 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/SentEmailsControllerApi.java @@ -0,0 +1,2349 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.DeliveryStatusDto; +import com.mailslurp.models.EmailPreviewUrls; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageDeliveryStatus; +import com.mailslurp.models.PageSentEmailProjection; +import com.mailslurp.models.PageSentEmailWithQueueProjection; +import com.mailslurp.models.PageTrackingPixelProjection; +import com.mailslurp.models.RawEmailJson; +import com.mailslurp.models.SentEmailDto; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class SentEmailsControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public SentEmailsControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public SentEmailsControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for deleteAllSentEmails + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllSentEmailsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteAllSentEmailsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return deleteAllSentEmailsCall(_callback); + + } + + /** + * Delete all sent email receipts + * + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteAllSentEmails() throws ApiException { + deleteAllSentEmailsWithHttpInfo(); + } + + /** + * Delete all sent email receipts + * + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteAllSentEmailsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = deleteAllSentEmailsValidateBeforeCall(null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete all sent email receipts (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllSentEmailsAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteAllSentEmailsValidateBeforeCall(_callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for deleteSentEmail + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteSentEmailCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteSentEmailValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling deleteSentEmail(Async)"); + } + + return deleteSentEmailCall(id, _callback); + + } + + /** + * Delete sent email receipt + * + * @param id (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteSentEmail(UUID id) throws ApiException { + deleteSentEmailWithHttpInfo(id); + } + + /** + * Delete sent email receipt + * + * @param id (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteSentEmailWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = deleteSentEmailValidateBeforeCall(id, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete sent email receipt (asynchronously) + * + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteSentEmailAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteSentEmailValidateBeforeCall(id, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getAllSentTrackingPixels + * @param page Optional page index in sent email tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in sent email tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllSentTrackingPixelsCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/tracking-pixels"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllSentTrackingPixelsValidateBeforeCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getAllSentTrackingPixelsCall(page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * + * Get all sent email tracking pixels in paginated form + * @param page Optional page index in sent email tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in sent email tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageTrackingPixelProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageTrackingPixelProjection getAllSentTrackingPixels(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAllSentTrackingPixelsWithHttpInfo(page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * + * Get all sent email tracking pixels in paginated form + * @param page Optional page index in sent email tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in sent email tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageTrackingPixelProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllSentTrackingPixelsWithHttpInfo(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAllSentTrackingPixelsValidateBeforeCall(page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get all sent email tracking pixels in paginated form + * @param page Optional page index in sent email tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in sent email tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllSentTrackingPixelsAsync(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllSentTrackingPixelsValidateBeforeCall(page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getRawSentEmailContents + * @param emailId ID of email (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getRawSentEmailContentsCall(UUID emailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/{emailId}/raw" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "text/plain" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getRawSentEmailContentsValidateBeforeCall(UUID emailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getRawSentEmailContents(Async)"); + } + + return getRawSentEmailContentsCall(emailId, _callback); + + } + + /** + * Get raw sent email string. Returns unparsed raw SMTP message with headers and body. + * Returns a raw, unparsed, and unprocessed sent email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawSentEmailJson endpoint + * @param emailId ID of email (required) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public String getRawSentEmailContents(UUID emailId) throws ApiException { + ApiResponse localVarResp = getRawSentEmailContentsWithHttpInfo(emailId); + return localVarResp.getData(); + } + + /** + * Get raw sent email string. Returns unparsed raw SMTP message with headers and body. + * Returns a raw, unparsed, and unprocessed sent email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawSentEmailJson endpoint + * @param emailId ID of email (required) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getRawSentEmailContentsWithHttpInfo(UUID emailId) throws ApiException { + okhttp3.Call localVarCall = getRawSentEmailContentsValidateBeforeCall(emailId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get raw sent email string. Returns unparsed raw SMTP message with headers and body. (asynchronously) + * Returns a raw, unparsed, and unprocessed sent email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawSentEmailJson endpoint + * @param emailId ID of email (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getRawSentEmailContentsAsync(UUID emailId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getRawSentEmailContentsValidateBeforeCall(emailId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getRawSentEmailJson + * @param emailId ID of email (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getRawSentEmailJsonCall(UUID emailId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/{emailId}/raw/json" + .replace("{" + "emailId" + "}", localVarApiClient.escapeString(emailId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getRawSentEmailJsonValidateBeforeCall(UUID emailId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'emailId' is set + if (emailId == null) { + throw new ApiException("Missing the required parameter 'emailId' when calling getRawSentEmailJson(Async)"); + } + + return getRawSentEmailJsonCall(emailId, _callback); + + } + + /** + * Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format. + * Returns a raw, unparsed, and unprocessed sent email wrapped in a JSON response object for easier handling when compared with the getRawSentEmail text/plain response + * @param emailId ID of email (required) + * @return RawEmailJson + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public RawEmailJson getRawSentEmailJson(UUID emailId) throws ApiException { + ApiResponse localVarResp = getRawSentEmailJsonWithHttpInfo(emailId); + return localVarResp.getData(); + } + + /** + * Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format. + * Returns a raw, unparsed, and unprocessed sent email wrapped in a JSON response object for easier handling when compared with the getRawSentEmail text/plain response + * @param emailId ID of email (required) + * @return ApiResponse<RawEmailJson> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getRawSentEmailJsonWithHttpInfo(UUID emailId) throws ApiException { + okhttp3.Call localVarCall = getRawSentEmailJsonValidateBeforeCall(emailId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format. (asynchronously) + * Returns a raw, unparsed, and unprocessed sent email wrapped in a JSON response object for easier handling when compared with the getRawSentEmail text/plain response + * @param emailId ID of email (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getRawSentEmailJsonAsync(UUID emailId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getRawSentEmailJsonValidateBeforeCall(emailId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSentDeliveryStatus + * @param deliveryId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentDeliveryStatusCall(UUID deliveryId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/delivery-status/{deliveryId}" + .replace("{" + "deliveryId" + "}", localVarApiClient.escapeString(deliveryId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSentDeliveryStatusValidateBeforeCall(UUID deliveryId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'deliveryId' is set + if (deliveryId == null) { + throw new ApiException("Missing the required parameter 'deliveryId' when calling getSentDeliveryStatus(Async)"); + } + + return getSentDeliveryStatusCall(deliveryId, _callback); + + } + + /** + * + * Get a sent email delivery status + * @param deliveryId (required) + * @return DeliveryStatusDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public DeliveryStatusDto getSentDeliveryStatus(UUID deliveryId) throws ApiException { + ApiResponse localVarResp = getSentDeliveryStatusWithHttpInfo(deliveryId); + return localVarResp.getData(); + } + + /** + * + * Get a sent email delivery status + * @param deliveryId (required) + * @return ApiResponse<DeliveryStatusDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSentDeliveryStatusWithHttpInfo(UUID deliveryId) throws ApiException { + okhttp3.Call localVarCall = getSentDeliveryStatusValidateBeforeCall(deliveryId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get a sent email delivery status + * @param deliveryId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentDeliveryStatusAsync(UUID deliveryId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSentDeliveryStatusValidateBeforeCall(deliveryId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSentDeliveryStatuses + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentDeliveryStatusesCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/delivery-status"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSentDeliveryStatusesValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getSentDeliveryStatusesCall(page, size, sort, since, before, _callback); + + } + + /** + * + * Get all sent email delivery statuses + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageDeliveryStatus + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageDeliveryStatus getSentDeliveryStatuses(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getSentDeliveryStatusesWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * + * Get all sent email delivery statuses + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageDeliveryStatus> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSentDeliveryStatusesWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getSentDeliveryStatusesValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get all sent email delivery statuses + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentDeliveryStatusesAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSentDeliveryStatusesValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSentDeliveryStatusesBySentId + * @param sentId ID of the sent email that you want to get the delivery status of. Sent email object is returned when sending an email (required) + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentDeliveryStatusesBySentIdCall(UUID sentId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/{sentId}/delivery-status" + .replace("{" + "sentId" + "}", localVarApiClient.escapeString(sentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSentDeliveryStatusesBySentIdValidateBeforeCall(UUID sentId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'sentId' is set + if (sentId == null) { + throw new ApiException("Missing the required parameter 'sentId' when calling getSentDeliveryStatusesBySentId(Async)"); + } + + return getSentDeliveryStatusesBySentIdCall(sentId, page, size, sort, since, before, _callback); + + } + + /** + * + * Get all sent email delivery statuses + * @param sentId ID of the sent email that you want to get the delivery status of. Sent email object is returned when sending an email (required) + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageDeliveryStatus + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageDeliveryStatus getSentDeliveryStatusesBySentId(UUID sentId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getSentDeliveryStatusesBySentIdWithHttpInfo(sentId, page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * + * Get all sent email delivery statuses + * @param sentId ID of the sent email that you want to get the delivery status of. Sent email object is returned when sending an email (required) + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageDeliveryStatus> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSentDeliveryStatusesBySentIdWithHttpInfo(UUID sentId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getSentDeliveryStatusesBySentIdValidateBeforeCall(sentId, page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get all sent email delivery statuses + * @param sentId ID of the sent email that you want to get the delivery status of. Sent email object is returned when sending an email (required) + * @param page Optional page index in delivery status list pagination (optional, default to 0) + * @param size Optional page size in delivery status list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentDeliveryStatusesBySentIdAsync(UUID sentId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSentDeliveryStatusesBySentIdValidateBeforeCall(sentId, page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSentEmail + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSentEmailValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getSentEmail(Async)"); + } + + return getSentEmailCall(id, _callback); + + } + + /** + * Get sent email receipt + * + * @param id (required) + * @return SentEmailDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public SentEmailDto getSentEmail(UUID id) throws ApiException { + ApiResponse localVarResp = getSentEmailWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get sent email receipt + * + * @param id (required) + * @return ApiResponse<SentEmailDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSentEmailWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getSentEmailValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get sent email receipt (asynchronously) + * + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSentEmailValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSentEmailHTMLContent + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailHTMLContentCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/{id}/html" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "text/html" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSentEmailHTMLContentValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getSentEmailHTMLContent(Async)"); + } + + return getSentEmailHTMLContentCall(id, _callback); + + } + + /** + * Get sent email HTML content + * + * @param id (required) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public String getSentEmailHTMLContent(UUID id) throws ApiException { + ApiResponse localVarResp = getSentEmailHTMLContentWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get sent email HTML content + * + * @param id (required) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSentEmailHTMLContentWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getSentEmailHTMLContentValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get sent email HTML content (asynchronously) + * + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailHTMLContentAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSentEmailHTMLContentValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSentEmailPreviewURLs + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailPreviewURLsCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/{id}/urls" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSentEmailPreviewURLsValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getSentEmailPreviewURLs(Async)"); + } + + return getSentEmailPreviewURLsCall(id, _callback); + + } + + /** + * Get sent email URL for viewing in browser or downloading + * Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser. + * @param id (required) + * @return EmailPreviewUrls + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public EmailPreviewUrls getSentEmailPreviewURLs(UUID id) throws ApiException { + ApiResponse localVarResp = getSentEmailPreviewURLsWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get sent email URL for viewing in browser or downloading + * Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser. + * @param id (required) + * @return ApiResponse<EmailPreviewUrls> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSentEmailPreviewURLsWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getSentEmailPreviewURLsValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get sent email URL for viewing in browser or downloading (asynchronously) + * Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser. + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailPreviewURLsAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSentEmailPreviewURLsValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSentEmailTrackingPixels + * @param id (required) + * @param page Optional page index in sent email tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in sent email tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailTrackingPixelsCall(UUID id, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/{id}/tracking-pixels" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSentEmailTrackingPixelsValidateBeforeCall(UUID id, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getSentEmailTrackingPixels(Async)"); + } + + return getSentEmailTrackingPixelsCall(id, page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * + * Get all tracking pixels for a sent email in paginated form + * @param id (required) + * @param page Optional page index in sent email tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in sent email tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageTrackingPixelProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageTrackingPixelProjection getSentEmailTrackingPixels(UUID id, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getSentEmailTrackingPixelsWithHttpInfo(id, page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * + * Get all tracking pixels for a sent email in paginated form + * @param id (required) + * @param page Optional page index in sent email tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in sent email tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageTrackingPixelProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSentEmailTrackingPixelsWithHttpInfo(UUID id, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getSentEmailTrackingPixelsValidateBeforeCall(id, page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get all tracking pixels for a sent email in paginated form + * @param id (required) + * @param page Optional page index in sent email tracking pixel list pagination (optional, default to 0) + * @param size Optional page size in sent email tracking pixel list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailTrackingPixelsAsync(UUID id, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSentEmailTrackingPixelsValidateBeforeCall(id, page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSentEmails + * @param inboxId Optional inboxId to filter sender of sent emails by (optional) + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailsCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSentEmailsValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getSentEmailsCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * Get all sent emails in paginated form + * + * @param inboxId Optional inboxId to filter sender of sent emails by (optional) + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageSentEmailProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageSentEmailProjection getSentEmails(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getSentEmailsWithHttpInfo(inboxId, page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * Get all sent emails in paginated form + * + * @param inboxId Optional inboxId to filter sender of sent emails by (optional) + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageSentEmailProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSentEmailsWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getSentEmailsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all sent emails in paginated form (asynchronously) + * + * @param inboxId Optional inboxId to filter sender of sent emails by (optional) + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailsAsync(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSentEmailsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSentEmailsWithQueueResults + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailsWithQueueResultsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/queue-results"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSentEmailsWithQueueResultsValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getSentEmailsWithQueueResultsCall(page, size, sort, since, before, _callback); + + } + + /** + * Get results of email sent with queues in paginated form + * + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageSentEmailWithQueueProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageSentEmailWithQueueProjection getSentEmailsWithQueueResults(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getSentEmailsWithQueueResultsWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get results of email sent with queues in paginated form + * + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageSentEmailWithQueueProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSentEmailsWithQueueResultsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getSentEmailsWithQueueResultsValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get results of email sent with queues in paginated form (asynchronously) + * + * @param page Optional page index in inbox sent email list pagination (optional, default to 0) + * @param size Optional page size in inbox sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentEmailsWithQueueResultsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSentEmailsWithQueueResultsValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSentOrganizationEmails + * @param inboxId Optional inboxId to filter sender of sent emails by (optional) + * @param page Optional page index in sent email list pagination (optional, default to 0) + * @param size Optional page size in sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentOrganizationEmailsCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/organization"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSentOrganizationEmailsValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getSentOrganizationEmailsCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * + * Get all sent organization emails in paginated form + * @param inboxId Optional inboxId to filter sender of sent emails by (optional) + * @param page Optional page index in sent email list pagination (optional, default to 0) + * @param size Optional page size in sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageSentEmailProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageSentEmailProjection getSentOrganizationEmails(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getSentOrganizationEmailsWithHttpInfo(inboxId, page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * + * Get all sent organization emails in paginated form + * @param inboxId Optional inboxId to filter sender of sent emails by (optional) + * @param page Optional page index in sent email list pagination (optional, default to 0) + * @param size Optional page size in sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageSentEmailProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSentOrganizationEmailsWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getSentOrganizationEmailsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get all sent organization emails in paginated form + * @param inboxId Optional inboxId to filter sender of sent emails by (optional) + * @param page Optional page index in sent email list pagination (optional, default to 0) + * @param size Optional page size in sent email list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSentOrganizationEmailsAsync(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSentOrganizationEmailsValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for waitForDeliveryStatuses + * @param sentId Optional sent email ID filter (optional) + * @param inboxId Optional inbox ID filter (optional) + * @param timeout Optional timeout milliseconds (optional) + * @param index Zero based index of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass index=1 (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForDeliveryStatusesCall(UUID sentId, UUID inboxId, Long timeout, Integer index, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sent/delivery-status/wait-for"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (sentId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sentId", sentId)); + } + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (timeout != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeout", timeout)); + } + + if (index != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("index", index)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call waitForDeliveryStatusesValidateBeforeCall(UUID sentId, UUID inboxId, Long timeout, Integer index, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return waitForDeliveryStatusesCall(sentId, inboxId, timeout, index, since, before, _callback); + + } + + /** + * + * Wait for delivery statuses + * @param sentId Optional sent email ID filter (optional) + * @param inboxId Optional inbox ID filter (optional) + * @param timeout Optional timeout milliseconds (optional) + * @param index Zero based index of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass index=1 (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return DeliveryStatusDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public DeliveryStatusDto waitForDeliveryStatuses(UUID sentId, UUID inboxId, Long timeout, Integer index, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = waitForDeliveryStatusesWithHttpInfo(sentId, inboxId, timeout, index, since, before); + return localVarResp.getData(); + } + + /** + * + * Wait for delivery statuses + * @param sentId Optional sent email ID filter (optional) + * @param inboxId Optional inbox ID filter (optional) + * @param timeout Optional timeout milliseconds (optional) + * @param index Zero based index of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass index=1 (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<DeliveryStatusDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse waitForDeliveryStatusesWithHttpInfo(UUID sentId, UUID inboxId, Long timeout, Integer index, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = waitForDeliveryStatusesValidateBeforeCall(sentId, inboxId, timeout, index, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Wait for delivery statuses + * @param sentId Optional sent email ID filter (optional) + * @param inboxId Optional inbox ID filter (optional) + * @param timeout Optional timeout milliseconds (optional) + * @param index Zero based index of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass index=1 (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForDeliveryStatusesAsync(UUID sentId, UUID inboxId, Long timeout, Integer index, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = waitForDeliveryStatusesValidateBeforeCall(sentId, inboxId, timeout, index, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/SmsControllerApi.java b/src/main/java/com/mailslurp/apis/SmsControllerApi.java new file mode 100644 index 000000000..ef5cb91dc --- /dev/null +++ b/src/main/java/com/mailslurp/apis/SmsControllerApi.java @@ -0,0 +1,719 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import java.time.OffsetDateTime; +import com.mailslurp.models.PageSmsProjection; +import com.mailslurp.models.SmsDto; +import java.util.UUID; +import com.mailslurp.models.UnreadCount; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class SmsControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public SmsControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public SmsControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for deleteSmsMessage + * @param smsId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteSmsMessageCall(UUID smsId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sms/{smsId}" + .replace("{" + "smsId" + "}", localVarApiClient.escapeString(smsId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteSmsMessageValidateBeforeCall(UUID smsId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'smsId' is set + if (smsId == null) { + throw new ApiException("Missing the required parameter 'smsId' when calling deleteSmsMessage(Async)"); + } + + return deleteSmsMessageCall(smsId, _callback); + + } + + /** + * Delete SMS message. + * Delete an SMS message + * @param smsId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteSmsMessage(UUID smsId) throws ApiException { + deleteSmsMessageWithHttpInfo(smsId); + } + + /** + * Delete SMS message. + * Delete an SMS message + * @param smsId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteSmsMessageWithHttpInfo(UUID smsId) throws ApiException { + okhttp3.Call localVarCall = deleteSmsMessageValidateBeforeCall(smsId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete SMS message. (asynchronously) + * Delete an SMS message + * @param smsId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteSmsMessageAsync(UUID smsId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteSmsMessageValidateBeforeCall(smsId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for deleteSmsMessages + * @param phoneNumberId (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteSmsMessagesCall(UUID phoneNumberId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sms"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (phoneNumberId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("phoneNumberId", phoneNumberId)); + } + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteSmsMessagesValidateBeforeCall(UUID phoneNumberId, final ApiCallback _callback) throws ApiException { + return deleteSmsMessagesCall(phoneNumberId, _callback); + + } + + /** + * Delete all SMS messages + * Delete all SMS messages or all messages for a given phone number + * @param phoneNumberId (optional) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteSmsMessages(UUID phoneNumberId) throws ApiException { + deleteSmsMessagesWithHttpInfo(phoneNumberId); + } + + /** + * Delete all SMS messages + * Delete all SMS messages or all messages for a given phone number + * @param phoneNumberId (optional) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteSmsMessagesWithHttpInfo(UUID phoneNumberId) throws ApiException { + okhttp3.Call localVarCall = deleteSmsMessagesValidateBeforeCall(phoneNumberId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete all SMS messages (asynchronously) + * Delete all SMS messages or all messages for a given phone number + * @param phoneNumberId (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteSmsMessagesAsync(UUID phoneNumberId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteSmsMessagesValidateBeforeCall(phoneNumberId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getSmsMessage + * @param smsId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSmsMessageCall(UUID smsId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sms/{smsId}" + .replace("{" + "smsId" + "}", localVarApiClient.escapeString(smsId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSmsMessageValidateBeforeCall(UUID smsId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'smsId' is set + if (smsId == null) { + throw new ApiException("Missing the required parameter 'smsId' when calling getSmsMessage(Async)"); + } + + return getSmsMessageCall(smsId, _callback); + + } + + /** + * Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController. + * Returns a SMS summary object with content. + * @param smsId (required) + * @return SmsDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public SmsDto getSmsMessage(UUID smsId) throws ApiException { + ApiResponse localVarResp = getSmsMessageWithHttpInfo(smsId); + return localVarResp.getData(); + } + + /** + * Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController. + * Returns a SMS summary object with content. + * @param smsId (required) + * @return ApiResponse<SmsDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSmsMessageWithHttpInfo(UUID smsId) throws ApiException { + okhttp3.Call localVarCall = getSmsMessageValidateBeforeCall(smsId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController. (asynchronously) + * Returns a SMS summary object with content. + * @param smsId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSmsMessageAsync(UUID smsId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSmsMessageValidateBeforeCall(smsId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSmsMessagesPaginated + * @param phoneNumber Optional receiving phone number to filter SMS messages for (optional) + * @param page Optional page index in SMS list pagination (optional, default to 0) + * @param size Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param since Optional filter SMSs received after given date time (optional) + * @param before Optional filter SMSs received before given date time (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSmsMessagesPaginatedCall(UUID phoneNumber, Integer page, Integer size, String sort, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sms"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (phoneNumber != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("phoneNumber", phoneNumber)); + } + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (unreadOnly != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("unreadOnly", unreadOnly)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSmsMessagesPaginatedValidateBeforeCall(UUID phoneNumber, Integer page, Integer size, String sort, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getSmsMessagesPaginatedCall(phoneNumber, page, size, sort, unreadOnly, since, before, _callback); + + } + + /** + * Get all SMS messages in all phone numbers in paginated form. . + * By default returns all SMS messages across all phone numbers sorted by ascending created at date. Responses are paginated. You can restrict results to a list of phone number IDs. You can also filter out read messages + * @param phoneNumber Optional receiving phone number to filter SMS messages for (optional) + * @param page Optional page index in SMS list pagination (optional, default to 0) + * @param size Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param since Optional filter SMSs received after given date time (optional) + * @param before Optional filter SMSs received before given date time (optional) + * @return PageSmsProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageSmsProjection getSmsMessagesPaginated(UUID phoneNumber, Integer page, Integer size, String sort, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getSmsMessagesPaginatedWithHttpInfo(phoneNumber, page, size, sort, unreadOnly, since, before); + return localVarResp.getData(); + } + + /** + * Get all SMS messages in all phone numbers in paginated form. . + * By default returns all SMS messages across all phone numbers sorted by ascending created at date. Responses are paginated. You can restrict results to a list of phone number IDs. You can also filter out read messages + * @param phoneNumber Optional receiving phone number to filter SMS messages for (optional) + * @param page Optional page index in SMS list pagination (optional, default to 0) + * @param size Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param since Optional filter SMSs received after given date time (optional) + * @param before Optional filter SMSs received before given date time (optional) + * @return ApiResponse<PageSmsProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getSmsMessagesPaginatedWithHttpInfo(UUID phoneNumber, Integer page, Integer size, String sort, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getSmsMessagesPaginatedValidateBeforeCall(phoneNumber, page, size, sort, unreadOnly, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all SMS messages in all phone numbers in paginated form. . (asynchronously) + * By default returns all SMS messages across all phone numbers sorted by ascending created at date. Responses are paginated. You can restrict results to a list of phone number IDs. You can also filter out read messages + * @param phoneNumber Optional receiving phone number to filter SMS messages for (optional) + * @param page Optional page index in SMS list pagination (optional, default to 0) + * @param size Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param unreadOnly Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) + * @param since Optional filter SMSs received after given date time (optional) + * @param before Optional filter SMSs received before given date time (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getSmsMessagesPaginatedAsync(UUID phoneNumber, Integer page, Integer size, String sort, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSmsMessagesPaginatedValidateBeforeCall(phoneNumber, page, size, sort, unreadOnly, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getUnreadSmsCount + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getUnreadSmsCountCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sms/unreadCount"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getUnreadSmsCountValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getUnreadSmsCountCall(_callback); + + } + + /** + * Get unread SMS count + * Get number of SMS unread. Unread means has not been viewed in dashboard or returned in an email API response + * @return UnreadCount + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public UnreadCount getUnreadSmsCount() throws ApiException { + ApiResponse localVarResp = getUnreadSmsCountWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get unread SMS count + * Get number of SMS unread. Unread means has not been viewed in dashboard or returned in an email API response + * @return ApiResponse<UnreadCount> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getUnreadSmsCountWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getUnreadSmsCountValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get unread SMS count (asynchronously) + * Get number of SMS unread. Unread means has not been viewed in dashboard or returned in an email API response + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getUnreadSmsCountAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getUnreadSmsCountValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/TemplateControllerApi.java b/src/main/java/com/mailslurp/apis/TemplateControllerApi.java new file mode 100644 index 000000000..14eef4bce --- /dev/null +++ b/src/main/java/com/mailslurp/apis/TemplateControllerApi.java @@ -0,0 +1,1092 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.CreateTemplateOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageTemplateProjection; +import com.mailslurp.models.TemplateDto; +import com.mailslurp.models.TemplatePreview; +import com.mailslurp.models.TemplateProjection; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class TemplateControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public TemplateControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public TemplateControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createTemplate + * @param createTemplateOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createTemplateCall(CreateTemplateOptions createTemplateOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createTemplateOptions; + + // create path and map variables + String localVarPath = "/templates"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createTemplateValidateBeforeCall(CreateTemplateOptions createTemplateOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createTemplateOptions' is set + if (createTemplateOptions == null) { + throw new ApiException("Missing the required parameter 'createTemplateOptions' when calling createTemplate(Async)"); + } + + return createTemplateCall(createTemplateOptions, _callback); + + } + + /** + * Create a Template + * Create an email template with variables for use with templated transactional emails. + * @param createTemplateOptions (required) + * @return TemplateDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public TemplateDto createTemplate(CreateTemplateOptions createTemplateOptions) throws ApiException { + ApiResponse localVarResp = createTemplateWithHttpInfo(createTemplateOptions); + return localVarResp.getData(); + } + + /** + * Create a Template + * Create an email template with variables for use with templated transactional emails. + * @param createTemplateOptions (required) + * @return ApiResponse<TemplateDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createTemplateWithHttpInfo(CreateTemplateOptions createTemplateOptions) throws ApiException { + okhttp3.Call localVarCall = createTemplateValidateBeforeCall(createTemplateOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create a Template (asynchronously) + * Create an email template with variables for use with templated transactional emails. + * @param createTemplateOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createTemplateAsync(CreateTemplateOptions createTemplateOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createTemplateValidateBeforeCall(createTemplateOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteTemplate + * @param templateId Template ID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteTemplateCall(UUID templateId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/templates/{templateId}" + .replace("{" + "templateId" + "}", localVarApiClient.escapeString(templateId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteTemplateValidateBeforeCall(UUID templateId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'templateId' is set + if (templateId == null) { + throw new ApiException("Missing the required parameter 'templateId' when calling deleteTemplate(Async)"); + } + + return deleteTemplateCall(templateId, _callback); + + } + + /** + * Delete email template + * Delete template + * @param templateId Template ID (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteTemplate(UUID templateId) throws ApiException { + deleteTemplateWithHttpInfo(templateId); + } + + /** + * Delete email template + * Delete template + * @param templateId Template ID (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteTemplateWithHttpInfo(UUID templateId) throws ApiException { + okhttp3.Call localVarCall = deleteTemplateValidateBeforeCall(templateId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete email template (asynchronously) + * Delete template + * @param templateId Template ID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteTemplateAsync(UUID templateId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteTemplateValidateBeforeCall(templateId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getAllTemplates + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllTemplatesCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/templates/paginated"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllTemplatesValidateBeforeCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getAllTemplatesCall(page, size, sort, since, before, _callback); + + } + + /** + * List templates + * Get all templates in paginated format + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageTemplateProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageTemplateProjection getAllTemplates(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAllTemplatesWithHttpInfo(page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * List templates + * Get all templates in paginated format + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageTemplateProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllTemplatesWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAllTemplatesValidateBeforeCall(page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List templates (asynchronously) + * Get all templates in paginated format + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllTemplatesAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllTemplatesValidateBeforeCall(page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTemplate + * @param templateId Template ID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTemplateCall(UUID templateId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/templates/{templateId}" + .replace("{" + "templateId" + "}", localVarApiClient.escapeString(templateId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTemplateValidateBeforeCall(UUID templateId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'templateId' is set + if (templateId == null) { + throw new ApiException("Missing the required parameter 'templateId' when calling getTemplate(Async)"); + } + + return getTemplateCall(templateId, _callback); + + } + + /** + * Get template + * Get email template + * @param templateId Template ID (required) + * @return TemplateDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public TemplateDto getTemplate(UUID templateId) throws ApiException { + ApiResponse localVarResp = getTemplateWithHttpInfo(templateId); + return localVarResp.getData(); + } + + /** + * Get template + * Get email template + * @param templateId Template ID (required) + * @return ApiResponse<TemplateDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTemplateWithHttpInfo(UUID templateId) throws ApiException { + okhttp3.Call localVarCall = getTemplateValidateBeforeCall(templateId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get template (asynchronously) + * Get email template + * @param templateId Template ID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTemplateAsync(UUID templateId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTemplateValidateBeforeCall(templateId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTemplatePreviewHtml + * @param templateId Template ID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTemplatePreviewHtmlCall(UUID templateId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/templates/{templateId}/preview/html" + .replace("{" + "templateId" + "}", localVarApiClient.escapeString(templateId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "text/html;charset=utf-8", + "text/html" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTemplatePreviewHtmlValidateBeforeCall(UUID templateId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'templateId' is set + if (templateId == null) { + throw new ApiException("Missing the required parameter 'templateId' when calling getTemplatePreviewHtml(Async)"); + } + + return getTemplatePreviewHtmlCall(templateId, _callback); + + } + + /** + * Get template preview HTML + * Get email template preview with passed template variables in HTML format for browsers. Pass template variables as query params. + * @param templateId Template ID (required) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public String getTemplatePreviewHtml(UUID templateId) throws ApiException { + ApiResponse localVarResp = getTemplatePreviewHtmlWithHttpInfo(templateId); + return localVarResp.getData(); + } + + /** + * Get template preview HTML + * Get email template preview with passed template variables in HTML format for browsers. Pass template variables as query params. + * @param templateId Template ID (required) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTemplatePreviewHtmlWithHttpInfo(UUID templateId) throws ApiException { + okhttp3.Call localVarCall = getTemplatePreviewHtmlValidateBeforeCall(templateId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get template preview HTML (asynchronously) + * Get email template preview with passed template variables in HTML format for browsers. Pass template variables as query params. + * @param templateId Template ID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTemplatePreviewHtmlAsync(UUID templateId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTemplatePreviewHtmlValidateBeforeCall(templateId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTemplatePreviewJson + * @param templateId Template ID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTemplatePreviewJsonCall(UUID templateId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/templates/{templateId}/preview/json" + .replace("{" + "templateId" + "}", localVarApiClient.escapeString(templateId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTemplatePreviewJsonValidateBeforeCall(UUID templateId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'templateId' is set + if (templateId == null) { + throw new ApiException("Missing the required parameter 'templateId' when calling getTemplatePreviewJson(Async)"); + } + + return getTemplatePreviewJsonCall(templateId, _callback); + + } + + /** + * Get template preview Json + * Get email template preview with passed template variables in JSON format. Pass template variables as query params. + * @param templateId Template ID (required) + * @return TemplatePreview + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public TemplatePreview getTemplatePreviewJson(UUID templateId) throws ApiException { + ApiResponse localVarResp = getTemplatePreviewJsonWithHttpInfo(templateId); + return localVarResp.getData(); + } + + /** + * Get template preview Json + * Get email template preview with passed template variables in JSON format. Pass template variables as query params. + * @param templateId Template ID (required) + * @return ApiResponse<TemplatePreview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTemplatePreviewJsonWithHttpInfo(UUID templateId) throws ApiException { + okhttp3.Call localVarCall = getTemplatePreviewJsonValidateBeforeCall(templateId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get template preview Json (asynchronously) + * Get email template preview with passed template variables in JSON format. Pass template variables as query params. + * @param templateId Template ID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTemplatePreviewJsonAsync(UUID templateId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTemplatePreviewJsonValidateBeforeCall(templateId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTemplates + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTemplatesCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/templates"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTemplatesValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getTemplatesCall(_callback); + + } + + /** + * List templates + * Get all templates + * @return List<TemplateProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List getTemplates() throws ApiException { + ApiResponse> localVarResp = getTemplatesWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * List templates + * Get all templates + * @return ApiResponse<List<TemplateProjection>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> getTemplatesWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getTemplatesValidateBeforeCall(null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List templates (asynchronously) + * Get all templates + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTemplatesAsync(final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getTemplatesValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateTemplate + * @param templateId Template ID (required) + * @param createTemplateOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call updateTemplateCall(UUID templateId, CreateTemplateOptions createTemplateOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createTemplateOptions; + + // create path and map variables + String localVarPath = "/templates/{templateId}" + .replace("{" + "templateId" + "}", localVarApiClient.escapeString(templateId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateTemplateValidateBeforeCall(UUID templateId, CreateTemplateOptions createTemplateOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'templateId' is set + if (templateId == null) { + throw new ApiException("Missing the required parameter 'templateId' when calling updateTemplate(Async)"); + } + + // verify the required parameter 'createTemplateOptions' is set + if (createTemplateOptions == null) { + throw new ApiException("Missing the required parameter 'createTemplateOptions' when calling updateTemplate(Async)"); + } + + return updateTemplateCall(templateId, createTemplateOptions, _callback); + + } + + /** + * Update template + * Update email template + * @param templateId Template ID (required) + * @param createTemplateOptions (required) + * @return TemplateDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public TemplateDto updateTemplate(UUID templateId, CreateTemplateOptions createTemplateOptions) throws ApiException { + ApiResponse localVarResp = updateTemplateWithHttpInfo(templateId, createTemplateOptions); + return localVarResp.getData(); + } + + /** + * Update template + * Update email template + * @param templateId Template ID (required) + * @param createTemplateOptions (required) + * @return ApiResponse<TemplateDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse updateTemplateWithHttpInfo(UUID templateId, CreateTemplateOptions createTemplateOptions) throws ApiException { + okhttp3.Call localVarCall = updateTemplateValidateBeforeCall(templateId, createTemplateOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update template (asynchronously) + * Update email template + * @param templateId Template ID (required) + * @param createTemplateOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call updateTemplateAsync(UUID templateId, CreateTemplateOptions createTemplateOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateTemplateValidateBeforeCall(templateId, createTemplateOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/TrackingControllerApi.java b/src/main/java/com/mailslurp/apis/TrackingControllerApi.java new file mode 100644 index 000000000..3440a6d71 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/TrackingControllerApi.java @@ -0,0 +1,487 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.CreateTrackingPixelOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageTrackingPixelProjection; +import com.mailslurp.models.TrackingPixelDto; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class TrackingControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public TrackingControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public TrackingControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createTrackingPixel + * @param createTrackingPixelOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createTrackingPixelCall(CreateTrackingPixelOptions createTrackingPixelOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createTrackingPixelOptions; + + // create path and map variables + String localVarPath = "/tracking/pixels"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createTrackingPixelValidateBeforeCall(CreateTrackingPixelOptions createTrackingPixelOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createTrackingPixelOptions' is set + if (createTrackingPixelOptions == null) { + throw new ApiException("Missing the required parameter 'createTrackingPixelOptions' when calling createTrackingPixel(Async)"); + } + + return createTrackingPixelCall(createTrackingPixelOptions, _callback); + + } + + /** + * Create tracking pixel + * Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel. + * @param createTrackingPixelOptions (required) + * @return TrackingPixelDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public TrackingPixelDto createTrackingPixel(CreateTrackingPixelOptions createTrackingPixelOptions) throws ApiException { + ApiResponse localVarResp = createTrackingPixelWithHttpInfo(createTrackingPixelOptions); + return localVarResp.getData(); + } + + /** + * Create tracking pixel + * Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel. + * @param createTrackingPixelOptions (required) + * @return ApiResponse<TrackingPixelDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createTrackingPixelWithHttpInfo(CreateTrackingPixelOptions createTrackingPixelOptions) throws ApiException { + okhttp3.Call localVarCall = createTrackingPixelValidateBeforeCall(createTrackingPixelOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create tracking pixel (asynchronously) + * Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel. + * @param createTrackingPixelOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createTrackingPixelAsync(CreateTrackingPixelOptions createTrackingPixelOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createTrackingPixelValidateBeforeCall(createTrackingPixelOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAllTrackingPixels + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllTrackingPixelsCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/tracking/pixels"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllTrackingPixelsValidateBeforeCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getAllTrackingPixelsCall(page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * Get tracking pixels + * List tracking pixels in paginated form + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageTrackingPixelProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageTrackingPixelProjection getAllTrackingPixels(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAllTrackingPixelsWithHttpInfo(page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * Get tracking pixels + * List tracking pixels in paginated form + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageTrackingPixelProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllTrackingPixelsWithHttpInfo(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAllTrackingPixelsValidateBeforeCall(page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get tracking pixels (asynchronously) + * List tracking pixels in paginated form + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllTrackingPixelsAsync(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllTrackingPixelsValidateBeforeCall(page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTrackingPixel + * @param id (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTrackingPixelCall(UUID id, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/tracking/pixels/{id}" + .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTrackingPixelValidateBeforeCall(UUID id, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'id' is set + if (id == null) { + throw new ApiException("Missing the required parameter 'id' when calling getTrackingPixel(Async)"); + } + + return getTrackingPixelCall(id, _callback); + + } + + /** + * Get pixel + * + * @param id (required) + * @return TrackingPixelDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public TrackingPixelDto getTrackingPixel(UUID id) throws ApiException { + ApiResponse localVarResp = getTrackingPixelWithHttpInfo(id); + return localVarResp.getData(); + } + + /** + * Get pixel + * + * @param id (required) + * @return ApiResponse<TrackingPixelDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTrackingPixelWithHttpInfo(UUID id) throws ApiException { + okhttp3.Call localVarCall = getTrackingPixelValidateBeforeCall(id, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get pixel (asynchronously) + * + * @param id (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTrackingPixelAsync(UUID id, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTrackingPixelValidateBeforeCall(id, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/UserControllerApi.java b/src/main/java/com/mailslurp/apis/UserControllerApi.java new file mode 100644 index 000000000..5550f0ee2 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/UserControllerApi.java @@ -0,0 +1,325 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.UserInfoDto; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class UserControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public UserControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public UserControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for getJsonPropertyAsString + * @param property JSON property name or dot separated path selector such as `a.b.c` (required) + * @param body (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getJsonPropertyAsStringCall(String property, Object body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/user/json/pluck"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (property != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("property", property)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getJsonPropertyAsStringValidateBeforeCall(String property, Object body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'property' is set + if (property == null) { + throw new ApiException("Missing the required parameter 'property' when calling getJsonPropertyAsString(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling getJsonPropertyAsString(Async)"); + } + + return getJsonPropertyAsStringCall(property, body, _callback); + + } + + /** + * + * Utility function to extract properties from JSON objects in language where this is cumbersome. + * @param property JSON property name or dot separated path selector such as `a.b.c` (required) + * @param body (required) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public String getJsonPropertyAsString(String property, Object body) throws ApiException { + ApiResponse localVarResp = getJsonPropertyAsStringWithHttpInfo(property, body); + return localVarResp.getData(); + } + + /** + * + * Utility function to extract properties from JSON objects in language where this is cumbersome. + * @param property JSON property name or dot separated path selector such as `a.b.c` (required) + * @param body (required) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getJsonPropertyAsStringWithHttpInfo(String property, Object body) throws ApiException { + okhttp3.Call localVarCall = getJsonPropertyAsStringValidateBeforeCall(property, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Utility function to extract properties from JSON objects in language where this is cumbersome. + * @param property JSON property name or dot separated path selector such as `a.b.c` (required) + * @param body (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getJsonPropertyAsStringAsync(String property, Object body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getJsonPropertyAsStringValidateBeforeCall(property, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getUserInfo + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getUserInfoCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/user/info"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getUserInfoValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getUserInfoCall(_callback); + + } + + /** + * + * Get account information for your user + * @return UserInfoDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public UserInfoDto getUserInfo() throws ApiException { + ApiResponse localVarResp = getUserInfoWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * + * Get account information for your user + * @return ApiResponse<UserInfoDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getUserInfoWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getUserInfoValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get account information for your user + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getUserInfoAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getUserInfoValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/WaitForControllerApi.java b/src/main/java/com/mailslurp/apis/WaitForControllerApi.java new file mode 100644 index 000000000..374849071 --- /dev/null +++ b/src/main/java/com/mailslurp/apis/WaitForControllerApi.java @@ -0,0 +1,1368 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.Email; +import com.mailslurp.models.EmailPreview; +import com.mailslurp.models.MatchOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.SmsDto; +import com.mailslurp.models.SmsPreview; +import java.util.UUID; +import com.mailslurp.models.WaitForConditions; +import com.mailslurp.models.WaitForSingleSmsOptions; +import com.mailslurp.models.WaitForSmsConditions; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class WaitForControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public WaitForControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public WaitForControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for waitFor + * @param waitForConditions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForCall(WaitForConditions waitForConditions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = waitForConditions; + + // create path and map variables + String localVarPath = "/waitFor"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call waitForValidateBeforeCall(WaitForConditions waitForConditions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'waitForConditions' is set + if (waitForConditions == null) { + throw new ApiException("Missing the required parameter 'waitForConditions' when calling waitFor(Async)"); + } + + return waitForCall(waitForConditions, _callback); + + } + + /** + * Wait for an email to match the provided filter conditions such as subject contains keyword. + * Generic waitFor method that will wait until an inbox meets given conditions or return immediately if already met + * @param waitForConditions (required) + * @return List<EmailPreview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List waitFor(WaitForConditions waitForConditions) throws ApiException { + ApiResponse> localVarResp = waitForWithHttpInfo(waitForConditions); + return localVarResp.getData(); + } + + /** + * Wait for an email to match the provided filter conditions such as subject contains keyword. + * Generic waitFor method that will wait until an inbox meets given conditions or return immediately if already met + * @param waitForConditions (required) + * @return ApiResponse<List<EmailPreview>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> waitForWithHttpInfo(WaitForConditions waitForConditions) throws ApiException { + okhttp3.Call localVarCall = waitForValidateBeforeCall(waitForConditions, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Wait for an email to match the provided filter conditions such as subject contains keyword. (asynchronously) + * Generic waitFor method that will wait until an inbox meets given conditions or return immediately if already met + * @param waitForConditions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForAsync(WaitForConditions waitForConditions, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = waitForValidateBeforeCall(waitForConditions, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for waitForEmailCount + * @param inboxId Id of the inbox we are fetching emails from (required) + * @param count Number of emails to wait for. Must be greater that 1 (required) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForEmailCountCall(UUID inboxId, Integer count, Long timeout, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, String sort, Long delay, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/waitForEmailCount"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (count != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("count", count)); + } + + if (timeout != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeout", timeout)); + } + + if (unreadOnly != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("unreadOnly", unreadOnly)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (delay != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("delay", delay)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call waitForEmailCountValidateBeforeCall(UUID inboxId, Integer count, Long timeout, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, String sort, Long delay, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling waitForEmailCount(Async)"); + } + + // verify the required parameter 'count' is set + if (count == null) { + throw new ApiException("Missing the required parameter 'count' when calling waitForEmailCount(Async)"); + } + + return waitForEmailCountCall(inboxId, count, timeout, unreadOnly, before, since, sort, delay, _callback); + + } + + /** + * Wait for and return count number of emails. Hold connection until inbox count matches expected or timeout occurs + * If inbox contains count or more emails at time of request then return count worth of emails. If not wait until the count is reached and return those or return an error if timeout is exceeded. + * @param inboxId Id of the inbox we are fetching emails from (required) + * @param count Number of emails to wait for. Must be greater that 1 (required) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @return List<EmailPreview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List waitForEmailCount(UUID inboxId, Integer count, Long timeout, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, String sort, Long delay) throws ApiException { + ApiResponse> localVarResp = waitForEmailCountWithHttpInfo(inboxId, count, timeout, unreadOnly, before, since, sort, delay); + return localVarResp.getData(); + } + + /** + * Wait for and return count number of emails. Hold connection until inbox count matches expected or timeout occurs + * If inbox contains count or more emails at time of request then return count worth of emails. If not wait until the count is reached and return those or return an error if timeout is exceeded. + * @param inboxId Id of the inbox we are fetching emails from (required) + * @param count Number of emails to wait for. Must be greater that 1 (required) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @return ApiResponse<List<EmailPreview>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> waitForEmailCountWithHttpInfo(UUID inboxId, Integer count, Long timeout, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, String sort, Long delay) throws ApiException { + okhttp3.Call localVarCall = waitForEmailCountValidateBeforeCall(inboxId, count, timeout, unreadOnly, before, since, sort, delay, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Wait for and return count number of emails. Hold connection until inbox count matches expected or timeout occurs (asynchronously) + * If inbox contains count or more emails at time of request then return count worth of emails. If not wait until the count is reached and return those or return an error if timeout is exceeded. + * @param inboxId Id of the inbox we are fetching emails from (required) + * @param count Number of emails to wait for. Must be greater that 1 (required) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForEmailCountAsync(UUID inboxId, Integer count, Long timeout, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, String sort, Long delay, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = waitForEmailCountValidateBeforeCall(inboxId, count, timeout, unreadOnly, before, since, sort, delay, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for waitForLatestEmail + * @param inboxId Id of the inbox we are fetching emails from (optional) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only. (optional, default to false) + * @param before Filter for emails that were before after the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForLatestEmailCall(UUID inboxId, Long timeout, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, String sort, Long delay, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/waitForLatestEmail"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (timeout != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeout", timeout)); + } + + if (unreadOnly != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("unreadOnly", unreadOnly)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (delay != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("delay", delay)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call waitForLatestEmailValidateBeforeCall(UUID inboxId, Long timeout, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, String sort, Long delay, final ApiCallback _callback) throws ApiException { + return waitForLatestEmailCall(inboxId, timeout, unreadOnly, before, since, sort, delay, _callback); + + } + + /** + * Fetch inbox's latest email or if empty wait for an email to arrive + * Will return either the last received email or wait for an email to arrive and return that. If you need to wait for an email for a non-empty inbox set `unreadOnly=true` or see the other receive methods such as `waitForNthEmail` or `waitForEmailCount`. + * @param inboxId Id of the inbox we are fetching emails from (optional) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only. (optional, default to false) + * @param before Filter for emails that were before after the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @return Email + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public Email waitForLatestEmail(UUID inboxId, Long timeout, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, String sort, Long delay) throws ApiException { + ApiResponse localVarResp = waitForLatestEmailWithHttpInfo(inboxId, timeout, unreadOnly, before, since, sort, delay); + return localVarResp.getData(); + } + + /** + * Fetch inbox's latest email or if empty wait for an email to arrive + * Will return either the last received email or wait for an email to arrive and return that. If you need to wait for an email for a non-empty inbox set `unreadOnly=true` or see the other receive methods such as `waitForNthEmail` or `waitForEmailCount`. + * @param inboxId Id of the inbox we are fetching emails from (optional) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only. (optional, default to false) + * @param before Filter for emails that were before after the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @return ApiResponse<Email> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse waitForLatestEmailWithHttpInfo(UUID inboxId, Long timeout, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, String sort, Long delay) throws ApiException { + okhttp3.Call localVarCall = waitForLatestEmailValidateBeforeCall(inboxId, timeout, unreadOnly, before, since, sort, delay, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Fetch inbox's latest email or if empty wait for an email to arrive (asynchronously) + * Will return either the last received email or wait for an email to arrive and return that. If you need to wait for an email for a non-empty inbox set `unreadOnly=true` or see the other receive methods such as `waitForNthEmail` or `waitForEmailCount`. + * @param inboxId Id of the inbox we are fetching emails from (optional) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only. (optional, default to false) + * @param before Filter for emails that were before after the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForLatestEmailAsync(UUID inboxId, Long timeout, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since, String sort, Long delay, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = waitForLatestEmailValidateBeforeCall(inboxId, timeout, unreadOnly, before, since, sort, delay, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for waitForLatestSms + * @param waitForSingleSmsOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForLatestSmsCall(WaitForSingleSmsOptions waitForSingleSmsOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = waitForSingleSmsOptions; + + // create path and map variables + String localVarPath = "/waitForLatestSms"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call waitForLatestSmsValidateBeforeCall(WaitForSingleSmsOptions waitForSingleSmsOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'waitForSingleSmsOptions' is set + if (waitForSingleSmsOptions == null) { + throw new ApiException("Missing the required parameter 'waitForSingleSmsOptions' when calling waitForLatestSms(Async)"); + } + + return waitForLatestSmsCall(waitForSingleSmsOptions, _callback); + + } + + /** + * Wait for the latest SMS message to match the provided filter conditions such as body contains keyword. + * Wait until a phone number meets given conditions or return immediately if already met + * @param waitForSingleSmsOptions (required) + * @return SmsDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public SmsDto waitForLatestSms(WaitForSingleSmsOptions waitForSingleSmsOptions) throws ApiException { + ApiResponse localVarResp = waitForLatestSmsWithHttpInfo(waitForSingleSmsOptions); + return localVarResp.getData(); + } + + /** + * Wait for the latest SMS message to match the provided filter conditions such as body contains keyword. + * Wait until a phone number meets given conditions or return immediately if already met + * @param waitForSingleSmsOptions (required) + * @return ApiResponse<SmsDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse waitForLatestSmsWithHttpInfo(WaitForSingleSmsOptions waitForSingleSmsOptions) throws ApiException { + okhttp3.Call localVarCall = waitForLatestSmsValidateBeforeCall(waitForSingleSmsOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Wait for the latest SMS message to match the provided filter conditions such as body contains keyword. (asynchronously) + * Wait until a phone number meets given conditions or return immediately if already met + * @param waitForSingleSmsOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForLatestSmsAsync(WaitForSingleSmsOptions waitForSingleSmsOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = waitForLatestSmsValidateBeforeCall(waitForSingleSmsOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for waitForMatchingEmails + * @param inboxId Id of the inbox we are fetching emails from (required) + * @param count Number of emails to wait for. Must be greater or equal to 1 (required) + * @param matchOptions (required) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForMatchingEmailsCall(UUID inboxId, Integer count, MatchOptions matchOptions, OffsetDateTime before, OffsetDateTime since, String sort, Long delay, Long timeout, Boolean unreadOnly, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = matchOptions; + + // create path and map variables + String localVarPath = "/waitForMatchingEmails"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (count != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("count", count)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (delay != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("delay", delay)); + } + + if (timeout != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeout", timeout)); + } + + if (unreadOnly != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("unreadOnly", unreadOnly)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call waitForMatchingEmailsValidateBeforeCall(UUID inboxId, Integer count, MatchOptions matchOptions, OffsetDateTime before, OffsetDateTime since, String sort, Long delay, Long timeout, Boolean unreadOnly, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling waitForMatchingEmails(Async)"); + } + + // verify the required parameter 'count' is set + if (count == null) { + throw new ApiException("Missing the required parameter 'count' when calling waitForMatchingEmails(Async)"); + } + + // verify the required parameter 'matchOptions' is set + if (matchOptions == null) { + throw new ApiException("Missing the required parameter 'matchOptions' when calling waitForMatchingEmails(Async)"); + } + + return waitForMatchingEmailsCall(inboxId, count, matchOptions, before, since, sort, delay, timeout, unreadOnly, _callback); + + } + + /** + * Wait or return list of emails that match simple matching patterns + * Perform a search of emails in an inbox with the given patterns. If results match expected count then return or else retry the search until results are found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method. + * @param inboxId Id of the inbox we are fetching emails from (required) + * @param count Number of emails to wait for. Must be greater or equal to 1 (required) + * @param matchOptions (required) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @return List<EmailPreview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List waitForMatchingEmails(UUID inboxId, Integer count, MatchOptions matchOptions, OffsetDateTime before, OffsetDateTime since, String sort, Long delay, Long timeout, Boolean unreadOnly) throws ApiException { + ApiResponse> localVarResp = waitForMatchingEmailsWithHttpInfo(inboxId, count, matchOptions, before, since, sort, delay, timeout, unreadOnly); + return localVarResp.getData(); + } + + /** + * Wait or return list of emails that match simple matching patterns + * Perform a search of emails in an inbox with the given patterns. If results match expected count then return or else retry the search until results are found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method. + * @param inboxId Id of the inbox we are fetching emails from (required) + * @param count Number of emails to wait for. Must be greater or equal to 1 (required) + * @param matchOptions (required) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @return ApiResponse<List<EmailPreview>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> waitForMatchingEmailsWithHttpInfo(UUID inboxId, Integer count, MatchOptions matchOptions, OffsetDateTime before, OffsetDateTime since, String sort, Long delay, Long timeout, Boolean unreadOnly) throws ApiException { + okhttp3.Call localVarCall = waitForMatchingEmailsValidateBeforeCall(inboxId, count, matchOptions, before, since, sort, delay, timeout, unreadOnly, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Wait or return list of emails that match simple matching patterns (asynchronously) + * Perform a search of emails in an inbox with the given patterns. If results match expected count then return or else retry the search until results are found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method. + * @param inboxId Id of the inbox we are fetching emails from (required) + * @param count Number of emails to wait for. Must be greater or equal to 1 (required) + * @param matchOptions (required) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForMatchingEmailsAsync(UUID inboxId, Integer count, MatchOptions matchOptions, OffsetDateTime before, OffsetDateTime since, String sort, Long delay, Long timeout, Boolean unreadOnly, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = waitForMatchingEmailsValidateBeforeCall(inboxId, count, matchOptions, before, since, sort, delay, timeout, unreadOnly, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for waitForMatchingFirstEmail + * @param inboxId Id of the inbox we are matching an email for (required) + * @param matchOptions (required) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForMatchingFirstEmailCall(UUID inboxId, MatchOptions matchOptions, Long timeout, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, String sort, Long delay, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = matchOptions; + + // create path and map variables + String localVarPath = "/waitForMatchingFirstEmail"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (timeout != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeout", timeout)); + } + + if (unreadOnly != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("unreadOnly", unreadOnly)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (delay != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("delay", delay)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call waitForMatchingFirstEmailValidateBeforeCall(UUID inboxId, MatchOptions matchOptions, Long timeout, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, String sort, Long delay, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling waitForMatchingFirstEmail(Async)"); + } + + // verify the required parameter 'matchOptions' is set + if (matchOptions == null) { + throw new ApiException("Missing the required parameter 'matchOptions' when calling waitForMatchingFirstEmail(Async)"); + } + + return waitForMatchingFirstEmailCall(inboxId, matchOptions, timeout, unreadOnly, since, before, sort, delay, _callback); + + } + + /** + * Wait for or return the first email that matches provided MatchOptions array + * Perform a search of emails in an inbox with the given patterns. If a result if found then return or else retry the search until a result is found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method. + * @param inboxId Id of the inbox we are matching an email for (required) + * @param matchOptions (required) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @return Email + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public Email waitForMatchingFirstEmail(UUID inboxId, MatchOptions matchOptions, Long timeout, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, String sort, Long delay) throws ApiException { + ApiResponse localVarResp = waitForMatchingFirstEmailWithHttpInfo(inboxId, matchOptions, timeout, unreadOnly, since, before, sort, delay); + return localVarResp.getData(); + } + + /** + * Wait for or return the first email that matches provided MatchOptions array + * Perform a search of emails in an inbox with the given patterns. If a result if found then return or else retry the search until a result is found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method. + * @param inboxId Id of the inbox we are matching an email for (required) + * @param matchOptions (required) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @return ApiResponse<Email> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse waitForMatchingFirstEmailWithHttpInfo(UUID inboxId, MatchOptions matchOptions, Long timeout, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, String sort, Long delay) throws ApiException { + okhttp3.Call localVarCall = waitForMatchingFirstEmailValidateBeforeCall(inboxId, matchOptions, timeout, unreadOnly, since, before, sort, delay, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Wait for or return the first email that matches provided MatchOptions array (asynchronously) + * Perform a search of emails in an inbox with the given patterns. If a result if found then return or else retry the search until a result is found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method. + * @param inboxId Id of the inbox we are matching an email for (required) + * @param matchOptions (required) + * @param timeout Max milliseconds to wait (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForMatchingFirstEmailAsync(UUID inboxId, MatchOptions matchOptions, Long timeout, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, String sort, Long delay, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = waitForMatchingFirstEmailValidateBeforeCall(inboxId, matchOptions, timeout, unreadOnly, since, before, sort, delay, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for waitForNthEmail + * @param inboxId Id of the inbox you are fetching emails from (optional) + * @param index Zero based index of the email to wait for. If an inbox has 1 email already and you want to wait for the 2nd email pass index=1 (optional, default to 0) + * @param timeout Max milliseconds to wait for the nth email if not already present (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForNthEmailCall(UUID inboxId, Integer index, Long timeout, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, String sort, Long delay, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/waitForNthEmail"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (index != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("index", index)); + } + + if (timeout != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeout", timeout)); + } + + if (unreadOnly != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("unreadOnly", unreadOnly)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (delay != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("delay", delay)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call waitForNthEmailValidateBeforeCall(UUID inboxId, Integer index, Long timeout, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, String sort, Long delay, final ApiCallback _callback) throws ApiException { + return waitForNthEmailCall(inboxId, index, timeout, unreadOnly, since, before, sort, delay, _callback); + + } + + /** + * Wait for or fetch the email with a given index in the inbox specified. If index doesn't exist waits for it to exist or timeout to occur. + * If nth email is already present in inbox then return it. If not hold the connection open until timeout expires or the nth email is received and returned. + * @param inboxId Id of the inbox you are fetching emails from (optional) + * @param index Zero based index of the email to wait for. If an inbox has 1 email already and you want to wait for the 2nd email pass index=1 (optional, default to 0) + * @param timeout Max milliseconds to wait for the nth email if not already present (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @return Email + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public Email waitForNthEmail(UUID inboxId, Integer index, Long timeout, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, String sort, Long delay) throws ApiException { + ApiResponse localVarResp = waitForNthEmailWithHttpInfo(inboxId, index, timeout, unreadOnly, since, before, sort, delay); + return localVarResp.getData(); + } + + /** + * Wait for or fetch the email with a given index in the inbox specified. If index doesn't exist waits for it to exist or timeout to occur. + * If nth email is already present in inbox then return it. If not hold the connection open until timeout expires or the nth email is received and returned. + * @param inboxId Id of the inbox you are fetching emails from (optional) + * @param index Zero based index of the email to wait for. If an inbox has 1 email already and you want to wait for the 2nd email pass index=1 (optional, default to 0) + * @param timeout Max milliseconds to wait for the nth email if not already present (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @return ApiResponse<Email> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse waitForNthEmailWithHttpInfo(UUID inboxId, Integer index, Long timeout, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, String sort, Long delay) throws ApiException { + okhttp3.Call localVarCall = waitForNthEmailValidateBeforeCall(inboxId, index, timeout, unreadOnly, since, before, sort, delay, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Wait for or fetch the email with a given index in the inbox specified. If index doesn't exist waits for it to exist or timeout to occur. (asynchronously) + * If nth email is already present in inbox then return it. If not hold the connection open until timeout expires or the nth email is received and returned. + * @param inboxId Id of the inbox you are fetching emails from (optional) + * @param index Zero based index of the email to wait for. If an inbox has 1 email already and you want to wait for the 2nd email pass index=1 (optional, default to 0) + * @param timeout Max milliseconds to wait for the nth email if not already present (optional) + * @param unreadOnly Optional filter for unread only (optional, default to false) + * @param since Filter for emails that were received after the given timestamp (optional) + * @param before Filter for emails that were received before the given timestamp (optional) + * @param sort Sort direction (optional) + * @param delay Max milliseconds delay between calls (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForNthEmailAsync(UUID inboxId, Integer index, Long timeout, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, String sort, Long delay, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = waitForNthEmailValidateBeforeCall(inboxId, index, timeout, unreadOnly, since, before, sort, delay, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for waitForSms + * @param waitForSmsConditions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForSmsCall(WaitForSmsConditions waitForSmsConditions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = waitForSmsConditions; + + // create path and map variables + String localVarPath = "/waitForSms"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call waitForSmsValidateBeforeCall(WaitForSmsConditions waitForSmsConditions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'waitForSmsConditions' is set + if (waitForSmsConditions == null) { + throw new ApiException("Missing the required parameter 'waitForSmsConditions' when calling waitForSms(Async)"); + } + + return waitForSmsCall(waitForSmsConditions, _callback); + + } + + /** + * Wait for an SMS message to match the provided filter conditions such as body contains keyword. + * Generic waitFor method that will wait until a phone number meets given conditions or return immediately if already met + * @param waitForSmsConditions (required) + * @return List<SmsPreview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public List waitForSms(WaitForSmsConditions waitForSmsConditions) throws ApiException { + ApiResponse> localVarResp = waitForSmsWithHttpInfo(waitForSmsConditions); + return localVarResp.getData(); + } + + /** + * Wait for an SMS message to match the provided filter conditions such as body contains keyword. + * Generic waitFor method that will wait until a phone number meets given conditions or return immediately if already met + * @param waitForSmsConditions (required) + * @return ApiResponse<List<SmsPreview>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse> waitForSmsWithHttpInfo(WaitForSmsConditions waitForSmsConditions) throws ApiException { + okhttp3.Call localVarCall = waitForSmsValidateBeforeCall(waitForSmsConditions, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Wait for an SMS message to match the provided filter conditions such as body contains keyword. (asynchronously) + * Generic waitFor method that will wait until a phone number meets given conditions or return immediately if already met + * @param waitForSmsConditions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call waitForSmsAsync(WaitForSmsConditions waitForSmsConditions, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = waitForSmsValidateBeforeCall(waitForSmsConditions, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/apis/WebhookControllerApi.java b/src/main/java/com/mailslurp/apis/WebhookControllerApi.java new file mode 100644 index 000000000..7fc5677fd --- /dev/null +++ b/src/main/java/com/mailslurp/apis/WebhookControllerApi.java @@ -0,0 +1,4373 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiCallback; +import com.mailslurp.clients.ApiClient; +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.ApiResponse; +import com.mailslurp.clients.Configuration; +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ProgressRequestBody; +import com.mailslurp.clients.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.mailslurp.models.AbstractWebhookPayload; +import com.mailslurp.models.CreateWebhookOptions; +import com.mailslurp.models.JSONSchemaDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageWebhookProjection; +import com.mailslurp.models.PageWebhookResult; +import java.util.UUID; +import com.mailslurp.models.UnseenErrorCountDto; +import com.mailslurp.models.VerifyWebhookSignatureOptions; +import com.mailslurp.models.VerifyWebhookSignatureResults; +import com.mailslurp.models.WebhookBouncePayload; +import com.mailslurp.models.WebhookBounceRecipientPayload; +import com.mailslurp.models.WebhookDeliveryStatusPayload; +import com.mailslurp.models.WebhookDto; +import com.mailslurp.models.WebhookEmailOpenedPayload; +import com.mailslurp.models.WebhookEmailReadPayload; +import com.mailslurp.models.WebhookHeaders; +import com.mailslurp.models.WebhookNewAttachmentPayload; +import com.mailslurp.models.WebhookNewContactPayload; +import com.mailslurp.models.WebhookNewEmailPayload; +import com.mailslurp.models.WebhookNewSmsPayload; +import com.mailslurp.models.WebhookRedriveResult; +import com.mailslurp.models.WebhookResultDto; +import com.mailslurp.models.WebhookTestResult; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class WebhookControllerApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public WebhookControllerApi() { + this(Configuration.getDefaultApiClient()); + } + + public WebhookControllerApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createAccountWebhook + * @param createWebhookOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createAccountWebhookCall(CreateWebhookOptions createWebhookOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createWebhookOptions; + + // create path and map variables + String localVarPath = "/webhooks"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createAccountWebhookValidateBeforeCall(CreateWebhookOptions createWebhookOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'createWebhookOptions' is set + if (createWebhookOptions == null) { + throw new ApiException("Missing the required parameter 'createWebhookOptions' when calling createAccountWebhook(Async)"); + } + + return createAccountWebhookCall(createWebhookOptions, _callback); + + } + + /** + * Attach a WebHook URL to an inbox + * Get notified of account level events such as bounce and bounce recipient. + * @param createWebhookOptions (required) + * @return WebhookDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public WebhookDto createAccountWebhook(CreateWebhookOptions createWebhookOptions) throws ApiException { + ApiResponse localVarResp = createAccountWebhookWithHttpInfo(createWebhookOptions); + return localVarResp.getData(); + } + + /** + * Attach a WebHook URL to an inbox + * Get notified of account level events such as bounce and bounce recipient. + * @param createWebhookOptions (required) + * @return ApiResponse<WebhookDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createAccountWebhookWithHttpInfo(CreateWebhookOptions createWebhookOptions) throws ApiException { + okhttp3.Call localVarCall = createAccountWebhookValidateBeforeCall(createWebhookOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Attach a WebHook URL to an inbox (asynchronously) + * Get notified of account level events such as bounce and bounce recipient. + * @param createWebhookOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createAccountWebhookAsync(CreateWebhookOptions createWebhookOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createAccountWebhookValidateBeforeCall(createWebhookOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createWebhook + * @param inboxId (required) + * @param createWebhookOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createWebhookCall(UUID inboxId, CreateWebhookOptions createWebhookOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createWebhookOptions; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/webhooks" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createWebhookValidateBeforeCall(UUID inboxId, CreateWebhookOptions createWebhookOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling createWebhook(Async)"); + } + + // verify the required parameter 'createWebhookOptions' is set + if (createWebhookOptions == null) { + throw new ApiException("Missing the required parameter 'createWebhookOptions' when calling createWebhook(Async)"); + } + + return createWebhookCall(inboxId, createWebhookOptions, _callback); + + } + + /** + * Attach a WebHook URL to an inbox + * Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint. + * @param inboxId (required) + * @param createWebhookOptions (required) + * @return WebhookDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public WebhookDto createWebhook(UUID inboxId, CreateWebhookOptions createWebhookOptions) throws ApiException { + ApiResponse localVarResp = createWebhookWithHttpInfo(inboxId, createWebhookOptions); + return localVarResp.getData(); + } + + /** + * Attach a WebHook URL to an inbox + * Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint. + * @param inboxId (required) + * @param createWebhookOptions (required) + * @return ApiResponse<WebhookDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createWebhookWithHttpInfo(UUID inboxId, CreateWebhookOptions createWebhookOptions) throws ApiException { + okhttp3.Call localVarCall = createWebhookValidateBeforeCall(inboxId, createWebhookOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Attach a WebHook URL to an inbox (asynchronously) + * Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint. + * @param inboxId (required) + * @param createWebhookOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createWebhookAsync(UUID inboxId, CreateWebhookOptions createWebhookOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createWebhookValidateBeforeCall(inboxId, createWebhookOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for createWebhookForPhoneNumber + * @param phoneNumberId (required) + * @param createWebhookOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createWebhookForPhoneNumberCall(UUID phoneNumberId, CreateWebhookOptions createWebhookOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createWebhookOptions; + + // create path and map variables + String localVarPath = "/phone/numbers/{phoneNumberId}/webhooks" + .replace("{" + "phoneNumberId" + "}", localVarApiClient.escapeString(phoneNumberId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createWebhookForPhoneNumberValidateBeforeCall(UUID phoneNumberId, CreateWebhookOptions createWebhookOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'phoneNumberId' is set + if (phoneNumberId == null) { + throw new ApiException("Missing the required parameter 'phoneNumberId' when calling createWebhookForPhoneNumber(Async)"); + } + + // verify the required parameter 'createWebhookOptions' is set + if (createWebhookOptions == null) { + throw new ApiException("Missing the required parameter 'createWebhookOptions' when calling createWebhookForPhoneNumber(Async)"); + } + + return createWebhookForPhoneNumberCall(phoneNumberId, createWebhookOptions, _callback); + + } + + /** + * Attach a WebHook URL to a phone number + * Get notified whenever a phone number receives an SMS via a WebHook URL. + * @param phoneNumberId (required) + * @param createWebhookOptions (required) + * @return WebhookDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public WebhookDto createWebhookForPhoneNumber(UUID phoneNumberId, CreateWebhookOptions createWebhookOptions) throws ApiException { + ApiResponse localVarResp = createWebhookForPhoneNumberWithHttpInfo(phoneNumberId, createWebhookOptions); + return localVarResp.getData(); + } + + /** + * Attach a WebHook URL to a phone number + * Get notified whenever a phone number receives an SMS via a WebHook URL. + * @param phoneNumberId (required) + * @param createWebhookOptions (required) + * @return ApiResponse<WebhookDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse createWebhookForPhoneNumberWithHttpInfo(UUID phoneNumberId, CreateWebhookOptions createWebhookOptions) throws ApiException { + okhttp3.Call localVarCall = createWebhookForPhoneNumberValidateBeforeCall(phoneNumberId, createWebhookOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Attach a WebHook URL to a phone number (asynchronously) + * Get notified whenever a phone number receives an SMS via a WebHook URL. + * @param phoneNumberId (required) + * @param createWebhookOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call createWebhookForPhoneNumberAsync(UUID phoneNumberId, CreateWebhookOptions createWebhookOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createWebhookForPhoneNumberValidateBeforeCall(phoneNumberId, createWebhookOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteAllWebhooks + * @param before before (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllWebhooksCall(OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteAllWebhooksValidateBeforeCall(OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return deleteAllWebhooksCall(before, _callback); + + } + + /** + * Delete all webhooks + * + * @param before before (optional) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteAllWebhooks(OffsetDateTime before) throws ApiException { + deleteAllWebhooksWithHttpInfo(before); + } + + /** + * Delete all webhooks + * + * @param before before (optional) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteAllWebhooksWithHttpInfo(OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = deleteAllWebhooksValidateBeforeCall(before, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete all webhooks (asynchronously) + * + * @param before before (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteAllWebhooksAsync(OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteAllWebhooksValidateBeforeCall(before, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for deleteWebhook + * @param inboxId (required) + * @param webhookId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteWebhookCall(UUID inboxId, UUID webhookId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/webhooks/{webhookId}" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())) + .replace("{" + "webhookId" + "}", localVarApiClient.escapeString(webhookId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteWebhookValidateBeforeCall(UUID inboxId, UUID webhookId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling deleteWebhook(Async)"); + } + + // verify the required parameter 'webhookId' is set + if (webhookId == null) { + throw new ApiException("Missing the required parameter 'webhookId' when calling deleteWebhook(Async)"); + } + + return deleteWebhookCall(inboxId, webhookId, _callback); + + } + + /** + * Delete and disable a Webhook for an Inbox + * + * @param inboxId (required) + * @param webhookId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public void deleteWebhook(UUID inboxId, UUID webhookId) throws ApiException { + deleteWebhookWithHttpInfo(inboxId, webhookId); + } + + /** + * Delete and disable a Webhook for an Inbox + * + * @param inboxId (required) + * @param webhookId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public ApiResponse deleteWebhookWithHttpInfo(UUID inboxId, UUID webhookId) throws ApiException { + okhttp3.Call localVarCall = deleteWebhookValidateBeforeCall(inboxId, webhookId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete and disable a Webhook for an Inbox (asynchronously) + * + * @param inboxId (required) + * @param webhookId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
204 No Content -
+ */ + public okhttp3.Call deleteWebhookAsync(UUID inboxId, UUID webhookId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteWebhookValidateBeforeCall(inboxId, webhookId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for deleteWebhookById + * @param webhookId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call deleteWebhookByIdCall(UUID webhookId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/{webhookId}" + .replace("{" + "webhookId" + "}", localVarApiClient.escapeString(webhookId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteWebhookByIdValidateBeforeCall(UUID webhookId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'webhookId' is set + if (webhookId == null) { + throw new ApiException("Missing the required parameter 'webhookId' when calling deleteWebhookById(Async)"); + } + + return deleteWebhookByIdCall(webhookId, _callback); + + } + + /** + * Delete a webhook + * + * @param webhookId (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public void deleteWebhookById(UUID webhookId) throws ApiException { + deleteWebhookByIdWithHttpInfo(webhookId); + } + + /** + * Delete a webhook + * + * @param webhookId (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse deleteWebhookByIdWithHttpInfo(UUID webhookId) throws ApiException { + okhttp3.Call localVarCall = deleteWebhookByIdValidateBeforeCall(webhookId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Delete a webhook (asynchronously) + * + * @param webhookId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call deleteWebhookByIdAsync(UUID webhookId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteWebhookByIdValidateBeforeCall(webhookId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for getAllAccountWebhooks + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param eventType Optional event type (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllAccountWebhooksCall(Integer page, Integer size, String sort, String eventType, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/account/paginated"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (eventType != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("eventType", eventType)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllAccountWebhooksValidateBeforeCall(Integer page, Integer size, String sort, String eventType, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getAllAccountWebhooksCall(page, size, sort, eventType, since, before, _callback); + + } + + /** + * List account webhooks Paginated + * List account webhooks in paginated form. Allows for page index, page size, and sort direction. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param eventType Optional event type (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageWebhookProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageWebhookProjection getAllAccountWebhooks(Integer page, Integer size, String sort, String eventType, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAllAccountWebhooksWithHttpInfo(page, size, sort, eventType, since, before); + return localVarResp.getData(); + } + + /** + * List account webhooks Paginated + * List account webhooks in paginated form. Allows for page index, page size, and sort direction. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param eventType Optional event type (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageWebhookProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllAccountWebhooksWithHttpInfo(Integer page, Integer size, String sort, String eventType, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAllAccountWebhooksValidateBeforeCall(page, size, sort, eventType, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List account webhooks Paginated (asynchronously) + * List account webhooks in paginated form. Allows for page index, page size, and sort direction. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param eventType Optional event type (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllAccountWebhooksAsync(Integer page, Integer size, String sort, String eventType, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllAccountWebhooksValidateBeforeCall(page, size, sort, eventType, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAllWebhookResults + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param unseenOnly Filter for unseen exceptions only (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllWebhookResultsCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean unseenOnly, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/results"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (unseenOnly != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("unseenOnly", unseenOnly)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllWebhookResultsValidateBeforeCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean unseenOnly, final ApiCallback _callback) throws ApiException { + return getAllWebhookResultsCall(page, size, sort, searchFilter, since, before, unseenOnly, _callback); + + } + + /** + * Get results for all webhooks + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param unseenOnly Filter for unseen exceptions only (optional) + * @return PageWebhookResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageWebhookResult getAllWebhookResults(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean unseenOnly) throws ApiException { + ApiResponse localVarResp = getAllWebhookResultsWithHttpInfo(page, size, sort, searchFilter, since, before, unseenOnly); + return localVarResp.getData(); + } + + /** + * Get results for all webhooks + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param unseenOnly Filter for unseen exceptions only (optional) + * @return ApiResponse<PageWebhookResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllWebhookResultsWithHttpInfo(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean unseenOnly) throws ApiException { + okhttp3.Call localVarCall = getAllWebhookResultsValidateBeforeCall(page, size, sort, searchFilter, since, before, unseenOnly, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get results for all webhooks (asynchronously) + * + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param unseenOnly Filter for unseen exceptions only (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllWebhookResultsAsync(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean unseenOnly, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllWebhookResultsValidateBeforeCall(page, size, sort, searchFilter, since, before, unseenOnly, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getAllWebhooks + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param inboxId Filter by inboxId (optional) + * @param phoneId Filter by phoneId (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllWebhooksCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, UUID inboxId, UUID phoneId, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/paginated"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (inboxId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("inboxId", inboxId)); + } + + if (phoneId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("phoneId", phoneId)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllWebhooksValidateBeforeCall(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, UUID inboxId, UUID phoneId, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + return getAllWebhooksCall(page, size, sort, searchFilter, since, inboxId, phoneId, before, _callback); + + } + + /** + * List Webhooks Paginated + * List webhooks in paginated form. Allows for page index, page size, and sort direction. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param inboxId Filter by inboxId (optional) + * @param phoneId Filter by phoneId (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageWebhookProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageWebhookProjection getAllWebhooks(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, UUID inboxId, UUID phoneId, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getAllWebhooksWithHttpInfo(page, size, sort, searchFilter, since, inboxId, phoneId, before); + return localVarResp.getData(); + } + + /** + * List Webhooks Paginated + * List webhooks in paginated form. Allows for page index, page size, and sort direction. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param inboxId Filter by inboxId (optional) + * @param phoneId Filter by phoneId (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageWebhookProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getAllWebhooksWithHttpInfo(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, UUID inboxId, UUID phoneId, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getAllWebhooksValidateBeforeCall(page, size, sort, searchFilter, since, inboxId, phoneId, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * List Webhooks Paginated (asynchronously) + * List webhooks in paginated form. Allows for page index, page size, and sort direction. + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size for paginated result list. (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to DESC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param inboxId Filter by inboxId (optional) + * @param phoneId Filter by phoneId (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getAllWebhooksAsync(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, UUID inboxId, UUID phoneId, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllWebhooksValidateBeforeCall(page, size, sort, searchFilter, since, inboxId, phoneId, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getInboxWebhooksPaginated + * @param inboxId (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxWebhooksPaginatedCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/webhooks/paginated" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getInboxWebhooksPaginatedValidateBeforeCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getInboxWebhooksPaginated(Async)"); + } + + return getInboxWebhooksPaginatedCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + + } + + /** + * Get paginated webhooks for an Inbox + * + * @param inboxId (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageWebhookProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageWebhookProjection getInboxWebhooksPaginated(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getInboxWebhooksPaginatedWithHttpInfo(inboxId, page, size, sort, searchFilter, since, before); + return localVarResp.getData(); + } + + /** + * Get paginated webhooks for an Inbox + * + * @param inboxId (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageWebhookProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getInboxWebhooksPaginatedWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getInboxWebhooksPaginatedValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get paginated webhooks for an Inbox (asynchronously) + * + * @param inboxId (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getInboxWebhooksPaginatedAsync(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getInboxWebhooksPaginatedValidateBeforeCall(inboxId, page, size, sort, searchFilter, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getJsonSchemaForWebhookEvent + * @param event (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getJsonSchemaForWebhookEventCall(String event, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/schema"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (event != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("event", event)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getJsonSchemaForWebhookEventValidateBeforeCall(String event, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'event' is set + if (event == null) { + throw new ApiException("Missing the required parameter 'event' when calling getJsonSchemaForWebhookEvent(Async)"); + } + + return getJsonSchemaForWebhookEventCall(event, _callback); + + } + + /** + * + * Get JSON Schema definition for webhook payload by event + * @param event (required) + * @return JSONSchemaDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public JSONSchemaDto getJsonSchemaForWebhookEvent(String event) throws ApiException { + ApiResponse localVarResp = getJsonSchemaForWebhookEventWithHttpInfo(event); + return localVarResp.getData(); + } + + /** + * + * Get JSON Schema definition for webhook payload by event + * @param event (required) + * @return ApiResponse<JSONSchemaDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getJsonSchemaForWebhookEventWithHttpInfo(String event) throws ApiException { + okhttp3.Call localVarCall = getJsonSchemaForWebhookEventValidateBeforeCall(event, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get JSON Schema definition for webhook payload by event + * @param event (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getJsonSchemaForWebhookEventAsync(String event, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getJsonSchemaForWebhookEventValidateBeforeCall(event, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getJsonSchemaForWebhookPayload + * @param webhookId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getJsonSchemaForWebhookPayloadCall(UUID webhookId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/{webhookId}/schema" + .replace("{" + "webhookId" + "}", localVarApiClient.escapeString(webhookId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getJsonSchemaForWebhookPayloadValidateBeforeCall(UUID webhookId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'webhookId' is set + if (webhookId == null) { + throw new ApiException("Missing the required parameter 'webhookId' when calling getJsonSchemaForWebhookPayload(Async)"); + } + + return getJsonSchemaForWebhookPayloadCall(webhookId, _callback); + + } + + /** + * + * Get JSON Schema definition for webhook payload + * @param webhookId (required) + * @return JSONSchemaDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public JSONSchemaDto getJsonSchemaForWebhookPayload(UUID webhookId) throws ApiException { + ApiResponse localVarResp = getJsonSchemaForWebhookPayloadWithHttpInfo(webhookId); + return localVarResp.getData(); + } + + /** + * + * Get JSON Schema definition for webhook payload + * @param webhookId (required) + * @return ApiResponse<JSONSchemaDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getJsonSchemaForWebhookPayloadWithHttpInfo(UUID webhookId) throws ApiException { + okhttp3.Call localVarCall = getJsonSchemaForWebhookPayloadValidateBeforeCall(webhookId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get JSON Schema definition for webhook payload + * @param webhookId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getJsonSchemaForWebhookPayloadAsync(UUID webhookId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getJsonSchemaForWebhookPayloadValidateBeforeCall(webhookId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getPhoneNumberWebhooksPaginated + * @param phoneId (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getPhoneNumberWebhooksPaginatedCall(UUID phoneId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/phone/numbers/{phoneId}/webhooks/paginated" + .replace("{" + "phoneId" + "}", localVarApiClient.escapeString(phoneId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getPhoneNumberWebhooksPaginatedValidateBeforeCall(UUID phoneId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'phoneId' is set + if (phoneId == null) { + throw new ApiException("Missing the required parameter 'phoneId' when calling getPhoneNumberWebhooksPaginated(Async)"); + } + + return getPhoneNumberWebhooksPaginatedCall(phoneId, page, size, sort, since, before, _callback); + + } + + /** + * Get paginated webhooks for a phone number + * + * @param phoneId (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return PageWebhookProjection + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageWebhookProjection getPhoneNumberWebhooksPaginated(UUID phoneId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + ApiResponse localVarResp = getPhoneNumberWebhooksPaginatedWithHttpInfo(phoneId, page, size, sort, since, before); + return localVarResp.getData(); + } + + /** + * Get paginated webhooks for a phone number + * + * @param phoneId (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @return ApiResponse<PageWebhookProjection> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getPhoneNumberWebhooksPaginatedWithHttpInfo(UUID phoneId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException { + okhttp3.Call localVarCall = getPhoneNumberWebhooksPaginatedValidateBeforeCall(phoneId, page, size, sort, since, before, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get paginated webhooks for a phone number (asynchronously) + * + * @param phoneId (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getPhoneNumberWebhooksPaginatedAsync(UUID phoneId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getPhoneNumberWebhooksPaginatedValidateBeforeCall(phoneId, page, size, sort, since, before, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTestWebhookPayload + * @param eventName (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadCall(String eventName, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/test"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (eventName != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("eventName", eventName)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTestWebhookPayloadValidateBeforeCall(String eventName, final ApiCallback _callback) throws ApiException { + return getTestWebhookPayloadCall(eventName, _callback); + + } + + /** + * + * Get test webhook payload example. Response content depends on eventName passed. Uses `EMAIL_RECEIVED` as default. + * @param eventName (optional) + * @return AbstractWebhookPayload + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public AbstractWebhookPayload getTestWebhookPayload(String eventName) throws ApiException { + ApiResponse localVarResp = getTestWebhookPayloadWithHttpInfo(eventName); + return localVarResp.getData(); + } + + /** + * + * Get test webhook payload example. Response content depends on eventName passed. Uses `EMAIL_RECEIVED` as default. + * @param eventName (optional) + * @return ApiResponse<AbstractWebhookPayload> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTestWebhookPayloadWithHttpInfo(String eventName) throws ApiException { + okhttp3.Call localVarCall = getTestWebhookPayloadValidateBeforeCall(eventName, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get test webhook payload example. Response content depends on eventName passed. Uses `EMAIL_RECEIVED` as default. + * @param eventName (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadAsync(String eventName, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTestWebhookPayloadValidateBeforeCall(eventName, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTestWebhookPayloadBounce + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadBounceCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/test/email-bounce-payload"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTestWebhookPayloadBounceValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getTestWebhookPayloadBounceCall(_callback); + + } + + /** + * + * Get webhook test payload for bounce + * @return WebhookBouncePayload + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookBouncePayload getTestWebhookPayloadBounce() throws ApiException { + ApiResponse localVarResp = getTestWebhookPayloadBounceWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * + * Get webhook test payload for bounce + * @return ApiResponse<WebhookBouncePayload> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTestWebhookPayloadBounceWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getTestWebhookPayloadBounceValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get webhook test payload for bounce + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadBounceAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTestWebhookPayloadBounceValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTestWebhookPayloadBounceRecipient + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadBounceRecipientCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/test/email-bounce-recipient-payload"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTestWebhookPayloadBounceRecipientValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getTestWebhookPayloadBounceRecipientCall(_callback); + + } + + /** + * + * Get webhook test payload for bounce recipient + * @return WebhookBounceRecipientPayload + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookBounceRecipientPayload getTestWebhookPayloadBounceRecipient() throws ApiException { + ApiResponse localVarResp = getTestWebhookPayloadBounceRecipientWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * + * Get webhook test payload for bounce recipient + * @return ApiResponse<WebhookBounceRecipientPayload> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTestWebhookPayloadBounceRecipientWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getTestWebhookPayloadBounceRecipientValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get webhook test payload for bounce recipient + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadBounceRecipientAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTestWebhookPayloadBounceRecipientValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTestWebhookPayloadDeliveryStatus + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadDeliveryStatusCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/test/delivery-status-payload"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTestWebhookPayloadDeliveryStatusValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getTestWebhookPayloadDeliveryStatusCall(_callback); + + } + + /** + * Get webhook test payload for delivery status event + * + * @return WebhookDeliveryStatusPayload + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookDeliveryStatusPayload getTestWebhookPayloadDeliveryStatus() throws ApiException { + ApiResponse localVarResp = getTestWebhookPayloadDeliveryStatusWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get webhook test payload for delivery status event + * + * @return ApiResponse<WebhookDeliveryStatusPayload> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTestWebhookPayloadDeliveryStatusWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getTestWebhookPayloadDeliveryStatusValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get webhook test payload for delivery status event (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadDeliveryStatusAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTestWebhookPayloadDeliveryStatusValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTestWebhookPayloadEmailOpened + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadEmailOpenedCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/test/email-opened-payload"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTestWebhookPayloadEmailOpenedValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getTestWebhookPayloadEmailOpenedCall(_callback); + + } + + /** + * + * Get webhook test payload for email opened event + * @return WebhookEmailOpenedPayload + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookEmailOpenedPayload getTestWebhookPayloadEmailOpened() throws ApiException { + ApiResponse localVarResp = getTestWebhookPayloadEmailOpenedWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * + * Get webhook test payload for email opened event + * @return ApiResponse<WebhookEmailOpenedPayload> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTestWebhookPayloadEmailOpenedWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getTestWebhookPayloadEmailOpenedValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get webhook test payload for email opened event + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadEmailOpenedAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTestWebhookPayloadEmailOpenedValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTestWebhookPayloadEmailRead + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadEmailReadCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/test/email-read-payload"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTestWebhookPayloadEmailReadValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getTestWebhookPayloadEmailReadCall(_callback); + + } + + /** + * + * Get webhook test payload for email opened event + * @return WebhookEmailReadPayload + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookEmailReadPayload getTestWebhookPayloadEmailRead() throws ApiException { + ApiResponse localVarResp = getTestWebhookPayloadEmailReadWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * + * Get webhook test payload for email opened event + * @return ApiResponse<WebhookEmailReadPayload> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTestWebhookPayloadEmailReadWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getTestWebhookPayloadEmailReadValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get webhook test payload for email opened event + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadEmailReadAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTestWebhookPayloadEmailReadValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTestWebhookPayloadForWebhook + * @param webhookId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call getTestWebhookPayloadForWebhookCall(UUID webhookId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/{webhookId}/example" + .replace("{" + "webhookId" + "}", localVarApiClient.escapeString(webhookId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTestWebhookPayloadForWebhookValidateBeforeCall(UUID webhookId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'webhookId' is set + if (webhookId == null) { + throw new ApiException("Missing the required parameter 'webhookId' when calling getTestWebhookPayloadForWebhook(Async)"); + } + + return getTestWebhookPayloadForWebhookCall(webhookId, _callback); + + } + + /** + * + * Get example payload for webhook + * @param webhookId (required) + * @return AbstractWebhookPayload + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public AbstractWebhookPayload getTestWebhookPayloadForWebhook(UUID webhookId) throws ApiException { + ApiResponse localVarResp = getTestWebhookPayloadForWebhookWithHttpInfo(webhookId); + return localVarResp.getData(); + } + + /** + * + * Get example payload for webhook + * @param webhookId (required) + * @return ApiResponse<AbstractWebhookPayload> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse getTestWebhookPayloadForWebhookWithHttpInfo(UUID webhookId) throws ApiException { + okhttp3.Call localVarCall = getTestWebhookPayloadForWebhookValidateBeforeCall(webhookId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * (asynchronously) + * Get example payload for webhook + * @param webhookId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call getTestWebhookPayloadForWebhookAsync(UUID webhookId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTestWebhookPayloadForWebhookValidateBeforeCall(webhookId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTestWebhookPayloadNewAttachment + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadNewAttachmentCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/test/new-attachment-payload"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTestWebhookPayloadNewAttachmentValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getTestWebhookPayloadNewAttachmentCall(_callback); + + } + + /** + * Get webhook test payload for new attachment event + * + * @return WebhookNewAttachmentPayload + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookNewAttachmentPayload getTestWebhookPayloadNewAttachment() throws ApiException { + ApiResponse localVarResp = getTestWebhookPayloadNewAttachmentWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get webhook test payload for new attachment event + * + * @return ApiResponse<WebhookNewAttachmentPayload> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTestWebhookPayloadNewAttachmentWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getTestWebhookPayloadNewAttachmentValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get webhook test payload for new attachment event (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadNewAttachmentAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTestWebhookPayloadNewAttachmentValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTestWebhookPayloadNewContact + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadNewContactCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/test/new-contact-payload"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTestWebhookPayloadNewContactValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getTestWebhookPayloadNewContactCall(_callback); + + } + + /** + * Get webhook test payload for new contact event + * + * @return WebhookNewContactPayload + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookNewContactPayload getTestWebhookPayloadNewContact() throws ApiException { + ApiResponse localVarResp = getTestWebhookPayloadNewContactWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get webhook test payload for new contact event + * + * @return ApiResponse<WebhookNewContactPayload> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTestWebhookPayloadNewContactWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getTestWebhookPayloadNewContactValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get webhook test payload for new contact event (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadNewContactAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTestWebhookPayloadNewContactValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTestWebhookPayloadNewEmail + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadNewEmailCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/test/new-email-payload"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTestWebhookPayloadNewEmailValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getTestWebhookPayloadNewEmailCall(_callback); + + } + + /** + * Get webhook test payload for new email event + * + * @return WebhookNewEmailPayload + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookNewEmailPayload getTestWebhookPayloadNewEmail() throws ApiException { + ApiResponse localVarResp = getTestWebhookPayloadNewEmailWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get webhook test payload for new email event + * + * @return ApiResponse<WebhookNewEmailPayload> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTestWebhookPayloadNewEmailWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getTestWebhookPayloadNewEmailValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get webhook test payload for new email event (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadNewEmailAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTestWebhookPayloadNewEmailValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTestWebhookPayloadNewSms + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadNewSmsCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/test/new-sms-payload"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTestWebhookPayloadNewSmsValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getTestWebhookPayloadNewSmsCall(_callback); + + } + + /** + * Get webhook test payload for new sms event + * + * @return WebhookNewSmsPayload + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookNewSmsPayload getTestWebhookPayloadNewSms() throws ApiException { + ApiResponse localVarResp = getTestWebhookPayloadNewSmsWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get webhook test payload for new sms event + * + * @return ApiResponse<WebhookNewSmsPayload> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getTestWebhookPayloadNewSmsWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getTestWebhookPayloadNewSmsValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get webhook test payload for new sms event (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getTestWebhookPayloadNewSmsAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTestWebhookPayloadNewSmsValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getWebhook + * @param webhookId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getWebhookCall(UUID webhookId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/{webhookId}" + .replace("{" + "webhookId" + "}", localVarApiClient.escapeString(webhookId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getWebhookValidateBeforeCall(UUID webhookId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'webhookId' is set + if (webhookId == null) { + throw new ApiException("Missing the required parameter 'webhookId' when calling getWebhook(Async)"); + } + + return getWebhookCall(webhookId, _callback); + + } + + /** + * Get a webhook + * + * @param webhookId (required) + * @return WebhookDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookDto getWebhook(UUID webhookId) throws ApiException { + ApiResponse localVarResp = getWebhookWithHttpInfo(webhookId); + return localVarResp.getData(); + } + + /** + * Get a webhook + * + * @param webhookId (required) + * @return ApiResponse<WebhookDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getWebhookWithHttpInfo(UUID webhookId) throws ApiException { + okhttp3.Call localVarCall = getWebhookValidateBeforeCall(webhookId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a webhook (asynchronously) + * + * @param webhookId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getWebhookAsync(UUID webhookId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getWebhookValidateBeforeCall(webhookId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getWebhookResult + * @param webhookResultId Webhook Result ID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getWebhookResultCall(UUID webhookResultId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/results/{webhookResultId}" + .replace("{" + "webhookResultId" + "}", localVarApiClient.escapeString(webhookResultId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getWebhookResultValidateBeforeCall(UUID webhookResultId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'webhookResultId' is set + if (webhookResultId == null) { + throw new ApiException("Missing the required parameter 'webhookResultId' when calling getWebhookResult(Async)"); + } + + return getWebhookResultCall(webhookResultId, _callback); + + } + + /** + * Get a webhook result for a webhook + * + * @param webhookResultId Webhook Result ID (required) + * @return WebhookResultDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookResultDto getWebhookResult(UUID webhookResultId) throws ApiException { + ApiResponse localVarResp = getWebhookResultWithHttpInfo(webhookResultId); + return localVarResp.getData(); + } + + /** + * Get a webhook result for a webhook + * + * @param webhookResultId Webhook Result ID (required) + * @return ApiResponse<WebhookResultDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getWebhookResultWithHttpInfo(UUID webhookResultId) throws ApiException { + okhttp3.Call localVarCall = getWebhookResultValidateBeforeCall(webhookResultId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a webhook result for a webhook (asynchronously) + * + * @param webhookResultId Webhook Result ID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getWebhookResultAsync(UUID webhookResultId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getWebhookResultValidateBeforeCall(webhookResultId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getWebhookResults + * @param webhookId ID of webhook to get results for (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param unseenOnly Filter for unseen exceptions only (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getWebhookResultsCall(UUID webhookId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean unseenOnly, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/{webhookId}/results" + .replace("{" + "webhookId" + "}", localVarApiClient.escapeString(webhookId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (page != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); + } + + if (size != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("size", size)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (searchFilter != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchFilter", searchFilter)); + } + + if (since != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); + } + + if (before != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("before", before)); + } + + if (unseenOnly != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("unseenOnly", unseenOnly)); + } + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getWebhookResultsValidateBeforeCall(UUID webhookId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean unseenOnly, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'webhookId' is set + if (webhookId == null) { + throw new ApiException("Missing the required parameter 'webhookId' when calling getWebhookResults(Async)"); + } + + return getWebhookResultsCall(webhookId, page, size, sort, searchFilter, since, before, unseenOnly, _callback); + + } + + /** + * Get a webhook results for a webhook + * + * @param webhookId ID of webhook to get results for (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param unseenOnly Filter for unseen exceptions only (optional) + * @return PageWebhookResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public PageWebhookResult getWebhookResults(UUID webhookId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean unseenOnly) throws ApiException { + ApiResponse localVarResp = getWebhookResultsWithHttpInfo(webhookId, page, size, sort, searchFilter, since, before, unseenOnly); + return localVarResp.getData(); + } + + /** + * Get a webhook results for a webhook + * + * @param webhookId ID of webhook to get results for (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param unseenOnly Filter for unseen exceptions only (optional) + * @return ApiResponse<PageWebhookResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getWebhookResultsWithHttpInfo(UUID webhookId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean unseenOnly) throws ApiException { + okhttp3.Call localVarCall = getWebhookResultsValidateBeforeCall(webhookId, page, size, sort, searchFilter, since, before, unseenOnly, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a webhook results for a webhook (asynchronously) + * + * @param webhookId ID of webhook to get results for (required) + * @param page Optional page index in list pagination (optional, default to 0) + * @param size Optional page size in list pagination (optional, default to 20) + * @param sort Optional createdAt sort direction ASC or DESC (optional, default to ASC) + * @param searchFilter Optional search filter (optional) + * @param since Filter by created at after the given timestamp (optional) + * @param before Filter by created at before the given timestamp (optional) + * @param unseenOnly Filter for unseen exceptions only (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getWebhookResultsAsync(UUID webhookId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, Boolean unseenOnly, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getWebhookResultsValidateBeforeCall(webhookId, page, size, sort, searchFilter, since, before, unseenOnly, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getWebhookResultsUnseenErrorCount + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getWebhookResultsUnseenErrorCountCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/results/unseen-count"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getWebhookResultsUnseenErrorCountValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getWebhookResultsUnseenErrorCountCall(_callback); + + } + + /** + * Get count of unseen webhook results with error status + * + * @return UnseenErrorCountDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public UnseenErrorCountDto getWebhookResultsUnseenErrorCount() throws ApiException { + ApiResponse localVarResp = getWebhookResultsUnseenErrorCountWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get count of unseen webhook results with error status + * + * @return ApiResponse<UnseenErrorCountDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse getWebhookResultsUnseenErrorCountWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getWebhookResultsUnseenErrorCountValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get count of unseen webhook results with error status (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call getWebhookResultsUnseenErrorCountAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getWebhookResultsUnseenErrorCountValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getWebhooks + * @param inboxId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public okhttp3.Call getWebhooksCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/inboxes/{inboxId}/webhooks" + .replace("{" + "inboxId" + "}", localVarApiClient.escapeString(inboxId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @Deprecated + @SuppressWarnings("rawtypes") + private okhttp3.Call getWebhooksValidateBeforeCall(UUID inboxId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'inboxId' is set + if (inboxId == null) { + throw new ApiException("Missing the required parameter 'inboxId' when calling getWebhooks(Async)"); + } + + return getWebhooksCall(inboxId, _callback); + + } + + /** + * Get all webhooks for an Inbox + * + * @param inboxId (required) + * @return List<WebhookDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public List getWebhooks(UUID inboxId) throws ApiException { + ApiResponse> localVarResp = getWebhooksWithHttpInfo(inboxId); + return localVarResp.getData(); + } + + /** + * Get all webhooks for an Inbox + * + * @param inboxId (required) + * @return ApiResponse<List<WebhookDto>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public ApiResponse> getWebhooksWithHttpInfo(UUID inboxId) throws ApiException { + okhttp3.Call localVarCall = getWebhooksValidateBeforeCall(inboxId, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all webhooks for an Inbox (asynchronously) + * + * @param inboxId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ * @deprecated + */ + @Deprecated + public okhttp3.Call getWebhooksAsync(UUID inboxId, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getWebhooksValidateBeforeCall(inboxId, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for redriveWebhookResult + * @param webhookResultId Webhook Result ID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call redriveWebhookResultCall(UUID webhookResultId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/results/{webhookResultId}/redrive" + .replace("{" + "webhookResultId" + "}", localVarApiClient.escapeString(webhookResultId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call redriveWebhookResultValidateBeforeCall(UUID webhookResultId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'webhookResultId' is set + if (webhookResultId == null) { + throw new ApiException("Missing the required parameter 'webhookResultId' when calling redriveWebhookResult(Async)"); + } + + return redriveWebhookResultCall(webhookResultId, _callback); + + } + + /** + * Get a webhook result and try to resend the original webhook payload + * Allows you to resend a webhook payload that was already sent. Webhooks that fail are retried automatically for 24 hours and then put in a dead letter queue. You can retry results manually using this method. + * @param webhookResultId Webhook Result ID (required) + * @return WebhookRedriveResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookRedriveResult redriveWebhookResult(UUID webhookResultId) throws ApiException { + ApiResponse localVarResp = redriveWebhookResultWithHttpInfo(webhookResultId); + return localVarResp.getData(); + } + + /** + * Get a webhook result and try to resend the original webhook payload + * Allows you to resend a webhook payload that was already sent. Webhooks that fail are retried automatically for 24 hours and then put in a dead letter queue. You can retry results manually using this method. + * @param webhookResultId Webhook Result ID (required) + * @return ApiResponse<WebhookRedriveResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse redriveWebhookResultWithHttpInfo(UUID webhookResultId) throws ApiException { + okhttp3.Call localVarCall = redriveWebhookResultValidateBeforeCall(webhookResultId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a webhook result and try to resend the original webhook payload (asynchronously) + * Allows you to resend a webhook payload that was already sent. Webhooks that fail are retried automatically for 24 hours and then put in a dead letter queue. You can retry results manually using this method. + * @param webhookResultId Webhook Result ID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call redriveWebhookResultAsync(UUID webhookResultId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = redriveWebhookResultValidateBeforeCall(webhookResultId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for sendTestData + * @param webhookId (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendTestDataCall(UUID webhookId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/webhooks/{webhookId}/test" + .replace("{" + "webhookId" + "}", localVarApiClient.escapeString(webhookId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call sendTestDataValidateBeforeCall(UUID webhookId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'webhookId' is set + if (webhookId == null) { + throw new ApiException("Missing the required parameter 'webhookId' when calling sendTestData(Async)"); + } + + return sendTestDataCall(webhookId, _callback); + + } + + /** + * Send webhook test data + * + * @param webhookId (required) + * @return WebhookTestResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public WebhookTestResult sendTestData(UUID webhookId) throws ApiException { + ApiResponse localVarResp = sendTestDataWithHttpInfo(webhookId); + return localVarResp.getData(); + } + + /** + * Send webhook test data + * + * @param webhookId (required) + * @return ApiResponse<WebhookTestResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public ApiResponse sendTestDataWithHttpInfo(UUID webhookId) throws ApiException { + okhttp3.Call localVarCall = sendTestDataValidateBeforeCall(webhookId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Send webhook test data (asynchronously) + * + * @param webhookId (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
201 Created -
+ */ + public okhttp3.Call sendTestDataAsync(UUID webhookId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = sendTestDataValidateBeforeCall(webhookId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateWebhookHeaders + * @param webhookId (required) + * @param webhookHeaders (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateWebhookHeadersCall(UUID webhookId, WebhookHeaders webhookHeaders, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = webhookHeaders; + + // create path and map variables + String localVarPath = "/webhooks/{webhookId}/headers" + .replace("{" + "webhookId" + "}", localVarApiClient.escapeString(webhookId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateWebhookHeadersValidateBeforeCall(UUID webhookId, WebhookHeaders webhookHeaders, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'webhookId' is set + if (webhookId == null) { + throw new ApiException("Missing the required parameter 'webhookId' when calling updateWebhookHeaders(Async)"); + } + + // verify the required parameter 'webhookHeaders' is set + if (webhookHeaders == null) { + throw new ApiException("Missing the required parameter 'webhookHeaders' when calling updateWebhookHeaders(Async)"); + } + + return updateWebhookHeadersCall(webhookId, webhookHeaders, _callback); + + } + + /** + * Update a webhook request headers + * + * @param webhookId (required) + * @param webhookHeaders (required) + * @return WebhookDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public WebhookDto updateWebhookHeaders(UUID webhookId, WebhookHeaders webhookHeaders) throws ApiException { + ApiResponse localVarResp = updateWebhookHeadersWithHttpInfo(webhookId, webhookHeaders); + return localVarResp.getData(); + } + + /** + * Update a webhook request headers + * + * @param webhookId (required) + * @param webhookHeaders (required) + * @return ApiResponse<WebhookDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse updateWebhookHeadersWithHttpInfo(UUID webhookId, WebhookHeaders webhookHeaders) throws ApiException { + okhttp3.Call localVarCall = updateWebhookHeadersValidateBeforeCall(webhookId, webhookHeaders, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update a webhook request headers (asynchronously) + * + * @param webhookId (required) + * @param webhookHeaders (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call updateWebhookHeadersAsync(UUID webhookId, WebhookHeaders webhookHeaders, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateWebhookHeadersValidateBeforeCall(webhookId, webhookHeaders, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for verifyWebhookSignature + * @param verifyWebhookSignatureOptions (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call verifyWebhookSignatureCall(VerifyWebhookSignatureOptions verifyWebhookSignatureOptions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = verifyWebhookSignatureOptions; + + // create path and map variables + String localVarPath = "/webhooks/verify"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "API_KEY" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call verifyWebhookSignatureValidateBeforeCall(VerifyWebhookSignatureOptions verifyWebhookSignatureOptions, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'verifyWebhookSignatureOptions' is set + if (verifyWebhookSignatureOptions == null) { + throw new ApiException("Missing the required parameter 'verifyWebhookSignatureOptions' when calling verifyWebhookSignature(Async)"); + } + + return verifyWebhookSignatureCall(verifyWebhookSignatureOptions, _callback); + + } + + /** + * Verify a webhook payload signature + * Verify a webhook payload using the messageId and signature. This allows you to be sure that MailSlurp sent the payload and not another server. + * @param verifyWebhookSignatureOptions (required) + * @return VerifyWebhookSignatureResults + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public VerifyWebhookSignatureResults verifyWebhookSignature(VerifyWebhookSignatureOptions verifyWebhookSignatureOptions) throws ApiException { + ApiResponse localVarResp = verifyWebhookSignatureWithHttpInfo(verifyWebhookSignatureOptions); + return localVarResp.getData(); + } + + /** + * Verify a webhook payload signature + * Verify a webhook payload using the messageId and signature. This allows you to be sure that MailSlurp sent the payload and not another server. + * @param verifyWebhookSignatureOptions (required) + * @return ApiResponse<VerifyWebhookSignatureResults> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public ApiResponse verifyWebhookSignatureWithHttpInfo(VerifyWebhookSignatureOptions verifyWebhookSignatureOptions) throws ApiException { + okhttp3.Call localVarCall = verifyWebhookSignatureValidateBeforeCall(verifyWebhookSignatureOptions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Verify a webhook payload signature (asynchronously) + * Verify a webhook payload using the messageId and signature. This allows you to be sure that MailSlurp sent the payload and not another server. + * @param verifyWebhookSignatureOptions (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + +
Status Code Description Response Headers
200 OK -
+ */ + public okhttp3.Call verifyWebhookSignatureAsync(VerifyWebhookSignatureOptions verifyWebhookSignatureOptions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = verifyWebhookSignatureValidateBeforeCall(verifyWebhookSignatureOptions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/mailslurp/clients/ApiCallback.java b/src/main/java/com/mailslurp/clients/ApiCallback.java new file mode 100644 index 000000000..6f8210606 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/ApiCallback.java @@ -0,0 +1,62 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients; + +import java.io.IOException; + +import java.util.Map; +import java.util.List; + +/** + * Callback for asynchronous API call. + * + * @param The return type + */ +public interface ApiCallback { + /** + * This is called when the API call fails. + * + * @param e The exception causing the failure + * @param statusCode Status code of the response if available, otherwise it would be 0 + * @param responseHeaders Headers of the response if available, otherwise it would be null + */ + void onFailure(ApiException e, int statusCode, Map> responseHeaders); + + /** + * This is called when the API call succeeded. + * + * @param result The result deserialized from response + * @param statusCode Status code of the response + * @param responseHeaders Headers of the response + */ + void onSuccess(T result, int statusCode, Map> responseHeaders); + + /** + * This is called when the API upload processing. + * + * @param bytesWritten bytes Written + * @param contentLength content length of request body + * @param done write end + */ + void onUploadProgress(long bytesWritten, long contentLength, boolean done); + + /** + * This is called when the API download processing. + * + * @param bytesRead bytes Read + * @param contentLength content length of the response + * @param done Read end + */ + void onDownloadProgress(long bytesRead, long contentLength, boolean done); +} diff --git a/src/main/java/com/mailslurp/clients/ApiClient.java b/src/main/java/com/mailslurp/clients/ApiClient.java new file mode 100644 index 000000000..835f58de4 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/ApiClient.java @@ -0,0 +1,1489 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients; + +import okhttp3.*; +import okhttp3.internal.http.HttpMethod; +import okhttp3.internal.tls.OkHostnameVerifier; +import okhttp3.logging.HttpLoggingInterceptor; +import okhttp3.logging.HttpLoggingInterceptor.Level; +import okio.Buffer; +import okio.BufferedSink; +import okio.Okio; + +import javax.net.ssl.*; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.io.UnsupportedEncodingException; +import java.lang.reflect.Type; +import java.net.URI; +import java.net.URLConnection; +import java.net.URLEncoder; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.security.GeneralSecurityException; +import java.security.KeyStore; +import java.security.SecureRandom; +import java.security.cert.Certificate; +import java.security.cert.CertificateException; +import java.security.cert.CertificateFactory; +import java.security.cert.X509Certificate; +import java.text.DateFormat; +import java.time.LocalDate; +import java.time.OffsetDateTime; +import java.time.format.DateTimeFormatter; +import java.util.*; +import java.util.Map.Entry; +import java.util.concurrent.TimeUnit; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +import com.mailslurp.clients.auth.Authentication; +import com.mailslurp.clients.auth.HttpBasicAuth; +import com.mailslurp.clients.auth.HttpBearerAuth; +import com.mailslurp.clients.auth.ApiKeyAuth; + +/** + *

ApiClient class.

+ */ +public class ApiClient { + + private String basePath = "https://java.api.mailslurp.com"; + private boolean debugging = false; + private Map defaultHeaderMap = new HashMap(); + private Map defaultCookieMap = new HashMap(); + private String tempFolderPath = null; + + private Map authentications; + + private DateFormat dateFormat; + private DateFormat datetimeFormat; + private boolean lenientDatetimeFormat; + private int dateLength; + + private InputStream sslCaCert; + private boolean verifyingSsl; + private KeyManager[] keyManagers; + + private OkHttpClient httpClient; + private JSON json; + + private HttpLoggingInterceptor loggingInterceptor; + + /** + * Basic constructor for ApiClient + */ + public ApiClient() { + init(); + initHttpClient(); + + // Setup authentications (key: authentication name, value: authentication). + authentications.put("API_KEY", new ApiKeyAuth("header", "x-api-key")); + // Prevent the authentications from being modified. + authentications = Collections.unmodifiableMap(authentications); + } + + /** + * Basic constructor with custom OkHttpClient + * + * @param client a {@link okhttp3.OkHttpClient} object + */ + public ApiClient(OkHttpClient client) { + init(); + + httpClient = client; + + // Setup authentications (key: authentication name, value: authentication). + authentications.put("API_KEY", new ApiKeyAuth("header", "x-api-key")); + // Prevent the authentications from being modified. + authentications = Collections.unmodifiableMap(authentications); + } + + private void initHttpClient() { + initHttpClient(Collections.emptyList()); + } + + private void initHttpClient(List interceptors) { + OkHttpClient.Builder builder = new OkHttpClient.Builder(); + builder.addNetworkInterceptor(getProgressInterceptor()); + for (Interceptor interceptor: interceptors) { + builder.addInterceptor(interceptor); + } + + httpClient = builder.build(); + } + + private void init() { + verifyingSsl = true; + + json = new JSON(); + + // Set default User-Agent. + setUserAgent("OpenAPI-Generator/15.17.17/java"); + + authentications = new HashMap(); + } + + /** + * Get base path + * + * @return Base path + */ + public String getBasePath() { + return basePath; + } + + /** + * Set base path + * + * @param basePath Base path of the URL (e.g https://java.api.mailslurp.com + * @return An instance of OkHttpClient + */ + public ApiClient setBasePath(String basePath) { + this.basePath = basePath; + return this; + } + + /** + * Get HTTP client + * + * @return An instance of OkHttpClient + */ + public OkHttpClient getHttpClient() { + return httpClient; + } + + /** + * Set HTTP client, which must never be null. + * + * @param newHttpClient An instance of OkHttpClient + * @return Api Client + * @throws java.lang.NullPointerException when newHttpClient is null + */ + public ApiClient setHttpClient(OkHttpClient newHttpClient) { + this.httpClient = Objects.requireNonNull(newHttpClient, "HttpClient must not be null!"); + return this; + } + + /** + * Get JSON + * + * @return JSON object + */ + public JSON getJSON() { + return json; + } + + /** + * Set JSON + * + * @param json JSON object + * @return Api client + */ + public ApiClient setJSON(JSON json) { + this.json = json; + return this; + } + + /** + * True if isVerifyingSsl flag is on + * + * @return True if isVerifySsl flag is on + */ + public boolean isVerifyingSsl() { + return verifyingSsl; + } + + /** + * Configure whether to verify certificate and hostname when making https requests. + * Default to true. + * NOTE: Do NOT set to false in production code, otherwise you would face multiple types of cryptographic attacks. + * + * @param verifyingSsl True to verify TLS/SSL connection + * @return ApiClient + */ + public ApiClient setVerifyingSsl(boolean verifyingSsl) { + this.verifyingSsl = verifyingSsl; + applySslSettings(); + return this; + } + + /** + * Get SSL CA cert. + * + * @return Input stream to the SSL CA cert + */ + public InputStream getSslCaCert() { + return sslCaCert; + } + + /** + * Configure the CA certificate to be trusted when making https requests. + * Use null to reset to default. + * + * @param sslCaCert input stream for SSL CA cert + * @return ApiClient + */ + public ApiClient setSslCaCert(InputStream sslCaCert) { + this.sslCaCert = sslCaCert; + applySslSettings(); + return this; + } + + /** + *

Getter for the field keyManagers.

+ * + * @return an array of {@link javax.net.ssl.KeyManager} objects + */ + public KeyManager[] getKeyManagers() { + return keyManagers; + } + + /** + * Configure client keys to use for authorization in an SSL session. + * Use null to reset to default. + * + * @param managers The KeyManagers to use + * @return ApiClient + */ + public ApiClient setKeyManagers(KeyManager[] managers) { + this.keyManagers = managers; + applySslSettings(); + return this; + } + + /** + *

Getter for the field dateFormat.

+ * + * @return a {@link java.text.DateFormat} object + */ + public DateFormat getDateFormat() { + return dateFormat; + } + + /** + *

Setter for the field dateFormat.

+ * + * @param dateFormat a {@link java.text.DateFormat} object + * @return a {@link com.mailslurp.clients.ApiClient} object + */ + public ApiClient setDateFormat(DateFormat dateFormat) { + JSON.setDateFormat(dateFormat); + return this; + } + + /** + *

Set SqlDateFormat.

+ * + * @param dateFormat a {@link java.text.DateFormat} object + * @return a {@link com.mailslurp.clients.ApiClient} object + */ + public ApiClient setSqlDateFormat(DateFormat dateFormat) { + JSON.setSqlDateFormat(dateFormat); + return this; + } + + /** + *

Set OffsetDateTimeFormat.

+ * + * @param dateFormat a {@link java.time.format.DateTimeFormatter} object + * @return a {@link com.mailslurp.clients.ApiClient} object + */ + public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { + JSON.setOffsetDateTimeFormat(dateFormat); + return this; + } + + /** + *

Set LocalDateFormat.

+ * + * @param dateFormat a {@link java.time.format.DateTimeFormatter} object + * @return a {@link com.mailslurp.clients.ApiClient} object + */ + public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) { + JSON.setLocalDateFormat(dateFormat); + return this; + } + + /** + *

Set LenientOnJson.

+ * + * @param lenientOnJson a boolean + * @return a {@link com.mailslurp.clients.ApiClient} object + */ + public ApiClient setLenientOnJson(boolean lenientOnJson) { + JSON.setLenientOnJson(lenientOnJson); + return this; + } + + /** + * Get authentications (key: authentication name, value: authentication). + * + * @return Map of authentication objects + */ + public Map getAuthentications() { + return authentications; + } + + /** + * Get authentication for the given name. + * + * @param authName The authentication name + * @return The authentication, null if not found + */ + public Authentication getAuthentication(String authName) { + return authentications.get(authName); + } + + + /** + * Helper method to set username for the first HTTP basic authentication. + * + * @param username Username + */ + public void setUsername(String username) { + for (Authentication auth : authentications.values()) { + if (auth instanceof HttpBasicAuth) { + ((HttpBasicAuth) auth).setUsername(username); + return; + } + } + throw new RuntimeException("No HTTP basic authentication configured!"); + } + + /** + * Helper method to set password for the first HTTP basic authentication. + * + * @param password Password + */ + public void setPassword(String password) { + for (Authentication auth : authentications.values()) { + if (auth instanceof HttpBasicAuth) { + ((HttpBasicAuth) auth).setPassword(password); + return; + } + } + throw new RuntimeException("No HTTP basic authentication configured!"); + } + + /** + * Helper method to set API key value for the first API key authentication. + * + * @param apiKey API key + */ + public void setApiKey(String apiKey) { + for (Authentication auth : authentications.values()) { + if (auth instanceof ApiKeyAuth) { + ((ApiKeyAuth) auth).setApiKey(apiKey); + return; + } + } + throw new RuntimeException("No API key authentication configured!"); + } + + /** + * Helper method to set API key prefix for the first API key authentication. + * + * @param apiKeyPrefix API key prefix + */ + public void setApiKeyPrefix(String apiKeyPrefix) { + for (Authentication auth : authentications.values()) { + if (auth instanceof ApiKeyAuth) { + ((ApiKeyAuth) auth).setApiKeyPrefix(apiKeyPrefix); + return; + } + } + throw new RuntimeException("No API key authentication configured!"); + } + + /** + * Helper method to set access token for the first OAuth2 authentication. + * + * @param accessToken Access token + */ + public void setAccessToken(String accessToken) { + throw new RuntimeException("No OAuth2 authentication configured!"); + } + + /** + * Set the User-Agent header's value (by adding to the default header map). + * + * @param userAgent HTTP request's user agent + * @return ApiClient + */ + public ApiClient setUserAgent(String userAgent) { + addDefaultHeader("User-Agent", userAgent); + return this; + } + + /** + * Add a default header. + * + * @param key The header's key + * @param value The header's value + * @return ApiClient + */ + public ApiClient addDefaultHeader(String key, String value) { + defaultHeaderMap.put(key, value); + return this; + } + + /** + * Add a default cookie. + * + * @param key The cookie's key + * @param value The cookie's value + * @return ApiClient + */ + public ApiClient addDefaultCookie(String key, String value) { + defaultCookieMap.put(key, value); + return this; + } + + /** + * Check that whether debugging is enabled for this API client. + * + * @return True if debugging is enabled, false otherwise. + */ + public boolean isDebugging() { + return debugging; + } + + /** + * Enable/disable debugging for this API client. + * + * @param debugging To enable (true) or disable (false) debugging + * @return ApiClient + */ + public ApiClient setDebugging(boolean debugging) { + if (debugging != this.debugging) { + if (debugging) { + loggingInterceptor = new HttpLoggingInterceptor(); + loggingInterceptor.setLevel(Level.BODY); + httpClient = httpClient.newBuilder().addInterceptor(loggingInterceptor).build(); + } else { + final OkHttpClient.Builder builder = httpClient.newBuilder(); + builder.interceptors().remove(loggingInterceptor); + httpClient = builder.build(); + loggingInterceptor = null; + } + } + this.debugging = debugging; + return this; + } + + /** + * The path of temporary folder used to store downloaded files from endpoints + * with file response. The default value is null, i.e. using + * the system's default temporary folder. + * + * @see createTempFile + * @return Temporary folder path + */ + public String getTempFolderPath() { + return tempFolderPath; + } + + /** + * Set the temporary folder path (for downloading files) + * + * @param tempFolderPath Temporary folder path + * @return ApiClient + */ + public ApiClient setTempFolderPath(String tempFolderPath) { + this.tempFolderPath = tempFolderPath; + return this; + } + + /** + * Get connection timeout (in milliseconds). + * + * @return Timeout in milliseconds + */ + public int getConnectTimeout() { + return httpClient.connectTimeoutMillis(); + } + + /** + * Sets the connect timeout (in milliseconds). + * A value of 0 means no timeout, otherwise values must be between 1 and + * {@link java.lang.Integer#MAX_VALUE}. + * + * @param connectionTimeout connection timeout in milliseconds + * @return Api client + */ + public ApiClient setConnectTimeout(int connectionTimeout) { + httpClient = httpClient.newBuilder().connectTimeout(connectionTimeout, TimeUnit.MILLISECONDS).build(); + return this; + } + + /** + * Get read timeout (in milliseconds). + * + * @return Timeout in milliseconds + */ + public int getReadTimeout() { + return httpClient.readTimeoutMillis(); + } + + /** + * Sets the read timeout (in milliseconds). + * A value of 0 means no timeout, otherwise values must be between 1 and + * {@link java.lang.Integer#MAX_VALUE}. + * + * @param readTimeout read timeout in milliseconds + * @return Api client + */ + public ApiClient setReadTimeout(int readTimeout) { + httpClient = httpClient.newBuilder().readTimeout(readTimeout, TimeUnit.MILLISECONDS).build(); + return this; + } + + /** + * Get write timeout (in milliseconds). + * + * @return Timeout in milliseconds + */ + public int getWriteTimeout() { + return httpClient.writeTimeoutMillis(); + } + + /** + * Sets the write timeout (in milliseconds). + * A value of 0 means no timeout, otherwise values must be between 1 and + * {@link java.lang.Integer#MAX_VALUE}. + * + * @param writeTimeout connection timeout in milliseconds + * @return Api client + */ + public ApiClient setWriteTimeout(int writeTimeout) { + httpClient = httpClient.newBuilder().writeTimeout(writeTimeout, TimeUnit.MILLISECONDS).build(); + return this; + } + + + /** + * Format the given parameter object into string. + * + * @param param Parameter + * @return String representation of the parameter + */ + public String parameterToString(Object param) { + if (param == null) { + return ""; + } else if (param instanceof Date || param instanceof OffsetDateTime || param instanceof LocalDate) { + //Serialize to json string and remove the " enclosing characters + String jsonStr = JSON.serialize(param); + return jsonStr.substring(1, jsonStr.length() - 1); + } else if (param instanceof Collection) { + StringBuilder b = new StringBuilder(); + for (Object o : (Collection) param) { + if (b.length() > 0) { + b.append(","); + } + b.append(o); + } + return b.toString(); + } else { + return String.valueOf(param); + } + } + + /** + * Formats the specified query parameter to a list containing a single {@code Pair} object. + * + * Note that {@code value} must not be a collection. + * + * @param name The name of the parameter. + * @param value The value of the parameter. + * @return A list containing a single {@code Pair} object. + */ + public List parameterToPair(String name, Object value) { + List params = new ArrayList(); + + // preconditions + if (name == null || name.isEmpty() || value == null || value instanceof Collection) { + return params; + } + + params.add(new Pair(name, parameterToString(value))); + return params; + } + + /** + * Formats the specified collection query parameters to a list of {@code Pair} objects. + * + * Note that the values of each of the returned Pair objects are percent-encoded. + * + * @param collectionFormat The collection format of the parameter. + * @param name The name of the parameter. + * @param value The value of the parameter. + * @return A list of {@code Pair} objects. + */ + public List parameterToPairs(String collectionFormat, String name, Collection value) { + List params = new ArrayList(); + + // preconditions + if (name == null || name.isEmpty() || value == null || value.isEmpty()) { + return params; + } + + // create the params based on the collection format + if ("multi".equals(collectionFormat)) { + for (Object item : value) { + params.add(new Pair(name, escapeString(parameterToString(item)))); + } + return params; + } + + // collectionFormat is assumed to be "csv" by default + String delimiter = ","; + + // escape all delimiters except commas, which are URI reserved + // characters + if ("ssv".equals(collectionFormat)) { + delimiter = escapeString(" "); + } else if ("tsv".equals(collectionFormat)) { + delimiter = escapeString("\t"); + } else if ("pipes".equals(collectionFormat)) { + delimiter = escapeString("|"); + } + + StringBuilder sb = new StringBuilder(); + for (Object item : value) { + sb.append(delimiter); + sb.append(escapeString(parameterToString(item))); + } + + params.add(new Pair(name, sb.substring(delimiter.length()))); + + return params; + } + + /** + * Formats the specified collection path parameter to a string value. + * + * @param collectionFormat The collection format of the parameter. + * @param value The value of the parameter. + * @return String representation of the parameter + */ + public String collectionPathParameterToString(String collectionFormat, Collection value) { + // create the value based on the collection format + if ("multi".equals(collectionFormat)) { + // not valid for path params + return parameterToString(value); + } + + // collectionFormat is assumed to be "csv" by default + String delimiter = ","; + + if ("ssv".equals(collectionFormat)) { + delimiter = " "; + } else if ("tsv".equals(collectionFormat)) { + delimiter = "\t"; + } else if ("pipes".equals(collectionFormat)) { + delimiter = "|"; + } + + StringBuilder sb = new StringBuilder() ; + for (Object item : value) { + sb.append(delimiter); + sb.append(parameterToString(item)); + } + + return sb.substring(delimiter.length()); + } + + /** + * Sanitize filename by removing path. + * e.g. ../../sun.gif becomes sun.gif + * + * @param filename The filename to be sanitized + * @return The sanitized filename + */ + public String sanitizeFilename(String filename) { + return filename.replaceAll(".*[/\\\\]", ""); + } + + /** + * Check if the given MIME is a JSON MIME. + * JSON MIME examples: + * application/json + * application/json; charset=UTF8 + * APPLICATION/JSON + * application/vnd.company+json + * "* / *" is also default to JSON + * @param mime MIME (Multipurpose Internet Mail Extensions) + * @return True if the given MIME is JSON, false otherwise. + */ + public boolean isJsonMime(String mime) { + String jsonMime = "(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"; + return mime != null && (mime.matches(jsonMime) || mime.equals("*/*")); + } + + /** + * Select the Accept header's value from the given accepts array: + * if JSON exists in the given array, use it; + * otherwise use all of them (joining into a string) + * + * @param accepts The accepts array to select from + * @return The Accept header to use. If the given array is empty, + * null will be returned (not to set the Accept header explicitly). + */ + public String selectHeaderAccept(String[] accepts) { + if (accepts.length == 0) { + return null; + } + for (String accept : accepts) { + if (isJsonMime(accept)) { + return accept; + } + } + return StringUtil.join(accepts, ","); + } + + /** + * Select the Content-Type header's value from the given array: + * if JSON exists in the given array, use it; + * otherwise use the first one of the array. + * + * @param contentTypes The Content-Type array to select from + * @return The Content-Type header to use. If the given array is empty, + * returns null. If it matches "any", JSON will be used. + */ + public String selectHeaderContentType(String[] contentTypes) { + if (contentTypes.length == 0) { + return null; + } + + if (contentTypes[0].equals("*/*")) { + return "application/json"; + } + + for (String contentType : contentTypes) { + if (isJsonMime(contentType)) { + return contentType; + } + } + + return contentTypes[0]; + } + + /** + * Escape the given string to be used as URL query value. + * + * @param str String to be escaped + * @return Escaped string + */ + public String escapeString(String str) { + try { + return URLEncoder.encode(str, "utf8").replaceAll("\\+", "%20"); + } catch (UnsupportedEncodingException e) { + return str; + } + } + + /** + * Deserialize response body to Java object, according to the return type and + * the Content-Type response header. + * + * @param Type + * @param response HTTP response + * @param returnType The type of the Java object + * @return The deserialized Java object + * @throws com.mailslurp.clients.ApiException If fail to deserialize response body, i.e. cannot read response body + * or the Content-Type of the response is not supported. + */ + @SuppressWarnings("unchecked") + public T deserialize(Response response, Type returnType) throws ApiException { + if (response == null || returnType == null) { + return null; + } + + if ("byte[]".equals(returnType.toString())) { + // Handle binary response (byte array). + try { + return (T) response.body().bytes(); + } catch (IOException e) { + throw new ApiException(e); + } + } else if (returnType.equals(File.class)) { + // Handle file downloading. + return (T) downloadFileFromResponse(response); + } + + String respBody; + try { + if (response.body() != null) + respBody = response.body().string(); + else + respBody = null; + } catch (IOException e) { + throw new ApiException(e); + } + + if (respBody == null || "".equals(respBody)) { + return null; + } + + String contentType = response.headers().get("Content-Type"); + if (contentType == null) { + // ensuring a default content type + contentType = "application/json"; + } + if (isJsonMime(contentType)) { + return JSON.deserialize(respBody, returnType); + } else if (returnType.equals(String.class)) { + // Expecting string, return the raw response body. + return (T) respBody; + } else { + throw new ApiException( + "Content type \"" + contentType + "\" is not supported for type: " + returnType, + response.code(), + response.headers().toMultimap(), + respBody); + } + } + + /** + * Serialize the given Java object into request body according to the object's + * class and the request Content-Type. + * + * @param obj The Java object + * @param contentType The request Content-Type + * @return The serialized request body + * @throws com.mailslurp.clients.ApiException If fail to serialize the given object + */ + public RequestBody serialize(Object obj, String contentType) throws ApiException { + if (obj instanceof byte[]) { + // Binary (byte array) body parameter support. + return RequestBody.create((byte[]) obj, MediaType.parse(contentType)); + } else if (obj instanceof File) { + // File body parameter support. + return RequestBody.create((File) obj, MediaType.parse(contentType)); + } else if ("text/plain".equals(contentType) && obj instanceof String) { + return RequestBody.create((String) obj, MediaType.parse(contentType)); + } else if (isJsonMime(contentType)) { + String content; + if (obj != null) { + content = JSON.serialize(obj); + } else { + content = null; + } + return RequestBody.create(content, MediaType.parse(contentType)); + } else if (obj instanceof String) { + return RequestBody.create((String) obj, MediaType.parse(contentType)); + } else { + throw new ApiException("Content type \"" + contentType + "\" is not supported"); + } + } + + /** + * Download file from the given response. + * + * @param response An instance of the Response object + * @throws com.mailslurp.clients.ApiException If fail to read file content from response and write to disk + * @return Downloaded file + */ + public File downloadFileFromResponse(Response response) throws ApiException { + try { + File file = prepareDownloadFile(response); + BufferedSink sink = Okio.buffer(Okio.sink(file)); + sink.writeAll(response.body().source()); + sink.close(); + return file; + } catch (IOException e) { + throw new ApiException(e); + } + } + + /** + * Prepare file for download + * + * @param response An instance of the Response object + * @return Prepared file for the download + * @throws java.io.IOException If fail to prepare file for download + */ + public File prepareDownloadFile(Response response) throws IOException { + String filename = null; + String contentDisposition = response.header("Content-Disposition"); + if (contentDisposition != null && !"".equals(contentDisposition)) { + // Get filename from the Content-Disposition header. + Pattern pattern = Pattern.compile("filename=['\"]?([^'\"\\s]+)['\"]?"); + Matcher matcher = pattern.matcher(contentDisposition); + if (matcher.find()) { + filename = sanitizeFilename(matcher.group(1)); + } + } + + String prefix = null; + String suffix = null; + if (filename == null) { + prefix = "download-"; + suffix = ""; + } else { + int pos = filename.lastIndexOf("."); + if (pos == -1) { + prefix = filename + "-"; + } else { + prefix = filename.substring(0, pos) + "-"; + suffix = filename.substring(pos); + } + // Files.createTempFile requires the prefix to be at least three characters long + if (prefix.length() < 3) + prefix = "download-"; + } + + if (tempFolderPath == null) + return Files.createTempFile(prefix, suffix).toFile(); + else + return Files.createTempFile(Paths.get(tempFolderPath), prefix, suffix).toFile(); + } + + /** + * {@link #execute(Call, Type)} + * + * @param Type + * @param call An instance of the Call object + * @return ApiResponse<T> + * @throws com.mailslurp.clients.ApiException If fail to execute the call + */ + public ApiResponse execute(Call call) throws ApiException { + return execute(call, null); + } + + /** + * Execute HTTP call and deserialize the HTTP response body into the given return type. + * + * @param returnType The return type used to deserialize HTTP response body + * @param The return type corresponding to (same with) returnType + * @param call Call + * @return ApiResponse object containing response status, headers and + * data, which is a Java object deserialized from response body and would be null + * when returnType is null. + * @throws com.mailslurp.clients.ApiException If fail to execute the call + */ + public ApiResponse execute(Call call, Type returnType) throws ApiException { + try { + Response response = call.execute(); + T data = handleResponse(response, returnType); + return new ApiResponse(response.code(), response.headers().toMultimap(), data); + } catch (IOException e) { + throw new ApiException(e); + } + } + + /** + * {@link #executeAsync(Call, Type, ApiCallback)} + * + * @param Type + * @param call An instance of the Call object + * @param callback ApiCallback<T> + */ + public void executeAsync(Call call, ApiCallback callback) { + executeAsync(call, null, callback); + } + + /** + * Execute HTTP call asynchronously. + * + * @param Type + * @param call The callback to be executed when the API call finishes + * @param returnType Return type + * @param callback ApiCallback + * @see #execute(Call, Type) + */ + @SuppressWarnings("unchecked") + public void executeAsync(Call call, final Type returnType, final ApiCallback callback) { + call.enqueue(new Callback() { + @Override + public void onFailure(Call call, IOException e) { + callback.onFailure(new ApiException(e), 0, null); + } + + @Override + public void onResponse(Call call, Response response) throws IOException { + T result; + try { + result = (T) handleResponse(response, returnType); + } catch (ApiException e) { + callback.onFailure(e, response.code(), response.headers().toMultimap()); + return; + } catch (Exception e) { + callback.onFailure(new ApiException(e), response.code(), response.headers().toMultimap()); + return; + } + callback.onSuccess(result, response.code(), response.headers().toMultimap()); + } + }); + } + + /** + * Handle the given response, return the deserialized object when the response is successful. + * + * @param Type + * @param response Response + * @param returnType Return type + * @return Type + * @throws com.mailslurp.clients.ApiException If the response has an unsuccessful status code or + * fail to deserialize the response body + */ + public T handleResponse(Response response, Type returnType) throws ApiException { + if (response.isSuccessful()) { + if (returnType == null || response.code() == 204) { + // returning null if the returnType is not defined, + // or the status code is 204 (No Content) + if (response.body() != null) { + try { + response.body().close(); + } catch (Exception e) { + throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); + } + } + return null; + } else { + return deserialize(response, returnType); + } + } else { + String respBody = null; + if (response.body() != null) { + try { + respBody = response.body().string(); + } catch (IOException e) { + throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); + } + } + throw new ApiException(response.message(), response.code(), response.headers().toMultimap(), respBody); + } + } + + /** + * Build HTTP call with the given options. + * + * @param baseUrl The base URL + * @param path The sub-path of the HTTP URL + * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" + * @param queryParams The query parameters + * @param collectionQueryParams The collection query parameters + * @param body The request body object + * @param headerParams The header parameters + * @param cookieParams The cookie parameters + * @param formParams The form parameters + * @param authNames The authentications to apply + * @param callback Callback for upload/download progress + * @return The HTTP call + * @throws com.mailslurp.clients.ApiException If fail to serialize the request body object + */ + public Call buildCall(String baseUrl, String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map cookieParams, Map formParams, String[] authNames, ApiCallback callback) throws ApiException { + Request request = buildRequest(baseUrl, path, method, queryParams, collectionQueryParams, body, headerParams, cookieParams, formParams, authNames, callback); + + return httpClient.newCall(request); + } + + /** + * Build an HTTP request with the given options. + * + * @param baseUrl The base URL + * @param path The sub-path of the HTTP URL + * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" + * @param queryParams The query parameters + * @param collectionQueryParams The collection query parameters + * @param body The request body object + * @param headerParams The header parameters + * @param cookieParams The cookie parameters + * @param formParams The form parameters + * @param authNames The authentications to apply + * @param callback Callback for upload/download progress + * @return The HTTP request + * @throws com.mailslurp.clients.ApiException If fail to serialize the request body object + */ + public Request buildRequest(String baseUrl, String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map cookieParams, Map formParams, String[] authNames, ApiCallback callback) throws ApiException { + // aggregate queryParams (non-collection) and collectionQueryParams into allQueryParams + List allQueryParams = new ArrayList(queryParams); + allQueryParams.addAll(collectionQueryParams); + + final String url = buildUrl(baseUrl, path, queryParams, collectionQueryParams); + + // prepare HTTP request body + RequestBody reqBody; + String contentType = headerParams.get("Content-Type"); + + if (!HttpMethod.permitsRequestBody(method)) { + reqBody = null; + } else if ("application/x-www-form-urlencoded".equals(contentType)) { + reqBody = buildRequestBodyFormEncoding(formParams); + } else if ("multipart/form-data".equals(contentType)) { + reqBody = buildRequestBodyMultipart(formParams); + } else if (body == null) { + if ("DELETE".equals(method)) { + // allow calling DELETE without sending a request body + reqBody = null; + } else { + // use an empty request body (for POST, PUT and PATCH) + reqBody = RequestBody.create("", contentType == null ? null : MediaType.parse(contentType)); + } + } else { + reqBody = serialize(body, contentType); + } + + // update parameters with authentication settings + updateParamsForAuth(authNames, allQueryParams, headerParams, cookieParams, requestBodyToString(reqBody), method, URI.create(url)); + + final Request.Builder reqBuilder = new Request.Builder().url(url); + processHeaderParams(headerParams, reqBuilder); + processCookieParams(cookieParams, reqBuilder); + + // Associate callback with request (if not null) so interceptor can + // access it when creating ProgressResponseBody + reqBuilder.tag(callback); + + Request request = null; + + if (callback != null && reqBody != null) { + ProgressRequestBody progressRequestBody = new ProgressRequestBody(reqBody, callback); + request = reqBuilder.method(method, progressRequestBody).build(); + } else { + request = reqBuilder.method(method, reqBody).build(); + } + + return request; + } + + /** + * Build full URL by concatenating base path, the given sub path and query parameters. + * + * @param baseUrl The base URL + * @param path The sub path + * @param queryParams The query parameters + * @param collectionQueryParams The collection query parameters + * @return The full URL + */ + public String buildUrl(String baseUrl, String path, List queryParams, List collectionQueryParams) { + final StringBuilder url = new StringBuilder(); + if (baseUrl != null) { + url.append(baseUrl).append(path); + } else { + url.append(basePath).append(path); + } + + if (queryParams != null && !queryParams.isEmpty()) { + // support (constant) query string in `path`, e.g. "/posts?draft=1" + String prefix = path.contains("?") ? "&" : "?"; + for (Pair param : queryParams) { + if (param.getValue() != null) { + if (prefix != null) { + url.append(prefix); + prefix = null; + } else { + url.append("&"); + } + String value = parameterToString(param.getValue()); + url.append(escapeString(param.getName())).append("=").append(escapeString(value)); + } + } + } + + if (collectionQueryParams != null && !collectionQueryParams.isEmpty()) { + String prefix = url.toString().contains("?") ? "&" : "?"; + for (Pair param : collectionQueryParams) { + if (param.getValue() != null) { + if (prefix != null) { + url.append(prefix); + prefix = null; + } else { + url.append("&"); + } + String value = parameterToString(param.getValue()); + // collection query parameter value already escaped as part of parameterToPairs + url.append(escapeString(param.getName())).append("=").append(value); + } + } + } + + return url.toString(); + } + + /** + * Set header parameters to the request builder, including default headers. + * + * @param headerParams Header parameters in the form of Map + * @param reqBuilder Request.Builder + */ + public void processHeaderParams(Map headerParams, Request.Builder reqBuilder) { + for (Entry param : headerParams.entrySet()) { + reqBuilder.header(param.getKey(), parameterToString(param.getValue())); + } + for (Entry header : defaultHeaderMap.entrySet()) { + if (!headerParams.containsKey(header.getKey())) { + reqBuilder.header(header.getKey(), parameterToString(header.getValue())); + } + } + } + + /** + * Set cookie parameters to the request builder, including default cookies. + * + * @param cookieParams Cookie parameters in the form of Map + * @param reqBuilder Request.Builder + */ + public void processCookieParams(Map cookieParams, Request.Builder reqBuilder) { + for (Entry param : cookieParams.entrySet()) { + reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue())); + } + for (Entry param : defaultCookieMap.entrySet()) { + if (!cookieParams.containsKey(param.getKey())) { + reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue())); + } + } + } + + /** + * Update query and header parameters based on authentication settings. + * + * @param authNames The authentications to apply + * @param queryParams List of query parameters + * @param headerParams Map of header parameters + * @param cookieParams Map of cookie parameters + * @param payload HTTP request body + * @param method HTTP method + * @param uri URI + * @throws com.mailslurp.clients.ApiException If fails to update the parameters + */ + public void updateParamsForAuth(String[] authNames, List queryParams, Map headerParams, + Map cookieParams, String payload, String method, URI uri) throws ApiException { + for (String authName : authNames) { + Authentication auth = authentications.get(authName); + if (auth == null) { + throw new RuntimeException("Authentication undefined: " + authName); + } + auth.applyToParams(queryParams, headerParams, cookieParams, payload, method, uri); + } + } + + /** + * Build a form-encoding request body with the given form parameters. + * + * @param formParams Form parameters in the form of Map + * @return RequestBody + */ + public RequestBody buildRequestBodyFormEncoding(Map formParams) { + okhttp3.FormBody.Builder formBuilder = new okhttp3.FormBody.Builder(); + for (Entry param : formParams.entrySet()) { + formBuilder.add(param.getKey(), parameterToString(param.getValue())); + } + return formBuilder.build(); + } + + /** + * Build a multipart (file uploading) request body with the given form parameters, + * which could contain text fields and file fields. + * + * @param formParams Form parameters in the form of Map + * @return RequestBody + */ + public RequestBody buildRequestBodyMultipart(Map formParams) { + MultipartBody.Builder mpBuilder = new MultipartBody.Builder().setType(MultipartBody.FORM); + for (Entry param : formParams.entrySet()) { + if (param.getValue() instanceof File) { + File file = (File) param.getValue(); + addPartToMultiPartBuilder(mpBuilder, param.getKey(), file); + } else if (param.getValue() instanceof List) { + List list = (List) param.getValue(); + for (Object item: list) { + if (item instanceof File) { + addPartToMultiPartBuilder(mpBuilder, param.getKey(), (File) item); + } else { + addPartToMultiPartBuilder(mpBuilder, param.getKey(), param.getValue()); + } + } + } else { + addPartToMultiPartBuilder(mpBuilder, param.getKey(), param.getValue()); + } + } + return mpBuilder.build(); + } + + /** + * Guess Content-Type header from the given file (defaults to "application/octet-stream"). + * + * @param file The given file + * @return The guessed Content-Type + */ + public String guessContentTypeFromFile(File file) { + String contentType = URLConnection.guessContentTypeFromName(file.getName()); + if (contentType == null) { + return "application/octet-stream"; + } else { + return contentType; + } + } + + /** + * Add a Content-Disposition Header for the given key and file to the MultipartBody Builder. + * + * @param mpBuilder MultipartBody.Builder + * @param key The key of the Header element + * @param file The file to add to the Header + */ + private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, File file) { + Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + key + "\"; filename=\"" + file.getName() + "\""); + MediaType mediaType = MediaType.parse(guessContentTypeFromFile(file)); + mpBuilder.addPart(partHeaders, RequestBody.create(file, mediaType)); + } + + /** + * Add a Content-Disposition Header for the given key and complex object to the MultipartBody Builder. + * + * @param mpBuilder MultipartBody.Builder + * @param key The key of the Header element + * @param obj The complex object to add to the Header + */ + private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, Object obj) { + RequestBody requestBody; + if (obj instanceof String) { + requestBody = RequestBody.create((String) obj, MediaType.parse("text/plain")); + } else { + String content; + if (obj != null) { + content = JSON.serialize(obj); + } else { + content = null; + } + requestBody = RequestBody.create(content, MediaType.parse("application/json")); + } + + Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + key + "\""); + mpBuilder.addPart(partHeaders, requestBody); + } + + /** + * Get network interceptor to add it to the httpClient to track download progress for + * async requests. + */ + private Interceptor getProgressInterceptor() { + return new Interceptor() { + @Override + public Response intercept(Interceptor.Chain chain) throws IOException { + final Request request = chain.request(); + final Response originalResponse = chain.proceed(request); + if (request.tag() instanceof ApiCallback) { + final ApiCallback callback = (ApiCallback) request.tag(); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), callback)) + .build(); + } + return originalResponse; + } + }; + } + + /** + * Apply SSL related settings to httpClient according to the current values of + * verifyingSsl and sslCaCert. + */ + private void applySslSettings() { + try { + TrustManager[] trustManagers; + HostnameVerifier hostnameVerifier; + if (!verifyingSsl) { + trustManagers = new TrustManager[]{ + new X509TrustManager() { + @Override + public void checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) throws CertificateException { + } + + @Override + public void checkServerTrusted(java.security.cert.X509Certificate[] chain, String authType) throws CertificateException { + } + + @Override + public java.security.cert.X509Certificate[] getAcceptedIssuers() { + return new java.security.cert.X509Certificate[]{}; + } + } + }; + hostnameVerifier = new HostnameVerifier() { + @Override + public boolean verify(String hostname, SSLSession session) { + return true; + } + }; + } else { + TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); + + if (sslCaCert == null) { + trustManagerFactory.init((KeyStore) null); + } else { + char[] password = null; // Any password will work. + CertificateFactory certificateFactory = CertificateFactory.getInstance("X.509"); + Collection certificates = certificateFactory.generateCertificates(sslCaCert); + if (certificates.isEmpty()) { + throw new IllegalArgumentException("expected non-empty set of trusted certificates"); + } + KeyStore caKeyStore = newEmptyKeyStore(password); + int index = 0; + for (Certificate certificate : certificates) { + String certificateAlias = "ca" + (index++); + caKeyStore.setCertificateEntry(certificateAlias, certificate); + } + trustManagerFactory.init(caKeyStore); + } + trustManagers = trustManagerFactory.getTrustManagers(); + hostnameVerifier = OkHostnameVerifier.INSTANCE; + } + + SSLContext sslContext = SSLContext.getInstance("TLS"); + sslContext.init(keyManagers, trustManagers, new SecureRandom()); + httpClient = httpClient.newBuilder() + .sslSocketFactory(sslContext.getSocketFactory(), (X509TrustManager) trustManagers[0]) + .hostnameVerifier(hostnameVerifier) + .build(); + } catch (GeneralSecurityException e) { + throw new RuntimeException(e); + } + } + + private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityException { + try { + KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); + keyStore.load(null, password); + return keyStore; + } catch (IOException e) { + throw new AssertionError(e); + } + } + + /** + * Convert the HTTP request body to a string. + * + * @param requestBody The HTTP request object + * @return The string representation of the HTTP request body + * @throws com.mailslurp.clients.ApiException If fail to serialize the request body object into a string + */ + private String requestBodyToString(RequestBody requestBody) throws ApiException { + if (requestBody != null) { + try { + final Buffer buffer = new Buffer(); + requestBody.writeTo(buffer); + return buffer.readUtf8(); + } catch (final IOException e) { + throw new ApiException(e); + } + } + + // empty http request body + return ""; + } +} diff --git a/src/main/java/com/mailslurp/clients/ApiException.java b/src/main/java/com/mailslurp/clients/ApiException.java new file mode 100644 index 000000000..0c490dfc8 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/ApiException.java @@ -0,0 +1,166 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients; + +import java.util.Map; +import java.util.List; + +import javax.ws.rs.core.GenericType; + +/** + *

ApiException class.

+ */ +@SuppressWarnings("serial") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ApiException extends Exception { + private int code = 0; + private Map> responseHeaders = null; + private String responseBody = null; + + /** + *

Constructor for ApiException.

+ */ + public ApiException() {} + + /** + *

Constructor for ApiException.

+ * + * @param throwable a {@link java.lang.Throwable} object + */ + public ApiException(Throwable throwable) { + super(throwable); + } + + /** + *

Constructor for ApiException.

+ * + * @param message the error message + */ + public ApiException(String message) { + super(message); + } + + /** + *

Constructor for ApiException.

+ * + * @param message the error message + * @param throwable a {@link java.lang.Throwable} object + * @param code HTTP status code + * @param responseHeaders a {@link java.util.Map} of HTTP response headers + * @param responseBody the response body + */ + public ApiException(String message, Throwable throwable, int code, Map> responseHeaders, String responseBody) { + super(message, throwable); + this.code = code; + this.responseHeaders = responseHeaders; + this.responseBody = responseBody; + } + + /** + *

Constructor for ApiException.

+ * + * @param message the error message + * @param code HTTP status code + * @param responseHeaders a {@link java.util.Map} of HTTP response headers + * @param responseBody the response body + */ + public ApiException(String message, int code, Map> responseHeaders, String responseBody) { + this(message, (Throwable) null, code, responseHeaders, responseBody); + } + + /** + *

Constructor for ApiException.

+ * + * @param message the error message + * @param throwable a {@link java.lang.Throwable} object + * @param code HTTP status code + * @param responseHeaders a {@link java.util.Map} of HTTP response headers + */ + public ApiException(String message, Throwable throwable, int code, Map> responseHeaders) { + this(message, throwable, code, responseHeaders, null); + } + + /** + *

Constructor for ApiException.

+ * + * @param code HTTP status code + * @param responseHeaders a {@link java.util.Map} of HTTP response headers + * @param responseBody the response body + */ + public ApiException(int code, Map> responseHeaders, String responseBody) { + this((String) null, (Throwable) null, code, responseHeaders, responseBody); + } + + /** + *

Constructor for ApiException.

+ * + * @param code HTTP status code + * @param message a {@link java.lang.String} object + */ + public ApiException(int code, String message) { + super(message); + this.code = code; + } + + /** + *

Constructor for ApiException.

+ * + * @param code HTTP status code + * @param message the error message + * @param responseHeaders a {@link java.util.Map} of HTTP response headers + * @param responseBody the response body + */ + public ApiException(int code, String message, Map> responseHeaders, String responseBody) { + this(code, message); + this.responseHeaders = responseHeaders; + this.responseBody = responseBody; + } + + /** + * Get the HTTP status code. + * + * @return HTTP status code + */ + public int getCode() { + return code; + } + + /** + * Get the HTTP response headers. + * + * @return A map of list of string + */ + public Map> getResponseHeaders() { + return responseHeaders; + } + + /** + * Get the HTTP response body. + * + * @return Response body in the form of string + */ + public String getResponseBody() { + return responseBody; + } + + /** + * Get the exception message including HTTP response data. + * + * @return The exception message + */ + public String getMessage() { + return String.format("Message: %s%nHTTP response code: %s%nHTTP response body: %s%nHTTP response headers: %s", + super.getMessage(), this.getCode(), this.getResponseBody(), this.getResponseHeaders()); + } +} diff --git a/src/main/java/com/mailslurp/clients/ApiResponse.java b/src/main/java/com/mailslurp/clients/ApiResponse.java new file mode 100644 index 000000000..1e10b3f63 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/ApiResponse.java @@ -0,0 +1,76 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients; + +import java.util.List; +import java.util.Map; + +/** + * API response returned by API call. + */ +public class ApiResponse { + final private int statusCode; + final private Map> headers; + final private T data; + + /** + *

Constructor for ApiResponse.

+ * + * @param statusCode The status code of HTTP response + * @param headers The headers of HTTP response + */ + public ApiResponse(int statusCode, Map> headers) { + this(statusCode, headers, null); + } + + /** + *

Constructor for ApiResponse.

+ * + * @param statusCode The status code of HTTP response + * @param headers The headers of HTTP response + * @param data The object deserialized from response bod + */ + public ApiResponse(int statusCode, Map> headers, T data) { + this.statusCode = statusCode; + this.headers = headers; + this.data = data; + } + + /** + *

Get the status code.

+ * + * @return the status code + */ + public int getStatusCode() { + return statusCode; + } + + /** + *

Get the headers.

+ * + * @return a {@link java.util.Map} of headers + */ + public Map> getHeaders() { + return headers; + } + + /** + *

Get the data.

+ * + * @return the data + */ + public T getData() { + return data; + } +} diff --git a/src/main/java/com/mailslurp/clients/Configuration.java b/src/main/java/com/mailslurp/clients/Configuration.java new file mode 100644 index 000000000..5ee90e71f --- /dev/null +++ b/src/main/java/com/mailslurp/clients/Configuration.java @@ -0,0 +1,39 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class Configuration { + private static ApiClient defaultApiClient = new ApiClient(); + + /** + * Get the default API client, which would be used when creating API + * instances without providing an API client. + * + * @return Default API client + */ + public static ApiClient getDefaultApiClient() { + return defaultApiClient; + } + + /** + * Set the default API client, which would be used when creating API + * instances without providing an API client. + * + * @param apiClient API client + */ + public static void setDefaultApiClient(ApiClient apiClient) { + defaultApiClient = apiClient; + } +} diff --git a/src/main/java/com/mailslurp/clients/GzipRequestInterceptor.java b/src/main/java/com/mailslurp/clients/GzipRequestInterceptor.java new file mode 100644 index 000000000..42214c6b5 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/GzipRequestInterceptor.java @@ -0,0 +1,85 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients; + +import okhttp3.*; +import okio.Buffer; +import okio.BufferedSink; +import okio.GzipSink; +import okio.Okio; + +import java.io.IOException; + +/** + * Encodes request bodies using gzip. + * + * Taken from https://github.com/square/okhttp/issues/350 + */ +class GzipRequestInterceptor implements Interceptor { + @Override + public Response intercept(Chain chain) throws IOException { + Request originalRequest = chain.request(); + if (originalRequest.body() == null || originalRequest.header("Content-Encoding") != null) { + return chain.proceed(originalRequest); + } + + Request compressedRequest = originalRequest.newBuilder() + .header("Content-Encoding", "gzip") + .method(originalRequest.method(), forceContentLength(gzip(originalRequest.body()))) + .build(); + return chain.proceed(compressedRequest); + } + + private RequestBody forceContentLength(final RequestBody requestBody) throws IOException { + final Buffer buffer = new Buffer(); + requestBody.writeTo(buffer); + return new RequestBody() { + @Override + public MediaType contentType() { + return requestBody.contentType(); + } + + @Override + public long contentLength() { + return buffer.size(); + } + + @Override + public void writeTo(BufferedSink sink) throws IOException { + sink.write(buffer.snapshot()); + } + }; + } + + private RequestBody gzip(final RequestBody body) { + return new RequestBody() { + @Override + public MediaType contentType() { + return body.contentType(); + } + + @Override + public long contentLength() { + return -1; // We don't know the compressed length in advance! + } + + @Override + public void writeTo(BufferedSink sink) throws IOException { + BufferedSink gzipSink = Okio.buffer(new GzipSink(sink)); + body.writeTo(gzipSink); + gzipSink.close(); + } + }; + } +} diff --git a/src/main/java/com/mailslurp/clients/JSON.java b/src/main/java/com/mailslurp/clients/JSON.java new file mode 100644 index 000000000..a3eaa1a64 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/JSON.java @@ -0,0 +1,616 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapter; +import com.google.gson.internal.bind.util.ISO8601Utils; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.google.gson.JsonElement; +import io.gsonfire.GsonFireBuilder; +import io.gsonfire.TypeSelector; + +import okio.ByteString; + +import java.io.IOException; +import java.io.StringReader; +import java.lang.reflect.Type; +import java.text.DateFormat; +import java.text.ParseException; +import java.text.ParsePosition; +import java.time.LocalDate; +import java.time.OffsetDateTime; +import java.time.format.DateTimeFormatter; +import java.util.Date; +import java.util.Locale; +import java.util.Map; +import java.util.HashMap; + +/* + * A JSON utility class + * + * NOTE: in the future, this class may be converted to static, which may break + * backward-compatibility + */ +public class JSON { + private static Gson gson; + private static boolean isLenientOnJson = false; + private static DateTypeAdapter dateTypeAdapter = new DateTypeAdapter(); + private static SqlDateTypeAdapter sqlDateTypeAdapter = new SqlDateTypeAdapter(); + private static OffsetDateTimeTypeAdapter offsetDateTimeTypeAdapter = new OffsetDateTimeTypeAdapter(); + private static LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter(); + private static ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter(); + + @SuppressWarnings("unchecked") + public static GsonBuilder createGson() { + GsonFireBuilder fireBuilder = new GsonFireBuilder() + ; + GsonBuilder builder = fireBuilder.createGsonBuilder(); + return builder; + } + + private static String getDiscriminatorValue(JsonElement readElement, String discriminatorField) { + JsonElement element = readElement.getAsJsonObject().get(discriminatorField); + if (null == element) { + throw new IllegalArgumentException("missing discriminator field: <" + discriminatorField + ">"); + } + return element.getAsString(); + } + + /** + * Returns the Java class that implements the OpenAPI schema for the specified discriminator value. + * + * @param classByDiscriminatorValue The map of discriminator values to Java classes. + * @param discriminatorValue The value of the OpenAPI discriminator in the input data. + * @return The Java class that implements the OpenAPI schema + */ + private static Class getClassByDiscriminator(Map classByDiscriminatorValue, String discriminatorValue) { + Class clazz = (Class) classByDiscriminatorValue.get(discriminatorValue); + if (null == clazz) { + throw new IllegalArgumentException("cannot determine model class of name: <" + discriminatorValue + ">"); + } + return clazz; + } + + { + GsonBuilder gsonBuilder = createGson(); + gsonBuilder.registerTypeAdapter(Date.class, dateTypeAdapter); + gsonBuilder.registerTypeAdapter(java.sql.Date.class, sqlDateTypeAdapter); + gsonBuilder.registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter); + gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter); + gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.AbstractWebhookPayload.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.AliasDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.AliasProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.AttachmentEntity.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.AttachmentMetaData.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.AttachmentProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.BasicAuthOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.BounceProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.BounceRecipientProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.BouncedEmailDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.BouncedRecipientDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.BulkSendEmailOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.Complaint.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ConditionOption.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ConnectorDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ConnectorProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ConnectorSyncEventDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ConnectorSyncEventProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ConnectorSyncRequestResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ConnectorSyncRequestResultException.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ConnectorSyncRequestResultExceptionCause.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ConnectorSyncResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ContactDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ContactProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ContentMatchOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CountDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateAliasOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateConnectorImapOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateConnectorOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateContactOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateDomainOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateEmergencyAddressOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateGroupOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateInboxDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateInboxForwarderOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateInboxReplierOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateInboxRulesetOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateTemplateOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateTrackingPixelOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.CreateWebhookOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.DNSLookupOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.DNSLookupResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.DNSLookupResults.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.DeliveryStatusDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.DescribeDomainOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.DescribeMailServerDomainResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.DomainDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.DomainIssuesDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.DomainNameRecord.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.DomainPreview.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.DownloadAttachmentDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.Email.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmailAnalysis.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmailContentMatchResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmailHtmlDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmailLinksResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmailPreview.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmailPreviewUrls.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmailProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmailRecipients.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmailTextLinesResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmailValidationRequestDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmailVerificationResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmergencyAddress.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmergencyAddressDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.EmptyResponseDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ExpirationDefaults.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ExpiredInboxDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ExpiredInboxRecordProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ExportLink.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ExportOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.FilterBouncedRecipientsOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.FilterBouncedRecipientsResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.FlushExpiredInboxesResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ForwardEmailOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.GravatarUrl.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.GroupContactsDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.GroupDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.GroupProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.HTMLValidationResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.IPAddressResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ImapFlagOperationOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ImapSmtpAccessDetails.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxByEmailAddressResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxByNameResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxExistsDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxForwarderDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxForwarderEventProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxForwarderTestOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxForwarderTestResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxIdItem.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxIdsResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxPreview.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxReplierDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxReplierEventProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxRulesetDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxRulesetTestOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.InboxRulesetTestResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.JSONSchemaDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ListUnsubscribeRecipientProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.MatchOption.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.MatchOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.MissedEmailDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.MissedEmailProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.NameServerRecord.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.OrganizationInboxProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageAlias.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageAttachmentEntity.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageBouncedEmail.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageBouncedRecipients.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageComplaint.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageConnector.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageConnectorSyncEvents.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageContactProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageDeliveryStatus.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageEmailPreview.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageEmailProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageEmailValidationRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageExpiredInboxRecordProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageGroupProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageInboxForwarderDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageInboxForwarderEvents.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageInboxProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageInboxReplierDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageInboxReplierEvents.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageInboxRulesetDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageListUnsubscribeRecipients.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageMissedEmailProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageOrganizationInboxProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PagePhoneNumberProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageScheduledJobs.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageSentEmailProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageSentEmailWithQueueProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageSmsProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageTemplateProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageThreadProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageTrackingPixelProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageUnknownMissedEmailProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageWebhookProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageWebhookResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PageableObject.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PhoneNumberDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PhoneNumberProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.PhonePlanDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.RawEmailJson.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.Recipient.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ReplyToAliasEmailOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ReplyToEmailOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ScheduledJob.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ScheduledJobDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.SendEmailOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.SendSMTPEnvelopeOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.SendWithQueueResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.Sender.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.SentEmailDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.SentEmailProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.SetInboxFavouritedOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.SimpleSendEmailOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.SmsDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.SmsMatchOption.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.SmsPreview.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.SmsProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.Sort.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.TemplateDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.TemplatePreview.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.TemplateProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.TemplateVariable.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.TestNewInboxForwarderOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.TestNewInboxRulesetOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.TestPhoneNumberOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ThreadProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.TrackingPixelDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.TrackingPixelProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UnknownMissedEmailProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UnreadCount.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UnseenErrorCountDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UpdateAliasOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UpdateDomainOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UpdateGroupContacts.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UpdateInboxOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UpdateInboxReplierOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UploadAttachmentBytesRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UploadAttachmentOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UploadMultipartFormRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.UserInfoDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ValidateEmailAddressListOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ValidateEmailAddressListResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ValidationDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.ValidationMessage.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.VerifyEmailAddressOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.VerifyWebhookSignatureOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.VerifyWebhookSignatureResults.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WaitForConditions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WaitForSingleSmsOptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WaitForSmsConditions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookBouncePayload.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookBounceRecipientPayload.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookDeliveryStatusPayload.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookEmailOpenedPayload.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookEmailReadPayload.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookHeaderNameValue.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookHeaders.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookNewAttachmentPayload.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookNewContactPayload.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookNewEmailPayload.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookNewSmsPayload.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookProjection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookRedriveResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookResultDto.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookTestRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookTestResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.mailslurp.models.WebhookTestResult.CustomTypeAdapterFactory()); + gson = gsonBuilder.create(); + } + + /** + * Get Gson. + * + * @return Gson + */ + public static Gson getGson() { + return gson; + } + + /** + * Set Gson. + * + * @param gson Gson + */ + public static void setGson(Gson gson) { + JSON.gson = gson; + } + + public static void setLenientOnJson(boolean lenientOnJson) { + isLenientOnJson = lenientOnJson; + } + + /** + * Serialize the given Java object into JSON string. + * + * @param obj Object + * @return String representation of the JSON + */ + public static String serialize(Object obj) { + return gson.toJson(obj); + } + + /** + * Deserialize the given JSON string to Java object. + * + * @param Type + * @param body The JSON string + * @param returnType The type to deserialize into + * @return The deserialized Java object + */ + @SuppressWarnings("unchecked") + public static T deserialize(String body, Type returnType) { + try { + if (isLenientOnJson) { + JsonReader jsonReader = new JsonReader(new StringReader(body)); + // see https://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/stream/JsonReader.html#setLenient(boolean) + jsonReader.setLenient(true); + return gson.fromJson(jsonReader, returnType); + } else { + return gson.fromJson(body, returnType); + } + } catch (JsonParseException e) { + // Fallback processing when failed to parse JSON form response body: + // return the response body string directly for the String return type; + if (returnType.equals(String.class)) { + return (T) body; + } else { + throw (e); + } + } + } + + /** + * Gson TypeAdapter for Byte Array type + */ + public static class ByteArrayAdapter extends TypeAdapter { + + @Override + public void write(JsonWriter out, byte[] value) throws IOException { + if (value == null) { + out.nullValue(); + } else { + out.value(ByteString.of(value).base64()); + } + } + + @Override + public byte[] read(JsonReader in) throws IOException { + switch (in.peek()) { + case NULL: + in.nextNull(); + return null; + default: + String bytesAsBase64 = in.nextString(); + ByteString byteString = ByteString.decodeBase64(bytesAsBase64); + return byteString.toByteArray(); + } + } + } + + /** + * Gson TypeAdapter for JSR310 OffsetDateTime type + */ + public static class OffsetDateTimeTypeAdapter extends TypeAdapter { + + private DateTimeFormatter formatter; + + public OffsetDateTimeTypeAdapter() { + this(DateTimeFormatter.ISO_OFFSET_DATE_TIME); + } + + public OffsetDateTimeTypeAdapter(DateTimeFormatter formatter) { + this.formatter = formatter; + } + + public void setFormat(DateTimeFormatter dateFormat) { + this.formatter = dateFormat; + } + + @Override + public void write(JsonWriter out, OffsetDateTime date) throws IOException { + if (date == null) { + out.nullValue(); + } else { + out.value(formatter.format(date)); + } + } + + @Override + public OffsetDateTime read(JsonReader in) throws IOException { + switch (in.peek()) { + case NULL: + in.nextNull(); + return null; + default: + String date = in.nextString(); + if (date.endsWith("+0000")) { + date = date.substring(0, date.length()-5) + "Z"; + } + return OffsetDateTime.parse(date, formatter); + } + } + } + + /** + * Gson TypeAdapter for JSR310 LocalDate type + */ + public static class LocalDateTypeAdapter extends TypeAdapter { + + private DateTimeFormatter formatter; + + public LocalDateTypeAdapter() { + this(DateTimeFormatter.ISO_LOCAL_DATE); + } + + public LocalDateTypeAdapter(DateTimeFormatter formatter) { + this.formatter = formatter; + } + + public void setFormat(DateTimeFormatter dateFormat) { + this.formatter = dateFormat; + } + + @Override + public void write(JsonWriter out, LocalDate date) throws IOException { + if (date == null) { + out.nullValue(); + } else { + out.value(formatter.format(date)); + } + } + + @Override + public LocalDate read(JsonReader in) throws IOException { + switch (in.peek()) { + case NULL: + in.nextNull(); + return null; + default: + String date = in.nextString(); + return LocalDate.parse(date, formatter); + } + } + } + + public static void setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { + offsetDateTimeTypeAdapter.setFormat(dateFormat); + } + + public static void setLocalDateFormat(DateTimeFormatter dateFormat) { + localDateTypeAdapter.setFormat(dateFormat); + } + + /** + * Gson TypeAdapter for java.sql.Date type + * If the dateFormat is null, a simple "yyyy-MM-dd" format will be used + * (more efficient than SimpleDateFormat). + */ + public static class SqlDateTypeAdapter extends TypeAdapter { + + private DateFormat dateFormat; + + public SqlDateTypeAdapter() {} + + public SqlDateTypeAdapter(DateFormat dateFormat) { + this.dateFormat = dateFormat; + } + + public void setFormat(DateFormat dateFormat) { + this.dateFormat = dateFormat; + } + + @Override + public void write(JsonWriter out, java.sql.Date date) throws IOException { + if (date == null) { + out.nullValue(); + } else { + String value; + if (dateFormat != null) { + value = dateFormat.format(date); + } else { + value = date.toString(); + } + out.value(value); + } + } + + @Override + public java.sql.Date read(JsonReader in) throws IOException { + switch (in.peek()) { + case NULL: + in.nextNull(); + return null; + default: + String date = in.nextString(); + try { + if (dateFormat != null) { + return new java.sql.Date(dateFormat.parse(date).getTime()); + } + return new java.sql.Date(ISO8601Utils.parse(date, new ParsePosition(0)).getTime()); + } catch (ParseException e) { + throw new JsonParseException(e); + } + } + } + } + + /** + * Gson TypeAdapter for java.util.Date type + * If the dateFormat is null, ISO8601Utils will be used. + */ + public static class DateTypeAdapter extends TypeAdapter { + + private DateFormat dateFormat; + + public DateTypeAdapter() {} + + public DateTypeAdapter(DateFormat dateFormat) { + this.dateFormat = dateFormat; + } + + public void setFormat(DateFormat dateFormat) { + this.dateFormat = dateFormat; + } + + @Override + public void write(JsonWriter out, Date date) throws IOException { + if (date == null) { + out.nullValue(); + } else { + String value; + if (dateFormat != null) { + value = dateFormat.format(date); + } else { + value = ISO8601Utils.format(date, true); + } + out.value(value); + } + } + + @Override + public Date read(JsonReader in) throws IOException { + try { + switch (in.peek()) { + case NULL: + in.nextNull(); + return null; + default: + String date = in.nextString(); + try { + if (dateFormat != null) { + return dateFormat.parse(date); + } + return ISO8601Utils.parse(date, new ParsePosition(0)); + } catch (ParseException e) { + throw new JsonParseException(e); + } + } + } catch (IllegalArgumentException e) { + throw new JsonParseException(e); + } + } + } + + public static void setDateFormat(DateFormat dateFormat) { + dateTypeAdapter.setFormat(dateFormat); + } + + public static void setSqlDateFormat(DateFormat dateFormat) { + sqlDateTypeAdapter.setFormat(dateFormat); + } +} diff --git a/src/main/java/com/mailslurp/clients/Pair.java b/src/main/java/com/mailslurp/clients/Pair.java new file mode 100644 index 000000000..0235d8f01 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/Pair.java @@ -0,0 +1,57 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class Pair { + private String name = ""; + private String value = ""; + + public Pair (String name, String value) { + setName(name); + setValue(value); + } + + private void setName(String name) { + if (!isValidString(name)) { + return; + } + + this.name = name; + } + + private void setValue(String value) { + if (!isValidString(value)) { + return; + } + + this.value = value; + } + + public String getName() { + return this.name; + } + + public String getValue() { + return this.value; + } + + private boolean isValidString(String arg) { + if (arg == null) { + return false; + } + + return true; + } +} diff --git a/src/main/java/com/mailslurp/clients/ProgressRequestBody.java b/src/main/java/com/mailslurp/clients/ProgressRequestBody.java new file mode 100644 index 000000000..c2faa1e6e --- /dev/null +++ b/src/main/java/com/mailslurp/clients/ProgressRequestBody.java @@ -0,0 +1,73 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients; + +import okhttp3.MediaType; +import okhttp3.RequestBody; + +import java.io.IOException; + +import okio.Buffer; +import okio.BufferedSink; +import okio.ForwardingSink; +import okio.Okio; +import okio.Sink; + +public class ProgressRequestBody extends RequestBody { + + private final RequestBody requestBody; + + private final ApiCallback callback; + + public ProgressRequestBody(RequestBody requestBody, ApiCallback callback) { + this.requestBody = requestBody; + this.callback = callback; + } + + @Override + public MediaType contentType() { + return requestBody.contentType(); + } + + @Override + public long contentLength() throws IOException { + return requestBody.contentLength(); + } + + @Override + public void writeTo(BufferedSink sink) throws IOException { + BufferedSink bufferedSink = Okio.buffer(sink(sink)); + requestBody.writeTo(bufferedSink); + bufferedSink.flush(); + } + + private Sink sink(Sink sink) { + return new ForwardingSink(sink) { + + long bytesWritten = 0L; + long contentLength = 0L; + + @Override + public void write(Buffer source, long byteCount) throws IOException { + super.write(source, byteCount); + if (contentLength == 0) { + contentLength = contentLength(); + } + + bytesWritten += byteCount; + callback.onUploadProgress(bytesWritten, contentLength, bytesWritten == contentLength); + } + }; + } +} diff --git a/src/main/java/com/mailslurp/clients/ProgressResponseBody.java b/src/main/java/com/mailslurp/clients/ProgressResponseBody.java new file mode 100644 index 000000000..4c1c017c1 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/ProgressResponseBody.java @@ -0,0 +1,70 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients; + +import okhttp3.MediaType; +import okhttp3.ResponseBody; + +import java.io.IOException; + +import okio.Buffer; +import okio.BufferedSource; +import okio.ForwardingSource; +import okio.Okio; +import okio.Source; + +public class ProgressResponseBody extends ResponseBody { + + private final ResponseBody responseBody; + private final ApiCallback callback; + private BufferedSource bufferedSource; + + public ProgressResponseBody(ResponseBody responseBody, ApiCallback callback) { + this.responseBody = responseBody; + this.callback = callback; + } + + @Override + public MediaType contentType() { + return responseBody.contentType(); + } + + @Override + public long contentLength() { + return responseBody.contentLength(); + } + + @Override + public BufferedSource source() { + if (bufferedSource == null) { + bufferedSource = Okio.buffer(source(responseBody.source())); + } + return bufferedSource; + } + + private Source source(Source source) { + return new ForwardingSource(source) { + long totalBytesRead = 0L; + + @Override + public long read(Buffer sink, long byteCount) throws IOException { + long bytesRead = super.read(sink, byteCount); + // read() returns the number of bytes read, or -1 if this source is exhausted. + totalBytesRead += bytesRead != -1 ? bytesRead : 0; + callback.onDownloadProgress(totalBytesRead, responseBody.contentLength(), bytesRead == -1); + return bytesRead; + } + }; + } +} diff --git a/src/main/java/com/mailslurp/clients/ServerConfiguration.java b/src/main/java/com/mailslurp/clients/ServerConfiguration.java new file mode 100644 index 000000000..0cf8e6379 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/ServerConfiguration.java @@ -0,0 +1,58 @@ +package com.mailslurp.clients; + +import java.util.Map; + +/** + * Representing a Server configuration. + */ +public class ServerConfiguration { + public String URL; + public String description; + public Map variables; + + /** + * @param URL A URL to the target host. + * @param description A description of the host designated by the URL. + * @param variables A map between a variable name and its value. The value is used for substitution in the server's URL template. + */ + public ServerConfiguration(String URL, String description, Map variables) { + this.URL = URL; + this.description = description; + this.variables = variables; + } + + /** + * Format URL template using given variables. + * + * @param variables A map between a variable name and its value. + * @return Formatted URL. + */ + public String URL(Map variables) { + String url = this.URL; + + // go through variables and replace placeholders + for (Map.Entry variable: this.variables.entrySet()) { + String name = variable.getKey(); + ServerVariable serverVariable = variable.getValue(); + String value = serverVariable.defaultValue; + + if (variables != null && variables.containsKey(name)) { + value = variables.get(name); + if (serverVariable.enumValues.size() > 0 && !serverVariable.enumValues.contains(value)) { + throw new IllegalArgumentException("The variable " + name + " in the server URL has invalid value " + value + "."); + } + } + url = url.replace("{" + name + "}", value); + } + return url; + } + + /** + * Format URL template using default server variables. + * + * @return Formatted URL. + */ + public String URL() { + return URL(null); + } +} diff --git a/src/main/java/com/mailslurp/clients/ServerVariable.java b/src/main/java/com/mailslurp/clients/ServerVariable.java new file mode 100644 index 000000000..a56584596 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/ServerVariable.java @@ -0,0 +1,23 @@ +package com.mailslurp.clients; + +import java.util.HashSet; + +/** + * Representing a Server Variable for server URL template substitution. + */ +public class ServerVariable { + public String description; + public String defaultValue; + public HashSet enumValues = null; + + /** + * @param description A description for the server variable. + * @param defaultValue The default value to use for substitution. + * @param enumValues An enumeration of string values to be used if the substitution options are from a limited set. + */ + public ServerVariable(String description, String defaultValue, HashSet enumValues) { + this.description = description; + this.defaultValue = defaultValue; + this.enumValues = enumValues; + } +} diff --git a/src/main/java/com/mailslurp/clients/StringUtil.java b/src/main/java/com/mailslurp/clients/StringUtil.java new file mode 100644 index 000000000..fe002f6c5 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/StringUtil.java @@ -0,0 +1,83 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients; + +import java.util.Collection; +import java.util.Iterator; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class StringUtil { + /** + * Check if the given array contains the given value (with case-insensitive comparison). + * + * @param array The array + * @param value The value to search + * @return true if the array contains the value + */ + public static boolean containsIgnoreCase(String[] array, String value) { + for (String str : array) { + if (value == null && str == null) { + return true; + } + if (value != null && value.equalsIgnoreCase(str)) { + return true; + } + } + return false; + } + + /** + * Join an array of strings with the given separator. + *

+ * Note: This might be replaced by utility method from commons-lang or guava someday + * if one of those libraries is added as dependency. + *

+ * + * @param array The array of strings + * @param separator The separator + * @return the resulting string + */ + public static String join(String[] array, String separator) { + int len = array.length; + if (len == 0) { + return ""; + } + + StringBuilder out = new StringBuilder(); + out.append(array[0]); + for (int i = 1; i < len; i++) { + out.append(separator).append(array[i]); + } + return out.toString(); + } + + /** + * Join a list of strings with the given separator. + * + * @param list The list of strings + * @param separator The separator + * @return the resulting string + */ + public static String join(Collection list, String separator) { + Iterator iterator = list.iterator(); + StringBuilder out = new StringBuilder(); + if (iterator.hasNext()) { + out.append(iterator.next()); + } + while (iterator.hasNext()) { + out.append(separator).append(iterator.next()); + } + return out.toString(); + } +} diff --git a/src/main/java/com/mailslurp/clients/auth/ApiKeyAuth.java b/src/main/java/com/mailslurp/clients/auth/ApiKeyAuth.java new file mode 100644 index 000000000..a68f4e435 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/auth/ApiKeyAuth.java @@ -0,0 +1,80 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients.auth; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Pair; + +import java.net.URI; +import java.util.Map; +import java.util.List; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ApiKeyAuth implements Authentication { + private final String location; + private final String paramName; + + private String apiKey; + private String apiKeyPrefix; + + public ApiKeyAuth(String location, String paramName) { + this.location = location; + this.paramName = paramName; + } + + public String getLocation() { + return location; + } + + public String getParamName() { + return paramName; + } + + public String getApiKey() { + return apiKey; + } + + public void setApiKey(String apiKey) { + this.apiKey = apiKey; + } + + public String getApiKeyPrefix() { + return apiKeyPrefix; + } + + public void setApiKeyPrefix(String apiKeyPrefix) { + this.apiKeyPrefix = apiKeyPrefix; + } + + @Override + public void applyToParams(List queryParams, Map headerParams, Map cookieParams, + String payload, String method, URI uri) throws ApiException { + if (apiKey == null) { + return; + } + String value; + if (apiKeyPrefix != null) { + value = apiKeyPrefix + " " + apiKey; + } else { + value = apiKey; + } + if ("query".equals(location)) { + queryParams.add(new Pair(paramName, value)); + } else if ("header".equals(location)) { + headerParams.put(paramName, value); + } else if ("cookie".equals(location)) { + cookieParams.put(paramName, value); + } + } +} diff --git a/src/main/java/com/mailslurp/clients/auth/Authentication.java b/src/main/java/com/mailslurp/clients/auth/Authentication.java new file mode 100644 index 000000000..c82c58d29 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/auth/Authentication.java @@ -0,0 +1,36 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients.auth; + +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ApiException; + +import java.net.URI; +import java.util.Map; +import java.util.List; + +public interface Authentication { + /** + * Apply authentication settings to header and query params. + * + * @param queryParams List of query parameters + * @param headerParams Map of header parameters + * @param cookieParams Map of cookie parameters + * @param payload HTTP request body + * @param method HTTP method + * @param uri URI + * @throws ApiException if failed to update the parameters + */ + void applyToParams(List queryParams, Map headerParams, Map cookieParams, String payload, String method, URI uri) throws ApiException; +} diff --git a/src/main/java/com/mailslurp/clients/auth/HttpBasicAuth.java b/src/main/java/com/mailslurp/clients/auth/HttpBasicAuth.java new file mode 100644 index 000000000..858ba5d32 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/auth/HttpBasicAuth.java @@ -0,0 +1,57 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients.auth; + +import com.mailslurp.clients.Pair; +import com.mailslurp.clients.ApiException; + +import okhttp3.Credentials; + +import java.net.URI; +import java.util.Map; +import java.util.List; + +import java.io.UnsupportedEncodingException; + +public class HttpBasicAuth implements Authentication { + private String username; + private String password; + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + @Override + public void applyToParams(List queryParams, Map headerParams, Map cookieParams, + String payload, String method, URI uri) throws ApiException { + if (username == null && password == null) { + return; + } + headerParams.put("Authorization", Credentials.basic( + username == null ? "" : username, + password == null ? "" : password)); + } +} diff --git a/src/main/java/com/mailslurp/clients/auth/HttpBearerAuth.java b/src/main/java/com/mailslurp/clients/auth/HttpBearerAuth.java new file mode 100644 index 000000000..04213c411 --- /dev/null +++ b/src/main/java/com/mailslurp/clients/auth/HttpBearerAuth.java @@ -0,0 +1,63 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.clients.auth; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.clients.Pair; + +import java.net.URI; +import java.util.Map; +import java.util.List; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class HttpBearerAuth implements Authentication { + private final String scheme; + private String bearerToken; + + public HttpBearerAuth(String scheme) { + this.scheme = scheme; + } + + /** + * Gets the token, which together with the scheme, will be sent as the value of the Authorization header. + * + * @return The bearer token + */ + public String getBearerToken() { + return bearerToken; + } + + /** + * Sets the token, which together with the scheme, will be sent as the value of the Authorization header. + * + * @param bearerToken The bearer token to send in the Authorization header + */ + public void setBearerToken(String bearerToken) { + this.bearerToken = bearerToken; + } + + @Override + public void applyToParams(List queryParams, Map headerParams, Map cookieParams, + String payload, String method, URI uri) throws ApiException { + if (bearerToken == null) { + return; + } + + headerParams.put("Authorization", (scheme != null ? upperCaseBearer(scheme) + " " : "") + bearerToken); + } + + private static String upperCaseBearer(String scheme) { + return ("bearer".equalsIgnoreCase(scheme)) ? "Bearer" : scheme; + } +} diff --git a/src/main/java/com/mailslurp/models/AbstractOpenApiSchema.java b/src/main/java/com/mailslurp/models/AbstractOpenApiSchema.java new file mode 100644 index 000000000..492ce8346 --- /dev/null +++ b/src/main/java/com/mailslurp/models/AbstractOpenApiSchema.java @@ -0,0 +1,149 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.mailslurp.clients.ApiException; +import java.util.Objects; +import java.lang.reflect.Type; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +//import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public abstract class AbstractOpenApiSchema { + + // store the actual instance of the schema/object + private Object instance; + + // is nullable + private Boolean isNullable; + + // schema type (e.g. oneOf, anyOf) + private final String schemaType; + + public AbstractOpenApiSchema(String schemaType, Boolean isNullable) { + this.schemaType = schemaType; + this.isNullable = isNullable; + } + + /** + * Get the list of oneOf/anyOf composed schemas allowed to be stored in this object + * + * @return an instance of the actual schema/object + */ + public abstract Map getSchemas(); + + /** + * Get the actual instance + * + * @return an instance of the actual schema/object + */ + //@JsonValue + public Object getActualInstance() {return instance;} + + /** + * Set the actual instance + * + * @param instance the actual instance of the schema/object + */ + public void setActualInstance(Object instance) {this.instance = instance;} + + /** + * Get the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf schema as well + * + * @return an instance of the actual schema/object + */ + public Object getActualInstanceRecursively() { + return getActualInstanceRecursively(this); + } + + private Object getActualInstanceRecursively(AbstractOpenApiSchema object) { + if (object.getActualInstance() == null) { + return null; + } else if (object.getActualInstance() instanceof AbstractOpenApiSchema) { + return getActualInstanceRecursively((AbstractOpenApiSchema)object.getActualInstance()); + } else { + return object.getActualInstance(); + } + } + + /** + * Get the schema type (e.g. anyOf, oneOf) + * + * @return the schema type + */ + public String getSchemaType() { + return schemaType; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ").append(getClass()).append(" {\n"); + sb.append(" instance: ").append(toIndentedString(instance)).append("\n"); + sb.append(" isNullable: ").append(toIndentedString(isNullable)).append("\n"); + sb.append(" schemaType: ").append(toIndentedString(schemaType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AbstractOpenApiSchema a = (AbstractOpenApiSchema) o; + return Objects.equals(this.instance, a.instance) && + Objects.equals(this.isNullable, a.isNullable) && + Objects.equals(this.schemaType, a.schemaType); + } + + @Override + public int hashCode() { + return Objects.hash(instance, isNullable, schemaType); + } + + /** + * Is nullable + * + * @return true if it's nullable + */ + public Boolean isNullable() { + if (Boolean.TRUE.equals(isNullable)) { + return Boolean.TRUE; + } else { + return Boolean.FALSE; + } + } + + + +} diff --git a/src/main/java/com/mailslurp/models/AbstractWebhookPayload.java b/src/main/java/com/mailslurp/models/AbstractWebhookPayload.java new file mode 100644 index 000000000..b7c4586c9 --- /dev/null +++ b/src/main/java/com/mailslurp/models/AbstractWebhookPayload.java @@ -0,0 +1,382 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Abstract webhook payload. Use the correct payload type for your webhook event type in order to access all the specific properties for that event. See the `NEW_EMAIL`,`NEW_CONTACT`, `NEW_ATTACHMENT` and `EMAIL_OPENED` payloads for the properties available for those events. + */ +@ApiModel(description = "Abstract webhook payload. Use the correct payload type for your webhook event type in order to access all the specific properties for that event. See the `NEW_EMAIL`,`NEW_CONTACT`, `NEW_ATTACHMENT` and `EMAIL_OPENED` payloads for the properties available for those events.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class AbstractWebhookPayload { + /** + * Gets or Sets eventName + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) + private UUID webhookId; + + public static final String SERIALIZED_NAME_WEBHOOK_NAME = "webhookName"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_NAME) + private String webhookName; + + public AbstractWebhookPayload() { + } + + public AbstractWebhookPayload eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Get eventName + * @return eventName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public AbstractWebhookPayload messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Get messageId + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public AbstractWebhookPayload webhookId(UUID webhookId) { + + this.webhookId = webhookId; + return this; + } + + /** + * Get webhookId + * @return webhookId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getWebhookId() { + return webhookId; + } + + + public void setWebhookId(UUID webhookId) { + this.webhookId = webhookId; + } + + + public AbstractWebhookPayload webhookName(String webhookName) { + + this.webhookName = webhookName; + return this; + } + + /** + * Get webhookName + * @return webhookName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getWebhookName() { + return webhookName; + } + + + public void setWebhookName(String webhookName) { + this.webhookName = webhookName; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AbstractWebhookPayload abstractWebhookPayload = (AbstractWebhookPayload) o; + return Objects.equals(this.eventName, abstractWebhookPayload.eventName) && + Objects.equals(this.messageId, abstractWebhookPayload.messageId) && + Objects.equals(this.webhookId, abstractWebhookPayload.webhookId) && + Objects.equals(this.webhookName, abstractWebhookPayload.webhookName); + } + + @Override + public int hashCode() { + return Objects.hash(eventName, messageId, webhookId, webhookName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AbstractWebhookPayload {\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + sb.append(" webhookName: ").append(toIndentedString(webhookName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("eventName"); + openapiFields.add("messageId"); + openapiFields.add("webhookId"); + openapiFields.add("webhookName"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("eventName"); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("webhookId"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AbstractWebhookPayload + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AbstractWebhookPayload.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AbstractWebhookPayload is not found in the empty JSON string", AbstractWebhookPayload.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AbstractWebhookPayload.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AbstractWebhookPayload` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AbstractWebhookPayload.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if (!jsonObj.get("webhookId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); + } + if ((jsonObj.get("webhookName") != null && !jsonObj.get("webhookName").isJsonNull()) && !jsonObj.get("webhookName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookName").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AbstractWebhookPayload.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AbstractWebhookPayload' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AbstractWebhookPayload.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AbstractWebhookPayload value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AbstractWebhookPayload read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AbstractWebhookPayload given an JSON string + * + * @param jsonString JSON string + * @return An instance of AbstractWebhookPayload + * @throws IOException if the JSON string is invalid with respect to AbstractWebhookPayload + */ + public static AbstractWebhookPayload fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AbstractWebhookPayload.class); + } + + /** + * Convert an instance of AbstractWebhookPayload to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/AliasDto.java b/src/main/java/com/mailslurp/models/AliasDto.java new file mode 100644 index 000000000..40bde2462 --- /dev/null +++ b/src/main/java/com/mailslurp/models/AliasDto.java @@ -0,0 +1,520 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Email alias representation + */ +@ApiModel(description = "Email alias representation") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class AliasDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_MASKED_EMAIL_ADDRESS = "maskedEmailAddress"; + @SerializedName(SERIALIZED_NAME_MASKED_EMAIL_ADDRESS) + private String maskedEmailAddress; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_USE_THREADS = "useThreads"; + @SerializedName(SERIALIZED_NAME_USE_THREADS) + private Boolean useThreads; + + public static final String SERIALIZED_NAME_IS_VERIFIED = "isVerified"; + @SerializedName(SERIALIZED_NAME_IS_VERIFIED) + private Boolean isVerified; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public AliasDto() { + } + + public AliasDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public AliasDto emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * The alias's email address for receiving email + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "The alias's email address for receiving email") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public AliasDto maskedEmailAddress(String maskedEmailAddress) { + + this.maskedEmailAddress = maskedEmailAddress; + return this; + } + + /** + * The underlying email address that is hidden and will received forwarded email + * @return maskedEmailAddress + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The underlying email address that is hidden and will received forwarded email") + + public String getMaskedEmailAddress() { + return maskedEmailAddress; + } + + + public void setMaskedEmailAddress(String maskedEmailAddress) { + this.maskedEmailAddress = maskedEmailAddress; + } + + + public AliasDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public AliasDto inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Inbox that is associated with the alias + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Inbox that is associated with the alias") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public AliasDto name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public AliasDto useThreads(Boolean useThreads) { + + this.useThreads = useThreads; + return this; + } + + /** + * If alias will generate response threads or not when email are received by it + * @return useThreads + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "If alias will generate response threads or not when email are received by it") + + public Boolean getUseThreads() { + return useThreads; + } + + + public void setUseThreads(Boolean useThreads) { + this.useThreads = useThreads; + } + + + public AliasDto isVerified(Boolean isVerified) { + + this.isVerified = isVerified; + return this; + } + + /** + * Has the alias been verified. You must verify an alias if the masked email address has not yet been verified by your account + * @return isVerified + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Has the alias been verified. You must verify an alias if the masked email address has not yet been verified by your account") + + public Boolean getIsVerified() { + return isVerified; + } + + + public void setIsVerified(Boolean isVerified) { + this.isVerified = isVerified; + } + + + public AliasDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public AliasDto updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AliasDto aliasDto = (AliasDto) o; + return Objects.equals(this.id, aliasDto.id) && + Objects.equals(this.emailAddress, aliasDto.emailAddress) && + Objects.equals(this.maskedEmailAddress, aliasDto.maskedEmailAddress) && + Objects.equals(this.userId, aliasDto.userId) && + Objects.equals(this.inboxId, aliasDto.inboxId) && + Objects.equals(this.name, aliasDto.name) && + Objects.equals(this.useThreads, aliasDto.useThreads) && + Objects.equals(this.isVerified, aliasDto.isVerified) && + Objects.equals(this.createdAt, aliasDto.createdAt) && + Objects.equals(this.updatedAt, aliasDto.updatedAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, emailAddress, maskedEmailAddress, userId, inboxId, name, useThreads, isVerified, createdAt, updatedAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AliasDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" maskedEmailAddress: ").append(toIndentedString(maskedEmailAddress)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" useThreads: ").append(toIndentedString(useThreads)).append("\n"); + sb.append(" isVerified: ").append(toIndentedString(isVerified)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("emailAddress"); + openapiFields.add("maskedEmailAddress"); + openapiFields.add("userId"); + openapiFields.add("inboxId"); + openapiFields.add("name"); + openapiFields.add("useThreads"); + openapiFields.add("isVerified"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("emailAddress"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("isVerified"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AliasDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AliasDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AliasDto is not found in the empty JSON string", AliasDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AliasDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AliasDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AliasDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if ((jsonObj.get("maskedEmailAddress") != null && !jsonObj.get("maskedEmailAddress").isJsonNull()) && !jsonObj.get("maskedEmailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `maskedEmailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maskedEmailAddress").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AliasDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AliasDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AliasDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AliasDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AliasDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AliasDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of AliasDto + * @throws IOException if the JSON string is invalid with respect to AliasDto + */ + public static AliasDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AliasDto.class); + } + + /** + * Convert an instance of AliasDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/AliasProjection.java b/src/main/java/com/mailslurp/models/AliasProjection.java new file mode 100644 index 000000000..7112cd8ef --- /dev/null +++ b/src/main/java/com/mailslurp/models/AliasProjection.java @@ -0,0 +1,446 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Representation of a alias + */ +@ApiModel(description = "Representation of a alias") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class AliasProjection { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_USE_THREADS = "useThreads"; + @SerializedName(SERIALIZED_NAME_USE_THREADS) + private Boolean useThreads; + + public AliasProjection() { + } + + public AliasProjection name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public AliasProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public AliasProjection inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public AliasProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public AliasProjection emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public AliasProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public AliasProjection updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public AliasProjection useThreads(Boolean useThreads) { + + this.useThreads = useThreads; + return this; + } + + /** + * Get useThreads + * @return useThreads + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getUseThreads() { + return useThreads; + } + + + public void setUseThreads(Boolean useThreads) { + this.useThreads = useThreads; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AliasProjection aliasProjection = (AliasProjection) o; + return Objects.equals(this.name, aliasProjection.name) && + Objects.equals(this.id, aliasProjection.id) && + Objects.equals(this.inboxId, aliasProjection.inboxId) && + Objects.equals(this.userId, aliasProjection.userId) && + Objects.equals(this.emailAddress, aliasProjection.emailAddress) && + Objects.equals(this.createdAt, aliasProjection.createdAt) && + Objects.equals(this.updatedAt, aliasProjection.updatedAt) && + Objects.equals(this.useThreads, aliasProjection.useThreads); + } + + @Override + public int hashCode() { + return Objects.hash(name, id, inboxId, userId, emailAddress, createdAt, updatedAt, useThreads); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AliasProjection {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" useThreads: ").append(toIndentedString(useThreads)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("id"); + openapiFields.add("inboxId"); + openapiFields.add("userId"); + openapiFields.add("emailAddress"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + openapiFields.add("useThreads"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("emailAddress"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AliasProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AliasProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AliasProjection is not found in the empty JSON string", AliasProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AliasProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AliasProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AliasProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AliasProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AliasProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AliasProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AliasProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AliasProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AliasProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of AliasProjection + * @throws IOException if the JSON string is invalid with respect to AliasProjection + */ + public static AliasProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AliasProjection.class); + } + + /** + * Convert an instance of AliasProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/AttachmentEntity.java b/src/main/java/com/mailslurp/models/AttachmentEntity.java new file mode 100644 index 000000000..4ae8f2489 --- /dev/null +++ b/src/main/java/com/mailslurp/models/AttachmentEntity.java @@ -0,0 +1,476 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * AttachmentEntity + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class AttachmentEntity { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_ATTACHMENT_ID = "attachmentId"; + @SerializedName(SERIALIZED_NAME_ATTACHMENT_ID) + private String attachmentId; + + public static final String SERIALIZED_NAME_BUCKET = "bucket"; + @SerializedName(SERIALIZED_NAME_BUCKET) + private String bucket; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; + @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) + private String contentType; + + public static final String SERIALIZED_NAME_CONTENT_LENGTH = "contentLength"; + @SerializedName(SERIALIZED_NAME_CONTENT_LENGTH) + private Long contentLength; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public AttachmentEntity() { + } + + public AttachmentEntity id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public AttachmentEntity attachmentId(String attachmentId) { + + this.attachmentId = attachmentId; + return this; + } + + /** + * Get attachmentId + * @return attachmentId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getAttachmentId() { + return attachmentId; + } + + + public void setAttachmentId(String attachmentId) { + this.attachmentId = attachmentId; + } + + + public AttachmentEntity bucket(String bucket) { + + this.bucket = bucket; + return this; + } + + /** + * Get bucket + * @return bucket + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getBucket() { + return bucket; + } + + + public void setBucket(String bucket) { + this.bucket = bucket; + } + + + public AttachmentEntity userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public AttachmentEntity contentType(String contentType) { + + this.contentType = contentType; + return this; + } + + /** + * Get contentType + * @return contentType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getContentType() { + return contentType; + } + + + public void setContentType(String contentType) { + this.contentType = contentType; + } + + + public AttachmentEntity contentLength(Long contentLength) { + + this.contentLength = contentLength; + return this; + } + + /** + * Get contentLength + * @return contentLength + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getContentLength() { + return contentLength; + } + + + public void setContentLength(Long contentLength) { + this.contentLength = contentLength; + } + + + public AttachmentEntity name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public AttachmentEntity createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public AttachmentEntity updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AttachmentEntity attachmentEntity = (AttachmentEntity) o; + return Objects.equals(this.id, attachmentEntity.id) && + Objects.equals(this.attachmentId, attachmentEntity.attachmentId) && + Objects.equals(this.bucket, attachmentEntity.bucket) && + Objects.equals(this.userId, attachmentEntity.userId) && + Objects.equals(this.contentType, attachmentEntity.contentType) && + Objects.equals(this.contentLength, attachmentEntity.contentLength) && + Objects.equals(this.name, attachmentEntity.name) && + Objects.equals(this.createdAt, attachmentEntity.createdAt) && + Objects.equals(this.updatedAt, attachmentEntity.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, attachmentId, bucket, userId, contentType, contentLength, name, createdAt, updatedAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AttachmentEntity {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" attachmentId: ").append(toIndentedString(attachmentId)).append("\n"); + sb.append(" bucket: ").append(toIndentedString(bucket)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" contentType: ").append(toIndentedString(contentType)).append("\n"); + sb.append(" contentLength: ").append(toIndentedString(contentLength)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("attachmentId"); + openapiFields.add("bucket"); + openapiFields.add("userId"); + openapiFields.add("contentType"); + openapiFields.add("contentLength"); + openapiFields.add("name"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("attachmentId"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AttachmentEntity + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AttachmentEntity.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AttachmentEntity is not found in the empty JSON string", AttachmentEntity.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AttachmentEntity.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AttachmentEntity` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AttachmentEntity.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("attachmentId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `attachmentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attachmentId").toString())); + } + if ((jsonObj.get("bucket") != null && !jsonObj.get("bucket").isJsonNull()) && !jsonObj.get("bucket").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bucket` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bucket").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AttachmentEntity.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AttachmentEntity' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AttachmentEntity.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AttachmentEntity value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AttachmentEntity read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AttachmentEntity given an JSON string + * + * @param jsonString JSON string + * @return An instance of AttachmentEntity + * @throws IOException if the JSON string is invalid with respect to AttachmentEntity + */ + public static AttachmentEntity fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AttachmentEntity.class); + } + + /** + * Convert an instance of AttachmentEntity to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/AttachmentMetaData.java b/src/main/java/com/mailslurp/models/AttachmentMetaData.java new file mode 100644 index 000000000..240207fac --- /dev/null +++ b/src/main/java/com/mailslurp/models/AttachmentMetaData.java @@ -0,0 +1,316 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Meta data associated with an attachment. Attachments are stored as byte blobs so the meta data is stored separately. + */ +@ApiModel(description = "Meta data associated with an attachment. Attachments are stored as byte blobs so the meta data is stored separately.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class AttachmentMetaData { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; + @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) + private String contentType; + + public static final String SERIALIZED_NAME_CONTENT_LENGTH = "contentLength"; + @SerializedName(SERIALIZED_NAME_CONTENT_LENGTH) + private Long contentLength; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private String id; + + public AttachmentMetaData() { + } + + public AttachmentMetaData name(String name) { + + this.name = name; + return this; + } + + /** + * Name of attachment if given + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of attachment if given") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public AttachmentMetaData contentType(String contentType) { + + this.contentType = contentType; + return this; + } + + /** + * Content type of attachment such as `image/png` + * @return contentType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Content type of attachment such as `image/png`") + + public String getContentType() { + return contentType; + } + + + public void setContentType(String contentType) { + this.contentType = contentType; + } + + + public AttachmentMetaData contentLength(Long contentLength) { + + this.contentLength = contentLength; + return this; + } + + /** + * Size of attachment in bytes + * @return contentLength + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Size of attachment in bytes") + + public Long getContentLength() { + return contentLength; + } + + + public void setContentLength(Long contentLength) { + this.contentLength = contentLength; + } + + + public AttachmentMetaData id(String id) { + + this.id = id; + return this; + } + + /** + * ID of attachment. Can be used to with attachment controller endpoints to download attachment or with sending methods to attach to an email. + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of attachment. Can be used to with attachment controller endpoints to download attachment or with sending methods to attach to an email.") + + public String getId() { + return id; + } + + + public void setId(String id) { + this.id = id; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AttachmentMetaData attachmentMetaData = (AttachmentMetaData) o; + return Objects.equals(this.name, attachmentMetaData.name) && + Objects.equals(this.contentType, attachmentMetaData.contentType) && + Objects.equals(this.contentLength, attachmentMetaData.contentLength) && + Objects.equals(this.id, attachmentMetaData.id); + } + + @Override + public int hashCode() { + return Objects.hash(name, contentType, contentLength, id); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AttachmentMetaData {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" contentType: ").append(toIndentedString(contentType)).append("\n"); + sb.append(" contentLength: ").append(toIndentedString(contentLength)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("contentType"); + openapiFields.add("contentLength"); + openapiFields.add("id"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("contentType"); + openapiRequiredFields.add("contentLength"); + openapiRequiredFields.add("id"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AttachmentMetaData + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AttachmentMetaData.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AttachmentMetaData is not found in the empty JSON string", AttachmentMetaData.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AttachmentMetaData.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AttachmentMetaData` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AttachmentMetaData.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("contentType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AttachmentMetaData.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AttachmentMetaData' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AttachmentMetaData.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AttachmentMetaData value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AttachmentMetaData read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AttachmentMetaData given an JSON string + * + * @param jsonString JSON string + * @return An instance of AttachmentMetaData + * @throws IOException if the JSON string is invalid with respect to AttachmentMetaData + */ + public static AttachmentMetaData fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AttachmentMetaData.class); + } + + /** + * Convert an instance of AttachmentMetaData to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/AttachmentProjection.java b/src/main/java/com/mailslurp/models/AttachmentProjection.java new file mode 100644 index 000000000..815568eb3 --- /dev/null +++ b/src/main/java/com/mailslurp/models/AttachmentProjection.java @@ -0,0 +1,423 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Email attachment data + */ +@ApiModel(description = "Email attachment data") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class AttachmentProjection { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_CONTENT_LENGTH = "contentLength"; + @SerializedName(SERIALIZED_NAME_CONTENT_LENGTH) + private Long contentLength; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_ATTACHMENT_ID = "attachmentId"; + @SerializedName(SERIALIZED_NAME_ATTACHMENT_ID) + private String attachmentId; + + public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; + @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) + private String contentType; + + public AttachmentProjection() { + } + + public AttachmentProjection name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public AttachmentProjection contentLength(Long contentLength) { + + this.contentLength = contentLength; + return this; + } + + /** + * Content length of attachment in bytes + * @return contentLength + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Content length of attachment in bytes") + + public Long getContentLength() { + return contentLength; + } + + + public void setContentLength(Long contentLength) { + this.contentLength = contentLength; + } + + + public AttachmentProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public AttachmentProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public AttachmentProjection updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public AttachmentProjection attachmentId(String attachmentId) { + + this.attachmentId = attachmentId; + return this; + } + + /** + * Attachment ID + * @return attachmentId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Attachment ID") + + public String getAttachmentId() { + return attachmentId; + } + + + public void setAttachmentId(String attachmentId) { + this.attachmentId = attachmentId; + } + + + public AttachmentProjection contentType(String contentType) { + + this.contentType = contentType; + return this; + } + + /** + * Content type of attachment. + * @return contentType + **/ + @javax.annotation.Nullable + @ApiModelProperty(example = "image/png", value = "Content type of attachment.") + + public String getContentType() { + return contentType; + } + + + public void setContentType(String contentType) { + this.contentType = contentType; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AttachmentProjection attachmentProjection = (AttachmentProjection) o; + return Objects.equals(this.name, attachmentProjection.name) && + Objects.equals(this.contentLength, attachmentProjection.contentLength) && + Objects.equals(this.userId, attachmentProjection.userId) && + Objects.equals(this.createdAt, attachmentProjection.createdAt) && + Objects.equals(this.updatedAt, attachmentProjection.updatedAt) && + Objects.equals(this.attachmentId, attachmentProjection.attachmentId) && + Objects.equals(this.contentType, attachmentProjection.contentType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(name, contentLength, userId, createdAt, updatedAt, attachmentId, contentType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AttachmentProjection {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" contentLength: ").append(toIndentedString(contentLength)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" attachmentId: ").append(toIndentedString(attachmentId)).append("\n"); + sb.append(" contentType: ").append(toIndentedString(contentType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("contentLength"); + openapiFields.add("userId"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + openapiFields.add("attachmentId"); + openapiFields.add("contentType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + openapiRequiredFields.add("attachmentId"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to AttachmentProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!AttachmentProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AttachmentProjection is not found in the empty JSON string", AttachmentProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!AttachmentProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AttachmentProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AttachmentProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("attachmentId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `attachmentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attachmentId").toString())); + } + if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AttachmentProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AttachmentProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AttachmentProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AttachmentProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AttachmentProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AttachmentProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of AttachmentProjection + * @throws IOException if the JSON string is invalid with respect to AttachmentProjection + */ + public static AttachmentProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AttachmentProjection.class); + } + + /** + * Convert an instance of AttachmentProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/BasicAuthOptions.java b/src/main/java/com/mailslurp/models/BasicAuthOptions.java new file mode 100644 index 000000000..5191532ba --- /dev/null +++ b/src/main/java/com/mailslurp/models/BasicAuthOptions.java @@ -0,0 +1,251 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Basic Authentication options for webhooks. Will be used is present when calling webhook endpoints. + */ +@ApiModel(description = "Basic Authentication options for webhooks. Will be used is present when calling webhook endpoints.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class BasicAuthOptions { + public static final String SERIALIZED_NAME_USERNAME = "username"; + @SerializedName(SERIALIZED_NAME_USERNAME) + private String username; + + public static final String SERIALIZED_NAME_PASSWORD = "password"; + @SerializedName(SERIALIZED_NAME_PASSWORD) + private String password; + + public BasicAuthOptions() { + } + + public BasicAuthOptions username(String username) { + + this.username = username; + return this; + } + + /** + * Get username + * @return username + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getUsername() { + return username; + } + + + public void setUsername(String username) { + this.username = username; + } + + + public BasicAuthOptions password(String password) { + + this.password = password; + return this; + } + + /** + * Get password + * @return password + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getPassword() { + return password; + } + + + public void setPassword(String password) { + this.password = password; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BasicAuthOptions basicAuthOptions = (BasicAuthOptions) o; + return Objects.equals(this.username, basicAuthOptions.username) && + Objects.equals(this.password, basicAuthOptions.password); + } + + @Override + public int hashCode() { + return Objects.hash(username, password); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BasicAuthOptions {\n"); + sb.append(" username: ").append(toIndentedString(username)).append("\n"); + sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("username"); + openapiFields.add("password"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("username"); + openapiRequiredFields.add("password"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to BasicAuthOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!BasicAuthOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in BasicAuthOptions is not found in the empty JSON string", BasicAuthOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!BasicAuthOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BasicAuthOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : BasicAuthOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("username").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("username").toString())); + } + if (!jsonObj.get("password").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `password` to be a primitive type in the JSON string but got `%s`", jsonObj.get("password").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!BasicAuthOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'BasicAuthOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(BasicAuthOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, BasicAuthOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public BasicAuthOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of BasicAuthOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of BasicAuthOptions + * @throws IOException if the JSON string is invalid with respect to BasicAuthOptions + */ + public static BasicAuthOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, BasicAuthOptions.class); + } + + /** + * Convert an instance of BasicAuthOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/BounceProjection.java b/src/main/java/com/mailslurp/models/BounceProjection.java new file mode 100644 index 000000000..b59978a80 --- /dev/null +++ b/src/main/java/com/mailslurp/models/BounceProjection.java @@ -0,0 +1,394 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Bounced email event + */ +@ApiModel(description = "Bounced email event") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class BounceProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_SENDER = "sender"; + @SerializedName(SERIALIZED_NAME_SENDER) + private String sender; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_BOUNCE_TYPE = "bounceType"; + @SerializedName(SERIALIZED_NAME_BOUNCE_TYPE) + private String bounceType; + + public static final String SERIALIZED_NAME_BOUNCE_MTA = "bounceMta"; + @SerializedName(SERIALIZED_NAME_BOUNCE_MTA) + private String bounceMta; + + public BounceProjection() { + } + + public BounceProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public BounceProjection subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public BounceProjection sender(String sender) { + + this.sender = sender; + return this; + } + + /** + * Get sender + * @return sender + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getSender() { + return sender; + } + + + public void setSender(String sender) { + this.sender = sender; + } + + + public BounceProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public BounceProjection bounceType(String bounceType) { + + this.bounceType = bounceType; + return this; + } + + /** + * Get bounceType + * @return bounceType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getBounceType() { + return bounceType; + } + + + public void setBounceType(String bounceType) { + this.bounceType = bounceType; + } + + + public BounceProjection bounceMta(String bounceMta) { + + this.bounceMta = bounceMta; + return this; + } + + /** + * Get bounceMta + * @return bounceMta + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getBounceMta() { + return bounceMta; + } + + + public void setBounceMta(String bounceMta) { + this.bounceMta = bounceMta; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BounceProjection bounceProjection = (BounceProjection) o; + return Objects.equals(this.id, bounceProjection.id) && + Objects.equals(this.subject, bounceProjection.subject) && + Objects.equals(this.sender, bounceProjection.sender) && + Objects.equals(this.createdAt, bounceProjection.createdAt) && + Objects.equals(this.bounceType, bounceProjection.bounceType) && + Objects.equals(this.bounceMta, bounceProjection.bounceMta); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, subject, sender, createdAt, bounceType, bounceMta); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BounceProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" sender: ").append(toIndentedString(sender)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" bounceType: ").append(toIndentedString(bounceType)).append("\n"); + sb.append(" bounceMta: ").append(toIndentedString(bounceMta)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("subject"); + openapiFields.add("sender"); + openapiFields.add("createdAt"); + openapiFields.add("bounceType"); + openapiFields.add("bounceMta"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("sender"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to BounceProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!BounceProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in BounceProjection is not found in the empty JSON string", BounceProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!BounceProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BounceProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : BounceProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if (!jsonObj.get("sender").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sender` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sender").toString())); + } + if ((jsonObj.get("bounceType") != null && !jsonObj.get("bounceType").isJsonNull()) && !jsonObj.get("bounceType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bounceType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bounceType").toString())); + } + if ((jsonObj.get("bounceMta") != null && !jsonObj.get("bounceMta").isJsonNull()) && !jsonObj.get("bounceMta").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bounceMta` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bounceMta").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!BounceProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'BounceProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(BounceProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, BounceProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public BounceProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of BounceProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of BounceProjection + * @throws IOException if the JSON string is invalid with respect to BounceProjection + */ + public static BounceProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, BounceProjection.class); + } + + /** + * Convert an instance of BounceProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/BounceRecipientProjection.java b/src/main/java/com/mailslurp/models/BounceRecipientProjection.java new file mode 100644 index 000000000..74fa83488 --- /dev/null +++ b/src/main/java/com/mailslurp/models/BounceRecipientProjection.java @@ -0,0 +1,394 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Bounced recipient + */ +@ApiModel(description = "Bounced recipient") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class BounceRecipientProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_STATUS = "status"; + @SerializedName(SERIALIZED_NAME_STATUS) + private String status; + + public static final String SERIALIZED_NAME_SENT_EMAIL_ID = "sentEmailId"; + @SerializedName(SERIALIZED_NAME_SENT_EMAIL_ID) + private UUID sentEmailId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_RECIPIENT = "recipient"; + @SerializedName(SERIALIZED_NAME_RECIPIENT) + private String recipient; + + public static final String SERIALIZED_NAME_ACTION = "action"; + @SerializedName(SERIALIZED_NAME_ACTION) + private String action; + + public BounceRecipientProjection() { + } + + public BounceRecipientProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public BounceRecipientProjection status(String status) { + + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getStatus() { + return status; + } + + + public void setStatus(String status) { + this.status = status; + } + + + public BounceRecipientProjection sentEmailId(UUID sentEmailId) { + + this.sentEmailId = sentEmailId; + return this; + } + + /** + * Get sentEmailId + * @return sentEmailId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getSentEmailId() { + return sentEmailId; + } + + + public void setSentEmailId(UUID sentEmailId) { + this.sentEmailId = sentEmailId; + } + + + public BounceRecipientProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public BounceRecipientProjection recipient(String recipient) { + + this.recipient = recipient; + return this; + } + + /** + * Get recipient + * @return recipient + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getRecipient() { + return recipient; + } + + + public void setRecipient(String recipient) { + this.recipient = recipient; + } + + + public BounceRecipientProjection action(String action) { + + this.action = action; + return this; + } + + /** + * Get action + * @return action + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getAction() { + return action; + } + + + public void setAction(String action) { + this.action = action; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BounceRecipientProjection bounceRecipientProjection = (BounceRecipientProjection) o; + return Objects.equals(this.id, bounceRecipientProjection.id) && + Objects.equals(this.status, bounceRecipientProjection.status) && + Objects.equals(this.sentEmailId, bounceRecipientProjection.sentEmailId) && + Objects.equals(this.createdAt, bounceRecipientProjection.createdAt) && + Objects.equals(this.recipient, bounceRecipientProjection.recipient) && + Objects.equals(this.action, bounceRecipientProjection.action); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, status, sentEmailId, createdAt, recipient, action); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BounceRecipientProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" sentEmailId: ").append(toIndentedString(sentEmailId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" recipient: ").append(toIndentedString(recipient)).append("\n"); + sb.append(" action: ").append(toIndentedString(action)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("status"); + openapiFields.add("sentEmailId"); + openapiFields.add("createdAt"); + openapiFields.add("recipient"); + openapiFields.add("action"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("recipient"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to BounceRecipientProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!BounceRecipientProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in BounceRecipientProjection is not found in the empty JSON string", BounceRecipientProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!BounceRecipientProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BounceRecipientProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : BounceRecipientProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) && !jsonObj.get("status").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("status").toString())); + } + if ((jsonObj.get("sentEmailId") != null && !jsonObj.get("sentEmailId").isJsonNull()) && !jsonObj.get("sentEmailId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sentEmailId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sentEmailId").toString())); + } + if (!jsonObj.get("recipient").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `recipient` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipient").toString())); + } + if ((jsonObj.get("action") != null && !jsonObj.get("action").isJsonNull()) && !jsonObj.get("action").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `action` to be a primitive type in the JSON string but got `%s`", jsonObj.get("action").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!BounceRecipientProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'BounceRecipientProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(BounceRecipientProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, BounceRecipientProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public BounceRecipientProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of BounceRecipientProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of BounceRecipientProjection + * @throws IOException if the JSON string is invalid with respect to BounceRecipientProjection + */ + public static BounceRecipientProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, BounceRecipientProjection.class); + } + + /** + * Convert an instance of BounceRecipientProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/BouncedEmailDto.java b/src/main/java/com/mailslurp/models/BouncedEmailDto.java new file mode 100644 index 000000000..0e5a534a0 --- /dev/null +++ b/src/main/java/com/mailslurp/models/BouncedEmailDto.java @@ -0,0 +1,615 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Bounced email + */ +@ApiModel(description = "Bounced email") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class BouncedEmailDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_NOTIFICATION_TYPE = "notificationType"; + @SerializedName(SERIALIZED_NAME_NOTIFICATION_TYPE) + private String notificationType; + + public static final String SERIALIZED_NAME_SENT_TO_RECIPIENTS = "sentToRecipients"; + @SerializedName(SERIALIZED_NAME_SENT_TO_RECIPIENTS) + private List sentToRecipients = null; + + public static final String SERIALIZED_NAME_SENDER = "sender"; + @SerializedName(SERIALIZED_NAME_SENDER) + private String sender; + + public static final String SERIALIZED_NAME_BOUNCE_MTA = "bounceMta"; + @SerializedName(SERIALIZED_NAME_BOUNCE_MTA) + private String bounceMta; + + public static final String SERIALIZED_NAME_BOUNCE_TYPE = "bounceType"; + @SerializedName(SERIALIZED_NAME_BOUNCE_TYPE) + private String bounceType; + + public static final String SERIALIZED_NAME_BOUNCE_RECIPIENTS = "bounceRecipients"; + @SerializedName(SERIALIZED_NAME_BOUNCE_RECIPIENTS) + private List bounceRecipients = null; + + public static final String SERIALIZED_NAME_BOUNCE_SUB_TYPE = "bounceSubType"; + @SerializedName(SERIALIZED_NAME_BOUNCE_SUB_TYPE) + private String bounceSubType; + + public static final String SERIALIZED_NAME_SENT_EMAIL_ID = "sentEmailId"; + @SerializedName(SERIALIZED_NAME_SENT_EMAIL_ID) + private UUID sentEmailId; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public BouncedEmailDto() { + } + + public BouncedEmailDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public BouncedEmailDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public BouncedEmailDto notificationType(String notificationType) { + + this.notificationType = notificationType; + return this; + } + + /** + * Get notificationType + * @return notificationType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getNotificationType() { + return notificationType; + } + + + public void setNotificationType(String notificationType) { + this.notificationType = notificationType; + } + + + public BouncedEmailDto sentToRecipients(List sentToRecipients) { + + this.sentToRecipients = sentToRecipients; + return this; + } + + public BouncedEmailDto addSentToRecipientsItem(String sentToRecipientsItem) { + if (this.sentToRecipients == null) { + this.sentToRecipients = new ArrayList<>(); + } + this.sentToRecipients.add(sentToRecipientsItem); + return this; + } + + /** + * Get sentToRecipients + * @return sentToRecipients + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getSentToRecipients() { + return sentToRecipients; + } + + + public void setSentToRecipients(List sentToRecipients) { + this.sentToRecipients = sentToRecipients; + } + + + public BouncedEmailDto sender(String sender) { + + this.sender = sender; + return this; + } + + /** + * Get sender + * @return sender + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getSender() { + return sender; + } + + + public void setSender(String sender) { + this.sender = sender; + } + + + public BouncedEmailDto bounceMta(String bounceMta) { + + this.bounceMta = bounceMta; + return this; + } + + /** + * Get bounceMta + * @return bounceMta + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getBounceMta() { + return bounceMta; + } + + + public void setBounceMta(String bounceMta) { + this.bounceMta = bounceMta; + } + + + public BouncedEmailDto bounceType(String bounceType) { + + this.bounceType = bounceType; + return this; + } + + /** + * Get bounceType + * @return bounceType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getBounceType() { + return bounceType; + } + + + public void setBounceType(String bounceType) { + this.bounceType = bounceType; + } + + + public BouncedEmailDto bounceRecipients(List bounceRecipients) { + + this.bounceRecipients = bounceRecipients; + return this; + } + + public BouncedEmailDto addBounceRecipientsItem(String bounceRecipientsItem) { + if (this.bounceRecipients == null) { + this.bounceRecipients = new ArrayList<>(); + } + this.bounceRecipients.add(bounceRecipientsItem); + return this; + } + + /** + * Get bounceRecipients + * @return bounceRecipients + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getBounceRecipients() { + return bounceRecipients; + } + + + public void setBounceRecipients(List bounceRecipients) { + this.bounceRecipients = bounceRecipients; + } + + + public BouncedEmailDto bounceSubType(String bounceSubType) { + + this.bounceSubType = bounceSubType; + return this; + } + + /** + * Get bounceSubType + * @return bounceSubType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getBounceSubType() { + return bounceSubType; + } + + + public void setBounceSubType(String bounceSubType) { + this.bounceSubType = bounceSubType; + } + + + public BouncedEmailDto sentEmailId(UUID sentEmailId) { + + this.sentEmailId = sentEmailId; + return this; + } + + /** + * Get sentEmailId + * @return sentEmailId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getSentEmailId() { + return sentEmailId; + } + + + public void setSentEmailId(UUID sentEmailId) { + this.sentEmailId = sentEmailId; + } + + + public BouncedEmailDto subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public BouncedEmailDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BouncedEmailDto bouncedEmailDto = (BouncedEmailDto) o; + return Objects.equals(this.id, bouncedEmailDto.id) && + Objects.equals(this.userId, bouncedEmailDto.userId) && + Objects.equals(this.notificationType, bouncedEmailDto.notificationType) && + Objects.equals(this.sentToRecipients, bouncedEmailDto.sentToRecipients) && + Objects.equals(this.sender, bouncedEmailDto.sender) && + Objects.equals(this.bounceMta, bouncedEmailDto.bounceMta) && + Objects.equals(this.bounceType, bouncedEmailDto.bounceType) && + Objects.equals(this.bounceRecipients, bouncedEmailDto.bounceRecipients) && + Objects.equals(this.bounceSubType, bouncedEmailDto.bounceSubType) && + Objects.equals(this.sentEmailId, bouncedEmailDto.sentEmailId) && + Objects.equals(this.subject, bouncedEmailDto.subject) && + Objects.equals(this.createdAt, bouncedEmailDto.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, notificationType, sentToRecipients, sender, bounceMta, bounceType, bounceRecipients, bounceSubType, sentEmailId, subject, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BouncedEmailDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" notificationType: ").append(toIndentedString(notificationType)).append("\n"); + sb.append(" sentToRecipients: ").append(toIndentedString(sentToRecipients)).append("\n"); + sb.append(" sender: ").append(toIndentedString(sender)).append("\n"); + sb.append(" bounceMta: ").append(toIndentedString(bounceMta)).append("\n"); + sb.append(" bounceType: ").append(toIndentedString(bounceType)).append("\n"); + sb.append(" bounceRecipients: ").append(toIndentedString(bounceRecipients)).append("\n"); + sb.append(" bounceSubType: ").append(toIndentedString(bounceSubType)).append("\n"); + sb.append(" sentEmailId: ").append(toIndentedString(sentEmailId)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("notificationType"); + openapiFields.add("sentToRecipients"); + openapiFields.add("sender"); + openapiFields.add("bounceMta"); + openapiFields.add("bounceType"); + openapiFields.add("bounceRecipients"); + openapiFields.add("bounceSubType"); + openapiFields.add("sentEmailId"); + openapiFields.add("subject"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("notificationType"); + openapiRequiredFields.add("sender"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to BouncedEmailDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!BouncedEmailDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in BouncedEmailDto is not found in the empty JSON string", BouncedEmailDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!BouncedEmailDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BouncedEmailDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : BouncedEmailDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("notificationType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `notificationType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notificationType").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("sentToRecipients") != null && !jsonObj.get("sentToRecipients").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `sentToRecipients` to be an array in the JSON string but got `%s`", jsonObj.get("sentToRecipients").toString())); + } + if (!jsonObj.get("sender").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sender` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sender").toString())); + } + if ((jsonObj.get("bounceMta") != null && !jsonObj.get("bounceMta").isJsonNull()) && !jsonObj.get("bounceMta").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bounceMta` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bounceMta").toString())); + } + if ((jsonObj.get("bounceType") != null && !jsonObj.get("bounceType").isJsonNull()) && !jsonObj.get("bounceType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bounceType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bounceType").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bounceRecipients") != null && !jsonObj.get("bounceRecipients").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bounceRecipients` to be an array in the JSON string but got `%s`", jsonObj.get("bounceRecipients").toString())); + } + if ((jsonObj.get("bounceSubType") != null && !jsonObj.get("bounceSubType").isJsonNull()) && !jsonObj.get("bounceSubType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bounceSubType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bounceSubType").toString())); + } + if ((jsonObj.get("sentEmailId") != null && !jsonObj.get("sentEmailId").isJsonNull()) && !jsonObj.get("sentEmailId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sentEmailId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sentEmailId").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!BouncedEmailDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'BouncedEmailDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(BouncedEmailDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, BouncedEmailDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public BouncedEmailDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of BouncedEmailDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of BouncedEmailDto + * @throws IOException if the JSON string is invalid with respect to BouncedEmailDto + */ + public static BouncedEmailDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, BouncedEmailDto.class); + } + + /** + * Convert an instance of BouncedEmailDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/BouncedRecipientDto.java b/src/main/java/com/mailslurp/models/BouncedRecipientDto.java new file mode 100644 index 000000000..3bc416c64 --- /dev/null +++ b/src/main/java/com/mailslurp/models/BouncedRecipientDto.java @@ -0,0 +1,461 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Bounced recipient + */ +@ApiModel(description = "Bounced recipient") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class BouncedRecipientDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_SENT_EMAIL_ID = "sentEmailId"; + @SerializedName(SERIALIZED_NAME_SENT_EMAIL_ID) + private UUID sentEmailId; + + public static final String SERIALIZED_NAME_RECIPIENT = "recipient"; + @SerializedName(SERIALIZED_NAME_RECIPIENT) + private String recipient; + + public static final String SERIALIZED_NAME_DIAGNOSTIC_CODE = "diagnosticCode"; + @SerializedName(SERIALIZED_NAME_DIAGNOSTIC_CODE) + private String diagnosticCode; + + public static final String SERIALIZED_NAME_ACTION = "action"; + @SerializedName(SERIALIZED_NAME_ACTION) + private String action; + + public static final String SERIALIZED_NAME_STATUS = "status"; + @SerializedName(SERIALIZED_NAME_STATUS) + private String status; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public BouncedRecipientDto() { + } + + public BouncedRecipientDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public BouncedRecipientDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public BouncedRecipientDto sentEmailId(UUID sentEmailId) { + + this.sentEmailId = sentEmailId; + return this; + } + + /** + * Get sentEmailId + * @return sentEmailId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getSentEmailId() { + return sentEmailId; + } + + + public void setSentEmailId(UUID sentEmailId) { + this.sentEmailId = sentEmailId; + } + + + public BouncedRecipientDto recipient(String recipient) { + + this.recipient = recipient; + return this; + } + + /** + * Get recipient + * @return recipient + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getRecipient() { + return recipient; + } + + + public void setRecipient(String recipient) { + this.recipient = recipient; + } + + + public BouncedRecipientDto diagnosticCode(String diagnosticCode) { + + this.diagnosticCode = diagnosticCode; + return this; + } + + /** + * Get diagnosticCode + * @return diagnosticCode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getDiagnosticCode() { + return diagnosticCode; + } + + + public void setDiagnosticCode(String diagnosticCode) { + this.diagnosticCode = diagnosticCode; + } + + + public BouncedRecipientDto action(String action) { + + this.action = action; + return this; + } + + /** + * Get action + * @return action + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getAction() { + return action; + } + + + public void setAction(String action) { + this.action = action; + } + + + public BouncedRecipientDto status(String status) { + + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getStatus() { + return status; + } + + + public void setStatus(String status) { + this.status = status; + } + + + public BouncedRecipientDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BouncedRecipientDto bouncedRecipientDto = (BouncedRecipientDto) o; + return Objects.equals(this.id, bouncedRecipientDto.id) && + Objects.equals(this.userId, bouncedRecipientDto.userId) && + Objects.equals(this.sentEmailId, bouncedRecipientDto.sentEmailId) && + Objects.equals(this.recipient, bouncedRecipientDto.recipient) && + Objects.equals(this.diagnosticCode, bouncedRecipientDto.diagnosticCode) && + Objects.equals(this.action, bouncedRecipientDto.action) && + Objects.equals(this.status, bouncedRecipientDto.status) && + Objects.equals(this.createdAt, bouncedRecipientDto.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, sentEmailId, recipient, diagnosticCode, action, status, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BouncedRecipientDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" sentEmailId: ").append(toIndentedString(sentEmailId)).append("\n"); + sb.append(" recipient: ").append(toIndentedString(recipient)).append("\n"); + sb.append(" diagnosticCode: ").append(toIndentedString(diagnosticCode)).append("\n"); + sb.append(" action: ").append(toIndentedString(action)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("sentEmailId"); + openapiFields.add("recipient"); + openapiFields.add("diagnosticCode"); + openapiFields.add("action"); + openapiFields.add("status"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("recipient"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to BouncedRecipientDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!BouncedRecipientDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in BouncedRecipientDto is not found in the empty JSON string", BouncedRecipientDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!BouncedRecipientDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BouncedRecipientDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : BouncedRecipientDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("sentEmailId") != null && !jsonObj.get("sentEmailId").isJsonNull()) && !jsonObj.get("sentEmailId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sentEmailId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sentEmailId").toString())); + } + if (!jsonObj.get("recipient").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `recipient` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipient").toString())); + } + if ((jsonObj.get("diagnosticCode") != null && !jsonObj.get("diagnosticCode").isJsonNull()) && !jsonObj.get("diagnosticCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `diagnosticCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("diagnosticCode").toString())); + } + if ((jsonObj.get("action") != null && !jsonObj.get("action").isJsonNull()) && !jsonObj.get("action").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `action` to be a primitive type in the JSON string but got `%s`", jsonObj.get("action").toString())); + } + if ((jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) && !jsonObj.get("status").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("status").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!BouncedRecipientDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'BouncedRecipientDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(BouncedRecipientDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, BouncedRecipientDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public BouncedRecipientDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of BouncedRecipientDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of BouncedRecipientDto + * @throws IOException if the JSON string is invalid with respect to BouncedRecipientDto + */ + public static BouncedRecipientDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, BouncedRecipientDto.class); + } + + /** + * Convert an instance of BouncedRecipientDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/BulkSendEmailOptions.java b/src/main/java/com/mailslurp/models/BulkSendEmailOptions.java new file mode 100644 index 000000000..5d2e69917 --- /dev/null +++ b/src/main/java/com/mailslurp/models/BulkSendEmailOptions.java @@ -0,0 +1,262 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.SendEmailOptions; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for bulk sending an email from multiple addresses. See regular `sendEmail` methods for more information. + */ +@ApiModel(description = "Options for bulk sending an email from multiple addresses. See regular `sendEmail` methods for more information.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class BulkSendEmailOptions { + public static final String SERIALIZED_NAME_INBOX_IDS = "inboxIds"; + @SerializedName(SERIALIZED_NAME_INBOX_IDS) + private List inboxIds = new ArrayList<>(); + + public static final String SERIALIZED_NAME_SEND_EMAIL_OPTIONS = "sendEmailOptions"; + @SerializedName(SERIALIZED_NAME_SEND_EMAIL_OPTIONS) + private SendEmailOptions sendEmailOptions; + + public BulkSendEmailOptions() { + } + + public BulkSendEmailOptions inboxIds(List inboxIds) { + + this.inboxIds = inboxIds; + return this; + } + + public BulkSendEmailOptions addInboxIdsItem(UUID inboxIdsItem) { + this.inboxIds.add(inboxIdsItem); + return this; + } + + /** + * Inboxes to send the email from + * @return inboxIds + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Inboxes to send the email from") + + public List getInboxIds() { + return inboxIds; + } + + + public void setInboxIds(List inboxIds) { + this.inboxIds = inboxIds; + } + + + public BulkSendEmailOptions sendEmailOptions(SendEmailOptions sendEmailOptions) { + + this.sendEmailOptions = sendEmailOptions; + return this; + } + + /** + * Get sendEmailOptions + * @return sendEmailOptions + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public SendEmailOptions getSendEmailOptions() { + return sendEmailOptions; + } + + + public void setSendEmailOptions(SendEmailOptions sendEmailOptions) { + this.sendEmailOptions = sendEmailOptions; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BulkSendEmailOptions bulkSendEmailOptions = (BulkSendEmailOptions) o; + return Objects.equals(this.inboxIds, bulkSendEmailOptions.inboxIds) && + Objects.equals(this.sendEmailOptions, bulkSendEmailOptions.sendEmailOptions); + } + + @Override + public int hashCode() { + return Objects.hash(inboxIds, sendEmailOptions); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BulkSendEmailOptions {\n"); + sb.append(" inboxIds: ").append(toIndentedString(inboxIds)).append("\n"); + sb.append(" sendEmailOptions: ").append(toIndentedString(sendEmailOptions)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("inboxIds"); + openapiFields.add("sendEmailOptions"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("inboxIds"); + openapiRequiredFields.add("sendEmailOptions"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to BulkSendEmailOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!BulkSendEmailOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in BulkSendEmailOptions is not found in the empty JSON string", BulkSendEmailOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!BulkSendEmailOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BulkSendEmailOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : BulkSendEmailOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("inboxIds") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("inboxIds").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxIds` to be an array in the JSON string but got `%s`", jsonObj.get("inboxIds").toString())); + } + // validate the required field `sendEmailOptions` + SendEmailOptions.validateJsonObject(jsonObj.getAsJsonObject("sendEmailOptions")); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!BulkSendEmailOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'BulkSendEmailOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(BulkSendEmailOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, BulkSendEmailOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public BulkSendEmailOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of BulkSendEmailOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of BulkSendEmailOptions + * @throws IOException if the JSON string is invalid with respect to BulkSendEmailOptions + */ + public static BulkSendEmailOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, BulkSendEmailOptions.class); + } + + /** + * Convert an instance of BulkSendEmailOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/Complaint.java b/src/main/java/com/mailslurp/models/Complaint.java new file mode 100644 index 000000000..78b524dcb --- /dev/null +++ b/src/main/java/com/mailslurp/models/Complaint.java @@ -0,0 +1,446 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Complaint + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class Complaint { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; + @SerializedName(SERIALIZED_NAME_EVENT_TYPE) + private String eventType; + + public static final String SERIALIZED_NAME_MAIL_SOURCE = "mailSource"; + @SerializedName(SERIALIZED_NAME_MAIL_SOURCE) + private String mailSource; + + public static final String SERIALIZED_NAME_MAIL_MESSAGE_ID = "mailMessageId"; + @SerializedName(SERIALIZED_NAME_MAIL_MESSAGE_ID) + private String mailMessageId; + + public static final String SERIALIZED_NAME_COMPLAINT_RECIPIENT = "complaintRecipient"; + @SerializedName(SERIALIZED_NAME_COMPLAINT_RECIPIENT) + private String complaintRecipient; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public Complaint() { + } + + public Complaint id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public Complaint userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public Complaint eventType(String eventType) { + + this.eventType = eventType; + return this; + } + + /** + * Get eventType + * @return eventType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getEventType() { + return eventType; + } + + + public void setEventType(String eventType) { + this.eventType = eventType; + } + + + public Complaint mailSource(String mailSource) { + + this.mailSource = mailSource; + return this; + } + + /** + * Get mailSource + * @return mailSource + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMailSource() { + return mailSource; + } + + + public void setMailSource(String mailSource) { + this.mailSource = mailSource; + } + + + public Complaint mailMessageId(String mailMessageId) { + + this.mailMessageId = mailMessageId; + return this; + } + + /** + * Get mailMessageId + * @return mailMessageId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMailMessageId() { + return mailMessageId; + } + + + public void setMailMessageId(String mailMessageId) { + this.mailMessageId = mailMessageId; + } + + + public Complaint complaintRecipient(String complaintRecipient) { + + this.complaintRecipient = complaintRecipient; + return this; + } + + /** + * Get complaintRecipient + * @return complaintRecipient + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getComplaintRecipient() { + return complaintRecipient; + } + + + public void setComplaintRecipient(String complaintRecipient) { + this.complaintRecipient = complaintRecipient; + } + + + public Complaint createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public Complaint updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Complaint complaint = (Complaint) o; + return Objects.equals(this.id, complaint.id) && + Objects.equals(this.userId, complaint.userId) && + Objects.equals(this.eventType, complaint.eventType) && + Objects.equals(this.mailSource, complaint.mailSource) && + Objects.equals(this.mailMessageId, complaint.mailMessageId) && + Objects.equals(this.complaintRecipient, complaint.complaintRecipient) && + Objects.equals(this.createdAt, complaint.createdAt) && + Objects.equals(this.updatedAt, complaint.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, eventType, mailSource, mailMessageId, complaintRecipient, createdAt, updatedAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Complaint {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); + sb.append(" mailSource: ").append(toIndentedString(mailSource)).append("\n"); + sb.append(" mailMessageId: ").append(toIndentedString(mailMessageId)).append("\n"); + sb.append(" complaintRecipient: ").append(toIndentedString(complaintRecipient)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("eventType"); + openapiFields.add("mailSource"); + openapiFields.add("mailMessageId"); + openapiFields.add("complaintRecipient"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("complaintRecipient"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to Complaint + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!Complaint.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in Complaint is not found in the empty JSON string", Complaint.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!Complaint.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Complaint` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : Complaint.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("eventType") != null && !jsonObj.get("eventType").isJsonNull()) && !jsonObj.get("eventType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventType").toString())); + } + if ((jsonObj.get("mailSource") != null && !jsonObj.get("mailSource").isJsonNull()) && !jsonObj.get("mailSource").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `mailSource` to be a primitive type in the JSON string but got `%s`", jsonObj.get("mailSource").toString())); + } + if ((jsonObj.get("mailMessageId") != null && !jsonObj.get("mailMessageId").isJsonNull()) && !jsonObj.get("mailMessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `mailMessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("mailMessageId").toString())); + } + if (!jsonObj.get("complaintRecipient").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `complaintRecipient` to be a primitive type in the JSON string but got `%s`", jsonObj.get("complaintRecipient").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!Complaint.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'Complaint' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(Complaint.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, Complaint value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public Complaint read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of Complaint given an JSON string + * + * @param jsonString JSON string + * @return An instance of Complaint + * @throws IOException if the JSON string is invalid with respect to Complaint + */ + public static Complaint fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, Complaint.class); + } + + /** + * Convert an instance of Complaint to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ConditionOption.java b/src/main/java/com/mailslurp/models/ConditionOption.java new file mode 100644 index 000000000..fb33955c5 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ConditionOption.java @@ -0,0 +1,343 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for matching emails in an inbox based on a condition such as `HAS_ATTACHMENTS=TRUE` + */ +@ApiModel(description = "Options for matching emails in an inbox based on a condition such as `HAS_ATTACHMENTS=TRUE`") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ConditionOption { + /** + * Condition of an email object that can be used to filter results + */ + @JsonAdapter(ConditionEnum.Adapter.class) + public enum ConditionEnum { + HAS_ATTACHMENTS("HAS_ATTACHMENTS"); + + private String value; + + ConditionEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ConditionEnum fromValue(String value) { + for (ConditionEnum b : ConditionEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ConditionEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ConditionEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ConditionEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CONDITION = "condition"; + @SerializedName(SERIALIZED_NAME_CONDITION) + private ConditionEnum condition; + + /** + * Expected condition value + */ + @JsonAdapter(ValueEnum.Adapter.class) + public enum ValueEnum { + TRUE("TRUE"), + + FALSE("FALSE"); + + private String value; + + ValueEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ValueEnum fromValue(String value) { + for (ValueEnum b : ValueEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ValueEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ValueEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ValueEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_VALUE = "value"; + @SerializedName(SERIALIZED_NAME_VALUE) + private ValueEnum value; + + public ConditionOption() { + } + + public ConditionOption condition(ConditionEnum condition) { + + this.condition = condition; + return this; + } + + /** + * Condition of an email object that can be used to filter results + * @return condition + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Condition of an email object that can be used to filter results") + + public ConditionEnum getCondition() { + return condition; + } + + + public void setCondition(ConditionEnum condition) { + this.condition = condition; + } + + + public ConditionOption value(ValueEnum value) { + + this.value = value; + return this; + } + + /** + * Expected condition value + * @return value + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Expected condition value") + + public ValueEnum getValue() { + return value; + } + + + public void setValue(ValueEnum value) { + this.value = value; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConditionOption conditionOption = (ConditionOption) o; + return Objects.equals(this.condition, conditionOption.condition) && + Objects.equals(this.value, conditionOption.value); + } + + @Override + public int hashCode() { + return Objects.hash(condition, value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConditionOption {\n"); + sb.append(" condition: ").append(toIndentedString(condition)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("condition"); + openapiFields.add("value"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("condition"); + openapiRequiredFields.add("value"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConditionOption + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConditionOption.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConditionOption is not found in the empty JSON string", ConditionOption.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ConditionOption.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ConditionOption` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ConditionOption.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("condition").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `condition` to be a primitive type in the JSON string but got `%s`", jsonObj.get("condition").toString())); + } + if (!jsonObj.get("value").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConditionOption.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConditionOption' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConditionOption.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConditionOption value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ConditionOption read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConditionOption given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConditionOption + * @throws IOException if the JSON string is invalid with respect to ConditionOption + */ + public static ConditionOption fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConditionOption.class); + } + + /** + * Convert an instance of ConditionOption to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ConnectorDto.java b/src/main/java/com/mailslurp/models/ConnectorDto.java new file mode 100644 index 000000000..958798cd0 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ConnectorDto.java @@ -0,0 +1,740 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * ConnectorDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ConnectorDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + /** + * Gets or Sets connectorType + */ + @JsonAdapter(ConnectorTypeEnum.Adapter.class) + public enum ConnectorTypeEnum { + IMAP("IMAP"); + + private String value; + + ConnectorTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ConnectorTypeEnum fromValue(String value) { + for (ConnectorTypeEnum b : ConnectorTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ConnectorTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ConnectorTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ConnectorTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CONNECTOR_TYPE = "connectorType"; + @SerializedName(SERIALIZED_NAME_CONNECTOR_TYPE) + private ConnectorTypeEnum connectorType; + + /** + * Gets or Sets connectorAuthType + */ + @JsonAdapter(ConnectorAuthTypeEnum.Adapter.class) + public enum ConnectorAuthTypeEnum { + PLAIN_TEXT("PLAIN_TEXT"); + + private String value; + + ConnectorAuthTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ConnectorAuthTypeEnum fromValue(String value) { + for (ConnectorAuthTypeEnum b : ConnectorAuthTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ConnectorAuthTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ConnectorAuthTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ConnectorAuthTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CONNECTOR_AUTH_TYPE = "connectorAuthType"; + @SerializedName(SERIALIZED_NAME_CONNECTOR_AUTH_TYPE) + private ConnectorAuthTypeEnum connectorAuthType; + + public static final String SERIALIZED_NAME_SYNC_ENABLED = "syncEnabled"; + @SerializedName(SERIALIZED_NAME_SYNC_ENABLED) + private Boolean syncEnabled; + + /** + * Gets or Sets syncScheduleType + */ + @JsonAdapter(SyncScheduleTypeEnum.Adapter.class) + public enum SyncScheduleTypeEnum { + INTERVAL("INTERVAL"); + + private String value; + + SyncScheduleTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SyncScheduleTypeEnum fromValue(String value) { + for (SyncScheduleTypeEnum b : SyncScheduleTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SyncScheduleTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SyncScheduleTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SyncScheduleTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SYNC_SCHEDULE_TYPE = "syncScheduleType"; + @SerializedName(SERIALIZED_NAME_SYNC_SCHEDULE_TYPE) + private SyncScheduleTypeEnum syncScheduleType; + + public static final String SERIALIZED_NAME_SYNC_INTERVAL = "syncInterval"; + @SerializedName(SERIALIZED_NAME_SYNC_INTERVAL) + private Integer syncInterval; + + public static final String SERIALIZED_NAME_IMAP_HOST = "imapHost"; + @SerializedName(SERIALIZED_NAME_IMAP_HOST) + private String imapHost; + + public static final String SERIALIZED_NAME_IMAP_PORT = "imapPort"; + @SerializedName(SERIALIZED_NAME_IMAP_PORT) + private Integer imapPort; + + public static final String SERIALIZED_NAME_IMAP_USERNAME = "imapUsername"; + @SerializedName(SERIALIZED_NAME_IMAP_USERNAME) + private String imapUsername; + + public static final String SERIALIZED_NAME_IMAP_PASSWORD = "imapPassword"; + @SerializedName(SERIALIZED_NAME_IMAP_PASSWORD) + private String imapPassword; + + public static final String SERIALIZED_NAME_IMAP_SSL = "imapSsl"; + @SerializedName(SERIALIZED_NAME_IMAP_SSL) + private Boolean imapSsl; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public ConnectorDto() { + } + + public ConnectorDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ConnectorDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public ConnectorDto connectorType(ConnectorTypeEnum connectorType) { + + this.connectorType = connectorType; + return this; + } + + /** + * Get connectorType + * @return connectorType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public ConnectorTypeEnum getConnectorType() { + return connectorType; + } + + + public void setConnectorType(ConnectorTypeEnum connectorType) { + this.connectorType = connectorType; + } + + + public ConnectorDto connectorAuthType(ConnectorAuthTypeEnum connectorAuthType) { + + this.connectorAuthType = connectorAuthType; + return this; + } + + /** + * Get connectorAuthType + * @return connectorAuthType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public ConnectorAuthTypeEnum getConnectorAuthType() { + return connectorAuthType; + } + + + public void setConnectorAuthType(ConnectorAuthTypeEnum connectorAuthType) { + this.connectorAuthType = connectorAuthType; + } + + + public ConnectorDto syncEnabled(Boolean syncEnabled) { + + this.syncEnabled = syncEnabled; + return this; + } + + /** + * Get syncEnabled + * @return syncEnabled + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getSyncEnabled() { + return syncEnabled; + } + + + public void setSyncEnabled(Boolean syncEnabled) { + this.syncEnabled = syncEnabled; + } + + + public ConnectorDto syncScheduleType(SyncScheduleTypeEnum syncScheduleType) { + + this.syncScheduleType = syncScheduleType; + return this; + } + + /** + * Get syncScheduleType + * @return syncScheduleType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public SyncScheduleTypeEnum getSyncScheduleType() { + return syncScheduleType; + } + + + public void setSyncScheduleType(SyncScheduleTypeEnum syncScheduleType) { + this.syncScheduleType = syncScheduleType; + } + + + public ConnectorDto syncInterval(Integer syncInterval) { + + this.syncInterval = syncInterval; + return this; + } + + /** + * Get syncInterval + * @return syncInterval + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSyncInterval() { + return syncInterval; + } + + + public void setSyncInterval(Integer syncInterval) { + this.syncInterval = syncInterval; + } + + + public ConnectorDto imapHost(String imapHost) { + + this.imapHost = imapHost; + return this; + } + + /** + * Get imapHost + * @return imapHost + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getImapHost() { + return imapHost; + } + + + public void setImapHost(String imapHost) { + this.imapHost = imapHost; + } + + + public ConnectorDto imapPort(Integer imapPort) { + + this.imapPort = imapPort; + return this; + } + + /** + * Get imapPort + * @return imapPort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getImapPort() { + return imapPort; + } + + + public void setImapPort(Integer imapPort) { + this.imapPort = imapPort; + } + + + public ConnectorDto imapUsername(String imapUsername) { + + this.imapUsername = imapUsername; + return this; + } + + /** + * Get imapUsername + * @return imapUsername + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getImapUsername() { + return imapUsername; + } + + + public void setImapUsername(String imapUsername) { + this.imapUsername = imapUsername; + } + + + public ConnectorDto imapPassword(String imapPassword) { + + this.imapPassword = imapPassword; + return this; + } + + /** + * Get imapPassword + * @return imapPassword + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getImapPassword() { + return imapPassword; + } + + + public void setImapPassword(String imapPassword) { + this.imapPassword = imapPassword; + } + + + public ConnectorDto imapSsl(Boolean imapSsl) { + + this.imapSsl = imapSsl; + return this; + } + + /** + * Get imapSsl + * @return imapSsl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getImapSsl() { + return imapSsl; + } + + + public void setImapSsl(Boolean imapSsl) { + this.imapSsl = imapSsl; + } + + + public ConnectorDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectorDto connectorDto = (ConnectorDto) o; + return Objects.equals(this.id, connectorDto.id) && + Objects.equals(this.userId, connectorDto.userId) && + Objects.equals(this.connectorType, connectorDto.connectorType) && + Objects.equals(this.connectorAuthType, connectorDto.connectorAuthType) && + Objects.equals(this.syncEnabled, connectorDto.syncEnabled) && + Objects.equals(this.syncScheduleType, connectorDto.syncScheduleType) && + Objects.equals(this.syncInterval, connectorDto.syncInterval) && + Objects.equals(this.imapHost, connectorDto.imapHost) && + Objects.equals(this.imapPort, connectorDto.imapPort) && + Objects.equals(this.imapUsername, connectorDto.imapUsername) && + Objects.equals(this.imapPassword, connectorDto.imapPassword) && + Objects.equals(this.imapSsl, connectorDto.imapSsl) && + Objects.equals(this.createdAt, connectorDto.createdAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, connectorType, connectorAuthType, syncEnabled, syncScheduleType, syncInterval, imapHost, imapPort, imapUsername, imapPassword, imapSsl, createdAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectorDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" connectorType: ").append(toIndentedString(connectorType)).append("\n"); + sb.append(" connectorAuthType: ").append(toIndentedString(connectorAuthType)).append("\n"); + sb.append(" syncEnabled: ").append(toIndentedString(syncEnabled)).append("\n"); + sb.append(" syncScheduleType: ").append(toIndentedString(syncScheduleType)).append("\n"); + sb.append(" syncInterval: ").append(toIndentedString(syncInterval)).append("\n"); + sb.append(" imapHost: ").append(toIndentedString(imapHost)).append("\n"); + sb.append(" imapPort: ").append(toIndentedString(imapPort)).append("\n"); + sb.append(" imapUsername: ").append(toIndentedString(imapUsername)).append("\n"); + sb.append(" imapPassword: ").append(toIndentedString(imapPassword)).append("\n"); + sb.append(" imapSsl: ").append(toIndentedString(imapSsl)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("connectorType"); + openapiFields.add("connectorAuthType"); + openapiFields.add("syncEnabled"); + openapiFields.add("syncScheduleType"); + openapiFields.add("syncInterval"); + openapiFields.add("imapHost"); + openapiFields.add("imapPort"); + openapiFields.add("imapUsername"); + openapiFields.add("imapPassword"); + openapiFields.add("imapSsl"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("connectorType"); + openapiRequiredFields.add("connectorAuthType"); + openapiRequiredFields.add("syncEnabled"); + openapiRequiredFields.add("syncScheduleType"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectorDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectorDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectorDto is not found in the empty JSON string", ConnectorDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ConnectorDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ConnectorDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ConnectorDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("connectorType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `connectorType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("connectorType").toString())); + } + if (!jsonObj.get("connectorAuthType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `connectorAuthType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("connectorAuthType").toString())); + } + if (!jsonObj.get("syncScheduleType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `syncScheduleType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("syncScheduleType").toString())); + } + if ((jsonObj.get("imapHost") != null && !jsonObj.get("imapHost").isJsonNull()) && !jsonObj.get("imapHost").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `imapHost` to be a primitive type in the JSON string but got `%s`", jsonObj.get("imapHost").toString())); + } + if ((jsonObj.get("imapUsername") != null && !jsonObj.get("imapUsername").isJsonNull()) && !jsonObj.get("imapUsername").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `imapUsername` to be a primitive type in the JSON string but got `%s`", jsonObj.get("imapUsername").toString())); + } + if ((jsonObj.get("imapPassword") != null && !jsonObj.get("imapPassword").isJsonNull()) && !jsonObj.get("imapPassword").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `imapPassword` to be a primitive type in the JSON string but got `%s`", jsonObj.get("imapPassword").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectorDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectorDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectorDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectorDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ConnectorDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectorDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectorDto + * @throws IOException if the JSON string is invalid with respect to ConnectorDto + */ + public static ConnectorDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectorDto.class); + } + + /** + * Convert an instance of ConnectorDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ConnectorProjection.java b/src/main/java/com/mailslurp/models/ConnectorProjection.java new file mode 100644 index 000000000..17fc408c4 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ConnectorProjection.java @@ -0,0 +1,536 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Connector + */ +@ApiModel(description = "Connector") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ConnectorProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + /** + * Gets or Sets connectorType + */ + @JsonAdapter(ConnectorTypeEnum.Adapter.class) + public enum ConnectorTypeEnum { + IMAP("IMAP"); + + private String value; + + ConnectorTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ConnectorTypeEnum fromValue(String value) { + for (ConnectorTypeEnum b : ConnectorTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ConnectorTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ConnectorTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ConnectorTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CONNECTOR_TYPE = "connectorType"; + @SerializedName(SERIALIZED_NAME_CONNECTOR_TYPE) + private ConnectorTypeEnum connectorType; + + /** + * Gets or Sets syncScheduleType + */ + @JsonAdapter(SyncScheduleTypeEnum.Adapter.class) + public enum SyncScheduleTypeEnum { + INTERVAL("INTERVAL"); + + private String value; + + SyncScheduleTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SyncScheduleTypeEnum fromValue(String value) { + for (SyncScheduleTypeEnum b : SyncScheduleTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SyncScheduleTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SyncScheduleTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SyncScheduleTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SYNC_SCHEDULE_TYPE = "syncScheduleType"; + @SerializedName(SERIALIZED_NAME_SYNC_SCHEDULE_TYPE) + private SyncScheduleTypeEnum syncScheduleType; + + public static final String SERIALIZED_NAME_SYNC_INTERVAL = "syncInterval"; + @SerializedName(SERIALIZED_NAME_SYNC_INTERVAL) + private Integer syncInterval; + + public static final String SERIALIZED_NAME_SYNC_ENABLED = "syncEnabled"; + @SerializedName(SERIALIZED_NAME_SYNC_ENABLED) + private Boolean syncEnabled; + + public ConnectorProjection() { + } + + public ConnectorProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ConnectorProjection inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public ConnectorProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public ConnectorProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public ConnectorProjection connectorType(ConnectorTypeEnum connectorType) { + + this.connectorType = connectorType; + return this; + } + + /** + * Get connectorType + * @return connectorType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public ConnectorTypeEnum getConnectorType() { + return connectorType; + } + + + public void setConnectorType(ConnectorTypeEnum connectorType) { + this.connectorType = connectorType; + } + + + public ConnectorProjection syncScheduleType(SyncScheduleTypeEnum syncScheduleType) { + + this.syncScheduleType = syncScheduleType; + return this; + } + + /** + * Get syncScheduleType + * @return syncScheduleType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public SyncScheduleTypeEnum getSyncScheduleType() { + return syncScheduleType; + } + + + public void setSyncScheduleType(SyncScheduleTypeEnum syncScheduleType) { + this.syncScheduleType = syncScheduleType; + } + + + public ConnectorProjection syncInterval(Integer syncInterval) { + + this.syncInterval = syncInterval; + return this; + } + + /** + * Get syncInterval + * @return syncInterval + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSyncInterval() { + return syncInterval; + } + + + public void setSyncInterval(Integer syncInterval) { + this.syncInterval = syncInterval; + } + + + public ConnectorProjection syncEnabled(Boolean syncEnabled) { + + this.syncEnabled = syncEnabled; + return this; + } + + /** + * Get syncEnabled + * @return syncEnabled + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getSyncEnabled() { + return syncEnabled; + } + + + public void setSyncEnabled(Boolean syncEnabled) { + this.syncEnabled = syncEnabled; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectorProjection connectorProjection = (ConnectorProjection) o; + return Objects.equals(this.id, connectorProjection.id) && + Objects.equals(this.inboxId, connectorProjection.inboxId) && + Objects.equals(this.userId, connectorProjection.userId) && + Objects.equals(this.createdAt, connectorProjection.createdAt) && + Objects.equals(this.connectorType, connectorProjection.connectorType) && + Objects.equals(this.syncScheduleType, connectorProjection.syncScheduleType) && + Objects.equals(this.syncInterval, connectorProjection.syncInterval) && + Objects.equals(this.syncEnabled, connectorProjection.syncEnabled); + } + + @Override + public int hashCode() { + return Objects.hash(id, inboxId, userId, createdAt, connectorType, syncScheduleType, syncInterval, syncEnabled); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectorProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" connectorType: ").append(toIndentedString(connectorType)).append("\n"); + sb.append(" syncScheduleType: ").append(toIndentedString(syncScheduleType)).append("\n"); + sb.append(" syncInterval: ").append(toIndentedString(syncInterval)).append("\n"); + sb.append(" syncEnabled: ").append(toIndentedString(syncEnabled)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("inboxId"); + openapiFields.add("userId"); + openapiFields.add("createdAt"); + openapiFields.add("connectorType"); + openapiFields.add("syncScheduleType"); + openapiFields.add("syncInterval"); + openapiFields.add("syncEnabled"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("connectorType"); + openapiRequiredFields.add("syncScheduleType"); + openapiRequiredFields.add("syncEnabled"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectorProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectorProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectorProjection is not found in the empty JSON string", ConnectorProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ConnectorProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ConnectorProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ConnectorProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("connectorType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `connectorType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("connectorType").toString())); + } + if (!jsonObj.get("syncScheduleType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `syncScheduleType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("syncScheduleType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectorProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectorProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectorProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectorProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ConnectorProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectorProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectorProjection + * @throws IOException if the JSON string is invalid with respect to ConnectorProjection + */ + public static ConnectorProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectorProjection.class); + } + + /** + * Convert an instance of ConnectorProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ConnectorSyncEventDto.java b/src/main/java/com/mailslurp/models/ConnectorSyncEventDto.java new file mode 100644 index 000000000..d3bdd3450 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ConnectorSyncEventDto.java @@ -0,0 +1,434 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * ConnectorSyncEventDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ConnectorSyncEventDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_CONNECTOR_ID = "connectorId"; + @SerializedName(SERIALIZED_NAME_CONNECTOR_ID) + private UUID connectorId; + + /** + * Gets or Sets syncStatus + */ + @JsonAdapter(SyncStatusEnum.Adapter.class) + public enum SyncStatusEnum { + SUCCESS("SUCCESS"), + + INTERNAL_ERROR("INTERNAL_ERROR"), + + SUBSCRIPTION_ERROR("SUBSCRIPTION_ERROR"), + + CONNECTION_ERROR("CONNECTION_ERROR"), + + NOT_FOUND("NOT_FOUND"); + + private String value; + + SyncStatusEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SyncStatusEnum fromValue(String value) { + for (SyncStatusEnum b : SyncStatusEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SyncStatusEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SyncStatusEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SyncStatusEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SYNC_STATUS = "syncStatus"; + @SerializedName(SERIALIZED_NAME_SYNC_STATUS) + private SyncStatusEnum syncStatus; + + public static final String SERIALIZED_NAME_SYNC_COUNT = "syncCount"; + @SerializedName(SERIALIZED_NAME_SYNC_COUNT) + private Long syncCount; + + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public ConnectorSyncEventDto() { + } + + public ConnectorSyncEventDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ConnectorSyncEventDto connectorId(UUID connectorId) { + + this.connectorId = connectorId; + return this; + } + + /** + * Get connectorId + * @return connectorId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getConnectorId() { + return connectorId; + } + + + public void setConnectorId(UUID connectorId) { + this.connectorId = connectorId; + } + + + public ConnectorSyncEventDto syncStatus(SyncStatusEnum syncStatus) { + + this.syncStatus = syncStatus; + return this; + } + + /** + * Get syncStatus + * @return syncStatus + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public SyncStatusEnum getSyncStatus() { + return syncStatus; + } + + + public void setSyncStatus(SyncStatusEnum syncStatus) { + this.syncStatus = syncStatus; + } + + + public ConnectorSyncEventDto syncCount(Long syncCount) { + + this.syncCount = syncCount; + return this; + } + + /** + * Get syncCount + * @return syncCount + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Long getSyncCount() { + return syncCount; + } + + + public void setSyncCount(Long syncCount) { + this.syncCount = syncCount; + } + + + public ConnectorSyncEventDto message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + public ConnectorSyncEventDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectorSyncEventDto connectorSyncEventDto = (ConnectorSyncEventDto) o; + return Objects.equals(this.id, connectorSyncEventDto.id) && + Objects.equals(this.connectorId, connectorSyncEventDto.connectorId) && + Objects.equals(this.syncStatus, connectorSyncEventDto.syncStatus) && + Objects.equals(this.syncCount, connectorSyncEventDto.syncCount) && + Objects.equals(this.message, connectorSyncEventDto.message) && + Objects.equals(this.createdAt, connectorSyncEventDto.createdAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, connectorId, syncStatus, syncCount, message, createdAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectorSyncEventDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" connectorId: ").append(toIndentedString(connectorId)).append("\n"); + sb.append(" syncStatus: ").append(toIndentedString(syncStatus)).append("\n"); + sb.append(" syncCount: ").append(toIndentedString(syncCount)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("connectorId"); + openapiFields.add("syncStatus"); + openapiFields.add("syncCount"); + openapiFields.add("message"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("connectorId"); + openapiRequiredFields.add("syncStatus"); + openapiRequiredFields.add("syncCount"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectorSyncEventDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectorSyncEventDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectorSyncEventDto is not found in the empty JSON string", ConnectorSyncEventDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ConnectorSyncEventDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ConnectorSyncEventDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ConnectorSyncEventDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("connectorId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `connectorId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("connectorId").toString())); + } + if (!jsonObj.get("syncStatus").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `syncStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("syncStatus").toString())); + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectorSyncEventDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectorSyncEventDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectorSyncEventDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectorSyncEventDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ConnectorSyncEventDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectorSyncEventDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectorSyncEventDto + * @throws IOException if the JSON string is invalid with respect to ConnectorSyncEventDto + */ + public static ConnectorSyncEventDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectorSyncEventDto.class); + } + + /** + * Convert an instance of ConnectorSyncEventDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ConnectorSyncEventProjection.java b/src/main/java/com/mailslurp/models/ConnectorSyncEventProjection.java new file mode 100644 index 000000000..3a5329a51 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ConnectorSyncEventProjection.java @@ -0,0 +1,434 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * ConnectorSyncEventProjection + */ +@ApiModel(description = "ConnectorSyncEventProjection") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ConnectorSyncEventProjection { + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_CONNECTOR_ID = "connectorId"; + @SerializedName(SERIALIZED_NAME_CONNECTOR_ID) + private UUID connectorId; + + public static final String SERIALIZED_NAME_SYNC_COUNT = "syncCount"; + @SerializedName(SERIALIZED_NAME_SYNC_COUNT) + private Long syncCount; + + /** + * Gets or Sets syncStatus + */ + @JsonAdapter(SyncStatusEnum.Adapter.class) + public enum SyncStatusEnum { + SUCCESS("SUCCESS"), + + INTERNAL_ERROR("INTERNAL_ERROR"), + + SUBSCRIPTION_ERROR("SUBSCRIPTION_ERROR"), + + CONNECTION_ERROR("CONNECTION_ERROR"), + + NOT_FOUND("NOT_FOUND"); + + private String value; + + SyncStatusEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SyncStatusEnum fromValue(String value) { + for (SyncStatusEnum b : SyncStatusEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SyncStatusEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SyncStatusEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SyncStatusEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SYNC_STATUS = "syncStatus"; + @SerializedName(SERIALIZED_NAME_SYNC_STATUS) + private SyncStatusEnum syncStatus; + + public ConnectorSyncEventProjection() { + } + + public ConnectorSyncEventProjection message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + public ConnectorSyncEventProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ConnectorSyncEventProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public ConnectorSyncEventProjection connectorId(UUID connectorId) { + + this.connectorId = connectorId; + return this; + } + + /** + * Get connectorId + * @return connectorId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getConnectorId() { + return connectorId; + } + + + public void setConnectorId(UUID connectorId) { + this.connectorId = connectorId; + } + + + public ConnectorSyncEventProjection syncCount(Long syncCount) { + + this.syncCount = syncCount; + return this; + } + + /** + * Get syncCount + * @return syncCount + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Long getSyncCount() { + return syncCount; + } + + + public void setSyncCount(Long syncCount) { + this.syncCount = syncCount; + } + + + public ConnectorSyncEventProjection syncStatus(SyncStatusEnum syncStatus) { + + this.syncStatus = syncStatus; + return this; + } + + /** + * Get syncStatus + * @return syncStatus + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public SyncStatusEnum getSyncStatus() { + return syncStatus; + } + + + public void setSyncStatus(SyncStatusEnum syncStatus) { + this.syncStatus = syncStatus; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectorSyncEventProjection connectorSyncEventProjection = (ConnectorSyncEventProjection) o; + return Objects.equals(this.message, connectorSyncEventProjection.message) && + Objects.equals(this.id, connectorSyncEventProjection.id) && + Objects.equals(this.createdAt, connectorSyncEventProjection.createdAt) && + Objects.equals(this.connectorId, connectorSyncEventProjection.connectorId) && + Objects.equals(this.syncCount, connectorSyncEventProjection.syncCount) && + Objects.equals(this.syncStatus, connectorSyncEventProjection.syncStatus); + } + + @Override + public int hashCode() { + return Objects.hash(message, id, createdAt, connectorId, syncCount, syncStatus); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectorSyncEventProjection {\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" connectorId: ").append(toIndentedString(connectorId)).append("\n"); + sb.append(" syncCount: ").append(toIndentedString(syncCount)).append("\n"); + sb.append(" syncStatus: ").append(toIndentedString(syncStatus)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("message"); + openapiFields.add("id"); + openapiFields.add("createdAt"); + openapiFields.add("connectorId"); + openapiFields.add("syncCount"); + openapiFields.add("syncStatus"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("connectorId"); + openapiRequiredFields.add("syncCount"); + openapiRequiredFields.add("syncStatus"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectorSyncEventProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectorSyncEventProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectorSyncEventProjection is not found in the empty JSON string", ConnectorSyncEventProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ConnectorSyncEventProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ConnectorSyncEventProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ConnectorSyncEventProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("connectorId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `connectorId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("connectorId").toString())); + } + if (!jsonObj.get("syncStatus").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `syncStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("syncStatus").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectorSyncEventProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectorSyncEventProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectorSyncEventProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectorSyncEventProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ConnectorSyncEventProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectorSyncEventProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectorSyncEventProjection + * @throws IOException if the JSON string is invalid with respect to ConnectorSyncEventProjection + */ + public static ConnectorSyncEventProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectorSyncEventProjection.class); + } + + /** + * Convert an instance of ConnectorSyncEventProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ConnectorSyncRequestResult.java b/src/main/java/com/mailslurp/models/ConnectorSyncRequestResult.java new file mode 100644 index 000000000..7d2e7092c --- /dev/null +++ b/src/main/java/com/mailslurp/models/ConnectorSyncRequestResult.java @@ -0,0 +1,279 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorSyncRequestResultException; +import com.mailslurp.models.ConnectorSyncResult; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * ConnectorSyncRequestResult + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ConnectorSyncRequestResult { + public static final String SERIALIZED_NAME_SYNC_RESULT = "syncResult"; + @SerializedName(SERIALIZED_NAME_SYNC_RESULT) + private ConnectorSyncResult syncResult; + + public static final String SERIALIZED_NAME_EXCEPTION = "exception"; + @SerializedName(SERIALIZED_NAME_EXCEPTION) + private ConnectorSyncRequestResultException exception; + + public static final String SERIALIZED_NAME_EVENT_ID = "eventId"; + @SerializedName(SERIALIZED_NAME_EVENT_ID) + private UUID eventId; + + public ConnectorSyncRequestResult() { + } + + public ConnectorSyncRequestResult syncResult(ConnectorSyncResult syncResult) { + + this.syncResult = syncResult; + return this; + } + + /** + * Get syncResult + * @return syncResult + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public ConnectorSyncResult getSyncResult() { + return syncResult; + } + + + public void setSyncResult(ConnectorSyncResult syncResult) { + this.syncResult = syncResult; + } + + + public ConnectorSyncRequestResult exception(ConnectorSyncRequestResultException exception) { + + this.exception = exception; + return this; + } + + /** + * Get exception + * @return exception + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public ConnectorSyncRequestResultException getException() { + return exception; + } + + + public void setException(ConnectorSyncRequestResultException exception) { + this.exception = exception; + } + + + public ConnectorSyncRequestResult eventId(UUID eventId) { + + this.eventId = eventId; + return this; + } + + /** + * Get eventId + * @return eventId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getEventId() { + return eventId; + } + + + public void setEventId(UUID eventId) { + this.eventId = eventId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectorSyncRequestResult connectorSyncRequestResult = (ConnectorSyncRequestResult) o; + return Objects.equals(this.syncResult, connectorSyncRequestResult.syncResult) && + Objects.equals(this.exception, connectorSyncRequestResult.exception) && + Objects.equals(this.eventId, connectorSyncRequestResult.eventId); + } + + @Override + public int hashCode() { + return Objects.hash(syncResult, exception, eventId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectorSyncRequestResult {\n"); + sb.append(" syncResult: ").append(toIndentedString(syncResult)).append("\n"); + sb.append(" exception: ").append(toIndentedString(exception)).append("\n"); + sb.append(" eventId: ").append(toIndentedString(eventId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("syncResult"); + openapiFields.add("exception"); + openapiFields.add("eventId"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectorSyncRequestResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectorSyncRequestResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectorSyncRequestResult is not found in the empty JSON string", ConnectorSyncRequestResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ConnectorSyncRequestResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ConnectorSyncRequestResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + // validate the optional field `syncResult` + if (jsonObj.get("syncResult") != null && !jsonObj.get("syncResult").isJsonNull()) { + ConnectorSyncResult.validateJsonObject(jsonObj.getAsJsonObject("syncResult")); + } + // validate the optional field `exception` + if (jsonObj.get("exception") != null && !jsonObj.get("exception").isJsonNull()) { + ConnectorSyncRequestResultException.validateJsonObject(jsonObj.getAsJsonObject("exception")); + } + if ((jsonObj.get("eventId") != null && !jsonObj.get("eventId").isJsonNull()) && !jsonObj.get("eventId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectorSyncRequestResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectorSyncRequestResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectorSyncRequestResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectorSyncRequestResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ConnectorSyncRequestResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectorSyncRequestResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectorSyncRequestResult + * @throws IOException if the JSON string is invalid with respect to ConnectorSyncRequestResult + */ + public static ConnectorSyncRequestResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectorSyncRequestResult.class); + } + + /** + * Convert an instance of ConnectorSyncRequestResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultException.java b/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultException.java new file mode 100644 index 000000000..ac2301b78 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultException.java @@ -0,0 +1,384 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCause; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * ConnectorSyncRequestResultException + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ConnectorSyncRequestResultException { + public static final String SERIALIZED_NAME_CAUSE = "cause"; + @SerializedName(SERIALIZED_NAME_CAUSE) + private ConnectorSyncRequestResultExceptionCause cause; + + public static final String SERIALIZED_NAME_STACK_TRACE = "stackTrace"; + @SerializedName(SERIALIZED_NAME_STACK_TRACE) + private List stackTrace = null; + + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public static final String SERIALIZED_NAME_SUPPRESSED = "suppressed"; + @SerializedName(SERIALIZED_NAME_SUPPRESSED) + private List suppressed = null; + + public static final String SERIALIZED_NAME_LOCALIZED_MESSAGE = "localizedMessage"; + @SerializedName(SERIALIZED_NAME_LOCALIZED_MESSAGE) + private String localizedMessage; + + public ConnectorSyncRequestResultException() { + } + + public ConnectorSyncRequestResultException cause(ConnectorSyncRequestResultExceptionCause cause) { + + this.cause = cause; + return this; + } + + /** + * Get cause + * @return cause + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public ConnectorSyncRequestResultExceptionCause getCause() { + return cause; + } + + + public void setCause(ConnectorSyncRequestResultExceptionCause cause) { + this.cause = cause; + } + + + public ConnectorSyncRequestResultException stackTrace(List stackTrace) { + + this.stackTrace = stackTrace; + return this; + } + + public ConnectorSyncRequestResultException addStackTraceItem(ConnectorSyncRequestResultExceptionCauseStackTraceInner stackTraceItem) { + if (this.stackTrace == null) { + this.stackTrace = new ArrayList<>(); + } + this.stackTrace.add(stackTraceItem); + return this; + } + + /** + * Get stackTrace + * @return stackTrace + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getStackTrace() { + return stackTrace; + } + + + public void setStackTrace(List stackTrace) { + this.stackTrace = stackTrace; + } + + + public ConnectorSyncRequestResultException message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + public ConnectorSyncRequestResultException suppressed(List suppressed) { + + this.suppressed = suppressed; + return this; + } + + public ConnectorSyncRequestResultException addSuppressedItem(ConnectorSyncRequestResultExceptionCauseSuppressedInner suppressedItem) { + if (this.suppressed == null) { + this.suppressed = new ArrayList<>(); + } + this.suppressed.add(suppressedItem); + return this; + } + + /** + * Get suppressed + * @return suppressed + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getSuppressed() { + return suppressed; + } + + + public void setSuppressed(List suppressed) { + this.suppressed = suppressed; + } + + + public ConnectorSyncRequestResultException localizedMessage(String localizedMessage) { + + this.localizedMessage = localizedMessage; + return this; + } + + /** + * Get localizedMessage + * @return localizedMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getLocalizedMessage() { + return localizedMessage; + } + + + public void setLocalizedMessage(String localizedMessage) { + this.localizedMessage = localizedMessage; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectorSyncRequestResultException connectorSyncRequestResultException = (ConnectorSyncRequestResultException) o; + return Objects.equals(this.cause, connectorSyncRequestResultException.cause) && + Objects.equals(this.stackTrace, connectorSyncRequestResultException.stackTrace) && + Objects.equals(this.message, connectorSyncRequestResultException.message) && + Objects.equals(this.suppressed, connectorSyncRequestResultException.suppressed) && + Objects.equals(this.localizedMessage, connectorSyncRequestResultException.localizedMessage); + } + + @Override + public int hashCode() { + return Objects.hash(cause, stackTrace, message, suppressed, localizedMessage); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectorSyncRequestResultException {\n"); + sb.append(" cause: ").append(toIndentedString(cause)).append("\n"); + sb.append(" stackTrace: ").append(toIndentedString(stackTrace)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" suppressed: ").append(toIndentedString(suppressed)).append("\n"); + sb.append(" localizedMessage: ").append(toIndentedString(localizedMessage)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("cause"); + openapiFields.add("stackTrace"); + openapiFields.add("message"); + openapiFields.add("suppressed"); + openapiFields.add("localizedMessage"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectorSyncRequestResultException + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectorSyncRequestResultException.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectorSyncRequestResultException is not found in the empty JSON string", ConnectorSyncRequestResultException.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ConnectorSyncRequestResultException.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ConnectorSyncRequestResultException` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + // validate the optional field `cause` + if (jsonObj.get("cause") != null && !jsonObj.get("cause").isJsonNull()) { + ConnectorSyncRequestResultExceptionCause.validateJsonObject(jsonObj.getAsJsonObject("cause")); + } + if (jsonObj.get("stackTrace") != null && !jsonObj.get("stackTrace").isJsonNull()) { + JsonArray jsonArraystackTrace = jsonObj.getAsJsonArray("stackTrace"); + if (jsonArraystackTrace != null) { + // ensure the json data is an array + if (!jsonObj.get("stackTrace").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `stackTrace` to be an array in the JSON string but got `%s`", jsonObj.get("stackTrace").toString())); + } + + // validate the optional field `stackTrace` (array) + for (int i = 0; i < jsonArraystackTrace.size(); i++) { + ConnectorSyncRequestResultExceptionCauseStackTraceInner.validateJsonObject(jsonArraystackTrace.get(i).getAsJsonObject()); + }; + } + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + if (jsonObj.get("suppressed") != null && !jsonObj.get("suppressed").isJsonNull()) { + JsonArray jsonArraysuppressed = jsonObj.getAsJsonArray("suppressed"); + if (jsonArraysuppressed != null) { + // ensure the json data is an array + if (!jsonObj.get("suppressed").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `suppressed` to be an array in the JSON string but got `%s`", jsonObj.get("suppressed").toString())); + } + + // validate the optional field `suppressed` (array) + for (int i = 0; i < jsonArraysuppressed.size(); i++) { + ConnectorSyncRequestResultExceptionCauseSuppressedInner.validateJsonObject(jsonArraysuppressed.get(i).getAsJsonObject()); + }; + } + } + if ((jsonObj.get("localizedMessage") != null && !jsonObj.get("localizedMessage").isJsonNull()) && !jsonObj.get("localizedMessage").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `localizedMessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localizedMessage").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectorSyncRequestResultException.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectorSyncRequestResultException' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectorSyncRequestResultException.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectorSyncRequestResultException value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ConnectorSyncRequestResultException read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectorSyncRequestResultException given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectorSyncRequestResultException + * @throws IOException if the JSON string is invalid with respect to ConnectorSyncRequestResultException + */ + public static ConnectorSyncRequestResultException fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectorSyncRequestResultException.class); + } + + /** + * Convert an instance of ConnectorSyncRequestResultException to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.java b/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.java new file mode 100644 index 000000000..32d779816 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCause.java @@ -0,0 +1,349 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * ConnectorSyncRequestResultExceptionCause + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ConnectorSyncRequestResultExceptionCause { + public static final String SERIALIZED_NAME_STACK_TRACE = "stackTrace"; + @SerializedName(SERIALIZED_NAME_STACK_TRACE) + private List stackTrace = null; + + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public static final String SERIALIZED_NAME_SUPPRESSED = "suppressed"; + @SerializedName(SERIALIZED_NAME_SUPPRESSED) + private List suppressed = null; + + public static final String SERIALIZED_NAME_LOCALIZED_MESSAGE = "localizedMessage"; + @SerializedName(SERIALIZED_NAME_LOCALIZED_MESSAGE) + private String localizedMessage; + + public ConnectorSyncRequestResultExceptionCause() { + } + + public ConnectorSyncRequestResultExceptionCause stackTrace(List stackTrace) { + + this.stackTrace = stackTrace; + return this; + } + + public ConnectorSyncRequestResultExceptionCause addStackTraceItem(ConnectorSyncRequestResultExceptionCauseStackTraceInner stackTraceItem) { + if (this.stackTrace == null) { + this.stackTrace = new ArrayList<>(); + } + this.stackTrace.add(stackTraceItem); + return this; + } + + /** + * Get stackTrace + * @return stackTrace + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getStackTrace() { + return stackTrace; + } + + + public void setStackTrace(List stackTrace) { + this.stackTrace = stackTrace; + } + + + public ConnectorSyncRequestResultExceptionCause message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + public ConnectorSyncRequestResultExceptionCause suppressed(List suppressed) { + + this.suppressed = suppressed; + return this; + } + + public ConnectorSyncRequestResultExceptionCause addSuppressedItem(ConnectorSyncRequestResultExceptionCauseSuppressedInner suppressedItem) { + if (this.suppressed == null) { + this.suppressed = new ArrayList<>(); + } + this.suppressed.add(suppressedItem); + return this; + } + + /** + * Get suppressed + * @return suppressed + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getSuppressed() { + return suppressed; + } + + + public void setSuppressed(List suppressed) { + this.suppressed = suppressed; + } + + + public ConnectorSyncRequestResultExceptionCause localizedMessage(String localizedMessage) { + + this.localizedMessage = localizedMessage; + return this; + } + + /** + * Get localizedMessage + * @return localizedMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getLocalizedMessage() { + return localizedMessage; + } + + + public void setLocalizedMessage(String localizedMessage) { + this.localizedMessage = localizedMessage; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectorSyncRequestResultExceptionCause connectorSyncRequestResultExceptionCause = (ConnectorSyncRequestResultExceptionCause) o; + return Objects.equals(this.stackTrace, connectorSyncRequestResultExceptionCause.stackTrace) && + Objects.equals(this.message, connectorSyncRequestResultExceptionCause.message) && + Objects.equals(this.suppressed, connectorSyncRequestResultExceptionCause.suppressed) && + Objects.equals(this.localizedMessage, connectorSyncRequestResultExceptionCause.localizedMessage); + } + + @Override + public int hashCode() { + return Objects.hash(stackTrace, message, suppressed, localizedMessage); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectorSyncRequestResultExceptionCause {\n"); + sb.append(" stackTrace: ").append(toIndentedString(stackTrace)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" suppressed: ").append(toIndentedString(suppressed)).append("\n"); + sb.append(" localizedMessage: ").append(toIndentedString(localizedMessage)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("stackTrace"); + openapiFields.add("message"); + openapiFields.add("suppressed"); + openapiFields.add("localizedMessage"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectorSyncRequestResultExceptionCause + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectorSyncRequestResultExceptionCause.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectorSyncRequestResultExceptionCause is not found in the empty JSON string", ConnectorSyncRequestResultExceptionCause.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ConnectorSyncRequestResultExceptionCause.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ConnectorSyncRequestResultExceptionCause` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("stackTrace") != null && !jsonObj.get("stackTrace").isJsonNull()) { + JsonArray jsonArraystackTrace = jsonObj.getAsJsonArray("stackTrace"); + if (jsonArraystackTrace != null) { + // ensure the json data is an array + if (!jsonObj.get("stackTrace").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `stackTrace` to be an array in the JSON string but got `%s`", jsonObj.get("stackTrace").toString())); + } + + // validate the optional field `stackTrace` (array) + for (int i = 0; i < jsonArraystackTrace.size(); i++) { + ConnectorSyncRequestResultExceptionCauseStackTraceInner.validateJsonObject(jsonArraystackTrace.get(i).getAsJsonObject()); + }; + } + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + if (jsonObj.get("suppressed") != null && !jsonObj.get("suppressed").isJsonNull()) { + JsonArray jsonArraysuppressed = jsonObj.getAsJsonArray("suppressed"); + if (jsonArraysuppressed != null) { + // ensure the json data is an array + if (!jsonObj.get("suppressed").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `suppressed` to be an array in the JSON string but got `%s`", jsonObj.get("suppressed").toString())); + } + + // validate the optional field `suppressed` (array) + for (int i = 0; i < jsonArraysuppressed.size(); i++) { + ConnectorSyncRequestResultExceptionCauseSuppressedInner.validateJsonObject(jsonArraysuppressed.get(i).getAsJsonObject()); + }; + } + } + if ((jsonObj.get("localizedMessage") != null && !jsonObj.get("localizedMessage").isJsonNull()) && !jsonObj.get("localizedMessage").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `localizedMessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localizedMessage").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectorSyncRequestResultExceptionCause.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectorSyncRequestResultExceptionCause' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectorSyncRequestResultExceptionCause.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectorSyncRequestResultExceptionCause value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ConnectorSyncRequestResultExceptionCause read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectorSyncRequestResultExceptionCause given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectorSyncRequestResultExceptionCause + * @throws IOException if the JSON string is invalid with respect to ConnectorSyncRequestResultExceptionCause + */ + public static ConnectorSyncRequestResultExceptionCause fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectorSyncRequestResultExceptionCause.class); + } + + /** + * Convert an instance of ConnectorSyncRequestResultExceptionCause to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.java b/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.java new file mode 100644 index 000000000..b490388bf --- /dev/null +++ b/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInner.java @@ -0,0 +1,433 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * ConnectorSyncRequestResultExceptionCauseStackTraceInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ConnectorSyncRequestResultExceptionCauseStackTraceInner { + public static final String SERIALIZED_NAME_CLASS_LOADER_NAME = "classLoaderName"; + @SerializedName(SERIALIZED_NAME_CLASS_LOADER_NAME) + private String classLoaderName; + + public static final String SERIALIZED_NAME_MODULE_NAME = "moduleName"; + @SerializedName(SERIALIZED_NAME_MODULE_NAME) + private String moduleName; + + public static final String SERIALIZED_NAME_MODULE_VERSION = "moduleVersion"; + @SerializedName(SERIALIZED_NAME_MODULE_VERSION) + private String moduleVersion; + + public static final String SERIALIZED_NAME_METHOD_NAME = "methodName"; + @SerializedName(SERIALIZED_NAME_METHOD_NAME) + private String methodName; + + public static final String SERIALIZED_NAME_FILE_NAME = "fileName"; + @SerializedName(SERIALIZED_NAME_FILE_NAME) + private String fileName; + + public static final String SERIALIZED_NAME_LINE_NUMBER = "lineNumber"; + @SerializedName(SERIALIZED_NAME_LINE_NUMBER) + private Integer lineNumber; + + public static final String SERIALIZED_NAME_NATIVE_METHOD = "nativeMethod"; + @SerializedName(SERIALIZED_NAME_NATIVE_METHOD) + private Boolean nativeMethod; + + public static final String SERIALIZED_NAME_CLASS_NAME = "className"; + @SerializedName(SERIALIZED_NAME_CLASS_NAME) + private String className; + + public ConnectorSyncRequestResultExceptionCauseStackTraceInner() { + } + + public ConnectorSyncRequestResultExceptionCauseStackTraceInner classLoaderName(String classLoaderName) { + + this.classLoaderName = classLoaderName; + return this; + } + + /** + * Get classLoaderName + * @return classLoaderName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getClassLoaderName() { + return classLoaderName; + } + + + public void setClassLoaderName(String classLoaderName) { + this.classLoaderName = classLoaderName; + } + + + public ConnectorSyncRequestResultExceptionCauseStackTraceInner moduleName(String moduleName) { + + this.moduleName = moduleName; + return this; + } + + /** + * Get moduleName + * @return moduleName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getModuleName() { + return moduleName; + } + + + public void setModuleName(String moduleName) { + this.moduleName = moduleName; + } + + + public ConnectorSyncRequestResultExceptionCauseStackTraceInner moduleVersion(String moduleVersion) { + + this.moduleVersion = moduleVersion; + return this; + } + + /** + * Get moduleVersion + * @return moduleVersion + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getModuleVersion() { + return moduleVersion; + } + + + public void setModuleVersion(String moduleVersion) { + this.moduleVersion = moduleVersion; + } + + + public ConnectorSyncRequestResultExceptionCauseStackTraceInner methodName(String methodName) { + + this.methodName = methodName; + return this; + } + + /** + * Get methodName + * @return methodName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMethodName() { + return methodName; + } + + + public void setMethodName(String methodName) { + this.methodName = methodName; + } + + + public ConnectorSyncRequestResultExceptionCauseStackTraceInner fileName(String fileName) { + + this.fileName = fileName; + return this; + } + + /** + * Get fileName + * @return fileName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getFileName() { + return fileName; + } + + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + + public ConnectorSyncRequestResultExceptionCauseStackTraceInner lineNumber(Integer lineNumber) { + + this.lineNumber = lineNumber; + return this; + } + + /** + * Get lineNumber + * @return lineNumber + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getLineNumber() { + return lineNumber; + } + + + public void setLineNumber(Integer lineNumber) { + this.lineNumber = lineNumber; + } + + + public ConnectorSyncRequestResultExceptionCauseStackTraceInner nativeMethod(Boolean nativeMethod) { + + this.nativeMethod = nativeMethod; + return this; + } + + /** + * Get nativeMethod + * @return nativeMethod + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getNativeMethod() { + return nativeMethod; + } + + + public void setNativeMethod(Boolean nativeMethod) { + this.nativeMethod = nativeMethod; + } + + + public ConnectorSyncRequestResultExceptionCauseStackTraceInner className(String className) { + + this.className = className; + return this; + } + + /** + * Get className + * @return className + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getClassName() { + return className; + } + + + public void setClassName(String className) { + this.className = className; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectorSyncRequestResultExceptionCauseStackTraceInner connectorSyncRequestResultExceptionCauseStackTraceInner = (ConnectorSyncRequestResultExceptionCauseStackTraceInner) o; + return Objects.equals(this.classLoaderName, connectorSyncRequestResultExceptionCauseStackTraceInner.classLoaderName) && + Objects.equals(this.moduleName, connectorSyncRequestResultExceptionCauseStackTraceInner.moduleName) && + Objects.equals(this.moduleVersion, connectorSyncRequestResultExceptionCauseStackTraceInner.moduleVersion) && + Objects.equals(this.methodName, connectorSyncRequestResultExceptionCauseStackTraceInner.methodName) && + Objects.equals(this.fileName, connectorSyncRequestResultExceptionCauseStackTraceInner.fileName) && + Objects.equals(this.lineNumber, connectorSyncRequestResultExceptionCauseStackTraceInner.lineNumber) && + Objects.equals(this.nativeMethod, connectorSyncRequestResultExceptionCauseStackTraceInner.nativeMethod) && + Objects.equals(this.className, connectorSyncRequestResultExceptionCauseStackTraceInner.className); + } + + @Override + public int hashCode() { + return Objects.hash(classLoaderName, moduleName, moduleVersion, methodName, fileName, lineNumber, nativeMethod, className); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectorSyncRequestResultExceptionCauseStackTraceInner {\n"); + sb.append(" classLoaderName: ").append(toIndentedString(classLoaderName)).append("\n"); + sb.append(" moduleName: ").append(toIndentedString(moduleName)).append("\n"); + sb.append(" moduleVersion: ").append(toIndentedString(moduleVersion)).append("\n"); + sb.append(" methodName: ").append(toIndentedString(methodName)).append("\n"); + sb.append(" fileName: ").append(toIndentedString(fileName)).append("\n"); + sb.append(" lineNumber: ").append(toIndentedString(lineNumber)).append("\n"); + sb.append(" nativeMethod: ").append(toIndentedString(nativeMethod)).append("\n"); + sb.append(" className: ").append(toIndentedString(className)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("classLoaderName"); + openapiFields.add("moduleName"); + openapiFields.add("moduleVersion"); + openapiFields.add("methodName"); + openapiFields.add("fileName"); + openapiFields.add("lineNumber"); + openapiFields.add("nativeMethod"); + openapiFields.add("className"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectorSyncRequestResultExceptionCauseStackTraceInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectorSyncRequestResultExceptionCauseStackTraceInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectorSyncRequestResultExceptionCauseStackTraceInner is not found in the empty JSON string", ConnectorSyncRequestResultExceptionCauseStackTraceInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ConnectorSyncRequestResultExceptionCauseStackTraceInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ConnectorSyncRequestResultExceptionCauseStackTraceInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("classLoaderName") != null && !jsonObj.get("classLoaderName").isJsonNull()) && !jsonObj.get("classLoaderName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `classLoaderName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("classLoaderName").toString())); + } + if ((jsonObj.get("moduleName") != null && !jsonObj.get("moduleName").isJsonNull()) && !jsonObj.get("moduleName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `moduleName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("moduleName").toString())); + } + if ((jsonObj.get("moduleVersion") != null && !jsonObj.get("moduleVersion").isJsonNull()) && !jsonObj.get("moduleVersion").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `moduleVersion` to be a primitive type in the JSON string but got `%s`", jsonObj.get("moduleVersion").toString())); + } + if ((jsonObj.get("methodName") != null && !jsonObj.get("methodName").isJsonNull()) && !jsonObj.get("methodName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `methodName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("methodName").toString())); + } + if ((jsonObj.get("fileName") != null && !jsonObj.get("fileName").isJsonNull()) && !jsonObj.get("fileName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `fileName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fileName").toString())); + } + if ((jsonObj.get("className") != null && !jsonObj.get("className").isJsonNull()) && !jsonObj.get("className").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `className` to be a primitive type in the JSON string but got `%s`", jsonObj.get("className").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectorSyncRequestResultExceptionCauseStackTraceInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectorSyncRequestResultExceptionCauseStackTraceInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectorSyncRequestResultExceptionCauseStackTraceInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectorSyncRequestResultExceptionCauseStackTraceInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ConnectorSyncRequestResultExceptionCauseStackTraceInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectorSyncRequestResultExceptionCauseStackTraceInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectorSyncRequestResultExceptionCauseStackTraceInner + * @throws IOException if the JSON string is invalid with respect to ConnectorSyncRequestResultExceptionCauseStackTraceInner + */ + public static ConnectorSyncRequestResultExceptionCauseStackTraceInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectorSyncRequestResultExceptionCauseStackTraceInner.class); + } + + /** + * Convert an instance of ConnectorSyncRequestResultExceptionCauseStackTraceInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.java b/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.java new file mode 100644 index 000000000..abf78d8f4 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInner.java @@ -0,0 +1,296 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * ConnectorSyncRequestResultExceptionCauseSuppressedInner + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ConnectorSyncRequestResultExceptionCauseSuppressedInner { + public static final String SERIALIZED_NAME_STACK_TRACE = "stackTrace"; + @SerializedName(SERIALIZED_NAME_STACK_TRACE) + private List stackTrace = null; + + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public static final String SERIALIZED_NAME_LOCALIZED_MESSAGE = "localizedMessage"; + @SerializedName(SERIALIZED_NAME_LOCALIZED_MESSAGE) + private String localizedMessage; + + public ConnectorSyncRequestResultExceptionCauseSuppressedInner() { + } + + public ConnectorSyncRequestResultExceptionCauseSuppressedInner stackTrace(List stackTrace) { + + this.stackTrace = stackTrace; + return this; + } + + public ConnectorSyncRequestResultExceptionCauseSuppressedInner addStackTraceItem(ConnectorSyncRequestResultExceptionCauseStackTraceInner stackTraceItem) { + if (this.stackTrace == null) { + this.stackTrace = new ArrayList<>(); + } + this.stackTrace.add(stackTraceItem); + return this; + } + + /** + * Get stackTrace + * @return stackTrace + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getStackTrace() { + return stackTrace; + } + + + public void setStackTrace(List stackTrace) { + this.stackTrace = stackTrace; + } + + + public ConnectorSyncRequestResultExceptionCauseSuppressedInner message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + public ConnectorSyncRequestResultExceptionCauseSuppressedInner localizedMessage(String localizedMessage) { + + this.localizedMessage = localizedMessage; + return this; + } + + /** + * Get localizedMessage + * @return localizedMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getLocalizedMessage() { + return localizedMessage; + } + + + public void setLocalizedMessage(String localizedMessage) { + this.localizedMessage = localizedMessage; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectorSyncRequestResultExceptionCauseSuppressedInner connectorSyncRequestResultExceptionCauseSuppressedInner = (ConnectorSyncRequestResultExceptionCauseSuppressedInner) o; + return Objects.equals(this.stackTrace, connectorSyncRequestResultExceptionCauseSuppressedInner.stackTrace) && + Objects.equals(this.message, connectorSyncRequestResultExceptionCauseSuppressedInner.message) && + Objects.equals(this.localizedMessage, connectorSyncRequestResultExceptionCauseSuppressedInner.localizedMessage); + } + + @Override + public int hashCode() { + return Objects.hash(stackTrace, message, localizedMessage); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectorSyncRequestResultExceptionCauseSuppressedInner {\n"); + sb.append(" stackTrace: ").append(toIndentedString(stackTrace)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" localizedMessage: ").append(toIndentedString(localizedMessage)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("stackTrace"); + openapiFields.add("message"); + openapiFields.add("localizedMessage"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectorSyncRequestResultExceptionCauseSuppressedInner + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectorSyncRequestResultExceptionCauseSuppressedInner.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectorSyncRequestResultExceptionCauseSuppressedInner is not found in the empty JSON string", ConnectorSyncRequestResultExceptionCauseSuppressedInner.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ConnectorSyncRequestResultExceptionCauseSuppressedInner.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ConnectorSyncRequestResultExceptionCauseSuppressedInner` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("stackTrace") != null && !jsonObj.get("stackTrace").isJsonNull()) { + JsonArray jsonArraystackTrace = jsonObj.getAsJsonArray("stackTrace"); + if (jsonArraystackTrace != null) { + // ensure the json data is an array + if (!jsonObj.get("stackTrace").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `stackTrace` to be an array in the JSON string but got `%s`", jsonObj.get("stackTrace").toString())); + } + + // validate the optional field `stackTrace` (array) + for (int i = 0; i < jsonArraystackTrace.size(); i++) { + ConnectorSyncRequestResultExceptionCauseStackTraceInner.validateJsonObject(jsonArraystackTrace.get(i).getAsJsonObject()); + }; + } + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + if ((jsonObj.get("localizedMessage") != null && !jsonObj.get("localizedMessage").isJsonNull()) && !jsonObj.get("localizedMessage").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `localizedMessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localizedMessage").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectorSyncRequestResultExceptionCauseSuppressedInner.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectorSyncRequestResultExceptionCauseSuppressedInner' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectorSyncRequestResultExceptionCauseSuppressedInner.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectorSyncRequestResultExceptionCauseSuppressedInner value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ConnectorSyncRequestResultExceptionCauseSuppressedInner read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectorSyncRequestResultExceptionCauseSuppressedInner given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectorSyncRequestResultExceptionCauseSuppressedInner + * @throws IOException if the JSON string is invalid with respect to ConnectorSyncRequestResultExceptionCauseSuppressedInner + */ + public static ConnectorSyncRequestResultExceptionCauseSuppressedInner fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectorSyncRequestResultExceptionCauseSuppressedInner.class); + } + + /** + * Convert an instance of ConnectorSyncRequestResultExceptionCauseSuppressedInner to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ConnectorSyncResult.java b/src/main/java/com/mailslurp/models/ConnectorSyncResult.java new file mode 100644 index 000000000..0693dd8e0 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ConnectorSyncResult.java @@ -0,0 +1,257 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * ConnectorSyncResult + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ConnectorSyncResult { + public static final String SERIALIZED_NAME_EMAIL_SYNC_COUNT = "emailSyncCount"; + @SerializedName(SERIALIZED_NAME_EMAIL_SYNC_COUNT) + private Long emailSyncCount; + + public static final String SERIALIZED_NAME_LOG_LINES = "logLines"; + @SerializedName(SERIALIZED_NAME_LOG_LINES) + private List logLines = null; + + public ConnectorSyncResult() { + } + + public ConnectorSyncResult emailSyncCount(Long emailSyncCount) { + + this.emailSyncCount = emailSyncCount; + return this; + } + + /** + * Get emailSyncCount + * @return emailSyncCount + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Long getEmailSyncCount() { + return emailSyncCount; + } + + + public void setEmailSyncCount(Long emailSyncCount) { + this.emailSyncCount = emailSyncCount; + } + + + public ConnectorSyncResult logLines(List logLines) { + + this.logLines = logLines; + return this; + } + + public ConnectorSyncResult addLogLinesItem(String logLinesItem) { + if (this.logLines == null) { + this.logLines = new ArrayList<>(); + } + this.logLines.add(logLinesItem); + return this; + } + + /** + * Get logLines + * @return logLines + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getLogLines() { + return logLines; + } + + + public void setLogLines(List logLines) { + this.logLines = logLines; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectorSyncResult connectorSyncResult = (ConnectorSyncResult) o; + return Objects.equals(this.emailSyncCount, connectorSyncResult.emailSyncCount) && + Objects.equals(this.logLines, connectorSyncResult.logLines); + } + + @Override + public int hashCode() { + return Objects.hash(emailSyncCount, logLines); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectorSyncResult {\n"); + sb.append(" emailSyncCount: ").append(toIndentedString(emailSyncCount)).append("\n"); + sb.append(" logLines: ").append(toIndentedString(logLines)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("emailSyncCount"); + openapiFields.add("logLines"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("emailSyncCount"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectorSyncResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectorSyncResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectorSyncResult is not found in the empty JSON string", ConnectorSyncResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ConnectorSyncResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ConnectorSyncResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ConnectorSyncResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the optional json data is an array if present + if (jsonObj.get("logLines") != null && !jsonObj.get("logLines").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `logLines` to be an array in the JSON string but got `%s`", jsonObj.get("logLines").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectorSyncResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectorSyncResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectorSyncResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectorSyncResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ConnectorSyncResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectorSyncResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectorSyncResult + * @throws IOException if the JSON string is invalid with respect to ConnectorSyncResult + */ + public static ConnectorSyncResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectorSyncResult.class); + } + + /** + * Convert an instance of ConnectorSyncResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ContactDto.java b/src/main/java/com/mailslurp/models/ContactDto.java new file mode 100644 index 000000000..b62cfe356 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ContactDto.java @@ -0,0 +1,573 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Contact object. For saving a user in contact book. + */ +@ApiModel(description = "Contact object. For saving a user in contact book.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ContactDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_GROUP_ID = "groupId"; + @SerializedName(SERIALIZED_NAME_GROUP_ID) + private UUID groupId; + + public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; + @SerializedName(SERIALIZED_NAME_FIRST_NAME) + private String firstName; + + public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; + @SerializedName(SERIALIZED_NAME_LAST_NAME) + private String lastName; + + public static final String SERIALIZED_NAME_COMPANY = "company"; + @SerializedName(SERIALIZED_NAME_COMPANY) + private String company; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESSES = "emailAddresses"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESSES) + private List emailAddresses = new ArrayList<>(); + + public static final String SERIALIZED_NAME_PRIMARY_EMAIL_ADDRESS = "primaryEmailAddress"; + @SerializedName(SERIALIZED_NAME_PRIMARY_EMAIL_ADDRESS) + private String primaryEmailAddress; + + public static final String SERIALIZED_NAME_TAGS = "tags"; + @SerializedName(SERIALIZED_NAME_TAGS) + private List tags = new ArrayList<>(); + + public static final String SERIALIZED_NAME_META_DATA = "metaData"; + @SerializedName(SERIALIZED_NAME_META_DATA) + private Object metaData; + + public static final String SERIALIZED_NAME_OPT_OUT = "optOut"; + @SerializedName(SERIALIZED_NAME_OPT_OUT) + private Boolean optOut; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public ContactDto() { + } + + public ContactDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ContactDto groupId(UUID groupId) { + + this.groupId = groupId; + return this; + } + + /** + * Get groupId + * @return groupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getGroupId() { + return groupId; + } + + + public void setGroupId(UUID groupId) { + this.groupId = groupId; + } + + + public ContactDto firstName(String firstName) { + + this.firstName = firstName; + return this; + } + + /** + * Get firstName + * @return firstName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getFirstName() { + return firstName; + } + + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + + public ContactDto lastName(String lastName) { + + this.lastName = lastName; + return this; + } + + /** + * Get lastName + * @return lastName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getLastName() { + return lastName; + } + + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + + public ContactDto company(String company) { + + this.company = company; + return this; + } + + /** + * Get company + * @return company + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getCompany() { + return company; + } + + + public void setCompany(String company) { + this.company = company; + } + + + public ContactDto emailAddresses(List emailAddresses) { + + this.emailAddresses = emailAddresses; + return this; + } + + public ContactDto addEmailAddressesItem(String emailAddressesItem) { + this.emailAddresses.add(emailAddressesItem); + return this; + } + + /** + * Get emailAddresses + * @return emailAddresses + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getEmailAddresses() { + return emailAddresses; + } + + + public void setEmailAddresses(List emailAddresses) { + this.emailAddresses = emailAddresses; + } + + + public ContactDto primaryEmailAddress(String primaryEmailAddress) { + + this.primaryEmailAddress = primaryEmailAddress; + return this; + } + + /** + * Get primaryEmailAddress + * @return primaryEmailAddress + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getPrimaryEmailAddress() { + return primaryEmailAddress; + } + + + public void setPrimaryEmailAddress(String primaryEmailAddress) { + this.primaryEmailAddress = primaryEmailAddress; + } + + + public ContactDto tags(List tags) { + + this.tags = tags; + return this; + } + + public ContactDto addTagsItem(String tagsItem) { + this.tags.add(tagsItem); + return this; + } + + /** + * Get tags + * @return tags + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getTags() { + return tags; + } + + + public void setTags(List tags) { + this.tags = tags; + } + + + public ContactDto metaData(Object metaData) { + + this.metaData = metaData; + return this; + } + + /** + * Get metaData + * @return metaData + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Object getMetaData() { + return metaData; + } + + + public void setMetaData(Object metaData) { + this.metaData = metaData; + } + + + public ContactDto optOut(Boolean optOut) { + + this.optOut = optOut; + return this; + } + + /** + * Get optOut + * @return optOut + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getOptOut() { + return optOut; + } + + + public void setOptOut(Boolean optOut) { + this.optOut = optOut; + } + + + public ContactDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactDto contactDto = (ContactDto) o; + return Objects.equals(this.id, contactDto.id) && + Objects.equals(this.groupId, contactDto.groupId) && + Objects.equals(this.firstName, contactDto.firstName) && + Objects.equals(this.lastName, contactDto.lastName) && + Objects.equals(this.company, contactDto.company) && + Objects.equals(this.emailAddresses, contactDto.emailAddresses) && + Objects.equals(this.primaryEmailAddress, contactDto.primaryEmailAddress) && + Objects.equals(this.tags, contactDto.tags) && + Objects.equals(this.metaData, contactDto.metaData) && + Objects.equals(this.optOut, contactDto.optOut) && + Objects.equals(this.createdAt, contactDto.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, groupId, firstName, lastName, company, emailAddresses, primaryEmailAddress, tags, metaData, optOut, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ContactDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + sb.append(" company: ").append(toIndentedString(company)).append("\n"); + sb.append(" emailAddresses: ").append(toIndentedString(emailAddresses)).append("\n"); + sb.append(" primaryEmailAddress: ").append(toIndentedString(primaryEmailAddress)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append(" metaData: ").append(toIndentedString(metaData)).append("\n"); + sb.append(" optOut: ").append(toIndentedString(optOut)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("groupId"); + openapiFields.add("firstName"); + openapiFields.add("lastName"); + openapiFields.add("company"); + openapiFields.add("emailAddresses"); + openapiFields.add("primaryEmailAddress"); + openapiFields.add("tags"); + openapiFields.add("metaData"); + openapiFields.add("optOut"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("emailAddresses"); + openapiRequiredFields.add("tags"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ContactDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ContactDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ContactDto is not found in the empty JSON string", ContactDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ContactDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ContactDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ContactDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("groupId") != null && !jsonObj.get("groupId").isJsonNull()) && !jsonObj.get("groupId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `groupId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("groupId").toString())); + } + if ((jsonObj.get("firstName") != null && !jsonObj.get("firstName").isJsonNull()) && !jsonObj.get("firstName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `firstName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("firstName").toString())); + } + if ((jsonObj.get("lastName") != null && !jsonObj.get("lastName").isJsonNull()) && !jsonObj.get("lastName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `lastName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastName").toString())); + } + if ((jsonObj.get("company") != null && !jsonObj.get("company").isJsonNull()) && !jsonObj.get("company").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `company` to be a primitive type in the JSON string but got `%s`", jsonObj.get("company").toString())); + } + // ensure the required json array is present + if (jsonObj.get("emailAddresses") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("emailAddresses").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddresses` to be an array in the JSON string but got `%s`", jsonObj.get("emailAddresses").toString())); + } + if ((jsonObj.get("primaryEmailAddress") != null && !jsonObj.get("primaryEmailAddress").isJsonNull()) && !jsonObj.get("primaryEmailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `primaryEmailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("primaryEmailAddress").toString())); + } + // ensure the required json array is present + if (jsonObj.get("tags") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("tags").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ContactDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ContactDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ContactDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ContactDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ContactDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ContactDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of ContactDto + * @throws IOException if the JSON string is invalid with respect to ContactDto + */ + public static ContactDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ContactDto.class); + } + + /** + * Convert an instance of ContactDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ContactProjection.java b/src/main/java/com/mailslurp/models/ContactProjection.java new file mode 100644 index 000000000..f63933853 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ContactProjection.java @@ -0,0 +1,502 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Email contact for address book + */ +@ApiModel(description = "Email contact for address book") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ContactProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_GROUP_ID = "groupId"; + @SerializedName(SERIALIZED_NAME_GROUP_ID) + private UUID groupId; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; + @SerializedName(SERIALIZED_NAME_FIRST_NAME) + private String firstName; + + public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; + @SerializedName(SERIALIZED_NAME_LAST_NAME) + private String lastName; + + public static final String SERIALIZED_NAME_COMPANY = "company"; + @SerializedName(SERIALIZED_NAME_COMPANY) + private String company; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESSES = "emailAddresses"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESSES) + private List emailAddresses = null; + + public static final String SERIALIZED_NAME_OPT_OUT = "optOut"; + @SerializedName(SERIALIZED_NAME_OPT_OUT) + private Boolean optOut; + + public ContactProjection() { + } + + public ContactProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ContactProjection groupId(UUID groupId) { + + this.groupId = groupId; + return this; + } + + /** + * Get groupId + * @return groupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getGroupId() { + return groupId; + } + + + public void setGroupId(UUID groupId) { + this.groupId = groupId; + } + + + public ContactProjection emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public ContactProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public ContactProjection firstName(String firstName) { + + this.firstName = firstName; + return this; + } + + /** + * Get firstName + * @return firstName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getFirstName() { + return firstName; + } + + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + + public ContactProjection lastName(String lastName) { + + this.lastName = lastName; + return this; + } + + /** + * Get lastName + * @return lastName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getLastName() { + return lastName; + } + + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + + public ContactProjection company(String company) { + + this.company = company; + return this; + } + + /** + * Get company + * @return company + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getCompany() { + return company; + } + + + public void setCompany(String company) { + this.company = company; + } + + + public ContactProjection emailAddresses(List emailAddresses) { + + this.emailAddresses = emailAddresses; + return this; + } + + public ContactProjection addEmailAddressesItem(String emailAddressesItem) { + if (this.emailAddresses == null) { + this.emailAddresses = new ArrayList<>(); + } + this.emailAddresses.add(emailAddressesItem); + return this; + } + + /** + * Get emailAddresses + * @return emailAddresses + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getEmailAddresses() { + return emailAddresses; + } + + + public void setEmailAddresses(List emailAddresses) { + this.emailAddresses = emailAddresses; + } + + + public ContactProjection optOut(Boolean optOut) { + + this.optOut = optOut; + return this; + } + + /** + * Get optOut + * @return optOut + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getOptOut() { + return optOut; + } + + + public void setOptOut(Boolean optOut) { + this.optOut = optOut; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContactProjection contactProjection = (ContactProjection) o; + return Objects.equals(this.id, contactProjection.id) && + Objects.equals(this.groupId, contactProjection.groupId) && + Objects.equals(this.emailAddress, contactProjection.emailAddress) && + Objects.equals(this.createdAt, contactProjection.createdAt) && + Objects.equals(this.firstName, contactProjection.firstName) && + Objects.equals(this.lastName, contactProjection.lastName) && + Objects.equals(this.company, contactProjection.company) && + Objects.equals(this.emailAddresses, contactProjection.emailAddresses) && + Objects.equals(this.optOut, contactProjection.optOut); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, groupId, emailAddress, createdAt, firstName, lastName, company, emailAddresses, optOut); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ContactProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + sb.append(" company: ").append(toIndentedString(company)).append("\n"); + sb.append(" emailAddresses: ").append(toIndentedString(emailAddresses)).append("\n"); + sb.append(" optOut: ").append(toIndentedString(optOut)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("groupId"); + openapiFields.add("emailAddress"); + openapiFields.add("createdAt"); + openapiFields.add("firstName"); + openapiFields.add("lastName"); + openapiFields.add("company"); + openapiFields.add("emailAddresses"); + openapiFields.add("optOut"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("optOut"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ContactProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ContactProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ContactProjection is not found in the empty JSON string", ContactProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ContactProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ContactProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ContactProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("groupId") != null && !jsonObj.get("groupId").isJsonNull()) && !jsonObj.get("groupId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `groupId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("groupId").toString())); + } + if ((jsonObj.get("emailAddress") != null && !jsonObj.get("emailAddress").isJsonNull()) && !jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if ((jsonObj.get("firstName") != null && !jsonObj.get("firstName").isJsonNull()) && !jsonObj.get("firstName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `firstName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("firstName").toString())); + } + if ((jsonObj.get("lastName") != null && !jsonObj.get("lastName").isJsonNull()) && !jsonObj.get("lastName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `lastName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastName").toString())); + } + if ((jsonObj.get("company") != null && !jsonObj.get("company").isJsonNull()) && !jsonObj.get("company").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `company` to be a primitive type in the JSON string but got `%s`", jsonObj.get("company").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("emailAddresses") != null && !jsonObj.get("emailAddresses").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddresses` to be an array in the JSON string but got `%s`", jsonObj.get("emailAddresses").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ContactProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ContactProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ContactProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ContactProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ContactProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ContactProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of ContactProjection + * @throws IOException if the JSON string is invalid with respect to ContactProjection + */ + public static ContactProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ContactProjection.class); + } + + /** + * Convert an instance of ContactProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ContentMatchOptions.java b/src/main/java/com/mailslurp/models/ContentMatchOptions.java new file mode 100644 index 000000000..98d992495 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ContentMatchOptions.java @@ -0,0 +1,217 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for matching content using regex patterns based on Java Pattern syntax + */ +@ApiModel(description = "Options for matching content using regex patterns based on Java Pattern syntax") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ContentMatchOptions { + public static final String SERIALIZED_NAME_PATTERN = "pattern"; + @SerializedName(SERIALIZED_NAME_PATTERN) + private String pattern; + + public ContentMatchOptions() { + } + + public ContentMatchOptions pattern(String pattern) { + + this.pattern = pattern; + return this; + } + + /** + * Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns. + * @return pattern + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns.") + + public String getPattern() { + return pattern; + } + + + public void setPattern(String pattern) { + this.pattern = pattern; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContentMatchOptions contentMatchOptions = (ContentMatchOptions) o; + return Objects.equals(this.pattern, contentMatchOptions.pattern); + } + + @Override + public int hashCode() { + return Objects.hash(pattern); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ContentMatchOptions {\n"); + sb.append(" pattern: ").append(toIndentedString(pattern)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("pattern"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("pattern"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ContentMatchOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ContentMatchOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ContentMatchOptions is not found in the empty JSON string", ContentMatchOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ContentMatchOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ContentMatchOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ContentMatchOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("pattern").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `pattern` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pattern").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ContentMatchOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ContentMatchOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ContentMatchOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ContentMatchOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ContentMatchOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ContentMatchOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of ContentMatchOptions + * @throws IOException if the JSON string is invalid with respect to ContentMatchOptions + */ + public static ContentMatchOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ContentMatchOptions.class); + } + + /** + * Convert an instance of ContentMatchOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CountDto.java b/src/main/java/com/mailslurp/models/CountDto.java new file mode 100644 index 000000000..4e2579a8a --- /dev/null +++ b/src/main/java/com/mailslurp/models/CountDto.java @@ -0,0 +1,214 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Number of elements + */ +@ApiModel(description = "Number of elements") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CountDto { + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public CountDto() { + } + + public CountDto totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CountDto countDto = (CountDto) o; + return Objects.equals(this.totalElements, countDto.totalElements); + } + + @Override + public int hashCode() { + return Objects.hash(totalElements); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CountDto {\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("totalElements"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("totalElements"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CountDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CountDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CountDto is not found in the empty JSON string", CountDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CountDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CountDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CountDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CountDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CountDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CountDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CountDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CountDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CountDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of CountDto + * @throws IOException if the JSON string is invalid with respect to CountDto + */ + public static CountDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CountDto.class); + } + + /** + * Convert an instance of CountDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateAliasOptions.java b/src/main/java/com/mailslurp/models/CreateAliasOptions.java new file mode 100644 index 000000000..2327f76a2 --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateAliasOptions.java @@ -0,0 +1,327 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Create email alias options. Email aliases can be used to mask real email addresses behind an ID. You can also attach an inbox to an alias so that any email received by the inbox email address if forwarded to the alias email address. + */ +@ApiModel(description = "Create email alias options. Email aliases can be used to mask real email addresses behind an ID. You can also attach an inbox to an alias so that any email received by the inbox email address if forwarded to the alias email address.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateAliasOptions { + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_USE_THREADS = "useThreads"; + @SerializedName(SERIALIZED_NAME_USE_THREADS) + private Boolean useThreads; + + public CreateAliasOptions() { + } + + public CreateAliasOptions emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Email address to be hidden behind alias. Emails sent to the alias email address will be forwarded to this address. If you want to enable replies set useThreads true and the reply-to for the email will allow outbound communication via a thread. Some email addresses may require verification if they are not added as a contact first. + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Email address to be hidden behind alias. Emails sent to the alias email address will be forwarded to this address. If you want to enable replies set useThreads true and the reply-to for the email will allow outbound communication via a thread. Some email addresses may require verification if they are not added as a contact first.") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public CreateAliasOptions inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Optional inbox ID to attach to alias. Null by default means an a new inbox will be created for the alias. Use a custom inbox to control what email address the alias uses. To use custom email addresses create a domain and an inbox, the use the inbox ID with this call. Emails received by this inbox will be forwarded to the alias email address + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional inbox ID to attach to alias. Null by default means an a new inbox will be created for the alias. Use a custom inbox to control what email address the alias uses. To use custom email addresses create a domain and an inbox, the use the inbox ID with this call. Emails received by this inbox will be forwarded to the alias email address") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public CreateAliasOptions name(String name) { + + this.name = name; + return this; + } + + /** + * Optional name for alias + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional name for alias") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public CreateAliasOptions useThreads(Boolean useThreads) { + + this.useThreads = useThreads; + return this; + } + + /** + * Enable threads options. If true emails will be sent with a unique reply-to thread address. This means you can reply to the forwarded email and it will be sent to the recipients via your alias address. That way a thread conversation is preserved. + * @return useThreads + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Enable threads options. If true emails will be sent with a unique reply-to thread address. This means you can reply to the forwarded email and it will be sent to the recipients via your alias address. That way a thread conversation is preserved.") + + public Boolean getUseThreads() { + return useThreads; + } + + + public void setUseThreads(Boolean useThreads) { + this.useThreads = useThreads; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateAliasOptions createAliasOptions = (CreateAliasOptions) o; + return Objects.equals(this.emailAddress, createAliasOptions.emailAddress) && + Objects.equals(this.inboxId, createAliasOptions.inboxId) && + Objects.equals(this.name, createAliasOptions.name) && + Objects.equals(this.useThreads, createAliasOptions.useThreads); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(emailAddress, inboxId, name, useThreads); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateAliasOptions {\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" useThreads: ").append(toIndentedString(useThreads)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("emailAddress"); + openapiFields.add("inboxId"); + openapiFields.add("name"); + openapiFields.add("useThreads"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("emailAddress"); + openapiRequiredFields.add("useThreads"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateAliasOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateAliasOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateAliasOptions is not found in the empty JSON string", CreateAliasOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateAliasOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateAliasOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateAliasOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateAliasOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateAliasOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateAliasOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateAliasOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateAliasOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateAliasOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateAliasOptions + * @throws IOException if the JSON string is invalid with respect to CreateAliasOptions + */ + public static CreateAliasOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateAliasOptions.class); + } + + /** + * Convert an instance of CreateAliasOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateConnectorImapOptions.java b/src/main/java/com/mailslurp/models/CreateConnectorImapOptions.java new file mode 100644 index 000000000..9f43b7b7b --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateConnectorImapOptions.java @@ -0,0 +1,346 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * CreateConnectorImapOptions + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateConnectorImapOptions { + public static final String SERIALIZED_NAME_HOST = "host"; + @SerializedName(SERIALIZED_NAME_HOST) + private String host; + + public static final String SERIALIZED_NAME_PORT = "port"; + @SerializedName(SERIALIZED_NAME_PORT) + private Integer port; + + public static final String SERIALIZED_NAME_USERNAME = "username"; + @SerializedName(SERIALIZED_NAME_USERNAME) + private String username; + + public static final String SERIALIZED_NAME_PASSWORD = "password"; + @SerializedName(SERIALIZED_NAME_PASSWORD) + private String password; + + public static final String SERIALIZED_NAME_USE_S_S_L = "useSSL"; + @SerializedName(SERIALIZED_NAME_USE_S_S_L) + private Boolean useSSL; + + public CreateConnectorImapOptions() { + } + + public CreateConnectorImapOptions host(String host) { + + this.host = host; + return this; + } + + /** + * Get host + * @return host + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getHost() { + return host; + } + + + public void setHost(String host) { + this.host = host; + } + + + public CreateConnectorImapOptions port(Integer port) { + + this.port = port; + return this; + } + + /** + * Get port + * @return port + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Integer getPort() { + return port; + } + + + public void setPort(Integer port) { + this.port = port; + } + + + public CreateConnectorImapOptions username(String username) { + + this.username = username; + return this; + } + + /** + * Get username + * @return username + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getUsername() { + return username; + } + + + public void setUsername(String username) { + this.username = username; + } + + + public CreateConnectorImapOptions password(String password) { + + this.password = password; + return this; + } + + /** + * Get password + * @return password + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getPassword() { + return password; + } + + + public void setPassword(String password) { + this.password = password; + } + + + public CreateConnectorImapOptions useSSL(Boolean useSSL) { + + this.useSSL = useSSL; + return this; + } + + /** + * Get useSSL + * @return useSSL + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getUseSSL() { + return useSSL; + } + + + public void setUseSSL(Boolean useSSL) { + this.useSSL = useSSL; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateConnectorImapOptions createConnectorImapOptions = (CreateConnectorImapOptions) o; + return Objects.equals(this.host, createConnectorImapOptions.host) && + Objects.equals(this.port, createConnectorImapOptions.port) && + Objects.equals(this.username, createConnectorImapOptions.username) && + Objects.equals(this.password, createConnectorImapOptions.password) && + Objects.equals(this.useSSL, createConnectorImapOptions.useSSL); + } + + @Override + public int hashCode() { + return Objects.hash(host, port, username, password, useSSL); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateConnectorImapOptions {\n"); + sb.append(" host: ").append(toIndentedString(host)).append("\n"); + sb.append(" port: ").append(toIndentedString(port)).append("\n"); + sb.append(" username: ").append(toIndentedString(username)).append("\n"); + sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" useSSL: ").append(toIndentedString(useSSL)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("host"); + openapiFields.add("port"); + openapiFields.add("username"); + openapiFields.add("password"); + openapiFields.add("useSSL"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("host"); + openapiRequiredFields.add("port"); + openapiRequiredFields.add("username"); + openapiRequiredFields.add("password"); + openapiRequiredFields.add("useSSL"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateConnectorImapOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateConnectorImapOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateConnectorImapOptions is not found in the empty JSON string", CreateConnectorImapOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateConnectorImapOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateConnectorImapOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateConnectorImapOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("host").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `host` to be a primitive type in the JSON string but got `%s`", jsonObj.get("host").toString())); + } + if (!jsonObj.get("username").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("username").toString())); + } + if (!jsonObj.get("password").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `password` to be a primitive type in the JSON string but got `%s`", jsonObj.get("password").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateConnectorImapOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateConnectorImapOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateConnectorImapOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateConnectorImapOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateConnectorImapOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateConnectorImapOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateConnectorImapOptions + * @throws IOException if the JSON string is invalid with respect to CreateConnectorImapOptions + */ + public static CreateConnectorImapOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateConnectorImapOptions.class); + } + + /** + * Convert an instance of CreateConnectorImapOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateConnectorOptions.java b/src/main/java/com/mailslurp/models/CreateConnectorOptions.java new file mode 100644 index 000000000..8c2027a3b --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateConnectorOptions.java @@ -0,0 +1,549 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.CreateConnectorImapOptions; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * CreateConnectorOptions + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateConnectorOptions { + /** + * Gets or Sets connectorType + */ + @JsonAdapter(ConnectorTypeEnum.Adapter.class) + public enum ConnectorTypeEnum { + IMAP("IMAP"); + + private String value; + + ConnectorTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ConnectorTypeEnum fromValue(String value) { + for (ConnectorTypeEnum b : ConnectorTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ConnectorTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ConnectorTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ConnectorTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CONNECTOR_TYPE = "connectorType"; + @SerializedName(SERIALIZED_NAME_CONNECTOR_TYPE) + private ConnectorTypeEnum connectorType; + + /** + * Gets or Sets connectorAuthType + */ + @JsonAdapter(ConnectorAuthTypeEnum.Adapter.class) + public enum ConnectorAuthTypeEnum { + PLAIN_TEXT("PLAIN_TEXT"); + + private String value; + + ConnectorAuthTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ConnectorAuthTypeEnum fromValue(String value) { + for (ConnectorAuthTypeEnum b : ConnectorAuthTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ConnectorAuthTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ConnectorAuthTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ConnectorAuthTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CONNECTOR_AUTH_TYPE = "connectorAuthType"; + @SerializedName(SERIALIZED_NAME_CONNECTOR_AUTH_TYPE) + private ConnectorAuthTypeEnum connectorAuthType; + + public static final String SERIALIZED_NAME_IMAP_SETTINGS = "imapSettings"; + @SerializedName(SERIALIZED_NAME_IMAP_SETTINGS) + private CreateConnectorImapOptions imapSettings; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_SYNC_ENABLED = "syncEnabled"; + @SerializedName(SERIALIZED_NAME_SYNC_ENABLED) + private Boolean syncEnabled; + + /** + * Gets or Sets syncScheduleType + */ + @JsonAdapter(SyncScheduleTypeEnum.Adapter.class) + public enum SyncScheduleTypeEnum { + INTERVAL("INTERVAL"); + + private String value; + + SyncScheduleTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SyncScheduleTypeEnum fromValue(String value) { + for (SyncScheduleTypeEnum b : SyncScheduleTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SyncScheduleTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SyncScheduleTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SyncScheduleTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SYNC_SCHEDULE_TYPE = "syncScheduleType"; + @SerializedName(SERIALIZED_NAME_SYNC_SCHEDULE_TYPE) + private SyncScheduleTypeEnum syncScheduleType; + + public static final String SERIALIZED_NAME_SYNC_INTERVAL = "syncInterval"; + @SerializedName(SERIALIZED_NAME_SYNC_INTERVAL) + private Integer syncInterval; + + public CreateConnectorOptions() { + } + + public CreateConnectorOptions connectorType(ConnectorTypeEnum connectorType) { + + this.connectorType = connectorType; + return this; + } + + /** + * Get connectorType + * @return connectorType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public ConnectorTypeEnum getConnectorType() { + return connectorType; + } + + + public void setConnectorType(ConnectorTypeEnum connectorType) { + this.connectorType = connectorType; + } + + + public CreateConnectorOptions connectorAuthType(ConnectorAuthTypeEnum connectorAuthType) { + + this.connectorAuthType = connectorAuthType; + return this; + } + + /** + * Get connectorAuthType + * @return connectorAuthType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public ConnectorAuthTypeEnum getConnectorAuthType() { + return connectorAuthType; + } + + + public void setConnectorAuthType(ConnectorAuthTypeEnum connectorAuthType) { + this.connectorAuthType = connectorAuthType; + } + + + public CreateConnectorOptions imapSettings(CreateConnectorImapOptions imapSettings) { + + this.imapSettings = imapSettings; + return this; + } + + /** + * Get imapSettings + * @return imapSettings + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public CreateConnectorImapOptions getImapSettings() { + return imapSettings; + } + + + public void setImapSettings(CreateConnectorImapOptions imapSettings) { + this.imapSettings = imapSettings; + } + + + public CreateConnectorOptions inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public CreateConnectorOptions syncEnabled(Boolean syncEnabled) { + + this.syncEnabled = syncEnabled; + return this; + } + + /** + * Get syncEnabled + * @return syncEnabled + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getSyncEnabled() { + return syncEnabled; + } + + + public void setSyncEnabled(Boolean syncEnabled) { + this.syncEnabled = syncEnabled; + } + + + public CreateConnectorOptions syncScheduleType(SyncScheduleTypeEnum syncScheduleType) { + + this.syncScheduleType = syncScheduleType; + return this; + } + + /** + * Get syncScheduleType + * @return syncScheduleType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public SyncScheduleTypeEnum getSyncScheduleType() { + return syncScheduleType; + } + + + public void setSyncScheduleType(SyncScheduleTypeEnum syncScheduleType) { + this.syncScheduleType = syncScheduleType; + } + + + public CreateConnectorOptions syncInterval(Integer syncInterval) { + + this.syncInterval = syncInterval; + return this; + } + + /** + * Get syncInterval + * @return syncInterval + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSyncInterval() { + return syncInterval; + } + + + public void setSyncInterval(Integer syncInterval) { + this.syncInterval = syncInterval; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateConnectorOptions createConnectorOptions = (CreateConnectorOptions) o; + return Objects.equals(this.connectorType, createConnectorOptions.connectorType) && + Objects.equals(this.connectorAuthType, createConnectorOptions.connectorAuthType) && + Objects.equals(this.imapSettings, createConnectorOptions.imapSettings) && + Objects.equals(this.inboxId, createConnectorOptions.inboxId) && + Objects.equals(this.syncEnabled, createConnectorOptions.syncEnabled) && + Objects.equals(this.syncScheduleType, createConnectorOptions.syncScheduleType) && + Objects.equals(this.syncInterval, createConnectorOptions.syncInterval); + } + + @Override + public int hashCode() { + return Objects.hash(connectorType, connectorAuthType, imapSettings, inboxId, syncEnabled, syncScheduleType, syncInterval); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateConnectorOptions {\n"); + sb.append(" connectorType: ").append(toIndentedString(connectorType)).append("\n"); + sb.append(" connectorAuthType: ").append(toIndentedString(connectorAuthType)).append("\n"); + sb.append(" imapSettings: ").append(toIndentedString(imapSettings)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" syncEnabled: ").append(toIndentedString(syncEnabled)).append("\n"); + sb.append(" syncScheduleType: ").append(toIndentedString(syncScheduleType)).append("\n"); + sb.append(" syncInterval: ").append(toIndentedString(syncInterval)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("connectorType"); + openapiFields.add("connectorAuthType"); + openapiFields.add("imapSettings"); + openapiFields.add("inboxId"); + openapiFields.add("syncEnabled"); + openapiFields.add("syncScheduleType"); + openapiFields.add("syncInterval"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("connectorType"); + openapiRequiredFields.add("connectorAuthType"); + openapiRequiredFields.add("syncEnabled"); + openapiRequiredFields.add("syncScheduleType"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateConnectorOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateConnectorOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateConnectorOptions is not found in the empty JSON string", CreateConnectorOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateConnectorOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateConnectorOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateConnectorOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("connectorType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `connectorType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("connectorType").toString())); + } + if (!jsonObj.get("connectorAuthType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `connectorAuthType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("connectorAuthType").toString())); + } + // validate the optional field `imapSettings` + if (jsonObj.get("imapSettings") != null && !jsonObj.get("imapSettings").isJsonNull()) { + CreateConnectorImapOptions.validateJsonObject(jsonObj.getAsJsonObject("imapSettings")); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("syncScheduleType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `syncScheduleType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("syncScheduleType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateConnectorOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateConnectorOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateConnectorOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateConnectorOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateConnectorOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateConnectorOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateConnectorOptions + * @throws IOException if the JSON string is invalid with respect to CreateConnectorOptions + */ + public static CreateConnectorOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateConnectorOptions.class); + } + + /** + * Convert an instance of CreateConnectorOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateContactOptions.java b/src/main/java/com/mailslurp/models/CreateContactOptions.java new file mode 100644 index 000000000..5d11ddae3 --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateContactOptions.java @@ -0,0 +1,467 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for creating an email contact in address book + */ +@ApiModel(description = "Options for creating an email contact in address book") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateContactOptions { + public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; + @SerializedName(SERIALIZED_NAME_FIRST_NAME) + private String firstName; + + public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; + @SerializedName(SERIALIZED_NAME_LAST_NAME) + private String lastName; + + public static final String SERIALIZED_NAME_COMPANY = "company"; + @SerializedName(SERIALIZED_NAME_COMPANY) + private String company; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESSES = "emailAddresses"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESSES) + private List emailAddresses = null; + + public static final String SERIALIZED_NAME_TAGS = "tags"; + @SerializedName(SERIALIZED_NAME_TAGS) + private List tags = null; + + public static final String SERIALIZED_NAME_META_DATA = "metaData"; + @SerializedName(SERIALIZED_NAME_META_DATA) + private Object metaData; + + public static final String SERIALIZED_NAME_OPT_OUT = "optOut"; + @SerializedName(SERIALIZED_NAME_OPT_OUT) + private Boolean optOut; + + public static final String SERIALIZED_NAME_GROUP_ID = "groupId"; + @SerializedName(SERIALIZED_NAME_GROUP_ID) + private UUID groupId; + + public CreateContactOptions() { + } + + public CreateContactOptions firstName(String firstName) { + + this.firstName = firstName; + return this; + } + + /** + * Get firstName + * @return firstName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getFirstName() { + return firstName; + } + + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + + public CreateContactOptions lastName(String lastName) { + + this.lastName = lastName; + return this; + } + + /** + * Get lastName + * @return lastName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getLastName() { + return lastName; + } + + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + + public CreateContactOptions company(String company) { + + this.company = company; + return this; + } + + /** + * Get company + * @return company + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getCompany() { + return company; + } + + + public void setCompany(String company) { + this.company = company; + } + + + public CreateContactOptions emailAddresses(List emailAddresses) { + + this.emailAddresses = emailAddresses; + return this; + } + + public CreateContactOptions addEmailAddressesItem(String emailAddressesItem) { + if (this.emailAddresses == null) { + this.emailAddresses = new ArrayList<>(); + } + this.emailAddresses.add(emailAddressesItem); + return this; + } + + /** + * Set of email addresses belonging to the contact + * @return emailAddresses + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Set of email addresses belonging to the contact") + + public List getEmailAddresses() { + return emailAddresses; + } + + + public void setEmailAddresses(List emailAddresses) { + this.emailAddresses = emailAddresses; + } + + + public CreateContactOptions tags(List tags) { + + this.tags = tags; + return this; + } + + public CreateContactOptions addTagsItem(String tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList<>(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Tags that can be used to search and group contacts + * @return tags + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Tags that can be used to search and group contacts") + + public List getTags() { + return tags; + } + + + public void setTags(List tags) { + this.tags = tags; + } + + + public CreateContactOptions metaData(Object metaData) { + + this.metaData = metaData; + return this; + } + + /** + * Get metaData + * @return metaData + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Object getMetaData() { + return metaData; + } + + + public void setMetaData(Object metaData) { + this.metaData = metaData; + } + + + public CreateContactOptions optOut(Boolean optOut) { + + this.optOut = optOut; + return this; + } + + /** + * Has the user explicitly or implicitly opted out of being contacted? If so MailSlurp will ignore them in all actions. + * @return optOut + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Has the user explicitly or implicitly opted out of being contacted? If so MailSlurp will ignore them in all actions.") + + public Boolean getOptOut() { + return optOut; + } + + + public void setOptOut(Boolean optOut) { + this.optOut = optOut; + } + + + public CreateContactOptions groupId(UUID groupId) { + + this.groupId = groupId; + return this; + } + + /** + * Group IDs that contact belongs to + * @return groupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Group IDs that contact belongs to") + + public UUID getGroupId() { + return groupId; + } + + + public void setGroupId(UUID groupId) { + this.groupId = groupId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateContactOptions createContactOptions = (CreateContactOptions) o; + return Objects.equals(this.firstName, createContactOptions.firstName) && + Objects.equals(this.lastName, createContactOptions.lastName) && + Objects.equals(this.company, createContactOptions.company) && + Objects.equals(this.emailAddresses, createContactOptions.emailAddresses) && + Objects.equals(this.tags, createContactOptions.tags) && + Objects.equals(this.metaData, createContactOptions.metaData) && + Objects.equals(this.optOut, createContactOptions.optOut) && + Objects.equals(this.groupId, createContactOptions.groupId); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(firstName, lastName, company, emailAddresses, tags, metaData, optOut, groupId); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateContactOptions {\n"); + sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + sb.append(" company: ").append(toIndentedString(company)).append("\n"); + sb.append(" emailAddresses: ").append(toIndentedString(emailAddresses)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append(" metaData: ").append(toIndentedString(metaData)).append("\n"); + sb.append(" optOut: ").append(toIndentedString(optOut)).append("\n"); + sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("firstName"); + openapiFields.add("lastName"); + openapiFields.add("company"); + openapiFields.add("emailAddresses"); + openapiFields.add("tags"); + openapiFields.add("metaData"); + openapiFields.add("optOut"); + openapiFields.add("groupId"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateContactOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateContactOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateContactOptions is not found in the empty JSON string", CreateContactOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateContactOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateContactOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("firstName") != null && !jsonObj.get("firstName").isJsonNull()) && !jsonObj.get("firstName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `firstName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("firstName").toString())); + } + if ((jsonObj.get("lastName") != null && !jsonObj.get("lastName").isJsonNull()) && !jsonObj.get("lastName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `lastName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastName").toString())); + } + if ((jsonObj.get("company") != null && !jsonObj.get("company").isJsonNull()) && !jsonObj.get("company").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `company` to be a primitive type in the JSON string but got `%s`", jsonObj.get("company").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("emailAddresses") != null && !jsonObj.get("emailAddresses").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddresses` to be an array in the JSON string but got `%s`", jsonObj.get("emailAddresses").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); + } + if ((jsonObj.get("groupId") != null && !jsonObj.get("groupId").isJsonNull()) && !jsonObj.get("groupId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `groupId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("groupId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateContactOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateContactOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateContactOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateContactOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateContactOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateContactOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateContactOptions + * @throws IOException if the JSON string is invalid with respect to CreateContactOptions + */ + public static CreateContactOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateContactOptions.class); + } + + /** + * Convert an instance of CreateContactOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateDomainOptions.java b/src/main/java/com/mailslurp/models/CreateDomainOptions.java new file mode 100644 index 000000000..7e7b8fc53 --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateDomainOptions.java @@ -0,0 +1,372 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for creating a domain to use with MailSlurp. You must have ownership access to this domain in order to verify it. Domains will not function correctly until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains for help. Domains can be either `HTTP` or `SMTP` type. The type of domain determines which inboxes can be used with it. `SMTP` inboxes use a mail server running `mx.mailslurp.com` while `HTTP` inboxes are handled by AWS SES. + */ +@ApiModel(description = "Options for creating a domain to use with MailSlurp. You must have ownership access to this domain in order to verify it. Domains will not function correctly until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains for help. Domains can be either `HTTP` or `SMTP` type. The type of domain determines which inboxes can be used with it. `SMTP` inboxes use a mail server running `mx.mailslurp.com` while `HTTP` inboxes are handled by AWS SES.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateDomainOptions { + public static final String SERIALIZED_NAME_DOMAIN = "domain"; + @SerializedName(SERIALIZED_NAME_DOMAIN) + private String domain; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_CREATED_CATCH_ALL_INBOX = "createdCatchAllInbox"; + @SerializedName(SERIALIZED_NAME_CREATED_CATCH_ALL_INBOX) + private Boolean createdCatchAllInbox; + + /** + * Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. + */ + @JsonAdapter(DomainTypeEnum.Adapter.class) + public enum DomainTypeEnum { + HTTP_INBOX("HTTP_INBOX"), + + SMTP_DOMAIN("SMTP_DOMAIN"); + + private String value; + + DomainTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static DomainTypeEnum fromValue(String value) { + for (DomainTypeEnum b : DomainTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DomainTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public DomainTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return DomainTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_DOMAIN_TYPE = "domainType"; + @SerializedName(SERIALIZED_NAME_DOMAIN_TYPE) + private DomainTypeEnum domainType; + + public CreateDomainOptions() { + } + + public CreateDomainOptions domain(String domain) { + + this.domain = domain; + return this; + } + + /** + * The top level domain you wish to use with MailSlurp. Do not specify subdomain just the top level. So `test.com` covers all subdomains such as `mail.test.com`. Don't include a protocol such as `http://`. Once added you must complete the verification steps by adding the returned records to your domain. + * @return domain + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "The top level domain you wish to use with MailSlurp. Do not specify subdomain just the top level. So `test.com` covers all subdomains such as `mail.test.com`. Don't include a protocol such as `http://`. Once added you must complete the verification steps by adding the returned records to your domain.") + + public String getDomain() { + return domain; + } + + + public void setDomain(String domain) { + this.domain = domain; + } + + + public CreateDomainOptions description(String description) { + + this.description = description; + return this; + } + + /** + * Optional description of the domain. + * @return description + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional description of the domain.") + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public CreateDomainOptions createdCatchAllInbox(Boolean createdCatchAllInbox) { + + this.createdCatchAllInbox = createdCatchAllInbox; + return this; + } + + /** + * Whether to create a catch all inbox for the domain. Any email sent to an address using your domain that cannot be matched to an existing inbox you created with the domain will be routed to the created catch all inbox. You can access emails using the regular methods on this inbox ID. + * @return createdCatchAllInbox + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Whether to create a catch all inbox for the domain. Any email sent to an address using your domain that cannot be matched to an existing inbox you created with the domain will be routed to the created catch all inbox. You can access emails using the regular methods on this inbox ID.") + + public Boolean getCreatedCatchAllInbox() { + return createdCatchAllInbox; + } + + + public void setCreatedCatchAllInbox(Boolean createdCatchAllInbox) { + this.createdCatchAllInbox = createdCatchAllInbox; + } + + + public CreateDomainOptions domainType(DomainTypeEnum domainType) { + + this.domainType = domainType; + return this; + } + + /** + * Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. + * @return domainType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.") + + public DomainTypeEnum getDomainType() { + return domainType; + } + + + public void setDomainType(DomainTypeEnum domainType) { + this.domainType = domainType; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateDomainOptions createDomainOptions = (CreateDomainOptions) o; + return Objects.equals(this.domain, createDomainOptions.domain) && + Objects.equals(this.description, createDomainOptions.description) && + Objects.equals(this.createdCatchAllInbox, createDomainOptions.createdCatchAllInbox) && + Objects.equals(this.domainType, createDomainOptions.domainType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(domain, description, createdCatchAllInbox, domainType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDomainOptions {\n"); + sb.append(" domain: ").append(toIndentedString(domain)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" createdCatchAllInbox: ").append(toIndentedString(createdCatchAllInbox)).append("\n"); + sb.append(" domainType: ").append(toIndentedString(domainType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("domain"); + openapiFields.add("description"); + openapiFields.add("createdCatchAllInbox"); + openapiFields.add("domainType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("domain"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateDomainOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateDomainOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateDomainOptions is not found in the empty JSON string", CreateDomainOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateDomainOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateDomainOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateDomainOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("domain").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domain").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + if ((jsonObj.get("domainType") != null && !jsonObj.get("domainType").isJsonNull()) && !jsonObj.get("domainType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateDomainOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateDomainOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateDomainOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateDomainOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateDomainOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateDomainOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateDomainOptions + * @throws IOException if the JSON string is invalid with respect to CreateDomainOptions + */ + public static CreateDomainOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateDomainOptions.class); + } + + /** + * Convert an instance of CreateDomainOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateEmergencyAddressOptions.java b/src/main/java/com/mailslurp/models/CreateEmergencyAddressOptions.java new file mode 100644 index 000000000..726c20d27 --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateEmergencyAddressOptions.java @@ -0,0 +1,468 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * CreateEmergencyAddressOptions + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateEmergencyAddressOptions { + public static final String SERIALIZED_NAME_CUSTOMER_NAME = "customerName"; + @SerializedName(SERIALIZED_NAME_CUSTOMER_NAME) + private String customerName; + + public static final String SERIALIZED_NAME_ADDRESS1 = "address1"; + @SerializedName(SERIALIZED_NAME_ADDRESS1) + private String address1; + + public static final String SERIALIZED_NAME_CITY = "city"; + @SerializedName(SERIALIZED_NAME_CITY) + private String city; + + public static final String SERIALIZED_NAME_REGION = "region"; + @SerializedName(SERIALIZED_NAME_REGION) + private String region; + + public static final String SERIALIZED_NAME_POSTAL_CODE = "postalCode"; + @SerializedName(SERIALIZED_NAME_POSTAL_CODE) + private String postalCode; + + /** + * Gets or Sets isoCountryCode + */ + @JsonAdapter(IsoCountryCodeEnum.Adapter.class) + public enum IsoCountryCodeEnum { + US("US"), + + GB("GB"), + + AU("AU"); + + private String value; + + IsoCountryCodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static IsoCountryCodeEnum fromValue(String value) { + for (IsoCountryCodeEnum b : IsoCountryCodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final IsoCountryCodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public IsoCountryCodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return IsoCountryCodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_ISO_COUNTRY_CODE = "isoCountryCode"; + @SerializedName(SERIALIZED_NAME_ISO_COUNTRY_CODE) + private IsoCountryCodeEnum isoCountryCode; + + public static final String SERIALIZED_NAME_DISPLAY_NAME = "displayName"; + @SerializedName(SERIALIZED_NAME_DISPLAY_NAME) + private String displayName; + + public CreateEmergencyAddressOptions() { + } + + public CreateEmergencyAddressOptions customerName(String customerName) { + + this.customerName = customerName; + return this; + } + + /** + * Get customerName + * @return customerName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getCustomerName() { + return customerName; + } + + + public void setCustomerName(String customerName) { + this.customerName = customerName; + } + + + public CreateEmergencyAddressOptions address1(String address1) { + + this.address1 = address1; + return this; + } + + /** + * Get address1 + * @return address1 + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getAddress1() { + return address1; + } + + + public void setAddress1(String address1) { + this.address1 = address1; + } + + + public CreateEmergencyAddressOptions city(String city) { + + this.city = city; + return this; + } + + /** + * Get city + * @return city + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getCity() { + return city; + } + + + public void setCity(String city) { + this.city = city; + } + + + public CreateEmergencyAddressOptions region(String region) { + + this.region = region; + return this; + } + + /** + * Get region + * @return region + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getRegion() { + return region; + } + + + public void setRegion(String region) { + this.region = region; + } + + + public CreateEmergencyAddressOptions postalCode(String postalCode) { + + this.postalCode = postalCode; + return this; + } + + /** + * Get postalCode + * @return postalCode + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getPostalCode() { + return postalCode; + } + + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + public CreateEmergencyAddressOptions isoCountryCode(IsoCountryCodeEnum isoCountryCode) { + + this.isoCountryCode = isoCountryCode; + return this; + } + + /** + * Get isoCountryCode + * @return isoCountryCode + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public IsoCountryCodeEnum getIsoCountryCode() { + return isoCountryCode; + } + + + public void setIsoCountryCode(IsoCountryCodeEnum isoCountryCode) { + this.isoCountryCode = isoCountryCode; + } + + + public CreateEmergencyAddressOptions displayName(String displayName) { + + this.displayName = displayName; + return this; + } + + /** + * Get displayName + * @return displayName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getDisplayName() { + return displayName; + } + + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateEmergencyAddressOptions createEmergencyAddressOptions = (CreateEmergencyAddressOptions) o; + return Objects.equals(this.customerName, createEmergencyAddressOptions.customerName) && + Objects.equals(this.address1, createEmergencyAddressOptions.address1) && + Objects.equals(this.city, createEmergencyAddressOptions.city) && + Objects.equals(this.region, createEmergencyAddressOptions.region) && + Objects.equals(this.postalCode, createEmergencyAddressOptions.postalCode) && + Objects.equals(this.isoCountryCode, createEmergencyAddressOptions.isoCountryCode) && + Objects.equals(this.displayName, createEmergencyAddressOptions.displayName); + } + + @Override + public int hashCode() { + return Objects.hash(customerName, address1, city, region, postalCode, isoCountryCode, displayName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateEmergencyAddressOptions {\n"); + sb.append(" customerName: ").append(toIndentedString(customerName)).append("\n"); + sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + sb.append(" city: ").append(toIndentedString(city)).append("\n"); + sb.append(" region: ").append(toIndentedString(region)).append("\n"); + sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append(" isoCountryCode: ").append(toIndentedString(isoCountryCode)).append("\n"); + sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("customerName"); + openapiFields.add("address1"); + openapiFields.add("city"); + openapiFields.add("region"); + openapiFields.add("postalCode"); + openapiFields.add("isoCountryCode"); + openapiFields.add("displayName"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("customerName"); + openapiRequiredFields.add("address1"); + openapiRequiredFields.add("city"); + openapiRequiredFields.add("region"); + openapiRequiredFields.add("postalCode"); + openapiRequiredFields.add("isoCountryCode"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateEmergencyAddressOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateEmergencyAddressOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateEmergencyAddressOptions is not found in the empty JSON string", CreateEmergencyAddressOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateEmergencyAddressOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateEmergencyAddressOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateEmergencyAddressOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("customerName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `customerName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerName").toString())); + } + if (!jsonObj.get("address1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `address1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address1").toString())); + } + if (!jsonObj.get("city").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `city` to be a primitive type in the JSON string but got `%s`", jsonObj.get("city").toString())); + } + if (!jsonObj.get("region").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `region` to be a primitive type in the JSON string but got `%s`", jsonObj.get("region").toString())); + } + if (!jsonObj.get("postalCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `postalCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postalCode").toString())); + } + if (!jsonObj.get("isoCountryCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `isoCountryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("isoCountryCode").toString())); + } + if ((jsonObj.get("displayName") != null && !jsonObj.get("displayName").isJsonNull()) && !jsonObj.get("displayName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `displayName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("displayName").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateEmergencyAddressOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateEmergencyAddressOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateEmergencyAddressOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateEmergencyAddressOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateEmergencyAddressOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateEmergencyAddressOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateEmergencyAddressOptions + * @throws IOException if the JSON string is invalid with respect to CreateEmergencyAddressOptions + */ + public static CreateEmergencyAddressOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateEmergencyAddressOptions.class); + } + + /** + * Convert an instance of CreateEmergencyAddressOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateGroupOptions.java b/src/main/java/com/mailslurp/models/CreateGroupOptions.java new file mode 100644 index 000000000..f5636973b --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateGroupOptions.java @@ -0,0 +1,262 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Create contact group options + */ +@ApiModel(description = "Create contact group options") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateGroupOptions { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public CreateGroupOptions() { + } + + public CreateGroupOptions name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public CreateGroupOptions description(String description) { + + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateGroupOptions createGroupOptions = (CreateGroupOptions) o; + return Objects.equals(this.name, createGroupOptions.name) && + Objects.equals(this.description, createGroupOptions.description); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(name, description); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateGroupOptions {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("description"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("name"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateGroupOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateGroupOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateGroupOptions is not found in the empty JSON string", CreateGroupOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateGroupOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateGroupOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateGroupOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateGroupOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateGroupOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateGroupOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateGroupOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateGroupOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateGroupOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateGroupOptions + * @throws IOException if the JSON string is invalid with respect to CreateGroupOptions + */ + public static CreateGroupOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateGroupOptions.class); + } + + /** + * Convert an instance of CreateGroupOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateInboxDto.java b/src/main/java/com/mailslurp/models/CreateInboxDto.java new file mode 100644 index 000000000..dd50483ab --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateInboxDto.java @@ -0,0 +1,689 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for creating an inbox. An inbox has a real email address that can send and receive emails. Inboxes can be permanent or expire at a given time. Inboxes are either `SMTP` or `HTTP` mailboxes. `SMTP` inboxes are processed by a mail server running at `mailslurp.mx` while `HTTP` inboxes are processed by AWS SES backed mailservers. An inbox email address is randomly assigned by default ending in either `mailslurp.com` or (if `useDomainPool` is enabled) ending in a similar domain such as `mailslurp.xyz` (selected at random). To specify an address use a custom domain: either pass the `emailAddress` options with `<your-recipient>@<your-domain>`. To create a randomized address for your domain set the `domainName` to the domain you have verified or pass the `domainId`. Virtual inboxes prevent outbound sending and instead trap mail. + */ +@ApiModel(description = "Options for creating an inbox. An inbox has a real email address that can send and receive emails. Inboxes can be permanent or expire at a given time. Inboxes are either `SMTP` or `HTTP` mailboxes. `SMTP` inboxes are processed by a mail server running at `mailslurp.mx` while `HTTP` inboxes are processed by AWS SES backed mailservers. An inbox email address is randomly assigned by default ending in either `mailslurp.com` or (if `useDomainPool` is enabled) ending in a similar domain such as `mailslurp.xyz` (selected at random). To specify an address use a custom domain: either pass the `emailAddress` options with `@`. To create a randomized address for your domain set the `domainName` to the domain you have verified or pass the `domainId`. Virtual inboxes prevent outbound sending and instead trap mail.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateInboxDto { + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_DOMAIN_NAME = "domainName"; + @SerializedName(SERIALIZED_NAME_DOMAIN_NAME) + private String domainName; + + public static final String SERIALIZED_NAME_DOMAIN_ID = "domainId"; + @SerializedName(SERIALIZED_NAME_DOMAIN_ID) + private UUID domainId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_USE_DOMAIN_POOL = "useDomainPool"; + @SerializedName(SERIALIZED_NAME_USE_DOMAIN_POOL) + private Boolean useDomainPool; + + public static final String SERIALIZED_NAME_TAGS = "tags"; + @SerializedName(SERIALIZED_NAME_TAGS) + private List tags = null; + + public static final String SERIALIZED_NAME_EXPIRES_AT = "expiresAt"; + @SerializedName(SERIALIZED_NAME_EXPIRES_AT) + private OffsetDateTime expiresAt; + + public static final String SERIALIZED_NAME_FAVOURITE = "favourite"; + @SerializedName(SERIALIZED_NAME_FAVOURITE) + private Boolean favourite; + + public static final String SERIALIZED_NAME_EXPIRES_IN = "expiresIn"; + @SerializedName(SERIALIZED_NAME_EXPIRES_IN) + private Long expiresIn; + + public static final String SERIALIZED_NAME_ALLOW_TEAM_ACCESS = "allowTeamAccess"; + @SerializedName(SERIALIZED_NAME_ALLOW_TEAM_ACCESS) + private Boolean allowTeamAccess; + + /** + * Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). + */ + @JsonAdapter(InboxTypeEnum.Adapter.class) + public enum InboxTypeEnum { + HTTP_INBOX("HTTP_INBOX"), + + SMTP_INBOX("SMTP_INBOX"); + + private String value; + + InboxTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static InboxTypeEnum fromValue(String value) { + for (InboxTypeEnum b : InboxTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InboxTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public InboxTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return InboxTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_INBOX_TYPE = "inboxType"; + @SerializedName(SERIALIZED_NAME_INBOX_TYPE) + private InboxTypeEnum inboxType; + + public static final String SERIALIZED_NAME_VIRTUAL_INBOX = "virtualInbox"; + @SerializedName(SERIALIZED_NAME_VIRTUAL_INBOX) + private Boolean virtualInbox; + + public static final String SERIALIZED_NAME_USE_SHORT_ADDRESS = "useShortAddress"; + @SerializedName(SERIALIZED_NAME_USE_SHORT_ADDRESS) + private Boolean useShortAddress; + + public CreateInboxDto() { + } + + public CreateInboxDto emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. + * @return emailAddress + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public CreateInboxDto domainName(String domainName) { + + this.domainName = domainName; + return this; + } + + /** + * FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox. + * @return domainName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "FQDN domain name for the domain you have verified. Will be appended with a randomly assigned recipient name. Use the `emailAddress` option instead to specify the full custom inbox.") + + public String getDomainName() { + return domainName; + } + + + public void setDomainName(String domainName) { + this.domainName = domainName; + } + + + public CreateInboxDto domainId(UUID domainId) { + + this.domainId = domainId; + return this; + } + + /** + * ID of custom domain to use for email address. + * @return domainId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ID of custom domain to use for email address.") + + public UUID getDomainId() { + return domainId; + } + + + public void setDomainId(UUID domainId) { + this.domainId = domainId; + } + + + public CreateInboxDto name(String name) { + + this.name = name; + return this; + } + + /** + * Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails. + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails.") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public CreateInboxDto description(String description) { + + this.description = description; + return this; + } + + /** + * Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with + * @return description + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with") + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public CreateInboxDto useDomainPool(Boolean useDomainPool) { + + this.useDomainPool = useDomainPool; + return this; + } + + /** + * Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types. + * @return useDomainPool + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types.") + + public Boolean getUseDomainPool() { + return useDomainPool; + } + + + public void setUseDomainPool(Boolean useDomainPool) { + this.useDomainPool = useDomainPool; + } + + + public CreateInboxDto tags(List tags) { + + this.tags = tags; + return this; + } + + public CreateInboxDto addTagsItem(String tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList<>(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. + * @return tags + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.") + + public List getTags() { + return tags; + } + + + public void setTags(List tags) { + this.tags = tags; + } + + + public CreateInboxDto expiresAt(OffsetDateTime expiresAt) { + + this.expiresAt = expiresAt; + return this; + } + + /** + * Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX. + * @return expiresAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX.") + + public OffsetDateTime getExpiresAt() { + return expiresAt; + } + + + public void setExpiresAt(OffsetDateTime expiresAt) { + this.expiresAt = expiresAt; + } + + + public CreateInboxDto favourite(Boolean favourite) { + + this.favourite = favourite; + return this; + } + + /** + * Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering + * @return favourite + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering") + + public Boolean getFavourite() { + return favourite; + } + + + public void setFavourite(Boolean favourite) { + this.favourite = favourite; + } + + + public CreateInboxDto expiresIn(Long expiresIn) { + + this.expiresIn = expiresIn; + return this; + } + + /** + * Number of milliseconds that inbox should exist for + * @return expiresIn + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Number of milliseconds that inbox should exist for") + + public Long getExpiresIn() { + return expiresIn; + } + + + public void setExpiresIn(Long expiresIn) { + this.expiresIn = expiresIn; + } + + + public CreateInboxDto allowTeamAccess(Boolean allowTeamAccess) { + + this.allowTeamAccess = allowTeamAccess; + return this; + } + + /** + * DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization. + * @return allowTeamAccess + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization.") + + public Boolean getAllowTeamAccess() { + return allowTeamAccess; + } + + + public void setAllowTeamAccess(Boolean allowTeamAccess) { + this.allowTeamAccess = allowTeamAccess; + } + + + public CreateInboxDto inboxType(InboxTypeEnum inboxType) { + + this.inboxType = inboxType; + return this; + } + + /** + * Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). + * @return inboxType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send).") + + public InboxTypeEnum getInboxType() { + return inboxType; + } + + + public void setInboxType(InboxTypeEnum inboxType) { + this.inboxType = inboxType; + } + + + public CreateInboxDto virtualInbox(Boolean virtualInbox) { + + this.virtualInbox = virtualInbox; + return this; + } + + /** + * Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending. + * @return virtualInbox + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Virtual inbox prevents any outbound emails from being sent. It creates sent email records but will never send real emails to recipients. Great for testing and faking email sending.") + + public Boolean getVirtualInbox() { + return virtualInbox; + } + + + public void setVirtualInbox(Boolean virtualInbox) { + this.virtualInbox = virtualInbox; + } + + + public CreateInboxDto useShortAddress(Boolean useShortAddress) { + + this.useShortAddress = useShortAddress; + return this; + } + + /** + * Use a shorter email address under 31 characters + * @return useShortAddress + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Use a shorter email address under 31 characters") + + public Boolean getUseShortAddress() { + return useShortAddress; + } + + + public void setUseShortAddress(Boolean useShortAddress) { + this.useShortAddress = useShortAddress; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateInboxDto createInboxDto = (CreateInboxDto) o; + return Objects.equals(this.emailAddress, createInboxDto.emailAddress) && + Objects.equals(this.domainName, createInboxDto.domainName) && + Objects.equals(this.domainId, createInboxDto.domainId) && + Objects.equals(this.name, createInboxDto.name) && + Objects.equals(this.description, createInboxDto.description) && + Objects.equals(this.useDomainPool, createInboxDto.useDomainPool) && + Objects.equals(this.tags, createInboxDto.tags) && + Objects.equals(this.expiresAt, createInboxDto.expiresAt) && + Objects.equals(this.favourite, createInboxDto.favourite) && + Objects.equals(this.expiresIn, createInboxDto.expiresIn) && + Objects.equals(this.allowTeamAccess, createInboxDto.allowTeamAccess) && + Objects.equals(this.inboxType, createInboxDto.inboxType) && + Objects.equals(this.virtualInbox, createInboxDto.virtualInbox) && + Objects.equals(this.useShortAddress, createInboxDto.useShortAddress); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(emailAddress, domainName, domainId, name, description, useDomainPool, tags, expiresAt, favourite, expiresIn, allowTeamAccess, inboxType, virtualInbox, useShortAddress); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateInboxDto {\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" domainName: ").append(toIndentedString(domainName)).append("\n"); + sb.append(" domainId: ").append(toIndentedString(domainId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" useDomainPool: ").append(toIndentedString(useDomainPool)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); + sb.append(" favourite: ").append(toIndentedString(favourite)).append("\n"); + sb.append(" expiresIn: ").append(toIndentedString(expiresIn)).append("\n"); + sb.append(" allowTeamAccess: ").append(toIndentedString(allowTeamAccess)).append("\n"); + sb.append(" inboxType: ").append(toIndentedString(inboxType)).append("\n"); + sb.append(" virtualInbox: ").append(toIndentedString(virtualInbox)).append("\n"); + sb.append(" useShortAddress: ").append(toIndentedString(useShortAddress)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("emailAddress"); + openapiFields.add("domainName"); + openapiFields.add("domainId"); + openapiFields.add("name"); + openapiFields.add("description"); + openapiFields.add("useDomainPool"); + openapiFields.add("tags"); + openapiFields.add("expiresAt"); + openapiFields.add("favourite"); + openapiFields.add("expiresIn"); + openapiFields.add("allowTeamAccess"); + openapiFields.add("inboxType"); + openapiFields.add("virtualInbox"); + openapiFields.add("useShortAddress"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateInboxDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateInboxDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateInboxDto is not found in the empty JSON string", CreateInboxDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateInboxDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateInboxDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("emailAddress") != null && !jsonObj.get("emailAddress").isJsonNull()) && !jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if ((jsonObj.get("domainName") != null && !jsonObj.get("domainName").isJsonNull()) && !jsonObj.get("domainName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainName").toString())); + } + if ((jsonObj.get("domainId") != null && !jsonObj.get("domainId").isJsonNull()) && !jsonObj.get("domainId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainId").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); + } + if ((jsonObj.get("inboxType") != null && !jsonObj.get("inboxType").isJsonNull()) && !jsonObj.get("inboxType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateInboxDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateInboxDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateInboxDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateInboxDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateInboxDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateInboxDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateInboxDto + * @throws IOException if the JSON string is invalid with respect to CreateInboxDto + */ + public static CreateInboxDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateInboxDto.class); + } + + /** + * Convert an instance of CreateInboxDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateInboxForwarderOptions.java b/src/main/java/com/mailslurp/models/CreateInboxForwarderOptions.java new file mode 100644 index 000000000..46804db51 --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateInboxForwarderOptions.java @@ -0,0 +1,346 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for creating an inbox forwarder + */ +@ApiModel(description = "Options for creating an inbox forwarder") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateInboxForwarderOptions { + /** + * Field to match against to trigger inbox forwarding for inbound email + */ + @JsonAdapter(FieldEnum.Adapter.class) + public enum FieldEnum { + RECIPIENTS("RECIPIENTS"), + + SENDER("SENDER"), + + SUBJECT("SUBJECT"), + + ATTACHMENTS("ATTACHMENTS"); + + private String value; + + FieldEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static FieldEnum fromValue(String value) { + for (FieldEnum b : FieldEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final FieldEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public FieldEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return FieldEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_FIELD = "field"; + @SerializedName(SERIALIZED_NAME_FIELD) + private FieldEnum field; + + public static final String SERIALIZED_NAME_MATCH = "match"; + @SerializedName(SERIALIZED_NAME_MATCH) + private String match; + + public static final String SERIALIZED_NAME_FORWARD_TO_RECIPIENTS = "forwardToRecipients"; + @SerializedName(SERIALIZED_NAME_FORWARD_TO_RECIPIENTS) + private List forwardToRecipients = new ArrayList<>(); + + public CreateInboxForwarderOptions() { + } + + public CreateInboxForwarderOptions field(FieldEnum field) { + + this.field = field; + return this; + } + + /** + * Field to match against to trigger inbox forwarding for inbound email + * @return field + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Field to match against to trigger inbox forwarding for inbound email") + + public FieldEnum getField() { + return field; + } + + + public void setField(FieldEnum field) { + this.field = field; + } + + + public CreateInboxForwarderOptions match(String match) { + + this.match = match; + return this; + } + + /** + * String or wildcard style match for field specified when evaluating forwarding rules + * @return match + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "String or wildcard style match for field specified when evaluating forwarding rules") + + public String getMatch() { + return match; + } + + + public void setMatch(String match) { + this.match = match; + } + + + public CreateInboxForwarderOptions forwardToRecipients(List forwardToRecipients) { + + this.forwardToRecipients = forwardToRecipients; + return this; + } + + public CreateInboxForwarderOptions addForwardToRecipientsItem(String forwardToRecipientsItem) { + this.forwardToRecipients.add(forwardToRecipientsItem); + return this; + } + + /** + * Email addresses to forward an email to if it matches the field and match criteria of the forwarder + * @return forwardToRecipients + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Email addresses to forward an email to if it matches the field and match criteria of the forwarder") + + public List getForwardToRecipients() { + return forwardToRecipients; + } + + + public void setForwardToRecipients(List forwardToRecipients) { + this.forwardToRecipients = forwardToRecipients; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateInboxForwarderOptions createInboxForwarderOptions = (CreateInboxForwarderOptions) o; + return Objects.equals(this.field, createInboxForwarderOptions.field) && + Objects.equals(this.match, createInboxForwarderOptions.match) && + Objects.equals(this.forwardToRecipients, createInboxForwarderOptions.forwardToRecipients); + } + + @Override + public int hashCode() { + return Objects.hash(field, match, forwardToRecipients); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateInboxForwarderOptions {\n"); + sb.append(" field: ").append(toIndentedString(field)).append("\n"); + sb.append(" match: ").append(toIndentedString(match)).append("\n"); + sb.append(" forwardToRecipients: ").append(toIndentedString(forwardToRecipients)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("field"); + openapiFields.add("match"); + openapiFields.add("forwardToRecipients"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("field"); + openapiRequiredFields.add("match"); + openapiRequiredFields.add("forwardToRecipients"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateInboxForwarderOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateInboxForwarderOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateInboxForwarderOptions is not found in the empty JSON string", CreateInboxForwarderOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateInboxForwarderOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateInboxForwarderOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateInboxForwarderOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("field").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `field` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field").toString())); + } + if (!jsonObj.get("match").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `match` to be a primitive type in the JSON string but got `%s`", jsonObj.get("match").toString())); + } + // ensure the required json array is present + if (jsonObj.get("forwardToRecipients") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("forwardToRecipients").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `forwardToRecipients` to be an array in the JSON string but got `%s`", jsonObj.get("forwardToRecipients").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateInboxForwarderOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateInboxForwarderOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateInboxForwarderOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateInboxForwarderOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateInboxForwarderOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateInboxForwarderOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateInboxForwarderOptions + * @throws IOException if the JSON string is invalid with respect to CreateInboxForwarderOptions + */ + public static CreateInboxForwarderOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateInboxForwarderOptions.class); + } + + /** + * Convert an instance of CreateInboxForwarderOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateInboxReplierOptions.java b/src/main/java/com/mailslurp/models/CreateInboxReplierOptions.java new file mode 100644 index 000000000..2fbff5842 --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateInboxReplierOptions.java @@ -0,0 +1,680 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for creating an inbox replier. Repliers can be attached to inboxes and send automated responses when an inbound email matches given criteria. + */ +@ApiModel(description = "Options for creating an inbox replier. Repliers can be attached to inboxes and send automated responses when an inbound email matches given criteria.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateInboxReplierOptions { + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + /** + * Field to match against to trigger inbox replier for inbound email + */ + @JsonAdapter(FieldEnum.Adapter.class) + public enum FieldEnum { + RECIPIENTS("RECIPIENTS"), + + SENDER("SENDER"), + + SUBJECT("SUBJECT"), + + ATTACHMENTS("ATTACHMENTS"); + + private String value; + + FieldEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static FieldEnum fromValue(String value) { + for (FieldEnum b : FieldEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final FieldEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public FieldEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return FieldEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_FIELD = "field"; + @SerializedName(SERIALIZED_NAME_FIELD) + private FieldEnum field; + + public static final String SERIALIZED_NAME_MATCH = "match"; + @SerializedName(SERIALIZED_NAME_MATCH) + private String match; + + public static final String SERIALIZED_NAME_REPLY_TO = "replyTo"; + @SerializedName(SERIALIZED_NAME_REPLY_TO) + private String replyTo; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_CHARSET = "charset"; + @SerializedName(SERIALIZED_NAME_CHARSET) + private String charset; + + public static final String SERIALIZED_NAME_IGNORE_REPLY_TO = "ignoreReplyTo"; + @SerializedName(SERIALIZED_NAME_IGNORE_REPLY_TO) + private Boolean ignoreReplyTo; + + public static final String SERIALIZED_NAME_IS_H_T_M_L = "isHTML"; + @SerializedName(SERIALIZED_NAME_IS_H_T_M_L) + private Boolean isHTML; + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_TEMPLATE_ID = "templateId"; + @SerializedName(SERIALIZED_NAME_TEMPLATE_ID) + private UUID templateId; + + public static final String SERIALIZED_NAME_TEMPLATE_VARIABLES = "templateVariables"; + @SerializedName(SERIALIZED_NAME_TEMPLATE_VARIABLES) + private Map templateVariables = null; + + public CreateInboxReplierOptions() { + } + + public CreateInboxReplierOptions inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Inbox ID to attach replier to + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Inbox ID to attach replier to") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public CreateInboxReplierOptions name(String name) { + + this.name = name; + return this; + } + + /** + * Name for replier + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name for replier") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public CreateInboxReplierOptions field(FieldEnum field) { + + this.field = field; + return this; + } + + /** + * Field to match against to trigger inbox replier for inbound email + * @return field + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Field to match against to trigger inbox replier for inbound email") + + public FieldEnum getField() { + return field; + } + + + public void setField(FieldEnum field) { + this.field = field; + } + + + public CreateInboxReplierOptions match(String match) { + + this.match = match; + return this; + } + + /** + * String or wildcard style match for field specified when evaluating reply rules. Use `*` to match anything. + * @return match + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "String or wildcard style match for field specified when evaluating reply rules. Use `*` to match anything.") + + public String getMatch() { + return match; + } + + + public void setMatch(String match) { + this.match = match; + } + + + public CreateInboxReplierOptions replyTo(String replyTo) { + + this.replyTo = replyTo; + return this; + } + + /** + * Reply-to email address when sending replying + * @return replyTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Reply-to email address when sending replying") + + public String getReplyTo() { + return replyTo; + } + + + public void setReplyTo(String replyTo) { + this.replyTo = replyTo; + } + + + public CreateInboxReplierOptions subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Subject override when replying to email + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Subject override when replying to email") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public CreateInboxReplierOptions from(String from) { + + this.from = from; + return this; + } + + /** + * Send email from address + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Send email from address") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public CreateInboxReplierOptions charset(String charset) { + + this.charset = charset; + return this; + } + + /** + * Email reply charset + * @return charset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Email reply charset") + + public String getCharset() { + return charset; + } + + + public void setCharset(String charset) { + this.charset = charset; + } + + + public CreateInboxReplierOptions ignoreReplyTo(Boolean ignoreReplyTo) { + + this.ignoreReplyTo = ignoreReplyTo; + return this; + } + + /** + * Ignore sender replyTo when responding. Send directly to the sender if enabled. + * @return ignoreReplyTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Ignore sender replyTo when responding. Send directly to the sender if enabled.") + + public Boolean getIgnoreReplyTo() { + return ignoreReplyTo; + } + + + public void setIgnoreReplyTo(Boolean ignoreReplyTo) { + this.ignoreReplyTo = ignoreReplyTo; + } + + + public CreateInboxReplierOptions isHTML(Boolean isHTML) { + + this.isHTML = isHTML; + return this; + } + + /** + * Send HTML email + * @return isHTML + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Send HTML email") + + public Boolean getIsHTML() { + return isHTML; + } + + + public void setIsHTML(Boolean isHTML) { + this.isHTML = isHTML; + } + + + public CreateInboxReplierOptions body(String body) { + + this.body = body; + return this; + } + + /** + * Email body for reply + * @return body + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Email body for reply") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public CreateInboxReplierOptions templateId(UUID templateId) { + + this.templateId = templateId; + return this; + } + + /** + * ID of template to use when sending a reply + * @return templateId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ID of template to use when sending a reply") + + public UUID getTemplateId() { + return templateId; + } + + + public void setTemplateId(UUID templateId) { + this.templateId = templateId; + } + + + public CreateInboxReplierOptions templateVariables(Map templateVariables) { + + this.templateVariables = templateVariables; + return this; + } + + public CreateInboxReplierOptions putTemplateVariablesItem(String key, Object templateVariablesItem) { + if (this.templateVariables == null) { + this.templateVariables = new HashMap<>(); + } + this.templateVariables.put(key, templateVariablesItem); + return this; + } + + /** + * Template variable values + * @return templateVariables + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Template variable values") + + public Map getTemplateVariables() { + return templateVariables; + } + + + public void setTemplateVariables(Map templateVariables) { + this.templateVariables = templateVariables; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateInboxReplierOptions createInboxReplierOptions = (CreateInboxReplierOptions) o; + return Objects.equals(this.inboxId, createInboxReplierOptions.inboxId) && + Objects.equals(this.name, createInboxReplierOptions.name) && + Objects.equals(this.field, createInboxReplierOptions.field) && + Objects.equals(this.match, createInboxReplierOptions.match) && + Objects.equals(this.replyTo, createInboxReplierOptions.replyTo) && + Objects.equals(this.subject, createInboxReplierOptions.subject) && + Objects.equals(this.from, createInboxReplierOptions.from) && + Objects.equals(this.charset, createInboxReplierOptions.charset) && + Objects.equals(this.ignoreReplyTo, createInboxReplierOptions.ignoreReplyTo) && + Objects.equals(this.isHTML, createInboxReplierOptions.isHTML) && + Objects.equals(this.body, createInboxReplierOptions.body) && + Objects.equals(this.templateId, createInboxReplierOptions.templateId) && + Objects.equals(this.templateVariables, createInboxReplierOptions.templateVariables); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(inboxId, name, field, match, replyTo, subject, from, charset, ignoreReplyTo, isHTML, body, templateId, templateVariables); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateInboxReplierOptions {\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" field: ").append(toIndentedString(field)).append("\n"); + sb.append(" match: ").append(toIndentedString(match)).append("\n"); + sb.append(" replyTo: ").append(toIndentedString(replyTo)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" charset: ").append(toIndentedString(charset)).append("\n"); + sb.append(" ignoreReplyTo: ").append(toIndentedString(ignoreReplyTo)).append("\n"); + sb.append(" isHTML: ").append(toIndentedString(isHTML)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + sb.append(" templateVariables: ").append(toIndentedString(templateVariables)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("inboxId"); + openapiFields.add("name"); + openapiFields.add("field"); + openapiFields.add("match"); + openapiFields.add("replyTo"); + openapiFields.add("subject"); + openapiFields.add("from"); + openapiFields.add("charset"); + openapiFields.add("ignoreReplyTo"); + openapiFields.add("isHTML"); + openapiFields.add("body"); + openapiFields.add("templateId"); + openapiFields.add("templateVariables"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("field"); + openapiRequiredFields.add("match"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateInboxReplierOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateInboxReplierOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateInboxReplierOptions is not found in the empty JSON string", CreateInboxReplierOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateInboxReplierOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateInboxReplierOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateInboxReplierOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("field").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `field` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field").toString())); + } + if (!jsonObj.get("match").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `match` to be a primitive type in the JSON string but got `%s`", jsonObj.get("match").toString())); + } + if ((jsonObj.get("replyTo") != null && !jsonObj.get("replyTo").isJsonNull()) && !jsonObj.get("replyTo").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `replyTo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("replyTo").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + if ((jsonObj.get("charset") != null && !jsonObj.get("charset").isJsonNull()) && !jsonObj.get("charset").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `charset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("charset").toString())); + } + if ((jsonObj.get("body") != null && !jsonObj.get("body").isJsonNull()) && !jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + if ((jsonObj.get("templateId") != null && !jsonObj.get("templateId").isJsonNull()) && !jsonObj.get("templateId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `templateId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("templateId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateInboxReplierOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateInboxReplierOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateInboxReplierOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateInboxReplierOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateInboxReplierOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateInboxReplierOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateInboxReplierOptions + * @throws IOException if the JSON string is invalid with respect to CreateInboxReplierOptions + */ + public static CreateInboxReplierOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateInboxReplierOptions.class); + } + + /** + * Convert an instance of CreateInboxReplierOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateInboxRulesetOptions.java b/src/main/java/com/mailslurp/models/CreateInboxRulesetOptions.java new file mode 100644 index 000000000..8cb942659 --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateInboxRulesetOptions.java @@ -0,0 +1,381 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for creating inbox rulesets. Inbox rulesets can be used to block, allow, filter, or forward emails when sending or receiving using the inbox. + */ +@ApiModel(description = "Options for creating inbox rulesets. Inbox rulesets can be used to block, allow, filter, or forward emails when sending or receiving using the inbox.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateInboxRulesetOptions { + /** + * What type of emails actions to apply ruleset to. Either `SENDING_EMAILS` or `RECEIVING_EMAILS` will apply action and target to any sending or receiving of emails respectively. + */ + @JsonAdapter(ScopeEnum.Adapter.class) + public enum ScopeEnum { + RECEIVING_EMAILS("RECEIVING_EMAILS"), + + SENDING_EMAILS("SENDING_EMAILS"); + + private String value; + + ScopeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ScopeEnum fromValue(String value) { + for (ScopeEnum b : ScopeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ScopeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ScopeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ScopeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SCOPE = "scope"; + @SerializedName(SERIALIZED_NAME_SCOPE) + private ScopeEnum scope; + + /** + * Action to be taken when the ruleset matches an email for the given scope. For example: `BLOCK` action with target `*` and scope `SENDING_EMAILS` blocks sending to all recipients. Note `ALLOW` takes precedent over `BLOCK`. `FILTER_REMOVE` is like block but will remove offending email addresses during a send or receive event instead of blocking the action. + */ + @JsonAdapter(ActionEnum.Adapter.class) + public enum ActionEnum { + BLOCK("BLOCK"), + + ALLOW("ALLOW"), + + FILTER_REMOVE("FILTER_REMOVE"); + + private String value; + + ActionEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ActionEnum fromValue(String value) { + for (ActionEnum b : ActionEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ActionEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ActionEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ActionEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_ACTION = "action"; + @SerializedName(SERIALIZED_NAME_ACTION) + private ActionEnum action; + + public static final String SERIALIZED_NAME_TARGET = "target"; + @SerializedName(SERIALIZED_NAME_TARGET) + private String target; + + public CreateInboxRulesetOptions() { + } + + public CreateInboxRulesetOptions scope(ScopeEnum scope) { + + this.scope = scope; + return this; + } + + /** + * What type of emails actions to apply ruleset to. Either `SENDING_EMAILS` or `RECEIVING_EMAILS` will apply action and target to any sending or receiving of emails respectively. + * @return scope + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "What type of emails actions to apply ruleset to. Either `SENDING_EMAILS` or `RECEIVING_EMAILS` will apply action and target to any sending or receiving of emails respectively.") + + public ScopeEnum getScope() { + return scope; + } + + + public void setScope(ScopeEnum scope) { + this.scope = scope; + } + + + public CreateInboxRulesetOptions action(ActionEnum action) { + + this.action = action; + return this; + } + + /** + * Action to be taken when the ruleset matches an email for the given scope. For example: `BLOCK` action with target `*` and scope `SENDING_EMAILS` blocks sending to all recipients. Note `ALLOW` takes precedent over `BLOCK`. `FILTER_REMOVE` is like block but will remove offending email addresses during a send or receive event instead of blocking the action. + * @return action + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Action to be taken when the ruleset matches an email for the given scope. For example: `BLOCK` action with target `*` and scope `SENDING_EMAILS` blocks sending to all recipients. Note `ALLOW` takes precedent over `BLOCK`. `FILTER_REMOVE` is like block but will remove offending email addresses during a send or receive event instead of blocking the action.") + + public ActionEnum getAction() { + return action; + } + + + public void setAction(ActionEnum action) { + this.action = action; + } + + + public CreateInboxRulesetOptions target(String target) { + + this.target = target; + return this; + } + + /** + * Target to match emails with. Can be a wild-card type pattern or a valid email address. For instance `*@gmail.com` matches all gmail addresses while `test@gmail.com` matches one address exactly. The target is applied to every recipient field email address when `SENDING_EMAILS` is the scope and is applied to sender of email when `RECEIVING_EMAILS`. + * @return target + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Target to match emails with. Can be a wild-card type pattern or a valid email address. For instance `*@gmail.com` matches all gmail addresses while `test@gmail.com` matches one address exactly. The target is applied to every recipient field email address when `SENDING_EMAILS` is the scope and is applied to sender of email when `RECEIVING_EMAILS`.") + + public String getTarget() { + return target; + } + + + public void setTarget(String target) { + this.target = target; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateInboxRulesetOptions createInboxRulesetOptions = (CreateInboxRulesetOptions) o; + return Objects.equals(this.scope, createInboxRulesetOptions.scope) && + Objects.equals(this.action, createInboxRulesetOptions.action) && + Objects.equals(this.target, createInboxRulesetOptions.target); + } + + @Override + public int hashCode() { + return Objects.hash(scope, action, target); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateInboxRulesetOptions {\n"); + sb.append(" scope: ").append(toIndentedString(scope)).append("\n"); + sb.append(" action: ").append(toIndentedString(action)).append("\n"); + sb.append(" target: ").append(toIndentedString(target)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("scope"); + openapiFields.add("action"); + openapiFields.add("target"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("scope"); + openapiRequiredFields.add("action"); + openapiRequiredFields.add("target"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateInboxRulesetOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateInboxRulesetOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateInboxRulesetOptions is not found in the empty JSON string", CreateInboxRulesetOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateInboxRulesetOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateInboxRulesetOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateInboxRulesetOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("scope").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `scope` to be a primitive type in the JSON string but got `%s`", jsonObj.get("scope").toString())); + } + if (!jsonObj.get("action").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `action` to be a primitive type in the JSON string but got `%s`", jsonObj.get("action").toString())); + } + if (!jsonObj.get("target").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `target` to be a primitive type in the JSON string but got `%s`", jsonObj.get("target").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateInboxRulesetOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateInboxRulesetOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateInboxRulesetOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateInboxRulesetOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateInboxRulesetOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateInboxRulesetOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateInboxRulesetOptions + * @throws IOException if the JSON string is invalid with respect to CreateInboxRulesetOptions + */ + public static CreateInboxRulesetOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateInboxRulesetOptions.class); + } + + /** + * Convert an instance of CreateInboxRulesetOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateTemplateOptions.java b/src/main/java/com/mailslurp/models/CreateTemplateOptions.java new file mode 100644 index 000000000..53612f048 --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateTemplateOptions.java @@ -0,0 +1,251 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Create template options + */ +@ApiModel(description = "Create template options") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateTemplateOptions { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private String content; + + public CreateTemplateOptions() { + } + + public CreateTemplateOptions name(String name) { + + this.name = name; + return this; + } + + /** + * Name of template + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of template") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public CreateTemplateOptions content(String content) { + + this.content = content; + return this; + } + + /** + * Template content. Can include moustache style variables such as {{var_name}} + * @return content + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Template content. Can include moustache style variables such as {{var_name}}") + + public String getContent() { + return content; + } + + + public void setContent(String content) { + this.content = content; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateTemplateOptions createTemplateOptions = (CreateTemplateOptions) o; + return Objects.equals(this.name, createTemplateOptions.name) && + Objects.equals(this.content, createTemplateOptions.content); + } + + @Override + public int hashCode() { + return Objects.hash(name, content); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateTemplateOptions {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("content"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("content"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateTemplateOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateTemplateOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateTemplateOptions is not found in the empty JSON string", CreateTemplateOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateTemplateOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateTemplateOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateTemplateOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("content").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateTemplateOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateTemplateOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateTemplateOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateTemplateOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateTemplateOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateTemplateOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateTemplateOptions + * @throws IOException if the JSON string is invalid with respect to CreateTemplateOptions + */ + public static CreateTemplateOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateTemplateOptions.class); + } + + /** + * Convert an instance of CreateTemplateOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateTrackingPixelOptions.java b/src/main/java/com/mailslurp/models/CreateTrackingPixelOptions.java new file mode 100644 index 000000000..6765bd139 --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateTrackingPixelOptions.java @@ -0,0 +1,254 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for creating a tracking pixel for email open tracking + */ +@ApiModel(description = "Options for creating a tracking pixel for email open tracking") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateTrackingPixelOptions { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_RECIPIENT = "recipient"; + @SerializedName(SERIALIZED_NAME_RECIPIENT) + private String recipient; + + public CreateTrackingPixelOptions() { + } + + public CreateTrackingPixelOptions name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public CreateTrackingPixelOptions recipient(String recipient) { + + this.recipient = recipient; + return this; + } + + /** + * Get recipient + * @return recipient + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getRecipient() { + return recipient; + } + + + public void setRecipient(String recipient) { + this.recipient = recipient; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateTrackingPixelOptions createTrackingPixelOptions = (CreateTrackingPixelOptions) o; + return Objects.equals(this.name, createTrackingPixelOptions.name) && + Objects.equals(this.recipient, createTrackingPixelOptions.recipient); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(name, recipient); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateTrackingPixelOptions {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" recipient: ").append(toIndentedString(recipient)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("recipient"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateTrackingPixelOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateTrackingPixelOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateTrackingPixelOptions is not found in the empty JSON string", CreateTrackingPixelOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateTrackingPixelOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateTrackingPixelOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("recipient") != null && !jsonObj.get("recipient").isJsonNull()) && !jsonObj.get("recipient").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `recipient` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipient").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateTrackingPixelOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateTrackingPixelOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateTrackingPixelOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateTrackingPixelOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateTrackingPixelOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateTrackingPixelOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateTrackingPixelOptions + * @throws IOException if the JSON string is invalid with respect to CreateTrackingPixelOptions + */ + public static CreateTrackingPixelOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateTrackingPixelOptions.class); + } + + /** + * Convert an instance of CreateTrackingPixelOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/CreateWebhookOptions.java b/src/main/java/com/mailslurp/models/CreateWebhookOptions.java new file mode 100644 index 000000000..6ed0b1903 --- /dev/null +++ b/src/main/java/com/mailslurp/models/CreateWebhookOptions.java @@ -0,0 +1,521 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.BasicAuthOptions; +import com.mailslurp.models.WebhookHeaders; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for creating a webhook. Webhooks can be attached to inboxes and MailSlurp will POST a webhook payload to the URL specified whenever the webhook's event is triggered. Webhooks are great for processing many inbound emails and responding to other events at scale. Customize the payload sent to your endpoint by setting the `requestBodyTemplate` property to a string with moustache style variables. Property names from the standard payload model for the given event are available as variables. + */ +@ApiModel(description = "Options for creating a webhook. Webhooks can be attached to inboxes and MailSlurp will POST a webhook payload to the URL specified whenever the webhook's event is triggered. Webhooks are great for processing many inbound emails and responding to other events at scale. Customize the payload sent to your endpoint by setting the `requestBodyTemplate` property to a string with moustache style variables. Property names from the standard payload model for the given event are available as variables.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class CreateWebhookOptions { + public static final String SERIALIZED_NAME_URL = "url"; + @SerializedName(SERIALIZED_NAME_URL) + private String url; + + public static final String SERIALIZED_NAME_BASIC_AUTH = "basicAuth"; + @SerializedName(SERIALIZED_NAME_BASIC_AUTH) + private BasicAuthOptions basicAuth; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + /** + * Optional webhook event name. Default is `EMAIL_RECEIVED` and is triggered when an email is received by the inbox associated with the webhook. Payload differ according to the webhook event name. + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_INCLUDE_HEADERS = "includeHeaders"; + @SerializedName(SERIALIZED_NAME_INCLUDE_HEADERS) + private WebhookHeaders includeHeaders; + + public static final String SERIALIZED_NAME_REQUEST_BODY_TEMPLATE = "requestBodyTemplate"; + @SerializedName(SERIALIZED_NAME_REQUEST_BODY_TEMPLATE) + private String requestBodyTemplate; + + public static final String SERIALIZED_NAME_USE_STATIC_IP_RANGE = "useStaticIpRange"; + @SerializedName(SERIALIZED_NAME_USE_STATIC_IP_RANGE) + private Boolean useStaticIpRange = false; + + public static final String SERIALIZED_NAME_IGNORE_INSECURE_SSL_CERTIFICATES = "ignoreInsecureSslCertificates"; + @SerializedName(SERIALIZED_NAME_IGNORE_INSECURE_SSL_CERTIFICATES) + private Boolean ignoreInsecureSslCertificates; + + public CreateWebhookOptions() { + } + + public CreateWebhookOptions url(String url) { + + this.url = url; + return this; + } + + /** + * Public URL on your server that MailSlurp can post WebhookNotification payload to when an email is received or an event is trigger. The payload of the submitted JSON is dependent on the webhook event type. See docs.mailslurp.com/webhooks for event payload documentation. + * @return url + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Public URL on your server that MailSlurp can post WebhookNotification payload to when an email is received or an event is trigger. The payload of the submitted JSON is dependent on the webhook event type. See docs.mailslurp.com/webhooks for event payload documentation.") + + public String getUrl() { + return url; + } + + + public void setUrl(String url) { + this.url = url; + } + + + public CreateWebhookOptions basicAuth(BasicAuthOptions basicAuth) { + + this.basicAuth = basicAuth; + return this; + } + + /** + * Get basicAuth + * @return basicAuth + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public BasicAuthOptions getBasicAuth() { + return basicAuth; + } + + + public void setBasicAuth(BasicAuthOptions basicAuth) { + this.basicAuth = basicAuth; + } + + + public CreateWebhookOptions name(String name) { + + this.name = name; + return this; + } + + /** + * Optional name for the webhook + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional name for the webhook") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public CreateWebhookOptions eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Optional webhook event name. Default is `EMAIL_RECEIVED` and is triggered when an email is received by the inbox associated with the webhook. Payload differ according to the webhook event name. + * @return eventName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional webhook event name. Default is `EMAIL_RECEIVED` and is triggered when an email is received by the inbox associated with the webhook. Payload differ according to the webhook event name.") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public CreateWebhookOptions includeHeaders(WebhookHeaders includeHeaders) { + + this.includeHeaders = includeHeaders; + return this; + } + + /** + * Get includeHeaders + * @return includeHeaders + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public WebhookHeaders getIncludeHeaders() { + return includeHeaders; + } + + + public void setIncludeHeaders(WebhookHeaders includeHeaders) { + this.includeHeaders = includeHeaders; + } + + + public CreateWebhookOptions requestBodyTemplate(String requestBodyTemplate) { + + this.requestBodyTemplate = requestBodyTemplate; + return this; + } + + /** + * Template for the JSON body of the webhook request that will be sent to your server. Use Moustache style `{{variableName}}` templating to use parts of the standard webhook payload for the given event. + * @return requestBodyTemplate + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Template for the JSON body of the webhook request that will be sent to your server. Use Moustache style `{{variableName}}` templating to use parts of the standard webhook payload for the given event.") + + public String getRequestBodyTemplate() { + return requestBodyTemplate; + } + + + public void setRequestBodyTemplate(String requestBodyTemplate) { + this.requestBodyTemplate = requestBodyTemplate; + } + + + public CreateWebhookOptions useStaticIpRange(Boolean useStaticIpRange) { + + this.useStaticIpRange = useStaticIpRange; + return this; + } + + /** + * Use static IP range when calling webhook endpoint + * @return useStaticIpRange + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Use static IP range when calling webhook endpoint") + + public Boolean getUseStaticIpRange() { + return useStaticIpRange; + } + + + public void setUseStaticIpRange(Boolean useStaticIpRange) { + this.useStaticIpRange = useStaticIpRange; + } + + + public CreateWebhookOptions ignoreInsecureSslCertificates(Boolean ignoreInsecureSslCertificates) { + + this.ignoreInsecureSslCertificates = ignoreInsecureSslCertificates; + return this; + } + + /** + * Ignore insecure SSL certificates when sending request. Useful for self-signed certs. + * @return ignoreInsecureSslCertificates + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Ignore insecure SSL certificates when sending request. Useful for self-signed certs.") + + public Boolean getIgnoreInsecureSslCertificates() { + return ignoreInsecureSslCertificates; + } + + + public void setIgnoreInsecureSslCertificates(Boolean ignoreInsecureSslCertificates) { + this.ignoreInsecureSslCertificates = ignoreInsecureSslCertificates; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateWebhookOptions createWebhookOptions = (CreateWebhookOptions) o; + return Objects.equals(this.url, createWebhookOptions.url) && + Objects.equals(this.basicAuth, createWebhookOptions.basicAuth) && + Objects.equals(this.name, createWebhookOptions.name) && + Objects.equals(this.eventName, createWebhookOptions.eventName) && + Objects.equals(this.includeHeaders, createWebhookOptions.includeHeaders) && + Objects.equals(this.requestBodyTemplate, createWebhookOptions.requestBodyTemplate) && + Objects.equals(this.useStaticIpRange, createWebhookOptions.useStaticIpRange) && + Objects.equals(this.ignoreInsecureSslCertificates, createWebhookOptions.ignoreInsecureSslCertificates); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(url, basicAuth, name, eventName, includeHeaders, requestBodyTemplate, useStaticIpRange, ignoreInsecureSslCertificates); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateWebhookOptions {\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" basicAuth: ").append(toIndentedString(basicAuth)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" includeHeaders: ").append(toIndentedString(includeHeaders)).append("\n"); + sb.append(" requestBodyTemplate: ").append(toIndentedString(requestBodyTemplate)).append("\n"); + sb.append(" useStaticIpRange: ").append(toIndentedString(useStaticIpRange)).append("\n"); + sb.append(" ignoreInsecureSslCertificates: ").append(toIndentedString(ignoreInsecureSslCertificates)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("url"); + openapiFields.add("basicAuth"); + openapiFields.add("name"); + openapiFields.add("eventName"); + openapiFields.add("includeHeaders"); + openapiFields.add("requestBodyTemplate"); + openapiFields.add("useStaticIpRange"); + openapiFields.add("ignoreInsecureSslCertificates"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("url"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CreateWebhookOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CreateWebhookOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CreateWebhookOptions is not found in the empty JSON string", CreateWebhookOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!CreateWebhookOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateWebhookOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateWebhookOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("url").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); + } + // validate the optional field `basicAuth` + if (jsonObj.get("basicAuth") != null && !jsonObj.get("basicAuth").isJsonNull()) { + BasicAuthOptions.validateJsonObject(jsonObj.getAsJsonObject("basicAuth")); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("eventName") != null && !jsonObj.get("eventName").isJsonNull()) && !jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + // validate the optional field `includeHeaders` + if (jsonObj.get("includeHeaders") != null && !jsonObj.get("includeHeaders").isJsonNull()) { + WebhookHeaders.validateJsonObject(jsonObj.getAsJsonObject("includeHeaders")); + } + if ((jsonObj.get("requestBodyTemplate") != null && !jsonObj.get("requestBodyTemplate").isJsonNull()) && !jsonObj.get("requestBodyTemplate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `requestBodyTemplate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("requestBodyTemplate").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CreateWebhookOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CreateWebhookOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CreateWebhookOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CreateWebhookOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CreateWebhookOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CreateWebhookOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of CreateWebhookOptions + * @throws IOException if the JSON string is invalid with respect to CreateWebhookOptions + */ + public static CreateWebhookOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CreateWebhookOptions.class); + } + + /** + * Convert an instance of CreateWebhookOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/DNSLookupOptions.java b/src/main/java/com/mailslurp/models/DNSLookupOptions.java new file mode 100644 index 000000000..c2c658907 --- /dev/null +++ b/src/main/java/com/mailslurp/models/DNSLookupOptions.java @@ -0,0 +1,513 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for DNS query. + */ +@ApiModel(description = "Options for DNS query. ") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class DNSLookupOptions { + public static final String SERIALIZED_NAME_HOSTNAME = "hostname"; + @SerializedName(SERIALIZED_NAME_HOSTNAME) + private String hostname; + + /** + * Domain Name Server Record Types + */ + @JsonAdapter(RecordTypesEnum.Adapter.class) + public enum RecordTypesEnum { + A("A"), + + NS("NS"), + + MD("MD"), + + MF("MF"), + + CNAME("CNAME"), + + SOA("SOA"), + + MB("MB"), + + MG("MG"), + + MR("MR"), + + NULL("NULL"), + + WKS("WKS"), + + PTR("PTR"), + + HINFO("HINFO"), + + MINFO("MINFO"), + + MX("MX"), + + TXT("TXT"), + + RP("RP"), + + AFSDB("AFSDB"), + + X25("X25"), + + ISDN("ISDN"), + + RT("RT"), + + NSAP("NSAP"), + + NSAP_PTR("NSAP_PTR"), + + SIG("SIG"), + + KEY("KEY"), + + PX("PX"), + + GPOS("GPOS"), + + AAAA("AAAA"), + + LOC("LOC"), + + NXT("NXT"), + + EID("EID"), + + NIMLOC("NIMLOC"), + + SRV("SRV"), + + ATMA("ATMA"), + + NAPTR("NAPTR"), + + KX("KX"), + + CERT("CERT"), + + A6("A6"), + + DNAME("DNAME"), + + SINK("SINK"), + + OPT("OPT"), + + APL("APL"), + + DS("DS"), + + SSHFP("SSHFP"), + + IPSECKEY("IPSECKEY"), + + RRSIG("RRSIG"), + + NSEC("NSEC"), + + DNSKEY("DNSKEY"), + + DHCID("DHCID"), + + NSEC3("NSEC3"), + + NSEC3PARAM("NSEC3PARAM"), + + TLSA("TLSA"), + + SMIMEA("SMIMEA"), + + HIP("HIP"), + + NINFO("NINFO"), + + RKEY("RKEY"), + + TALINK("TALINK"), + + CDS("CDS"), + + CDNSKEY("CDNSKEY"), + + OPENPGPKEY("OPENPGPKEY"), + + CSYNC("CSYNC"), + + ZONEMD("ZONEMD"), + + SVCB("SVCB"), + + HTTPS("HTTPS"), + + SPF("SPF"), + + UINFO("UINFO"), + + UID("UID"), + + GID("GID"), + + UNSPEC("UNSPEC"), + + NID("NID"), + + L32("L32"), + + L64("L64"), + + LP("LP"), + + EUI48("EUI48"), + + EUI64("EUI64"), + + TKEY("TKEY"), + + TSIG("TSIG"), + + IXFR("IXFR"), + + AXFR("AXFR"), + + MAILB("MAILB"), + + MAILA("MAILA"), + + ANY("ANY"), + + URI("URI"), + + CAA("CAA"), + + AVC("AVC"), + + DOA("DOA"), + + AMTRELAY("AMTRELAY"), + + TA("TA"), + + DLV("DLV"); + + private String value; + + RecordTypesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static RecordTypesEnum fromValue(String value) { + for (RecordTypesEnum b : RecordTypesEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final RecordTypesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public RecordTypesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return RecordTypesEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_RECORD_TYPES = "recordTypes"; + @SerializedName(SERIALIZED_NAME_RECORD_TYPES) + private List recordTypes = new ArrayList<>(); + + public static final String SERIALIZED_NAME_OMIT_FINAL_D_N_S_DOT = "omitFinalDNSDot"; + @SerializedName(SERIALIZED_NAME_OMIT_FINAL_D_N_S_DOT) + private Boolean omitFinalDNSDot; + + public DNSLookupOptions() { + } + + public DNSLookupOptions hostname(String hostname) { + + this.hostname = hostname; + return this; + } + + /** + * List of record types you wish to query such as MX, DNS, TXT, NS, A etc. + * @return hostname + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of record types you wish to query such as MX, DNS, TXT, NS, A etc.") + + public String getHostname() { + return hostname; + } + + + public void setHostname(String hostname) { + this.hostname = hostname; + } + + + public DNSLookupOptions recordTypes(List recordTypes) { + + this.recordTypes = recordTypes; + return this; + } + + public DNSLookupOptions addRecordTypesItem(RecordTypesEnum recordTypesItem) { + this.recordTypes.add(recordTypesItem); + return this; + } + + /** + * List of record types you wish to query such as MX, DNS, TXT, NS, A etc. + * @return recordTypes + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of record types you wish to query such as MX, DNS, TXT, NS, A etc.") + + public List getRecordTypes() { + return recordTypes; + } + + + public void setRecordTypes(List recordTypes) { + this.recordTypes = recordTypes; + } + + + public DNSLookupOptions omitFinalDNSDot(Boolean omitFinalDNSDot) { + + this.omitFinalDNSDot = omitFinalDNSDot; + return this; + } + + /** + * Optionally control whether to omit the final dot in full DNS name values. + * @return omitFinalDNSDot + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Optionally control whether to omit the final dot in full DNS name values.") + + public Boolean getOmitFinalDNSDot() { + return omitFinalDNSDot; + } + + + public void setOmitFinalDNSDot(Boolean omitFinalDNSDot) { + this.omitFinalDNSDot = omitFinalDNSDot; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DNSLookupOptions dnSLookupOptions = (DNSLookupOptions) o; + return Objects.equals(this.hostname, dnSLookupOptions.hostname) && + Objects.equals(this.recordTypes, dnSLookupOptions.recordTypes) && + Objects.equals(this.omitFinalDNSDot, dnSLookupOptions.omitFinalDNSDot); + } + + @Override + public int hashCode() { + return Objects.hash(hostname, recordTypes, omitFinalDNSDot); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DNSLookupOptions {\n"); + sb.append(" hostname: ").append(toIndentedString(hostname)).append("\n"); + sb.append(" recordTypes: ").append(toIndentedString(recordTypes)).append("\n"); + sb.append(" omitFinalDNSDot: ").append(toIndentedString(omitFinalDNSDot)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("hostname"); + openapiFields.add("recordTypes"); + openapiFields.add("omitFinalDNSDot"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("hostname"); + openapiRequiredFields.add("recordTypes"); + openapiRequiredFields.add("omitFinalDNSDot"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to DNSLookupOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!DNSLookupOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DNSLookupOptions is not found in the empty JSON string", DNSLookupOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!DNSLookupOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DNSLookupOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DNSLookupOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("hostname").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `hostname` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hostname").toString())); + } + // ensure the required json array is present + if (jsonObj.get("recordTypes") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("recordTypes").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `recordTypes` to be an array in the JSON string but got `%s`", jsonObj.get("recordTypes").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DNSLookupOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DNSLookupOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DNSLookupOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DNSLookupOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DNSLookupOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DNSLookupOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of DNSLookupOptions + * @throws IOException if the JSON string is invalid with respect to DNSLookupOptions + */ + public static DNSLookupOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DNSLookupOptions.class); + } + + /** + * Convert an instance of DNSLookupOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/DNSLookupResult.java b/src/main/java/com/mailslurp/models/DNSLookupResult.java new file mode 100644 index 000000000..882653a4a --- /dev/null +++ b/src/main/java/com/mailslurp/models/DNSLookupResult.java @@ -0,0 +1,547 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * DNS lookup result. Includes record type, time to live, raw response, and name value for the name server response. + */ +@ApiModel(description = "DNS lookup result. Includes record type, time to live, raw response, and name value for the name server response.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class DNSLookupResult { + /** + * Domain Name Server Record Types + */ + @JsonAdapter(RecordTypeEnum.Adapter.class) + public enum RecordTypeEnum { + A("A"), + + NS("NS"), + + MD("MD"), + + MF("MF"), + + CNAME("CNAME"), + + SOA("SOA"), + + MB("MB"), + + MG("MG"), + + MR("MR"), + + NULL("NULL"), + + WKS("WKS"), + + PTR("PTR"), + + HINFO("HINFO"), + + MINFO("MINFO"), + + MX("MX"), + + TXT("TXT"), + + RP("RP"), + + AFSDB("AFSDB"), + + X25("X25"), + + ISDN("ISDN"), + + RT("RT"), + + NSAP("NSAP"), + + NSAP_PTR("NSAP_PTR"), + + SIG("SIG"), + + KEY("KEY"), + + PX("PX"), + + GPOS("GPOS"), + + AAAA("AAAA"), + + LOC("LOC"), + + NXT("NXT"), + + EID("EID"), + + NIMLOC("NIMLOC"), + + SRV("SRV"), + + ATMA("ATMA"), + + NAPTR("NAPTR"), + + KX("KX"), + + CERT("CERT"), + + A6("A6"), + + DNAME("DNAME"), + + SINK("SINK"), + + OPT("OPT"), + + APL("APL"), + + DS("DS"), + + SSHFP("SSHFP"), + + IPSECKEY("IPSECKEY"), + + RRSIG("RRSIG"), + + NSEC("NSEC"), + + DNSKEY("DNSKEY"), + + DHCID("DHCID"), + + NSEC3("NSEC3"), + + NSEC3PARAM("NSEC3PARAM"), + + TLSA("TLSA"), + + SMIMEA("SMIMEA"), + + HIP("HIP"), + + NINFO("NINFO"), + + RKEY("RKEY"), + + TALINK("TALINK"), + + CDS("CDS"), + + CDNSKEY("CDNSKEY"), + + OPENPGPKEY("OPENPGPKEY"), + + CSYNC("CSYNC"), + + ZONEMD("ZONEMD"), + + SVCB("SVCB"), + + HTTPS("HTTPS"), + + SPF("SPF"), + + UINFO("UINFO"), + + UID("UID"), + + GID("GID"), + + UNSPEC("UNSPEC"), + + NID("NID"), + + L32("L32"), + + L64("L64"), + + LP("LP"), + + EUI48("EUI48"), + + EUI64("EUI64"), + + TKEY("TKEY"), + + TSIG("TSIG"), + + IXFR("IXFR"), + + AXFR("AXFR"), + + MAILB("MAILB"), + + MAILA("MAILA"), + + ANY("ANY"), + + URI("URI"), + + CAA("CAA"), + + AVC("AVC"), + + DOA("DOA"), + + AMTRELAY("AMTRELAY"), + + TA("TA"), + + DLV("DLV"); + + private String value; + + RecordTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static RecordTypeEnum fromValue(String value) { + for (RecordTypeEnum b : RecordTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final RecordTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public RecordTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return RecordTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_RECORD_TYPE = "recordType"; + @SerializedName(SERIALIZED_NAME_RECORD_TYPE) + private RecordTypeEnum recordType; + + public static final String SERIALIZED_NAME_TTL = "ttl"; + @SerializedName(SERIALIZED_NAME_TTL) + private Long ttl; + + public static final String SERIALIZED_NAME_RECORD_ENTRIES = "recordEntries"; + @SerializedName(SERIALIZED_NAME_RECORD_ENTRIES) + private List recordEntries = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public DNSLookupResult() { + } + + public DNSLookupResult recordType(RecordTypeEnum recordType) { + + this.recordType = recordType; + return this; + } + + /** + * Domain Name Server Record Types + * @return recordType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Domain Name Server Record Types") + + public RecordTypeEnum getRecordType() { + return recordType; + } + + + public void setRecordType(RecordTypeEnum recordType) { + this.recordType = recordType; + } + + + public DNSLookupResult ttl(Long ttl) { + + this.ttl = ttl; + return this; + } + + /** + * Get ttl + * @return ttl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Long getTtl() { + return ttl; + } + + + public void setTtl(Long ttl) { + this.ttl = ttl; + } + + + public DNSLookupResult recordEntries(List recordEntries) { + + this.recordEntries = recordEntries; + return this; + } + + public DNSLookupResult addRecordEntriesItem(String recordEntriesItem) { + this.recordEntries.add(recordEntriesItem); + return this; + } + + /** + * Get recordEntries + * @return recordEntries + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getRecordEntries() { + return recordEntries; + } + + + public void setRecordEntries(List recordEntries) { + this.recordEntries = recordEntries; + } + + + public DNSLookupResult name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DNSLookupResult dnSLookupResult = (DNSLookupResult) o; + return Objects.equals(this.recordType, dnSLookupResult.recordType) && + Objects.equals(this.ttl, dnSLookupResult.ttl) && + Objects.equals(this.recordEntries, dnSLookupResult.recordEntries) && + Objects.equals(this.name, dnSLookupResult.name); + } + + @Override + public int hashCode() { + return Objects.hash(recordType, ttl, recordEntries, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DNSLookupResult {\n"); + sb.append(" recordType: ").append(toIndentedString(recordType)).append("\n"); + sb.append(" ttl: ").append(toIndentedString(ttl)).append("\n"); + sb.append(" recordEntries: ").append(toIndentedString(recordEntries)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("recordType"); + openapiFields.add("ttl"); + openapiFields.add("recordEntries"); + openapiFields.add("name"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("recordType"); + openapiRequiredFields.add("ttl"); + openapiRequiredFields.add("recordEntries"); + openapiRequiredFields.add("name"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to DNSLookupResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!DNSLookupResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DNSLookupResult is not found in the empty JSON string", DNSLookupResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!DNSLookupResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DNSLookupResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DNSLookupResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("recordType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `recordType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recordType").toString())); + } + // ensure the required json array is present + if (jsonObj.get("recordEntries") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("recordEntries").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `recordEntries` to be an array in the JSON string but got `%s`", jsonObj.get("recordEntries").toString())); + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DNSLookupResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DNSLookupResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DNSLookupResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DNSLookupResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DNSLookupResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DNSLookupResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of DNSLookupResult + * @throws IOException if the JSON string is invalid with respect to DNSLookupResult + */ + public static DNSLookupResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DNSLookupResult.class); + } + + /** + * Convert an instance of DNSLookupResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/DNSLookupResults.java b/src/main/java/com/mailslurp/models/DNSLookupResults.java new file mode 100644 index 000000000..58f20e660 --- /dev/null +++ b/src/main/java/com/mailslurp/models/DNSLookupResults.java @@ -0,0 +1,232 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.DNSLookupResult; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Results of query on domain name servers + */ +@ApiModel(description = "Results of query on domain name servers") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class DNSLookupResults { + public static final String SERIALIZED_NAME_RESULTS = "results"; + @SerializedName(SERIALIZED_NAME_RESULTS) + private List results = new ArrayList<>(); + + public DNSLookupResults() { + } + + public DNSLookupResults results(List results) { + + this.results = results; + return this; + } + + public DNSLookupResults addResultsItem(DNSLookupResult resultsItem) { + this.results.add(resultsItem); + return this; + } + + /** + * Get results + * @return results + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getResults() { + return results; + } + + + public void setResults(List results) { + this.results = results; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DNSLookupResults dnSLookupResults = (DNSLookupResults) o; + return Objects.equals(this.results, dnSLookupResults.results); + } + + @Override + public int hashCode() { + return Objects.hash(results); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DNSLookupResults {\n"); + sb.append(" results: ").append(toIndentedString(results)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("results"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("results"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to DNSLookupResults + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!DNSLookupResults.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DNSLookupResults is not found in the empty JSON string", DNSLookupResults.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!DNSLookupResults.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DNSLookupResults` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DNSLookupResults.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("results").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `results` to be an array in the JSON string but got `%s`", jsonObj.get("results").toString())); + } + + JsonArray jsonArrayresults = jsonObj.getAsJsonArray("results"); + // validate the required field `results` (array) + for (int i = 0; i < jsonArrayresults.size(); i++) { + DNSLookupResult.validateJsonObject(jsonArrayresults.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DNSLookupResults.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DNSLookupResults' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DNSLookupResults.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DNSLookupResults value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DNSLookupResults read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DNSLookupResults given an JSON string + * + * @param jsonString JSON string + * @return An instance of DNSLookupResults + * @throws IOException if the JSON string is invalid with respect to DNSLookupResults + */ + public static DNSLookupResults fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DNSLookupResults.class); + } + + /** + * Convert an instance of DNSLookupResults to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/DeliveryStatusDto.java b/src/main/java/com/mailslurp/models/DeliveryStatusDto.java new file mode 100644 index 000000000..a2838ae6a --- /dev/null +++ b/src/main/java/com/mailslurp/models/DeliveryStatusDto.java @@ -0,0 +1,646 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * DeliveryStatusDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class DeliveryStatusDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_SENT_ID = "sentId"; + @SerializedName(SERIALIZED_NAME_SENT_ID) + private UUID sentId; + + public static final String SERIALIZED_NAME_REMOTE_MTA_IP = "remoteMtaIp"; + @SerializedName(SERIALIZED_NAME_REMOTE_MTA_IP) + private String remoteMtaIp; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_REPORTING_MTA = "reportingMta"; + @SerializedName(SERIALIZED_NAME_REPORTING_MTA) + private String reportingMta; + + public static final String SERIALIZED_NAME_RECIPIENTS = "recipients"; + @SerializedName(SERIALIZED_NAME_RECIPIENTS) + private List recipients = null; + + public static final String SERIALIZED_NAME_SMTP_RESPONSE = "smtpResponse"; + @SerializedName(SERIALIZED_NAME_SMTP_RESPONSE) + private String smtpResponse; + + public static final String SERIALIZED_NAME_SMTP_STATUS_CODE = "smtpStatusCode"; + @SerializedName(SERIALIZED_NAME_SMTP_STATUS_CODE) + private Integer smtpStatusCode; + + public static final String SERIALIZED_NAME_PROCESSING_TIME_MILLIS = "processingTimeMillis"; + @SerializedName(SERIALIZED_NAME_PROCESSING_TIME_MILLIS) + private Long processingTimeMillis; + + public static final String SERIALIZED_NAME_RECEIVED = "received"; + @SerializedName(SERIALIZED_NAME_RECEIVED) + private OffsetDateTime received; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public DeliveryStatusDto() { + } + + public DeliveryStatusDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public DeliveryStatusDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public DeliveryStatusDto sentId(UUID sentId) { + + this.sentId = sentId; + return this; + } + + /** + * Get sentId + * @return sentId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getSentId() { + return sentId; + } + + + public void setSentId(UUID sentId) { + this.sentId = sentId; + } + + + public DeliveryStatusDto remoteMtaIp(String remoteMtaIp) { + + this.remoteMtaIp = remoteMtaIp; + return this; + } + + /** + * Get remoteMtaIp + * @return remoteMtaIp + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getRemoteMtaIp() { + return remoteMtaIp; + } + + + public void setRemoteMtaIp(String remoteMtaIp) { + this.remoteMtaIp = remoteMtaIp; + } + + + public DeliveryStatusDto inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public DeliveryStatusDto reportingMta(String reportingMta) { + + this.reportingMta = reportingMta; + return this; + } + + /** + * Get reportingMta + * @return reportingMta + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getReportingMta() { + return reportingMta; + } + + + public void setReportingMta(String reportingMta) { + this.reportingMta = reportingMta; + } + + + public DeliveryStatusDto recipients(List recipients) { + + this.recipients = recipients; + return this; + } + + public DeliveryStatusDto addRecipientsItem(String recipientsItem) { + if (this.recipients == null) { + this.recipients = new ArrayList<>(); + } + this.recipients.add(recipientsItem); + return this; + } + + /** + * Get recipients + * @return recipients + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getRecipients() { + return recipients; + } + + + public void setRecipients(List recipients) { + this.recipients = recipients; + } + + + public DeliveryStatusDto smtpResponse(String smtpResponse) { + + this.smtpResponse = smtpResponse; + return this; + } + + /** + * Get smtpResponse + * @return smtpResponse + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSmtpResponse() { + return smtpResponse; + } + + + public void setSmtpResponse(String smtpResponse) { + this.smtpResponse = smtpResponse; + } + + + public DeliveryStatusDto smtpStatusCode(Integer smtpStatusCode) { + + this.smtpStatusCode = smtpStatusCode; + return this; + } + + /** + * Get smtpStatusCode + * @return smtpStatusCode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSmtpStatusCode() { + return smtpStatusCode; + } + + + public void setSmtpStatusCode(Integer smtpStatusCode) { + this.smtpStatusCode = smtpStatusCode; + } + + + public DeliveryStatusDto processingTimeMillis(Long processingTimeMillis) { + + this.processingTimeMillis = processingTimeMillis; + return this; + } + + /** + * Get processingTimeMillis + * @return processingTimeMillis + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getProcessingTimeMillis() { + return processingTimeMillis; + } + + + public void setProcessingTimeMillis(Long processingTimeMillis) { + this.processingTimeMillis = processingTimeMillis; + } + + + public DeliveryStatusDto received(OffsetDateTime received) { + + this.received = received; + return this; + } + + /** + * Get received + * @return received + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getReceived() { + return received; + } + + + public void setReceived(OffsetDateTime received) { + this.received = received; + } + + + public DeliveryStatusDto subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public DeliveryStatusDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public DeliveryStatusDto updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeliveryStatusDto deliveryStatusDto = (DeliveryStatusDto) o; + return Objects.equals(this.id, deliveryStatusDto.id) && + Objects.equals(this.userId, deliveryStatusDto.userId) && + Objects.equals(this.sentId, deliveryStatusDto.sentId) && + Objects.equals(this.remoteMtaIp, deliveryStatusDto.remoteMtaIp) && + Objects.equals(this.inboxId, deliveryStatusDto.inboxId) && + Objects.equals(this.reportingMta, deliveryStatusDto.reportingMta) && + Objects.equals(this.recipients, deliveryStatusDto.recipients) && + Objects.equals(this.smtpResponse, deliveryStatusDto.smtpResponse) && + Objects.equals(this.smtpStatusCode, deliveryStatusDto.smtpStatusCode) && + Objects.equals(this.processingTimeMillis, deliveryStatusDto.processingTimeMillis) && + Objects.equals(this.received, deliveryStatusDto.received) && + Objects.equals(this.subject, deliveryStatusDto.subject) && + Objects.equals(this.createdAt, deliveryStatusDto.createdAt) && + Objects.equals(this.updatedAt, deliveryStatusDto.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, sentId, remoteMtaIp, inboxId, reportingMta, recipients, smtpResponse, smtpStatusCode, processingTimeMillis, received, subject, createdAt, updatedAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeliveryStatusDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" sentId: ").append(toIndentedString(sentId)).append("\n"); + sb.append(" remoteMtaIp: ").append(toIndentedString(remoteMtaIp)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" reportingMta: ").append(toIndentedString(reportingMta)).append("\n"); + sb.append(" recipients: ").append(toIndentedString(recipients)).append("\n"); + sb.append(" smtpResponse: ").append(toIndentedString(smtpResponse)).append("\n"); + sb.append(" smtpStatusCode: ").append(toIndentedString(smtpStatusCode)).append("\n"); + sb.append(" processingTimeMillis: ").append(toIndentedString(processingTimeMillis)).append("\n"); + sb.append(" received: ").append(toIndentedString(received)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("sentId"); + openapiFields.add("remoteMtaIp"); + openapiFields.add("inboxId"); + openapiFields.add("reportingMta"); + openapiFields.add("recipients"); + openapiFields.add("smtpResponse"); + openapiFields.add("smtpStatusCode"); + openapiFields.add("processingTimeMillis"); + openapiFields.add("received"); + openapiFields.add("subject"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to DeliveryStatusDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!DeliveryStatusDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DeliveryStatusDto is not found in the empty JSON string", DeliveryStatusDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!DeliveryStatusDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DeliveryStatusDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DeliveryStatusDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("sentId") != null && !jsonObj.get("sentId").isJsonNull()) && !jsonObj.get("sentId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sentId").toString())); + } + if ((jsonObj.get("remoteMtaIp") != null && !jsonObj.get("remoteMtaIp").isJsonNull()) && !jsonObj.get("remoteMtaIp").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `remoteMtaIp` to be a primitive type in the JSON string but got `%s`", jsonObj.get("remoteMtaIp").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("reportingMta") != null && !jsonObj.get("reportingMta").isJsonNull()) && !jsonObj.get("reportingMta").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `reportingMta` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reportingMta").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("recipients") != null && !jsonObj.get("recipients").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `recipients` to be an array in the JSON string but got `%s`", jsonObj.get("recipients").toString())); + } + if ((jsonObj.get("smtpResponse") != null && !jsonObj.get("smtpResponse").isJsonNull()) && !jsonObj.get("smtpResponse").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `smtpResponse` to be a primitive type in the JSON string but got `%s`", jsonObj.get("smtpResponse").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DeliveryStatusDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DeliveryStatusDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DeliveryStatusDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DeliveryStatusDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DeliveryStatusDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DeliveryStatusDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeliveryStatusDto + * @throws IOException if the JSON string is invalid with respect to DeliveryStatusDto + */ + public static DeliveryStatusDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DeliveryStatusDto.class); + } + + /** + * Convert an instance of DeliveryStatusDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/DescribeDomainOptions.java b/src/main/java/com/mailslurp/models/DescribeDomainOptions.java new file mode 100644 index 000000000..7942ec097 --- /dev/null +++ b/src/main/java/com/mailslurp/models/DescribeDomainOptions.java @@ -0,0 +1,217 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Domain record description + */ +@ApiModel(description = "Domain record description") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class DescribeDomainOptions { + public static final String SERIALIZED_NAME_DOMAIN = "domain"; + @SerializedName(SERIALIZED_NAME_DOMAIN) + private String domain; + + public DescribeDomainOptions() { + } + + public DescribeDomainOptions domain(String domain) { + + this.domain = domain; + return this; + } + + /** + * Get domain + * @return domain + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getDomain() { + return domain; + } + + + public void setDomain(String domain) { + this.domain = domain; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDomainOptions describeDomainOptions = (DescribeDomainOptions) o; + return Objects.equals(this.domain, describeDomainOptions.domain); + } + + @Override + public int hashCode() { + return Objects.hash(domain); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDomainOptions {\n"); + sb.append(" domain: ").append(toIndentedString(domain)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("domain"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("domain"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to DescribeDomainOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!DescribeDomainOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DescribeDomainOptions is not found in the empty JSON string", DescribeDomainOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!DescribeDomainOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DescribeDomainOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DescribeDomainOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("domain").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domain").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DescribeDomainOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DescribeDomainOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DescribeDomainOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DescribeDomainOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DescribeDomainOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DescribeDomainOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of DescribeDomainOptions + * @throws IOException if the JSON string is invalid with respect to DescribeDomainOptions + */ + public static DescribeDomainOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DescribeDomainOptions.class); + } + + /** + * Convert an instance of DescribeDomainOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/DescribeMailServerDomainResult.java b/src/main/java/com/mailslurp/models/DescribeMailServerDomainResult.java new file mode 100644 index 000000000..ff226d5d1 --- /dev/null +++ b/src/main/java/com/mailslurp/models/DescribeMailServerDomainResult.java @@ -0,0 +1,311 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.NameServerRecord; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Name Server lookup result + */ +@ApiModel(description = "Name Server lookup result") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class DescribeMailServerDomainResult { + public static final String SERIALIZED_NAME_MX_RECORDS = "mxRecords"; + @SerializedName(SERIALIZED_NAME_MX_RECORDS) + private List mxRecords = new ArrayList<>(); + + public static final String SERIALIZED_NAME_DOMAIN = "domain"; + @SerializedName(SERIALIZED_NAME_DOMAIN) + private String domain; + + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public DescribeMailServerDomainResult() { + } + + public DescribeMailServerDomainResult mxRecords(List mxRecords) { + + this.mxRecords = mxRecords; + return this; + } + + public DescribeMailServerDomainResult addMxRecordsItem(NameServerRecord mxRecordsItem) { + this.mxRecords.add(mxRecordsItem); + return this; + } + + /** + * Get mxRecords + * @return mxRecords + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getMxRecords() { + return mxRecords; + } + + + public void setMxRecords(List mxRecords) { + this.mxRecords = mxRecords; + } + + + public DescribeMailServerDomainResult domain(String domain) { + + this.domain = domain; + return this; + } + + /** + * Get domain + * @return domain + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getDomain() { + return domain; + } + + + public void setDomain(String domain) { + this.domain = domain; + } + + + public DescribeMailServerDomainResult message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeMailServerDomainResult describeMailServerDomainResult = (DescribeMailServerDomainResult) o; + return Objects.equals(this.mxRecords, describeMailServerDomainResult.mxRecords) && + Objects.equals(this.domain, describeMailServerDomainResult.domain) && + Objects.equals(this.message, describeMailServerDomainResult.message); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(mxRecords, domain, message); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeMailServerDomainResult {\n"); + sb.append(" mxRecords: ").append(toIndentedString(mxRecords)).append("\n"); + sb.append(" domain: ").append(toIndentedString(domain)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("mxRecords"); + openapiFields.add("domain"); + openapiFields.add("message"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("mxRecords"); + openapiRequiredFields.add("domain"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to DescribeMailServerDomainResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!DescribeMailServerDomainResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DescribeMailServerDomainResult is not found in the empty JSON string", DescribeMailServerDomainResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!DescribeMailServerDomainResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DescribeMailServerDomainResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DescribeMailServerDomainResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("mxRecords").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `mxRecords` to be an array in the JSON string but got `%s`", jsonObj.get("mxRecords").toString())); + } + + JsonArray jsonArraymxRecords = jsonObj.getAsJsonArray("mxRecords"); + // validate the required field `mxRecords` (array) + for (int i = 0; i < jsonArraymxRecords.size(); i++) { + NameServerRecord.validateJsonObject(jsonArraymxRecords.get(i).getAsJsonObject()); + }; + if (!jsonObj.get("domain").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domain").toString())); + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DescribeMailServerDomainResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DescribeMailServerDomainResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DescribeMailServerDomainResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DescribeMailServerDomainResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DescribeMailServerDomainResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DescribeMailServerDomainResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of DescribeMailServerDomainResult + * @throws IOException if the JSON string is invalid with respect to DescribeMailServerDomainResult + */ + public static DescribeMailServerDomainResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DescribeMailServerDomainResult.class); + } + + /** + * Convert an instance of DescribeMailServerDomainResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/DomainDto.java b/src/main/java/com/mailslurp/models/DomainDto.java new file mode 100644 index 000000000..33c7320a5 --- /dev/null +++ b/src/main/java/com/mailslurp/models/DomainDto.java @@ -0,0 +1,695 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.DomainNameRecord; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Domain plus verification records and status + */ +@ApiModel(description = "Domain plus verification records and status") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class DomainDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_DOMAIN = "domain"; + @SerializedName(SERIALIZED_NAME_DOMAIN) + private String domain; + + public static final String SERIALIZED_NAME_VERIFICATION_TOKEN = "verificationToken"; + @SerializedName(SERIALIZED_NAME_VERIFICATION_TOKEN) + private String verificationToken; + + public static final String SERIALIZED_NAME_DKIM_TOKENS = "dkimTokens"; + @SerializedName(SERIALIZED_NAME_DKIM_TOKENS) + private List dkimTokens = new ArrayList<>(); + + public static final String SERIALIZED_NAME_MISSING_RECORDS_MESSAGE = "missingRecordsMessage"; + @SerializedName(SERIALIZED_NAME_MISSING_RECORDS_MESSAGE) + private String missingRecordsMessage; + + public static final String SERIALIZED_NAME_HAS_MISSING_RECORDS = "hasMissingRecords"; + @SerializedName(SERIALIZED_NAME_HAS_MISSING_RECORDS) + private Boolean hasMissingRecords; + + public static final String SERIALIZED_NAME_IS_VERIFIED = "isVerified"; + @SerializedName(SERIALIZED_NAME_IS_VERIFIED) + private Boolean isVerified; + + public static final String SERIALIZED_NAME_DOMAIN_NAME_RECORDS = "domainNameRecords"; + @SerializedName(SERIALIZED_NAME_DOMAIN_NAME_RECORDS) + private List domainNameRecords = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CATCH_ALL_INBOX_ID = "catchAllInboxId"; + @SerializedName(SERIALIZED_NAME_CATCH_ALL_INBOX_ID) + private UUID catchAllInboxId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + /** + * Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. + */ + @JsonAdapter(DomainTypeEnum.Adapter.class) + public enum DomainTypeEnum { + HTTP_INBOX("HTTP_INBOX"), + + SMTP_DOMAIN("SMTP_DOMAIN"); + + private String value; + + DomainTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static DomainTypeEnum fromValue(String value) { + for (DomainTypeEnum b : DomainTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DomainTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public DomainTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return DomainTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_DOMAIN_TYPE = "domainType"; + @SerializedName(SERIALIZED_NAME_DOMAIN_TYPE) + private DomainTypeEnum domainType; + + public DomainDto() { + } + + public DomainDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public DomainDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public DomainDto domain(String domain) { + + this.domain = domain; + return this; + } + + /** + * Custom domain name + * @return domain + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Custom domain name") + + public String getDomain() { + return domain; + } + + + public void setDomain(String domain) { + this.domain = domain; + } + + + public DomainDto verificationToken(String verificationToken) { + + this.verificationToken = verificationToken; + return this; + } + + /** + * Verification tokens + * @return verificationToken + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Verification tokens") + + public String getVerificationToken() { + return verificationToken; + } + + + public void setVerificationToken(String verificationToken) { + this.verificationToken = verificationToken; + } + + + public DomainDto dkimTokens(List dkimTokens) { + + this.dkimTokens = dkimTokens; + return this; + } + + public DomainDto addDkimTokensItem(String dkimTokensItem) { + this.dkimTokens.add(dkimTokensItem); + return this; + } + + /** + * Unique token DKIM tokens + * @return dkimTokens + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Unique token DKIM tokens") + + public List getDkimTokens() { + return dkimTokens; + } + + + public void setDkimTokens(List dkimTokens) { + this.dkimTokens = dkimTokens; + } + + + public DomainDto missingRecordsMessage(String missingRecordsMessage) { + + this.missingRecordsMessage = missingRecordsMessage; + return this; + } + + /** + * If the domain is missing records then show which pairs are missing. + * @return missingRecordsMessage + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "If the domain is missing records then show which pairs are missing.") + + public String getMissingRecordsMessage() { + return missingRecordsMessage; + } + + + public void setMissingRecordsMessage(String missingRecordsMessage) { + this.missingRecordsMessage = missingRecordsMessage; + } + + + public DomainDto hasMissingRecords(Boolean hasMissingRecords) { + + this.hasMissingRecords = hasMissingRecords; + return this; + } + + /** + * Whether the domain has missing required records. If true then see the domain in the dashboard app. + * @return hasMissingRecords + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Whether the domain has missing required records. If true then see the domain in the dashboard app.") + + public Boolean getHasMissingRecords() { + return hasMissingRecords; + } + + + public void setHasMissingRecords(Boolean hasMissingRecords) { + this.hasMissingRecords = hasMissingRecords; + } + + + public DomainDto isVerified(Boolean isVerified) { + + this.isVerified = isVerified; + return this; + } + + /** + * Whether domain has been verified or not. If the domain is not verified after 72 hours there is most likely an issue with the domains DNS records. + * @return isVerified + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Whether domain has been verified or not. If the domain is not verified after 72 hours there is most likely an issue with the domains DNS records.") + + public Boolean getIsVerified() { + return isVerified; + } + + + public void setIsVerified(Boolean isVerified) { + this.isVerified = isVerified; + } + + + public DomainDto domainNameRecords(List domainNameRecords) { + + this.domainNameRecords = domainNameRecords; + return this; + } + + public DomainDto addDomainNameRecordsItem(DomainNameRecord domainNameRecordsItem) { + this.domainNameRecords.add(domainNameRecordsItem); + return this; + } + + /** + * List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider. + * @return domainNameRecords + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider.") + + public List getDomainNameRecords() { + return domainNameRecords; + } + + + public void setDomainNameRecords(List domainNameRecords) { + this.domainNameRecords = domainNameRecords; + } + + + public DomainDto catchAllInboxId(UUID catchAllInboxId) { + + this.catchAllInboxId = catchAllInboxId; + return this; + } + + /** + * The optional catch all inbox that will receive emails sent to the domain that cannot be matched. + * @return catchAllInboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The optional catch all inbox that will receive emails sent to the domain that cannot be matched.") + + public UUID getCatchAllInboxId() { + return catchAllInboxId; + } + + + public void setCatchAllInboxId(UUID catchAllInboxId) { + this.catchAllInboxId = catchAllInboxId; + } + + + public DomainDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public DomainDto updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public DomainDto domainType(DomainTypeEnum domainType) { + + this.domainType = domainType; + return this; + } + + /** + * Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. + * @return domainType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.") + + public DomainTypeEnum getDomainType() { + return domainType; + } + + + public void setDomainType(DomainTypeEnum domainType) { + this.domainType = domainType; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DomainDto domainDto = (DomainDto) o; + return Objects.equals(this.id, domainDto.id) && + Objects.equals(this.userId, domainDto.userId) && + Objects.equals(this.domain, domainDto.domain) && + Objects.equals(this.verificationToken, domainDto.verificationToken) && + Objects.equals(this.dkimTokens, domainDto.dkimTokens) && + Objects.equals(this.missingRecordsMessage, domainDto.missingRecordsMessage) && + Objects.equals(this.hasMissingRecords, domainDto.hasMissingRecords) && + Objects.equals(this.isVerified, domainDto.isVerified) && + Objects.equals(this.domainNameRecords, domainDto.domainNameRecords) && + Objects.equals(this.catchAllInboxId, domainDto.catchAllInboxId) && + Objects.equals(this.createdAt, domainDto.createdAt) && + Objects.equals(this.updatedAt, domainDto.updatedAt) && + Objects.equals(this.domainType, domainDto.domainType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, domain, verificationToken, dkimTokens, missingRecordsMessage, hasMissingRecords, isVerified, domainNameRecords, catchAllInboxId, createdAt, updatedAt, domainType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DomainDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" domain: ").append(toIndentedString(domain)).append("\n"); + sb.append(" verificationToken: ").append(toIndentedString(verificationToken)).append("\n"); + sb.append(" dkimTokens: ").append(toIndentedString(dkimTokens)).append("\n"); + sb.append(" missingRecordsMessage: ").append(toIndentedString(missingRecordsMessage)).append("\n"); + sb.append(" hasMissingRecords: ").append(toIndentedString(hasMissingRecords)).append("\n"); + sb.append(" isVerified: ").append(toIndentedString(isVerified)).append("\n"); + sb.append(" domainNameRecords: ").append(toIndentedString(domainNameRecords)).append("\n"); + sb.append(" catchAllInboxId: ").append(toIndentedString(catchAllInboxId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" domainType: ").append(toIndentedString(domainType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("domain"); + openapiFields.add("verificationToken"); + openapiFields.add("dkimTokens"); + openapiFields.add("missingRecordsMessage"); + openapiFields.add("hasMissingRecords"); + openapiFields.add("isVerified"); + openapiFields.add("domainNameRecords"); + openapiFields.add("catchAllInboxId"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + openapiFields.add("domainType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("domain"); + openapiRequiredFields.add("verificationToken"); + openapiRequiredFields.add("dkimTokens"); + openapiRequiredFields.add("hasMissingRecords"); + openapiRequiredFields.add("isVerified"); + openapiRequiredFields.add("domainNameRecords"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + openapiRequiredFields.add("domainType"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to DomainDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!DomainDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DomainDto is not found in the empty JSON string", DomainDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!DomainDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DomainDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DomainDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("domain").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domain").toString())); + } + if (!jsonObj.get("verificationToken").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `verificationToken` to be a primitive type in the JSON string but got `%s`", jsonObj.get("verificationToken").toString())); + } + // ensure the required json array is present + if (jsonObj.get("dkimTokens") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("dkimTokens").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `dkimTokens` to be an array in the JSON string but got `%s`", jsonObj.get("dkimTokens").toString())); + } + if ((jsonObj.get("missingRecordsMessage") != null && !jsonObj.get("missingRecordsMessage").isJsonNull()) && !jsonObj.get("missingRecordsMessage").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `missingRecordsMessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("missingRecordsMessage").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("domainNameRecords").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `domainNameRecords` to be an array in the JSON string but got `%s`", jsonObj.get("domainNameRecords").toString())); + } + + JsonArray jsonArraydomainNameRecords = jsonObj.getAsJsonArray("domainNameRecords"); + // validate the required field `domainNameRecords` (array) + for (int i = 0; i < jsonArraydomainNameRecords.size(); i++) { + DomainNameRecord.validateJsonObject(jsonArraydomainNameRecords.get(i).getAsJsonObject()); + }; + if ((jsonObj.get("catchAllInboxId") != null && !jsonObj.get("catchAllInboxId").isJsonNull()) && !jsonObj.get("catchAllInboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `catchAllInboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("catchAllInboxId").toString())); + } + if (!jsonObj.get("domainType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DomainDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DomainDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DomainDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DomainDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DomainDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DomainDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of DomainDto + * @throws IOException if the JSON string is invalid with respect to DomainDto + */ + public static DomainDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DomainDto.class); + } + + /** + * Convert an instance of DomainDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/DomainIssuesDto.java b/src/main/java/com/mailslurp/models/DomainIssuesDto.java new file mode 100644 index 000000000..3ac947667 --- /dev/null +++ b/src/main/java/com/mailslurp/models/DomainIssuesDto.java @@ -0,0 +1,213 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * DomainIssuesDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class DomainIssuesDto { + public static final String SERIALIZED_NAME_HAS_ISSUES = "hasIssues"; + @SerializedName(SERIALIZED_NAME_HAS_ISSUES) + private Boolean hasIssues; + + public DomainIssuesDto() { + } + + public DomainIssuesDto hasIssues(Boolean hasIssues) { + + this.hasIssues = hasIssues; + return this; + } + + /** + * Get hasIssues + * @return hasIssues + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getHasIssues() { + return hasIssues; + } + + + public void setHasIssues(Boolean hasIssues) { + this.hasIssues = hasIssues; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DomainIssuesDto domainIssuesDto = (DomainIssuesDto) o; + return Objects.equals(this.hasIssues, domainIssuesDto.hasIssues); + } + + @Override + public int hashCode() { + return Objects.hash(hasIssues); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DomainIssuesDto {\n"); + sb.append(" hasIssues: ").append(toIndentedString(hasIssues)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("hasIssues"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("hasIssues"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to DomainIssuesDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!DomainIssuesDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DomainIssuesDto is not found in the empty JSON string", DomainIssuesDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!DomainIssuesDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DomainIssuesDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DomainIssuesDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DomainIssuesDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DomainIssuesDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DomainIssuesDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DomainIssuesDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DomainIssuesDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DomainIssuesDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of DomainIssuesDto + * @throws IOException if the JSON string is invalid with respect to DomainIssuesDto + */ + public static DomainIssuesDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DomainIssuesDto.class); + } + + /** + * Convert an instance of DomainIssuesDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/DomainNameRecord.java b/src/main/java/com/mailslurp/models/DomainNameRecord.java new file mode 100644 index 000000000..d5dec4e21 --- /dev/null +++ b/src/main/java/com/mailslurp/models/DomainNameRecord.java @@ -0,0 +1,665 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * DNS Record required for verification of a domain. Record vary depending on domain type. + */ +@ApiModel(description = "DNS Record required for verification of a domain. Record vary depending on domain type.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class DomainNameRecord { + /** + * Domain Name Server Record Label + */ + @JsonAdapter(LabelEnum.Adapter.class) + public enum LabelEnum { + VERIFICATION("VERIFICATION"), + + MX("MX"), + + SPF("SPF"), + + DKIM("DKIM"), + + DMARC("DMARC"); + + private String value; + + LabelEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LabelEnum fromValue(String value) { + for (LabelEnum b : LabelEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LabelEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LabelEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return LabelEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_LABEL = "label"; + @SerializedName(SERIALIZED_NAME_LABEL) + private LabelEnum label; + + public static final String SERIALIZED_NAME_REQUIRED = "required"; + @SerializedName(SERIALIZED_NAME_REQUIRED) + private Boolean required; + + /** + * Domain Name Server Record Types + */ + @JsonAdapter(RecordTypeEnum.Adapter.class) + public enum RecordTypeEnum { + A("A"), + + NS("NS"), + + MD("MD"), + + MF("MF"), + + CNAME("CNAME"), + + SOA("SOA"), + + MB("MB"), + + MG("MG"), + + MR("MR"), + + NULL("NULL"), + + WKS("WKS"), + + PTR("PTR"), + + HINFO("HINFO"), + + MINFO("MINFO"), + + MX("MX"), + + TXT("TXT"), + + RP("RP"), + + AFSDB("AFSDB"), + + X25("X25"), + + ISDN("ISDN"), + + RT("RT"), + + NSAP("NSAP"), + + NSAP_PTR("NSAP_PTR"), + + SIG("SIG"), + + KEY("KEY"), + + PX("PX"), + + GPOS("GPOS"), + + AAAA("AAAA"), + + LOC("LOC"), + + NXT("NXT"), + + EID("EID"), + + NIMLOC("NIMLOC"), + + SRV("SRV"), + + ATMA("ATMA"), + + NAPTR("NAPTR"), + + KX("KX"), + + CERT("CERT"), + + A6("A6"), + + DNAME("DNAME"), + + SINK("SINK"), + + OPT("OPT"), + + APL("APL"), + + DS("DS"), + + SSHFP("SSHFP"), + + IPSECKEY("IPSECKEY"), + + RRSIG("RRSIG"), + + NSEC("NSEC"), + + DNSKEY("DNSKEY"), + + DHCID("DHCID"), + + NSEC3("NSEC3"), + + NSEC3PARAM("NSEC3PARAM"), + + TLSA("TLSA"), + + SMIMEA("SMIMEA"), + + HIP("HIP"), + + NINFO("NINFO"), + + RKEY("RKEY"), + + TALINK("TALINK"), + + CDS("CDS"), + + CDNSKEY("CDNSKEY"), + + OPENPGPKEY("OPENPGPKEY"), + + CSYNC("CSYNC"), + + ZONEMD("ZONEMD"), + + SVCB("SVCB"), + + HTTPS("HTTPS"), + + SPF("SPF"), + + UINFO("UINFO"), + + UID("UID"), + + GID("GID"), + + UNSPEC("UNSPEC"), + + NID("NID"), + + L32("L32"), + + L64("L64"), + + LP("LP"), + + EUI48("EUI48"), + + EUI64("EUI64"), + + TKEY("TKEY"), + + TSIG("TSIG"), + + IXFR("IXFR"), + + AXFR("AXFR"), + + MAILB("MAILB"), + + MAILA("MAILA"), + + ANY("ANY"), + + URI("URI"), + + CAA("CAA"), + + AVC("AVC"), + + DOA("DOA"), + + AMTRELAY("AMTRELAY"), + + TA("TA"), + + DLV("DLV"); + + private String value; + + RecordTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static RecordTypeEnum fromValue(String value) { + for (RecordTypeEnum b : RecordTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final RecordTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public RecordTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return RecordTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_RECORD_TYPE = "recordType"; + @SerializedName(SERIALIZED_NAME_RECORD_TYPE) + private RecordTypeEnum recordType; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_RECORD_ENTRIES = "recordEntries"; + @SerializedName(SERIALIZED_NAME_RECORD_ENTRIES) + private List recordEntries = new ArrayList<>(); + + public static final String SERIALIZED_NAME_TTL = "ttl"; + @SerializedName(SERIALIZED_NAME_TTL) + private Long ttl; + + public DomainNameRecord() { + } + + public DomainNameRecord label(LabelEnum label) { + + this.label = label; + return this; + } + + /** + * Domain Name Server Record Label + * @return label + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Domain Name Server Record Label") + + public LabelEnum getLabel() { + return label; + } + + + public void setLabel(LabelEnum label) { + this.label = label; + } + + + public DomainNameRecord required(Boolean required) { + + this.required = required; + return this; + } + + /** + * Get required + * @return required + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getRequired() { + return required; + } + + + public void setRequired(Boolean required) { + this.required = required; + } + + + public DomainNameRecord recordType(RecordTypeEnum recordType) { + + this.recordType = recordType; + return this; + } + + /** + * Domain Name Server Record Types + * @return recordType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Domain Name Server Record Types") + + public RecordTypeEnum getRecordType() { + return recordType; + } + + + public void setRecordType(RecordTypeEnum recordType) { + this.recordType = recordType; + } + + + public DomainNameRecord name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public DomainNameRecord recordEntries(List recordEntries) { + + this.recordEntries = recordEntries; + return this; + } + + public DomainNameRecord addRecordEntriesItem(String recordEntriesItem) { + this.recordEntries.add(recordEntriesItem); + return this; + } + + /** + * Get recordEntries + * @return recordEntries + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getRecordEntries() { + return recordEntries; + } + + + public void setRecordEntries(List recordEntries) { + this.recordEntries = recordEntries; + } + + + public DomainNameRecord ttl(Long ttl) { + + this.ttl = ttl; + return this; + } + + /** + * Get ttl + * @return ttl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Long getTtl() { + return ttl; + } + + + public void setTtl(Long ttl) { + this.ttl = ttl; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DomainNameRecord domainNameRecord = (DomainNameRecord) o; + return Objects.equals(this.label, domainNameRecord.label) && + Objects.equals(this.required, domainNameRecord.required) && + Objects.equals(this.recordType, domainNameRecord.recordType) && + Objects.equals(this.name, domainNameRecord.name) && + Objects.equals(this.recordEntries, domainNameRecord.recordEntries) && + Objects.equals(this.ttl, domainNameRecord.ttl); + } + + @Override + public int hashCode() { + return Objects.hash(label, required, recordType, name, recordEntries, ttl); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DomainNameRecord {\n"); + sb.append(" label: ").append(toIndentedString(label)).append("\n"); + sb.append(" required: ").append(toIndentedString(required)).append("\n"); + sb.append(" recordType: ").append(toIndentedString(recordType)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" recordEntries: ").append(toIndentedString(recordEntries)).append("\n"); + sb.append(" ttl: ").append(toIndentedString(ttl)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("label"); + openapiFields.add("required"); + openapiFields.add("recordType"); + openapiFields.add("name"); + openapiFields.add("recordEntries"); + openapiFields.add("ttl"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("label"); + openapiRequiredFields.add("required"); + openapiRequiredFields.add("recordType"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("recordEntries"); + openapiRequiredFields.add("ttl"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to DomainNameRecord + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!DomainNameRecord.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DomainNameRecord is not found in the empty JSON string", DomainNameRecord.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!DomainNameRecord.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DomainNameRecord` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DomainNameRecord.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("label").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `label` to be a primitive type in the JSON string but got `%s`", jsonObj.get("label").toString())); + } + if (!jsonObj.get("recordType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `recordType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recordType").toString())); + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + // ensure the required json array is present + if (jsonObj.get("recordEntries") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("recordEntries").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `recordEntries` to be an array in the JSON string but got `%s`", jsonObj.get("recordEntries").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DomainNameRecord.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DomainNameRecord' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DomainNameRecord.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DomainNameRecord value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DomainNameRecord read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DomainNameRecord given an JSON string + * + * @param jsonString JSON string + * @return An instance of DomainNameRecord + * @throws IOException if the JSON string is invalid with respect to DomainNameRecord + */ + public static DomainNameRecord fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DomainNameRecord.class); + } + + /** + * Convert an instance of DomainNameRecord to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/DomainPreview.java b/src/main/java/com/mailslurp/models/DomainPreview.java new file mode 100644 index 000000000..10221630f --- /dev/null +++ b/src/main/java/com/mailslurp/models/DomainPreview.java @@ -0,0 +1,472 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Preview object for domain entity + */ +@ApiModel(description = "Preview object for domain entity") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class DomainPreview { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_DOMAIN = "domain"; + @SerializedName(SERIALIZED_NAME_DOMAIN) + private String domain; + + public static final String SERIALIZED_NAME_CATCH_ALL_INBOX_ID = "catchAllInboxId"; + @SerializedName(SERIALIZED_NAME_CATCH_ALL_INBOX_ID) + private UUID catchAllInboxId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + /** + * Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. + */ + @JsonAdapter(DomainTypeEnum.Adapter.class) + public enum DomainTypeEnum { + HTTP_INBOX("HTTP_INBOX"), + + SMTP_DOMAIN("SMTP_DOMAIN"); + + private String value; + + DomainTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static DomainTypeEnum fromValue(String value) { + for (DomainTypeEnum b : DomainTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DomainTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public DomainTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return DomainTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_DOMAIN_TYPE = "domainType"; + @SerializedName(SERIALIZED_NAME_DOMAIN_TYPE) + private DomainTypeEnum domainType; + + public static final String SERIALIZED_NAME_IS_VERIFIED = "isVerified"; + @SerializedName(SERIALIZED_NAME_IS_VERIFIED) + private Boolean isVerified; + + public static final String SERIALIZED_NAME_HAS_MISSING_RECORDS = "hasMissingRecords"; + @SerializedName(SERIALIZED_NAME_HAS_MISSING_RECORDS) + private Boolean hasMissingRecords; + + public DomainPreview() { + } + + public DomainPreview id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public DomainPreview domain(String domain) { + + this.domain = domain; + return this; + } + + /** + * Get domain + * @return domain + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getDomain() { + return domain; + } + + + public void setDomain(String domain) { + this.domain = domain; + } + + + public DomainPreview catchAllInboxId(UUID catchAllInboxId) { + + this.catchAllInboxId = catchAllInboxId; + return this; + } + + /** + * Get catchAllInboxId + * @return catchAllInboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getCatchAllInboxId() { + return catchAllInboxId; + } + + + public void setCatchAllInboxId(UUID catchAllInboxId) { + this.catchAllInboxId = catchAllInboxId; + } + + + public DomainPreview createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public DomainPreview domainType(DomainTypeEnum domainType) { + + this.domainType = domainType; + return this; + } + + /** + * Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. + * @return domainType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.") + + public DomainTypeEnum getDomainType() { + return domainType; + } + + + public void setDomainType(DomainTypeEnum domainType) { + this.domainType = domainType; + } + + + public DomainPreview isVerified(Boolean isVerified) { + + this.isVerified = isVerified; + return this; + } + + /** + * Get isVerified + * @return isVerified + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getIsVerified() { + return isVerified; + } + + + public void setIsVerified(Boolean isVerified) { + this.isVerified = isVerified; + } + + + public DomainPreview hasMissingRecords(Boolean hasMissingRecords) { + + this.hasMissingRecords = hasMissingRecords; + return this; + } + + /** + * Get hasMissingRecords + * @return hasMissingRecords + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getHasMissingRecords() { + return hasMissingRecords; + } + + + public void setHasMissingRecords(Boolean hasMissingRecords) { + this.hasMissingRecords = hasMissingRecords; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DomainPreview domainPreview = (DomainPreview) o; + return Objects.equals(this.id, domainPreview.id) && + Objects.equals(this.domain, domainPreview.domain) && + Objects.equals(this.catchAllInboxId, domainPreview.catchAllInboxId) && + Objects.equals(this.createdAt, domainPreview.createdAt) && + Objects.equals(this.domainType, domainPreview.domainType) && + Objects.equals(this.isVerified, domainPreview.isVerified) && + Objects.equals(this.hasMissingRecords, domainPreview.hasMissingRecords); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, domain, catchAllInboxId, createdAt, domainType, isVerified, hasMissingRecords); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DomainPreview {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" domain: ").append(toIndentedString(domain)).append("\n"); + sb.append(" catchAllInboxId: ").append(toIndentedString(catchAllInboxId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" domainType: ").append(toIndentedString(domainType)).append("\n"); + sb.append(" isVerified: ").append(toIndentedString(isVerified)).append("\n"); + sb.append(" hasMissingRecords: ").append(toIndentedString(hasMissingRecords)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("domain"); + openapiFields.add("catchAllInboxId"); + openapiFields.add("createdAt"); + openapiFields.add("domainType"); + openapiFields.add("isVerified"); + openapiFields.add("hasMissingRecords"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("domain"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("domainType"); + openapiRequiredFields.add("isVerified"); + openapiRequiredFields.add("hasMissingRecords"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to DomainPreview + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!DomainPreview.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DomainPreview is not found in the empty JSON string", DomainPreview.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!DomainPreview.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DomainPreview` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DomainPreview.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("domain").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domain").toString())); + } + if ((jsonObj.get("catchAllInboxId") != null && !jsonObj.get("catchAllInboxId").isJsonNull()) && !jsonObj.get("catchAllInboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `catchAllInboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("catchAllInboxId").toString())); + } + if (!jsonObj.get("domainType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DomainPreview.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DomainPreview' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DomainPreview.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DomainPreview value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DomainPreview read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DomainPreview given an JSON string + * + * @param jsonString JSON string + * @return An instance of DomainPreview + * @throws IOException if the JSON string is invalid with respect to DomainPreview + */ + public static DomainPreview fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DomainPreview.class); + } + + /** + * Convert an instance of DomainPreview to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/DownloadAttachmentDto.java b/src/main/java/com/mailslurp/models/DownloadAttachmentDto.java new file mode 100644 index 000000000..580adaff3 --- /dev/null +++ b/src/main/java/com/mailslurp/models/DownloadAttachmentDto.java @@ -0,0 +1,282 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Content of attachment + */ +@ApiModel(description = "Content of attachment") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class DownloadAttachmentDto { + public static final String SERIALIZED_NAME_BASE64_FILE_CONTENTS = "base64FileContents"; + @SerializedName(SERIALIZED_NAME_BASE64_FILE_CONTENTS) + private String base64FileContents; + + public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; + @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) + private String contentType; + + public static final String SERIALIZED_NAME_SIZE_BYTES = "sizeBytes"; + @SerializedName(SERIALIZED_NAME_SIZE_BYTES) + private Long sizeBytes; + + public DownloadAttachmentDto() { + } + + public DownloadAttachmentDto base64FileContents(String base64FileContents) { + + this.base64FileContents = base64FileContents; + return this; + } + + /** + * Base64 encoded string of attachment bytes. Decode the base64 encoded string to get the raw contents. If the file has a content type such as `text/html` you can read the contents directly by converting it to string using `utf-8` encoding. + * @return base64FileContents + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Base64 encoded string of attachment bytes. Decode the base64 encoded string to get the raw contents. If the file has a content type such as `text/html` you can read the contents directly by converting it to string using `utf-8` encoding.") + + public String getBase64FileContents() { + return base64FileContents; + } + + + public void setBase64FileContents(String base64FileContents) { + this.base64FileContents = base64FileContents; + } + + + public DownloadAttachmentDto contentType(String contentType) { + + this.contentType = contentType; + return this; + } + + /** + * Content type of attachment. Examples are `image/png`, `application/msword`, `text/csv` etc. + * @return contentType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Content type of attachment. Examples are `image/png`, `application/msword`, `text/csv` etc.") + + public String getContentType() { + return contentType; + } + + + public void setContentType(String contentType) { + this.contentType = contentType; + } + + + public DownloadAttachmentDto sizeBytes(Long sizeBytes) { + + this.sizeBytes = sizeBytes; + return this; + } + + /** + * Size in bytes of attachment content + * @return sizeBytes + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Size in bytes of attachment content") + + public Long getSizeBytes() { + return sizeBytes; + } + + + public void setSizeBytes(Long sizeBytes) { + this.sizeBytes = sizeBytes; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DownloadAttachmentDto downloadAttachmentDto = (DownloadAttachmentDto) o; + return Objects.equals(this.base64FileContents, downloadAttachmentDto.base64FileContents) && + Objects.equals(this.contentType, downloadAttachmentDto.contentType) && + Objects.equals(this.sizeBytes, downloadAttachmentDto.sizeBytes); + } + + @Override + public int hashCode() { + return Objects.hash(base64FileContents, contentType, sizeBytes); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DownloadAttachmentDto {\n"); + sb.append(" base64FileContents: ").append(toIndentedString(base64FileContents)).append("\n"); + sb.append(" contentType: ").append(toIndentedString(contentType)).append("\n"); + sb.append(" sizeBytes: ").append(toIndentedString(sizeBytes)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("base64FileContents"); + openapiFields.add("contentType"); + openapiFields.add("sizeBytes"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("base64FileContents"); + openapiRequiredFields.add("contentType"); + openapiRequiredFields.add("sizeBytes"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to DownloadAttachmentDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!DownloadAttachmentDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DownloadAttachmentDto is not found in the empty JSON string", DownloadAttachmentDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!DownloadAttachmentDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DownloadAttachmentDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : DownloadAttachmentDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("base64FileContents").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `base64FileContents` to be a primitive type in the JSON string but got `%s`", jsonObj.get("base64FileContents").toString())); + } + if (!jsonObj.get("contentType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DownloadAttachmentDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DownloadAttachmentDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DownloadAttachmentDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DownloadAttachmentDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DownloadAttachmentDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DownloadAttachmentDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of DownloadAttachmentDto + * @throws IOException if the JSON string is invalid with respect to DownloadAttachmentDto + */ + public static DownloadAttachmentDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DownloadAttachmentDto.class); + } + + /** + * Convert an instance of DownloadAttachmentDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/Email.java b/src/main/java/com/mailslurp/models/Email.java new file mode 100644 index 000000000..bf557b72c --- /dev/null +++ b/src/main/java/com/mailslurp/models/Email.java @@ -0,0 +1,1102 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.EmailAnalysis; +import com.mailslurp.models.EmailRecipients; +import com.mailslurp.models.Sender; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Email entity (also known as EmailDto). When an SMTP email message is received by MailSlurp it is parsed. The body and attachments are written to disk and the fields such as to, from, subject etc are stored in a database. The `body` contains the email content. If you want the original SMTP message see the `getRawEmail` endpoints. The attachments can be fetched using the AttachmentController + */ +@ApiModel(description = "Email entity (also known as EmailDto). When an SMTP email message is received by MailSlurp it is parsed. The body and attachments are written to disk and the fields such as to, from, subject etc are stored in a database. The `body` contains the email content. If you want the original SMTP message see the `getRawEmail` endpoints. The attachments can be fetched using the AttachmentController") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class Email { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_DOMAIN_ID = "domainId"; + @SerializedName(SERIALIZED_NAME_DOMAIN_ID) + private UUID domainId; + + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = new ArrayList<>(); + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_SENDER = "sender"; + @SerializedName(SERIALIZED_NAME_SENDER) + private Sender sender; + + public static final String SERIALIZED_NAME_RECIPIENTS = "recipients"; + @SerializedName(SERIALIZED_NAME_RECIPIENTS) + private EmailRecipients recipients; + + public static final String SERIALIZED_NAME_REPLY_TO = "replyTo"; + @SerializedName(SERIALIZED_NAME_REPLY_TO) + private String replyTo; + + public static final String SERIALIZED_NAME_CC = "cc"; + @SerializedName(SERIALIZED_NAME_CC) + private List cc = null; + + public static final String SERIALIZED_NAME_BCC = "bcc"; + @SerializedName(SERIALIZED_NAME_BCC) + private List bcc = null; + + public static final String SERIALIZED_NAME_HEADERS = "headers"; + @SerializedName(SERIALIZED_NAME_HEADERS) + private Map headers = null; + + public static final String SERIALIZED_NAME_HEADERS_MAP = "headersMap"; + @SerializedName(SERIALIZED_NAME_HEADERS_MAP) + private Map> headersMap = null; + + public static final String SERIALIZED_NAME_ATTACHMENTS = "attachments"; + @SerializedName(SERIALIZED_NAME_ATTACHMENTS) + private List attachments = null; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_BODY_EXCERPT = "bodyExcerpt"; + @SerializedName(SERIALIZED_NAME_BODY_EXCERPT) + private String bodyExcerpt; + + public static final String SERIALIZED_NAME_BODY_M_D5_HASH = "bodyMD5Hash"; + @SerializedName(SERIALIZED_NAME_BODY_M_D5_HASH) + private String bodyMD5Hash; + + public static final String SERIALIZED_NAME_IS_H_T_M_L = "isHTML"; + @SerializedName(SERIALIZED_NAME_IS_H_T_M_L) + private Boolean isHTML; + + public static final String SERIALIZED_NAME_CHARSET = "charset"; + @SerializedName(SERIALIZED_NAME_CHARSET) + private String charset; + + public static final String SERIALIZED_NAME_ANALYSIS = "analysis"; + @SerializedName(SERIALIZED_NAME_ANALYSIS) + private EmailAnalysis analysis; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_READ = "read"; + @SerializedName(SERIALIZED_NAME_READ) + private Boolean read; + + public static final String SERIALIZED_NAME_TEAM_ACCESS = "teamAccess"; + @SerializedName(SERIALIZED_NAME_TEAM_ACCESS) + private Boolean teamAccess; + + public static final String SERIALIZED_NAME_HTML = "html"; + @SerializedName(SERIALIZED_NAME_HTML) + private Boolean html; + + public Email() { + } + + public Email id(UUID id) { + + this.id = id; + return this; + } + + /** + * ID of the email entity + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the email entity") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public Email userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * ID of user that email belongs to + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of user that email belongs to") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public Email inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * ID of the inbox that received the email + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the inbox that received the email") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public Email domainId(UUID domainId) { + + this.domainId = domainId; + return this; + } + + /** + * ID of the domain that received the email + * @return domainId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ID of the domain that received the email") + + public UUID getDomainId() { + return domainId; + } + + + public void setDomainId(UUID domainId) { + this.domainId = domainId; + } + + + public Email to(List to) { + + this.to = to; + return this; + } + + public Email addToItem(String toItem) { + this.to.add(toItem); + return this; + } + + /** + * List of `To` recipient email addresses that the email was addressed to. See recipients object for names. + * @return to + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of `To` recipient email addresses that the email was addressed to. See recipients object for names.") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + public Email from(String from) { + + this.from = from; + return this; + } + + /** + * Who the email was sent from. An email address - see fromName for the sender name. + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Who the email was sent from. An email address - see fromName for the sender name.") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public Email sender(Sender sender) { + + this.sender = sender; + return this; + } + + /** + * Get sender + * @return sender + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sender getSender() { + return sender; + } + + + public void setSender(Sender sender) { + this.sender = sender; + } + + + public Email recipients(EmailRecipients recipients) { + + this.recipients = recipients; + return this; + } + + /** + * Get recipients + * @return recipients + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public EmailRecipients getRecipients() { + return recipients; + } + + + public void setRecipients(EmailRecipients recipients) { + this.recipients = recipients; + } + + + public Email replyTo(String replyTo) { + + this.replyTo = replyTo; + return this; + } + + /** + * The `replyTo` field on the received email message + * @return replyTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The `replyTo` field on the received email message") + + public String getReplyTo() { + return replyTo; + } + + + public void setReplyTo(String replyTo) { + this.replyTo = replyTo; + } + + + public Email cc(List cc) { + + this.cc = cc; + return this; + } + + public Email addCcItem(String ccItem) { + if (this.cc == null) { + this.cc = new ArrayList<>(); + } + this.cc.add(ccItem); + return this; + } + + /** + * List of `CC` recipients email addresses that the email was addressed to. See recipients object for names. + * @return cc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "List of `CC` recipients email addresses that the email was addressed to. See recipients object for names.") + + public List getCc() { + return cc; + } + + + public void setCc(List cc) { + this.cc = cc; + } + + + public Email bcc(List bcc) { + + this.bcc = bcc; + return this; + } + + public Email addBccItem(String bccItem) { + if (this.bcc == null) { + this.bcc = new ArrayList<>(); + } + this.bcc.add(bccItem); + return this; + } + + /** + * List of `BCC` recipients email addresses that the email was addressed to. See recipients object for names. + * @return bcc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "List of `BCC` recipients email addresses that the email was addressed to. See recipients object for names.") + + public List getBcc() { + return bcc; + } + + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + + public Email headers(Map headers) { + + this.headers = headers; + return this; + } + + public Email putHeadersItem(String key, String headersItem) { + if (this.headers == null) { + this.headers = new HashMap<>(); + } + this.headers.put(key, headersItem); + return this; + } + + /** + * Collection of SMTP headers attached to email + * @return headers + * @deprecated + **/ + @Deprecated + @javax.annotation.Nullable + @ApiModelProperty(value = "Collection of SMTP headers attached to email") + + public Map getHeaders() { + return headers; + } + + + public void setHeaders(Map headers) { + this.headers = headers; + } + + + public Email headersMap(Map> headersMap) { + + this.headersMap = headersMap; + return this; + } + + public Email putHeadersMapItem(String key, List headersMapItem) { + if (this.headersMap == null) { + this.headersMap = new HashMap<>(); + } + this.headersMap.put(key, headersMapItem); + return this; + } + + /** + * Multi-value map of SMTP headers attached to email + * @return headersMap + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Multi-value map of SMTP headers attached to email") + + public Map> getHeadersMap() { + return headersMap; + } + + + public void setHeadersMap(Map> headersMap) { + this.headersMap = headersMap; + } + + + public Email attachments(List attachments) { + + this.attachments = attachments; + return this; + } + + public Email addAttachmentsItem(String attachmentsItem) { + if (this.attachments == null) { + this.attachments = new ArrayList<>(); + } + this.attachments.add(attachmentsItem); + return this; + } + + /** + * List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension. + * @return attachments + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension.") + + public List getAttachments() { + return attachments; + } + + + public void setAttachments(List attachments) { + this.attachments = attachments; + } + + + public Email subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * The subject line of the email message as specified by SMTP subject header + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The subject line of the email message as specified by SMTP subject header") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public Email body(String body) { + + this.body = body; + return this; + } + + /** + * The body of the email message as text parsed from the SMTP message body (does not include attachments). Fetch the raw content to access the SMTP message and use the attachments property to access attachments. The body is stored separately to the email entity so the body is not returned in paginated results only in full single email or wait requests. + * @return body + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The body of the email message as text parsed from the SMTP message body (does not include attachments). Fetch the raw content to access the SMTP message and use the attachments property to access attachments. The body is stored separately to the email entity so the body is not returned in paginated results only in full single email or wait requests.") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public Email bodyExcerpt(String bodyExcerpt) { + + this.bodyExcerpt = bodyExcerpt; + return this; + } + + /** + * An excerpt of the body of the email message for quick preview . + * @return bodyExcerpt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "An excerpt of the body of the email message for quick preview .") + + public String getBodyExcerpt() { + return bodyExcerpt; + } + + + public void setBodyExcerpt(String bodyExcerpt) { + this.bodyExcerpt = bodyExcerpt; + } + + + public Email bodyMD5Hash(String bodyMD5Hash) { + + this.bodyMD5Hash = bodyMD5Hash; + return this; + } + + /** + * A hash signature of the email message using MD5. Useful for comparing emails without fetching full body. + * @return bodyMD5Hash + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A hash signature of the email message using MD5. Useful for comparing emails without fetching full body.") + + public String getBodyMD5Hash() { + return bodyMD5Hash; + } + + + public void setBodyMD5Hash(String bodyMD5Hash) { + this.bodyMD5Hash = bodyMD5Hash; + } + + + public Email isHTML(Boolean isHTML) { + + this.isHTML = isHTML; + return this; + } + + /** + * Is the email body content type HTML? + * @return isHTML + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Is the email body content type HTML?") + + public Boolean getIsHTML() { + return isHTML; + } + + + public void setIsHTML(Boolean isHTML) { + this.isHTML = isHTML; + } + + + public Email charset(String charset) { + + this.charset = charset; + return this; + } + + /** + * Detected character set of the email body such as UTF-8 + * @return charset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Detected character set of the email body such as UTF-8") + + public String getCharset() { + return charset; + } + + + public void setCharset(String charset) { + this.charset = charset; + } + + + public Email analysis(EmailAnalysis analysis) { + + this.analysis = analysis; + return this; + } + + /** + * Get analysis + * @return analysis + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public EmailAnalysis getAnalysis() { + return analysis; + } + + + public void setAnalysis(EmailAnalysis analysis) { + this.analysis = analysis; + } + + + public Email createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * When was the email received by MailSlurp + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "When was the email received by MailSlurp") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public Email updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * When was the email last updated + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "When was the email last updated") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public Email read(Boolean read) { + + this.read = read; + return this; + } + + /** + * Read flag. Has the email ever been viewed in the dashboard or fetched via the API with a hydrated body? If so the email is marked as read. Paginated results do not affect read status. Read status is different to email opened event as it depends on your own account accessing the email. Email opened is determined by tracking pixels sent to other uses if enable during sending. You can listened for both email read and email opened events using webhooks. + * @return read + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Read flag. Has the email ever been viewed in the dashboard or fetched via the API with a hydrated body? If so the email is marked as read. Paginated results do not affect read status. Read status is different to email opened event as it depends on your own account accessing the email. Email opened is determined by tracking pixels sent to other uses if enable during sending. You can listened for both email read and email opened events using webhooks.") + + public Boolean getRead() { + return read; + } + + + public void setRead(Boolean read) { + this.read = read; + } + + + public Email teamAccess(Boolean teamAccess) { + + this.teamAccess = teamAccess; + return this; + } + + /** + * Can the email be accessed by organization team members + * @return teamAccess + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Can the email be accessed by organization team members") + + public Boolean getTeamAccess() { + return teamAccess; + } + + + public void setTeamAccess(Boolean teamAccess) { + this.teamAccess = teamAccess; + } + + + public Email html(Boolean html) { + + this.html = html; + return this; + } + + /** + * Get html + * @return html + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getHtml() { + return html; + } + + + public void setHtml(Boolean html) { + this.html = html; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Email email = (Email) o; + return Objects.equals(this.id, email.id) && + Objects.equals(this.userId, email.userId) && + Objects.equals(this.inboxId, email.inboxId) && + Objects.equals(this.domainId, email.domainId) && + Objects.equals(this.to, email.to) && + Objects.equals(this.from, email.from) && + Objects.equals(this.sender, email.sender) && + Objects.equals(this.recipients, email.recipients) && + Objects.equals(this.replyTo, email.replyTo) && + Objects.equals(this.cc, email.cc) && + Objects.equals(this.bcc, email.bcc) && + Objects.equals(this.headers, email.headers) && + Objects.equals(this.headersMap, email.headersMap) && + Objects.equals(this.attachments, email.attachments) && + Objects.equals(this.subject, email.subject) && + Objects.equals(this.body, email.body) && + Objects.equals(this.bodyExcerpt, email.bodyExcerpt) && + Objects.equals(this.bodyMD5Hash, email.bodyMD5Hash) && + Objects.equals(this.isHTML, email.isHTML) && + Objects.equals(this.charset, email.charset) && + Objects.equals(this.analysis, email.analysis) && + Objects.equals(this.createdAt, email.createdAt) && + Objects.equals(this.updatedAt, email.updatedAt) && + Objects.equals(this.read, email.read) && + Objects.equals(this.teamAccess, email.teamAccess) && + Objects.equals(this.html, email.html); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, inboxId, domainId, to, from, sender, recipients, replyTo, cc, bcc, headers, headersMap, attachments, subject, body, bodyExcerpt, bodyMD5Hash, isHTML, charset, analysis, createdAt, updatedAt, read, teamAccess, html); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Email {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" domainId: ").append(toIndentedString(domainId)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" sender: ").append(toIndentedString(sender)).append("\n"); + sb.append(" recipients: ").append(toIndentedString(recipients)).append("\n"); + sb.append(" replyTo: ").append(toIndentedString(replyTo)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append(" headers: ").append(toIndentedString(headers)).append("\n"); + sb.append(" headersMap: ").append(toIndentedString(headersMap)).append("\n"); + sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" bodyExcerpt: ").append(toIndentedString(bodyExcerpt)).append("\n"); + sb.append(" bodyMD5Hash: ").append(toIndentedString(bodyMD5Hash)).append("\n"); + sb.append(" isHTML: ").append(toIndentedString(isHTML)).append("\n"); + sb.append(" charset: ").append(toIndentedString(charset)).append("\n"); + sb.append(" analysis: ").append(toIndentedString(analysis)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" read: ").append(toIndentedString(read)).append("\n"); + sb.append(" teamAccess: ").append(toIndentedString(teamAccess)).append("\n"); + sb.append(" html: ").append(toIndentedString(html)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("inboxId"); + openapiFields.add("domainId"); + openapiFields.add("to"); + openapiFields.add("from"); + openapiFields.add("sender"); + openapiFields.add("recipients"); + openapiFields.add("replyTo"); + openapiFields.add("cc"); + openapiFields.add("bcc"); + openapiFields.add("headers"); + openapiFields.add("headersMap"); + openapiFields.add("attachments"); + openapiFields.add("subject"); + openapiFields.add("body"); + openapiFields.add("bodyExcerpt"); + openapiFields.add("bodyMD5Hash"); + openapiFields.add("isHTML"); + openapiFields.add("charset"); + openapiFields.add("analysis"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + openapiFields.add("read"); + openapiFields.add("teamAccess"); + openapiFields.add("html"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("to"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + openapiRequiredFields.add("read"); + openapiRequiredFields.add("teamAccess"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to Email + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!Email.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in Email is not found in the empty JSON string", Email.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!Email.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Email` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : Email.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("domainId") != null && !jsonObj.get("domainId").isJsonNull()) && !jsonObj.get("domainId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainId").toString())); + } + // ensure the required json array is present + if (jsonObj.get("to") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + // validate the optional field `sender` + if (jsonObj.get("sender") != null && !jsonObj.get("sender").isJsonNull()) { + Sender.validateJsonObject(jsonObj.getAsJsonObject("sender")); + } + // validate the optional field `recipients` + if (jsonObj.get("recipients") != null && !jsonObj.get("recipients").isJsonNull()) { + EmailRecipients.validateJsonObject(jsonObj.getAsJsonObject("recipients")); + } + if ((jsonObj.get("replyTo") != null && !jsonObj.get("replyTo").isJsonNull()) && !jsonObj.get("replyTo").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `replyTo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("replyTo").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("cc") != null && !jsonObj.get("cc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cc` to be an array in the JSON string but got `%s`", jsonObj.get("cc").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bcc") != null && !jsonObj.get("bcc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bcc` to be an array in the JSON string but got `%s`", jsonObj.get("bcc").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("attachments") != null && !jsonObj.get("attachments").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `attachments` to be an array in the JSON string but got `%s`", jsonObj.get("attachments").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if ((jsonObj.get("body") != null && !jsonObj.get("body").isJsonNull()) && !jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + if ((jsonObj.get("bodyExcerpt") != null && !jsonObj.get("bodyExcerpt").isJsonNull()) && !jsonObj.get("bodyExcerpt").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bodyExcerpt` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bodyExcerpt").toString())); + } + if ((jsonObj.get("bodyMD5Hash") != null && !jsonObj.get("bodyMD5Hash").isJsonNull()) && !jsonObj.get("bodyMD5Hash").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bodyMD5Hash` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bodyMD5Hash").toString())); + } + if ((jsonObj.get("charset") != null && !jsonObj.get("charset").isJsonNull()) && !jsonObj.get("charset").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `charset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("charset").toString())); + } + // validate the optional field `analysis` + if (jsonObj.get("analysis") != null && !jsonObj.get("analysis").isJsonNull()) { + EmailAnalysis.validateJsonObject(jsonObj.getAsJsonObject("analysis")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!Email.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'Email' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(Email.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, Email value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public Email read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of Email given an JSON string + * + * @param jsonString JSON string + * @return An instance of Email + * @throws IOException if the JSON string is invalid with respect to Email + */ + public static Email fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, Email.class); + } + + /** + * Convert an instance of Email to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmailAnalysis.java b/src/main/java/com/mailslurp/models/EmailAnalysis.java new file mode 100644 index 000000000..52ee7139b --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmailAnalysis.java @@ -0,0 +1,353 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Analysis result for email. Each verdict property is a string PASS|FAIL|GRAY or dynamic error message + */ +@ApiModel(description = "Analysis result for email. Each verdict property is a string PASS|FAIL|GRAY or dynamic error message") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmailAnalysis { + public static final String SERIALIZED_NAME_SPAM_VERDICT = "spamVerdict"; + @SerializedName(SERIALIZED_NAME_SPAM_VERDICT) + private String spamVerdict; + + public static final String SERIALIZED_NAME_VIRUS_VERDICT = "virusVerdict"; + @SerializedName(SERIALIZED_NAME_VIRUS_VERDICT) + private String virusVerdict; + + public static final String SERIALIZED_NAME_SPF_VERDICT = "spfVerdict"; + @SerializedName(SERIALIZED_NAME_SPF_VERDICT) + private String spfVerdict; + + public static final String SERIALIZED_NAME_DKIM_VERDICT = "dkimVerdict"; + @SerializedName(SERIALIZED_NAME_DKIM_VERDICT) + private String dkimVerdict; + + public static final String SERIALIZED_NAME_DMARC_VERDICT = "dmarcVerdict"; + @SerializedName(SERIALIZED_NAME_DMARC_VERDICT) + private String dmarcVerdict; + + public EmailAnalysis() { + } + + public EmailAnalysis spamVerdict(String spamVerdict) { + + this.spamVerdict = spamVerdict; + return this; + } + + /** + * Verdict of spam ranking analysis + * @return spamVerdict + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Verdict of spam ranking analysis") + + public String getSpamVerdict() { + return spamVerdict; + } + + + public void setSpamVerdict(String spamVerdict) { + this.spamVerdict = spamVerdict; + } + + + public EmailAnalysis virusVerdict(String virusVerdict) { + + this.virusVerdict = virusVerdict; + return this; + } + + /** + * Verdict of virus scan analysis + * @return virusVerdict + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Verdict of virus scan analysis") + + public String getVirusVerdict() { + return virusVerdict; + } + + + public void setVirusVerdict(String virusVerdict) { + this.virusVerdict = virusVerdict; + } + + + public EmailAnalysis spfVerdict(String spfVerdict) { + + this.spfVerdict = spfVerdict; + return this; + } + + /** + * Verdict of Send Policy Framework record spoofing analysis + * @return spfVerdict + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Verdict of Send Policy Framework record spoofing analysis") + + public String getSpfVerdict() { + return spfVerdict; + } + + + public void setSpfVerdict(String spfVerdict) { + this.spfVerdict = spfVerdict; + } + + + public EmailAnalysis dkimVerdict(String dkimVerdict) { + + this.dkimVerdict = dkimVerdict; + return this; + } + + /** + * Verdict of DomainKeys Identified Mail analysis + * @return dkimVerdict + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Verdict of DomainKeys Identified Mail analysis") + + public String getDkimVerdict() { + return dkimVerdict; + } + + + public void setDkimVerdict(String dkimVerdict) { + this.dkimVerdict = dkimVerdict; + } + + + public EmailAnalysis dmarcVerdict(String dmarcVerdict) { + + this.dmarcVerdict = dmarcVerdict; + return this; + } + + /** + * Verdict of Domain-based Message Authentication Reporting and Conformance analysis + * @return dmarcVerdict + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Verdict of Domain-based Message Authentication Reporting and Conformance analysis") + + public String getDmarcVerdict() { + return dmarcVerdict; + } + + + public void setDmarcVerdict(String dmarcVerdict) { + this.dmarcVerdict = dmarcVerdict; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmailAnalysis emailAnalysis = (EmailAnalysis) o; + return Objects.equals(this.spamVerdict, emailAnalysis.spamVerdict) && + Objects.equals(this.virusVerdict, emailAnalysis.virusVerdict) && + Objects.equals(this.spfVerdict, emailAnalysis.spfVerdict) && + Objects.equals(this.dkimVerdict, emailAnalysis.dkimVerdict) && + Objects.equals(this.dmarcVerdict, emailAnalysis.dmarcVerdict); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(spamVerdict, virusVerdict, spfVerdict, dkimVerdict, dmarcVerdict); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmailAnalysis {\n"); + sb.append(" spamVerdict: ").append(toIndentedString(spamVerdict)).append("\n"); + sb.append(" virusVerdict: ").append(toIndentedString(virusVerdict)).append("\n"); + sb.append(" spfVerdict: ").append(toIndentedString(spfVerdict)).append("\n"); + sb.append(" dkimVerdict: ").append(toIndentedString(dkimVerdict)).append("\n"); + sb.append(" dmarcVerdict: ").append(toIndentedString(dmarcVerdict)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("spamVerdict"); + openapiFields.add("virusVerdict"); + openapiFields.add("spfVerdict"); + openapiFields.add("dkimVerdict"); + openapiFields.add("dmarcVerdict"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmailAnalysis + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmailAnalysis.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmailAnalysis is not found in the empty JSON string", EmailAnalysis.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmailAnalysis.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmailAnalysis` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("spamVerdict") != null && !jsonObj.get("spamVerdict").isJsonNull()) && !jsonObj.get("spamVerdict").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `spamVerdict` to be a primitive type in the JSON string but got `%s`", jsonObj.get("spamVerdict").toString())); + } + if ((jsonObj.get("virusVerdict") != null && !jsonObj.get("virusVerdict").isJsonNull()) && !jsonObj.get("virusVerdict").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `virusVerdict` to be a primitive type in the JSON string but got `%s`", jsonObj.get("virusVerdict").toString())); + } + if ((jsonObj.get("spfVerdict") != null && !jsonObj.get("spfVerdict").isJsonNull()) && !jsonObj.get("spfVerdict").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `spfVerdict` to be a primitive type in the JSON string but got `%s`", jsonObj.get("spfVerdict").toString())); + } + if ((jsonObj.get("dkimVerdict") != null && !jsonObj.get("dkimVerdict").isJsonNull()) && !jsonObj.get("dkimVerdict").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `dkimVerdict` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dkimVerdict").toString())); + } + if ((jsonObj.get("dmarcVerdict") != null && !jsonObj.get("dmarcVerdict").isJsonNull()) && !jsonObj.get("dmarcVerdict").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `dmarcVerdict` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dmarcVerdict").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmailAnalysis.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmailAnalysis' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmailAnalysis.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmailAnalysis value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmailAnalysis read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmailAnalysis given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmailAnalysis + * @throws IOException if the JSON string is invalid with respect to EmailAnalysis + */ + public static EmailAnalysis fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmailAnalysis.class); + } + + /** + * Convert an instance of EmailAnalysis to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmailContentMatchResult.java b/src/main/java/com/mailslurp/models/EmailContentMatchResult.java new file mode 100644 index 000000000..33ba5f9e8 --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmailContentMatchResult.java @@ -0,0 +1,261 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Matches for the given pattern + */ +@ApiModel(description = "Matches for the given pattern") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmailContentMatchResult { + public static final String SERIALIZED_NAME_PATTERN = "pattern"; + @SerializedName(SERIALIZED_NAME_PATTERN) + private String pattern; + + public static final String SERIALIZED_NAME_MATCHES = "matches"; + @SerializedName(SERIALIZED_NAME_MATCHES) + private List matches = new ArrayList<>(); + + public EmailContentMatchResult() { + } + + public EmailContentMatchResult pattern(String pattern) { + + this.pattern = pattern; + return this; + } + + /** + * Get pattern + * @return pattern + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getPattern() { + return pattern; + } + + + public void setPattern(String pattern) { + this.pattern = pattern; + } + + + public EmailContentMatchResult matches(List matches) { + + this.matches = matches; + return this; + } + + public EmailContentMatchResult addMatchesItem(String matchesItem) { + this.matches.add(matchesItem); + return this; + } + + /** + * Get matches + * @return matches + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getMatches() { + return matches; + } + + + public void setMatches(List matches) { + this.matches = matches; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmailContentMatchResult emailContentMatchResult = (EmailContentMatchResult) o; + return Objects.equals(this.pattern, emailContentMatchResult.pattern) && + Objects.equals(this.matches, emailContentMatchResult.matches); + } + + @Override + public int hashCode() { + return Objects.hash(pattern, matches); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmailContentMatchResult {\n"); + sb.append(" pattern: ").append(toIndentedString(pattern)).append("\n"); + sb.append(" matches: ").append(toIndentedString(matches)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("pattern"); + openapiFields.add("matches"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("pattern"); + openapiRequiredFields.add("matches"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmailContentMatchResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmailContentMatchResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmailContentMatchResult is not found in the empty JSON string", EmailContentMatchResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmailContentMatchResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmailContentMatchResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : EmailContentMatchResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("pattern").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `pattern` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pattern").toString())); + } + // ensure the required json array is present + if (jsonObj.get("matches") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("matches").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `matches` to be an array in the JSON string but got `%s`", jsonObj.get("matches").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmailContentMatchResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmailContentMatchResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmailContentMatchResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmailContentMatchResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmailContentMatchResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmailContentMatchResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmailContentMatchResult + * @throws IOException if the JSON string is invalid with respect to EmailContentMatchResult + */ + public static EmailContentMatchResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmailContentMatchResult.class); + } + + /** + * Convert an instance of EmailContentMatchResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmailHtmlDto.java b/src/main/java/com/mailslurp/models/EmailHtmlDto.java new file mode 100644 index 000000000..dee76e872 --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmailHtmlDto.java @@ -0,0 +1,241 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * EmailHtmlDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmailHtmlDto { + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public EmailHtmlDto() { + } + + public EmailHtmlDto subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public EmailHtmlDto body(String body) { + + this.body = body; + return this; + } + + /** + * Get body + * @return body + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmailHtmlDto emailHtmlDto = (EmailHtmlDto) o; + return Objects.equals(this.subject, emailHtmlDto.subject) && + Objects.equals(this.body, emailHtmlDto.body); + } + + @Override + public int hashCode() { + return Objects.hash(subject, body); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmailHtmlDto {\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("subject"); + openapiFields.add("body"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmailHtmlDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmailHtmlDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmailHtmlDto is not found in the empty JSON string", EmailHtmlDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmailHtmlDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmailHtmlDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if ((jsonObj.get("body") != null && !jsonObj.get("body").isJsonNull()) && !jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmailHtmlDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmailHtmlDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmailHtmlDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmailHtmlDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmailHtmlDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmailHtmlDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmailHtmlDto + * @throws IOException if the JSON string is invalid with respect to EmailHtmlDto + */ + public static EmailHtmlDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmailHtmlDto.class); + } + + /** + * Convert an instance of EmailHtmlDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmailLinksResult.java b/src/main/java/com/mailslurp/models/EmailLinksResult.java new file mode 100644 index 000000000..efcb9b65a --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmailLinksResult.java @@ -0,0 +1,261 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Links found in HTML + */ +@ApiModel(description = "Links found in HTML") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmailLinksResult { + public static final String SERIALIZED_NAME_LINKS = "links"; + @SerializedName(SERIALIZED_NAME_LINKS) + private List links = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public EmailLinksResult() { + } + + public EmailLinksResult links(List links) { + + this.links = links; + return this; + } + + public EmailLinksResult addLinksItem(String linksItem) { + this.links.add(linksItem); + return this; + } + + /** + * Get links + * @return links + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getLinks() { + return links; + } + + + public void setLinks(List links) { + this.links = links; + } + + + public EmailLinksResult body(String body) { + + this.body = body; + return this; + } + + /** + * Get body + * @return body + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmailLinksResult emailLinksResult = (EmailLinksResult) o; + return Objects.equals(this.links, emailLinksResult.links) && + Objects.equals(this.body, emailLinksResult.body); + } + + @Override + public int hashCode() { + return Objects.hash(links, body); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmailLinksResult {\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("links"); + openapiFields.add("body"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("links"); + openapiRequiredFields.add("body"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmailLinksResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmailLinksResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmailLinksResult is not found in the empty JSON string", EmailLinksResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmailLinksResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmailLinksResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : EmailLinksResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("links") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("links").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `links` to be an array in the JSON string but got `%s`", jsonObj.get("links").toString())); + } + if (!jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmailLinksResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmailLinksResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmailLinksResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmailLinksResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmailLinksResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmailLinksResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmailLinksResult + * @throws IOException if the JSON string is invalid with respect to EmailLinksResult + */ + public static EmailLinksResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmailLinksResult.class); + } + + /** + * Convert an instance of EmailLinksResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmailPreview.java b/src/main/java/com/mailslurp/models/EmailPreview.java new file mode 100644 index 000000000..c8b85423e --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmailPreview.java @@ -0,0 +1,562 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Preview of an email message. For full message (including body and attachments) call the `getEmail` or other email endpoints with the provided email ID. + */ +@ApiModel(description = "Preview of an email message. For full message (including body and attachments) call the `getEmail` or other email endpoints with the provided email ID.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmailPreview { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_DOMAIN_ID = "domainId"; + @SerializedName(SERIALIZED_NAME_DOMAIN_ID) + private UUID domainId; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = new ArrayList<>(); + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_BCC = "bcc"; + @SerializedName(SERIALIZED_NAME_BCC) + private List bcc = null; + + public static final String SERIALIZED_NAME_CC = "cc"; + @SerializedName(SERIALIZED_NAME_CC) + private List cc = null; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_READ = "read"; + @SerializedName(SERIALIZED_NAME_READ) + private Boolean read; + + public static final String SERIALIZED_NAME_ATTACHMENTS = "attachments"; + @SerializedName(SERIALIZED_NAME_ATTACHMENTS) + private List attachments = null; + + public EmailPreview() { + } + + public EmailPreview id(UUID id) { + + this.id = id; + return this; + } + + /** + * ID of the email entity + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the email entity") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public EmailPreview domainId(UUID domainId) { + + this.domainId = domainId; + return this; + } + + /** + * ID of the domain that received the email + * @return domainId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ID of the domain that received the email") + + public UUID getDomainId() { + return domainId; + } + + + public void setDomainId(UUID domainId) { + this.domainId = domainId; + } + + + public EmailPreview subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * The subject line of the email message as specified by SMTP subject header + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The subject line of the email message as specified by SMTP subject header") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public EmailPreview to(List to) { + + this.to = to; + return this; + } + + public EmailPreview addToItem(String toItem) { + this.to.add(toItem); + return this; + } + + /** + * List of `To` recipient email addresses that the email was addressed to. See recipients object for names. + * @return to + **/ + @javax.annotation.Nullable + @ApiModelProperty(required = true, value = "List of `To` recipient email addresses that the email was addressed to. See recipients object for names.") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + public EmailPreview from(String from) { + + this.from = from; + return this; + } + + /** + * Who the email was sent from. An email address - see fromName for the sender name. + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Who the email was sent from. An email address - see fromName for the sender name.") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public EmailPreview bcc(List bcc) { + + this.bcc = bcc; + return this; + } + + public EmailPreview addBccItem(String bccItem) { + if (this.bcc == null) { + this.bcc = new ArrayList<>(); + } + this.bcc.add(bccItem); + return this; + } + + /** + * List of `BCC` recipients email addresses that the email was addressed to. See recipients object for names. + * @return bcc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "List of `BCC` recipients email addresses that the email was addressed to. See recipients object for names.") + + public List getBcc() { + return bcc; + } + + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + + public EmailPreview cc(List cc) { + + this.cc = cc; + return this; + } + + public EmailPreview addCcItem(String ccItem) { + if (this.cc == null) { + this.cc = new ArrayList<>(); + } + this.cc.add(ccItem); + return this; + } + + /** + * List of `CC` recipients email addresses that the email was addressed to. See recipients object for names. + * @return cc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "List of `CC` recipients email addresses that the email was addressed to. See recipients object for names.") + + public List getCc() { + return cc; + } + + + public void setCc(List cc) { + this.cc = cc; + } + + + public EmailPreview createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * When was the email received by MailSlurp + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "When was the email received by MailSlurp") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public EmailPreview read(Boolean read) { + + this.read = read; + return this; + } + + /** + * Read flag. Has the email ever been viewed in the dashboard or fetched via the API with a hydrated body? If so the email is marked as read. Paginated results do not affect read status. Read status is different to email opened event as it depends on your own account accessing the email. Email opened is determined by tracking pixels sent to other uses if enable during sending. You can listened for both email read and email opened events using webhooks. + * @return read + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Read flag. Has the email ever been viewed in the dashboard or fetched via the API with a hydrated body? If so the email is marked as read. Paginated results do not affect read status. Read status is different to email opened event as it depends on your own account accessing the email. Email opened is determined by tracking pixels sent to other uses if enable during sending. You can listened for both email read and email opened events using webhooks.") + + public Boolean getRead() { + return read; + } + + + public void setRead(Boolean read) { + this.read = read; + } + + + public EmailPreview attachments(List attachments) { + + this.attachments = attachments; + return this; + } + + public EmailPreview addAttachmentsItem(String attachmentsItem) { + if (this.attachments == null) { + this.attachments = new ArrayList<>(); + } + this.attachments.add(attachmentsItem); + return this; + } + + /** + * List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension. + * @return attachments + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension.") + + public List getAttachments() { + return attachments; + } + + + public void setAttachments(List attachments) { + this.attachments = attachments; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmailPreview emailPreview = (EmailPreview) o; + return Objects.equals(this.id, emailPreview.id) && + Objects.equals(this.domainId, emailPreview.domainId) && + Objects.equals(this.subject, emailPreview.subject) && + Objects.equals(this.to, emailPreview.to) && + Objects.equals(this.from, emailPreview.from) && + Objects.equals(this.bcc, emailPreview.bcc) && + Objects.equals(this.cc, emailPreview.cc) && + Objects.equals(this.createdAt, emailPreview.createdAt) && + Objects.equals(this.read, emailPreview.read) && + Objects.equals(this.attachments, emailPreview.attachments); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, domainId, subject, to, from, bcc, cc, createdAt, read, attachments); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmailPreview {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" domainId: ").append(toIndentedString(domainId)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" read: ").append(toIndentedString(read)).append("\n"); + sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("domainId"); + openapiFields.add("subject"); + openapiFields.add("to"); + openapiFields.add("from"); + openapiFields.add("bcc"); + openapiFields.add("cc"); + openapiFields.add("createdAt"); + openapiFields.add("read"); + openapiFields.add("attachments"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("to"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("read"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmailPreview + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmailPreview.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmailPreview is not found in the empty JSON string", EmailPreview.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmailPreview.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmailPreview` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : EmailPreview.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("domainId") != null && !jsonObj.get("domainId").isJsonNull()) && !jsonObj.get("domainId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainId").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + // ensure the required json array is present + if (jsonObj.get("to") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bcc") != null && !jsonObj.get("bcc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bcc` to be an array in the JSON string but got `%s`", jsonObj.get("bcc").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("cc") != null && !jsonObj.get("cc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cc` to be an array in the JSON string but got `%s`", jsonObj.get("cc").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("attachments") != null && !jsonObj.get("attachments").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `attachments` to be an array in the JSON string but got `%s`", jsonObj.get("attachments").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmailPreview.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmailPreview' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmailPreview.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmailPreview value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmailPreview read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmailPreview given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmailPreview + * @throws IOException if the JSON string is invalid with respect to EmailPreview + */ + public static EmailPreview fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmailPreview.class); + } + + /** + * Convert an instance of EmailPreview to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmailPreviewUrls.java b/src/main/java/com/mailslurp/models/EmailPreviewUrls.java new file mode 100644 index 000000000..665d760b6 --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmailPreviewUrls.java @@ -0,0 +1,251 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * URLs for email body + */ +@ApiModel(description = "URLs for email body") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmailPreviewUrls { + public static final String SERIALIZED_NAME_RAW_SMTP_MESSAGE_URL = "rawSmtpMessageUrl"; + @SerializedName(SERIALIZED_NAME_RAW_SMTP_MESSAGE_URL) + private String rawSmtpMessageUrl; + + public static final String SERIALIZED_NAME_PLAIN_HTML_BODY_URL = "plainHtmlBodyUrl"; + @SerializedName(SERIALIZED_NAME_PLAIN_HTML_BODY_URL) + private String plainHtmlBodyUrl; + + public EmailPreviewUrls() { + } + + public EmailPreviewUrls rawSmtpMessageUrl(String rawSmtpMessageUrl) { + + this.rawSmtpMessageUrl = rawSmtpMessageUrl; + return this; + } + + /** + * Get rawSmtpMessageUrl + * @return rawSmtpMessageUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getRawSmtpMessageUrl() { + return rawSmtpMessageUrl; + } + + + public void setRawSmtpMessageUrl(String rawSmtpMessageUrl) { + this.rawSmtpMessageUrl = rawSmtpMessageUrl; + } + + + public EmailPreviewUrls plainHtmlBodyUrl(String plainHtmlBodyUrl) { + + this.plainHtmlBodyUrl = plainHtmlBodyUrl; + return this; + } + + /** + * Get plainHtmlBodyUrl + * @return plainHtmlBodyUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getPlainHtmlBodyUrl() { + return plainHtmlBodyUrl; + } + + + public void setPlainHtmlBodyUrl(String plainHtmlBodyUrl) { + this.plainHtmlBodyUrl = plainHtmlBodyUrl; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmailPreviewUrls emailPreviewUrls = (EmailPreviewUrls) o; + return Objects.equals(this.rawSmtpMessageUrl, emailPreviewUrls.rawSmtpMessageUrl) && + Objects.equals(this.plainHtmlBodyUrl, emailPreviewUrls.plainHtmlBodyUrl); + } + + @Override + public int hashCode() { + return Objects.hash(rawSmtpMessageUrl, plainHtmlBodyUrl); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmailPreviewUrls {\n"); + sb.append(" rawSmtpMessageUrl: ").append(toIndentedString(rawSmtpMessageUrl)).append("\n"); + sb.append(" plainHtmlBodyUrl: ").append(toIndentedString(plainHtmlBodyUrl)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("rawSmtpMessageUrl"); + openapiFields.add("plainHtmlBodyUrl"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("rawSmtpMessageUrl"); + openapiRequiredFields.add("plainHtmlBodyUrl"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmailPreviewUrls + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmailPreviewUrls.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmailPreviewUrls is not found in the empty JSON string", EmailPreviewUrls.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmailPreviewUrls.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmailPreviewUrls` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : EmailPreviewUrls.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("rawSmtpMessageUrl").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `rawSmtpMessageUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rawSmtpMessageUrl").toString())); + } + if (!jsonObj.get("plainHtmlBodyUrl").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `plainHtmlBodyUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("plainHtmlBodyUrl").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmailPreviewUrls.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmailPreviewUrls' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmailPreviewUrls.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmailPreviewUrls value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmailPreviewUrls read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmailPreviewUrls given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmailPreviewUrls + * @throws IOException if the JSON string is invalid with respect to EmailPreviewUrls + */ + public static EmailPreviewUrls fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmailPreviewUrls.class); + } + + /** + * Convert an instance of EmailPreviewUrls to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmailProjection.java b/src/main/java/com/mailslurp/models/EmailProjection.java new file mode 100644 index 000000000..55dc41e48 --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmailProjection.java @@ -0,0 +1,693 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * A compact representation of a full email. Used in list endpoints to keep response sizes low. Body and attachments are not included. To get all fields of the email use the `getEmail` method with the email projection's ID. See `EmailDto` for documentation on projection properties. + */ +@ApiModel(description = "A compact representation of a full email. Used in list endpoints to keep response sizes low. Body and attachments are not included. To get all fields of the email use the `getEmail` method with the email projection's ID. See `EmailDto` for documentation on projection properties.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmailProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_ATTACHMENTS = "attachments"; + @SerializedName(SERIALIZED_NAME_ATTACHMENTS) + private List attachments = null; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BCC = "bcc"; + @SerializedName(SERIALIZED_NAME_BCC) + private List bcc = null; + + public static final String SERIALIZED_NAME_CC = "cc"; + @SerializedName(SERIALIZED_NAME_CC) + private List cc = null; + + public static final String SERIALIZED_NAME_READ = "read"; + @SerializedName(SERIALIZED_NAME_READ) + private Boolean read; + + public static final String SERIALIZED_NAME_DOMAIN_ID = "domainId"; + @SerializedName(SERIALIZED_NAME_DOMAIN_ID) + private UUID domainId; + + public static final String SERIALIZED_NAME_BODY_EXCERPT = "bodyExcerpt"; + @SerializedName(SERIALIZED_NAME_BODY_EXCERPT) + private String bodyExcerpt; + + public static final String SERIALIZED_NAME_TEAM_ACCESS = "teamAccess"; + @SerializedName(SERIALIZED_NAME_TEAM_ACCESS) + private Boolean teamAccess; + + public static final String SERIALIZED_NAME_BODY_M_D5_HASH = "bodyMD5Hash"; + @SerializedName(SERIALIZED_NAME_BODY_M_D5_HASH) + private String bodyMD5Hash; + + public EmailProjection() { + } + + public EmailProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public EmailProjection from(String from) { + + this.from = from; + return this; + } + + /** + * Get from + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public EmailProjection subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public EmailProjection inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public EmailProjection attachments(List attachments) { + + this.attachments = attachments; + return this; + } + + public EmailProjection addAttachmentsItem(String attachmentsItem) { + if (this.attachments == null) { + this.attachments = new ArrayList<>(); + } + this.attachments.add(attachmentsItem); + return this; + } + + /** + * Get attachments + * @return attachments + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getAttachments() { + return attachments; + } + + + public void setAttachments(List attachments) { + this.attachments = attachments; + } + + + public EmailProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public EmailProjection to(List to) { + + this.to = to; + return this; + } + + public EmailProjection addToItem(String toItem) { + this.to.add(toItem); + return this; + } + + /** + * Get to + * @return to + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + public EmailProjection bcc(List bcc) { + + this.bcc = bcc; + return this; + } + + public EmailProjection addBccItem(String bccItem) { + if (this.bcc == null) { + this.bcc = new ArrayList<>(); + } + this.bcc.add(bccItem); + return this; + } + + /** + * Get bcc + * @return bcc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getBcc() { + return bcc; + } + + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + + public EmailProjection cc(List cc) { + + this.cc = cc; + return this; + } + + public EmailProjection addCcItem(String ccItem) { + if (this.cc == null) { + this.cc = new ArrayList<>(); + } + this.cc.add(ccItem); + return this; + } + + /** + * Get cc + * @return cc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getCc() { + return cc; + } + + + public void setCc(List cc) { + this.cc = cc; + } + + + public EmailProjection read(Boolean read) { + + this.read = read; + return this; + } + + /** + * Get read + * @return read + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getRead() { + return read; + } + + + public void setRead(Boolean read) { + this.read = read; + } + + + public EmailProjection domainId(UUID domainId) { + + this.domainId = domainId; + return this; + } + + /** + * Get domainId + * @return domainId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getDomainId() { + return domainId; + } + + + public void setDomainId(UUID domainId) { + this.domainId = domainId; + } + + + public EmailProjection bodyExcerpt(String bodyExcerpt) { + + this.bodyExcerpt = bodyExcerpt; + return this; + } + + /** + * Get bodyExcerpt + * @return bodyExcerpt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getBodyExcerpt() { + return bodyExcerpt; + } + + + public void setBodyExcerpt(String bodyExcerpt) { + this.bodyExcerpt = bodyExcerpt; + } + + + public EmailProjection teamAccess(Boolean teamAccess) { + + this.teamAccess = teamAccess; + return this; + } + + /** + * Get teamAccess + * @return teamAccess + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getTeamAccess() { + return teamAccess; + } + + + public void setTeamAccess(Boolean teamAccess) { + this.teamAccess = teamAccess; + } + + + public EmailProjection bodyMD5Hash(String bodyMD5Hash) { + + this.bodyMD5Hash = bodyMD5Hash; + return this; + } + + /** + * Get bodyMD5Hash + * @return bodyMD5Hash + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getBodyMD5Hash() { + return bodyMD5Hash; + } + + + public void setBodyMD5Hash(String bodyMD5Hash) { + this.bodyMD5Hash = bodyMD5Hash; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmailProjection emailProjection = (EmailProjection) o; + return Objects.equals(this.id, emailProjection.id) && + Objects.equals(this.from, emailProjection.from) && + Objects.equals(this.subject, emailProjection.subject) && + Objects.equals(this.inboxId, emailProjection.inboxId) && + Objects.equals(this.attachments, emailProjection.attachments) && + Objects.equals(this.createdAt, emailProjection.createdAt) && + Objects.equals(this.to, emailProjection.to) && + Objects.equals(this.bcc, emailProjection.bcc) && + Objects.equals(this.cc, emailProjection.cc) && + Objects.equals(this.read, emailProjection.read) && + Objects.equals(this.domainId, emailProjection.domainId) && + Objects.equals(this.bodyExcerpt, emailProjection.bodyExcerpt) && + Objects.equals(this.teamAccess, emailProjection.teamAccess) && + Objects.equals(this.bodyMD5Hash, emailProjection.bodyMD5Hash); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, from, subject, inboxId, attachments, createdAt, to, bcc, cc, read, domainId, bodyExcerpt, teamAccess, bodyMD5Hash); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmailProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" read: ").append(toIndentedString(read)).append("\n"); + sb.append(" domainId: ").append(toIndentedString(domainId)).append("\n"); + sb.append(" bodyExcerpt: ").append(toIndentedString(bodyExcerpt)).append("\n"); + sb.append(" teamAccess: ").append(toIndentedString(teamAccess)).append("\n"); + sb.append(" bodyMD5Hash: ").append(toIndentedString(bodyMD5Hash)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("from"); + openapiFields.add("subject"); + openapiFields.add("inboxId"); + openapiFields.add("attachments"); + openapiFields.add("createdAt"); + openapiFields.add("to"); + openapiFields.add("bcc"); + openapiFields.add("cc"); + openapiFields.add("read"); + openapiFields.add("domainId"); + openapiFields.add("bodyExcerpt"); + openapiFields.add("teamAccess"); + openapiFields.add("bodyMD5Hash"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("to"); + openapiRequiredFields.add("read"); + openapiRequiredFields.add("teamAccess"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmailProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmailProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmailProjection is not found in the empty JSON string", EmailProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmailProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmailProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : EmailProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("attachments") != null && !jsonObj.get("attachments").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `attachments` to be an array in the JSON string but got `%s`", jsonObj.get("attachments").toString())); + } + // ensure the required json array is present + if (jsonObj.get("to") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bcc") != null && !jsonObj.get("bcc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bcc` to be an array in the JSON string but got `%s`", jsonObj.get("bcc").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("cc") != null && !jsonObj.get("cc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cc` to be an array in the JSON string but got `%s`", jsonObj.get("cc").toString())); + } + if ((jsonObj.get("domainId") != null && !jsonObj.get("domainId").isJsonNull()) && !jsonObj.get("domainId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainId").toString())); + } + if ((jsonObj.get("bodyExcerpt") != null && !jsonObj.get("bodyExcerpt").isJsonNull()) && !jsonObj.get("bodyExcerpt").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bodyExcerpt` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bodyExcerpt").toString())); + } + if ((jsonObj.get("bodyMD5Hash") != null && !jsonObj.get("bodyMD5Hash").isJsonNull()) && !jsonObj.get("bodyMD5Hash").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bodyMD5Hash` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bodyMD5Hash").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmailProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmailProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmailProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmailProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmailProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmailProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmailProjection + * @throws IOException if the JSON string is invalid with respect to EmailProjection + */ + public static EmailProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmailProjection.class); + } + + /** + * Convert an instance of EmailProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmailRecipients.java b/src/main/java/com/mailslurp/models/EmailRecipients.java new file mode 100644 index 000000000..2a3308285 --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmailRecipients.java @@ -0,0 +1,335 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.Recipient; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * The `To`,`CC`,`BCC` recipients stored in object form with email address and name accessible. + */ +@ApiModel(description = "The `To`,`CC`,`BCC` recipients stored in object form with email address and name accessible.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmailRecipients { + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = null; + + public static final String SERIALIZED_NAME_CC = "cc"; + @SerializedName(SERIALIZED_NAME_CC) + private List cc = null; + + public static final String SERIALIZED_NAME_BCC = "bcc"; + @SerializedName(SERIALIZED_NAME_BCC) + private List bcc = null; + + public EmailRecipients() { + } + + public EmailRecipients to(List to) { + + this.to = to; + return this; + } + + public EmailRecipients addToItem(Recipient toItem) { + if (this.to == null) { + this.to = new ArrayList<>(); + } + this.to.add(toItem); + return this; + } + + /** + * Get to + * @return to + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + public EmailRecipients cc(List cc) { + + this.cc = cc; + return this; + } + + public EmailRecipients addCcItem(Recipient ccItem) { + if (this.cc == null) { + this.cc = new ArrayList<>(); + } + this.cc.add(ccItem); + return this; + } + + /** + * Get cc + * @return cc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getCc() { + return cc; + } + + + public void setCc(List cc) { + this.cc = cc; + } + + + public EmailRecipients bcc(List bcc) { + + this.bcc = bcc; + return this; + } + + public EmailRecipients addBccItem(Recipient bccItem) { + if (this.bcc == null) { + this.bcc = new ArrayList<>(); + } + this.bcc.add(bccItem); + return this; + } + + /** + * Get bcc + * @return bcc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getBcc() { + return bcc; + } + + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmailRecipients emailRecipients = (EmailRecipients) o; + return Objects.equals(this.to, emailRecipients.to) && + Objects.equals(this.cc, emailRecipients.cc) && + Objects.equals(this.bcc, emailRecipients.bcc); + } + + @Override + public int hashCode() { + return Objects.hash(to, cc, bcc); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmailRecipients {\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("to"); + openapiFields.add("cc"); + openapiFields.add("bcc"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmailRecipients + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmailRecipients.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmailRecipients is not found in the empty JSON string", EmailRecipients.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmailRecipients.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmailRecipients` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("to") != null && !jsonObj.get("to").isJsonNull()) { + JsonArray jsonArrayto = jsonObj.getAsJsonArray("to"); + if (jsonArrayto != null) { + // ensure the json data is an array + if (!jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + + // validate the optional field `to` (array) + for (int i = 0; i < jsonArrayto.size(); i++) { + Recipient.validateJsonObject(jsonArrayto.get(i).getAsJsonObject()); + }; + } + } + if (jsonObj.get("cc") != null && !jsonObj.get("cc").isJsonNull()) { + JsonArray jsonArraycc = jsonObj.getAsJsonArray("cc"); + if (jsonArraycc != null) { + // ensure the json data is an array + if (!jsonObj.get("cc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cc` to be an array in the JSON string but got `%s`", jsonObj.get("cc").toString())); + } + + // validate the optional field `cc` (array) + for (int i = 0; i < jsonArraycc.size(); i++) { + Recipient.validateJsonObject(jsonArraycc.get(i).getAsJsonObject()); + }; + } + } + if (jsonObj.get("bcc") != null && !jsonObj.get("bcc").isJsonNull()) { + JsonArray jsonArraybcc = jsonObj.getAsJsonArray("bcc"); + if (jsonArraybcc != null) { + // ensure the json data is an array + if (!jsonObj.get("bcc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bcc` to be an array in the JSON string but got `%s`", jsonObj.get("bcc").toString())); + } + + // validate the optional field `bcc` (array) + for (int i = 0; i < jsonArraybcc.size(); i++) { + Recipient.validateJsonObject(jsonArraybcc.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmailRecipients.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmailRecipients' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmailRecipients.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmailRecipients value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmailRecipients read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmailRecipients given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmailRecipients + * @throws IOException if the JSON string is invalid with respect to EmailRecipients + */ + public static EmailRecipients fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmailRecipients.class); + } + + /** + * Convert an instance of EmailRecipients to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmailTextLinesResult.java b/src/main/java/com/mailslurp/models/EmailTextLinesResult.java new file mode 100644 index 000000000..a06e27eea --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmailTextLinesResult.java @@ -0,0 +1,261 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Parsed text of an email + */ +@ApiModel(description = "Parsed text of an email") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmailTextLinesResult { + public static final String SERIALIZED_NAME_LINES = "lines"; + @SerializedName(SERIALIZED_NAME_LINES) + private List lines = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public EmailTextLinesResult() { + } + + public EmailTextLinesResult lines(List lines) { + + this.lines = lines; + return this; + } + + public EmailTextLinesResult addLinesItem(String linesItem) { + this.lines.add(linesItem); + return this; + } + + /** + * Get lines + * @return lines + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getLines() { + return lines; + } + + + public void setLines(List lines) { + this.lines = lines; + } + + + public EmailTextLinesResult body(String body) { + + this.body = body; + return this; + } + + /** + * Get body + * @return body + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmailTextLinesResult emailTextLinesResult = (EmailTextLinesResult) o; + return Objects.equals(this.lines, emailTextLinesResult.lines) && + Objects.equals(this.body, emailTextLinesResult.body); + } + + @Override + public int hashCode() { + return Objects.hash(lines, body); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmailTextLinesResult {\n"); + sb.append(" lines: ").append(toIndentedString(lines)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("lines"); + openapiFields.add("body"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("lines"); + openapiRequiredFields.add("body"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmailTextLinesResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmailTextLinesResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmailTextLinesResult is not found in the empty JSON string", EmailTextLinesResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmailTextLinesResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmailTextLinesResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : EmailTextLinesResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("lines") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("lines").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `lines` to be an array in the JSON string but got `%s`", jsonObj.get("lines").toString())); + } + if (!jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmailTextLinesResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmailTextLinesResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmailTextLinesResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmailTextLinesResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmailTextLinesResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmailTextLinesResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmailTextLinesResult + * @throws IOException if the JSON string is invalid with respect to EmailTextLinesResult + */ + public static EmailTextLinesResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmailTextLinesResult.class); + } + + /** + * Convert an instance of EmailTextLinesResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmailValidationRequestDto.java b/src/main/java/com/mailslurp/models/EmailValidationRequestDto.java new file mode 100644 index 000000000..d95e80725 --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmailValidationRequestDto.java @@ -0,0 +1,380 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Email validation request + */ +@ApiModel(description = "Email validation request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmailValidationRequestDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_IS_VALID = "isValid"; + @SerializedName(SERIALIZED_NAME_IS_VALID) + private Boolean isValid; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public EmailValidationRequestDto() { + } + + public EmailValidationRequestDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public EmailValidationRequestDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public EmailValidationRequestDto emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public EmailValidationRequestDto isValid(Boolean isValid) { + + this.isValid = isValid; + return this; + } + + /** + * Get isValid + * @return isValid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getIsValid() { + return isValid; + } + + + public void setIsValid(Boolean isValid) { + this.isValid = isValid; + } + + + public EmailValidationRequestDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public EmailValidationRequestDto updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmailValidationRequestDto emailValidationRequestDto = (EmailValidationRequestDto) o; + return Objects.equals(this.id, emailValidationRequestDto.id) && + Objects.equals(this.userId, emailValidationRequestDto.userId) && + Objects.equals(this.emailAddress, emailValidationRequestDto.emailAddress) && + Objects.equals(this.isValid, emailValidationRequestDto.isValid) && + Objects.equals(this.createdAt, emailValidationRequestDto.createdAt) && + Objects.equals(this.updatedAt, emailValidationRequestDto.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, emailAddress, isValid, createdAt, updatedAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmailValidationRequestDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" isValid: ").append(toIndentedString(isValid)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("emailAddress"); + openapiFields.add("isValid"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("emailAddress"); + openapiRequiredFields.add("isValid"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmailValidationRequestDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmailValidationRequestDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmailValidationRequestDto is not found in the empty JSON string", EmailValidationRequestDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmailValidationRequestDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmailValidationRequestDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : EmailValidationRequestDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmailValidationRequestDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmailValidationRequestDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmailValidationRequestDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmailValidationRequestDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmailValidationRequestDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmailValidationRequestDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmailValidationRequestDto + * @throws IOException if the JSON string is invalid with respect to EmailValidationRequestDto + */ + public static EmailValidationRequestDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmailValidationRequestDto.class); + } + + /** + * Convert an instance of EmailValidationRequestDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmailVerificationResult.java b/src/main/java/com/mailslurp/models/EmailVerificationResult.java new file mode 100644 index 000000000..cef913c57 --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmailVerificationResult.java @@ -0,0 +1,358 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Email verification result. Valid means email address exists according to response from mail server running at the domain and port given. + */ +@ApiModel(description = "Email verification result. Valid means email address exists according to response from mail server running at the domain and port given.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmailVerificationResult { + public static final String SERIALIZED_NAME_DOMAIN_NAME = "domainName"; + @SerializedName(SERIALIZED_NAME_DOMAIN_NAME) + private String domainName; + + public static final String SERIALIZED_NAME_PORT = "port"; + @SerializedName(SERIALIZED_NAME_PORT) + private Integer port; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_IS_VALID = "isValid"; + @SerializedName(SERIALIZED_NAME_IS_VALID) + private Boolean isValid; + + public static final String SERIALIZED_NAME_ERROR = "error"; + @SerializedName(SERIALIZED_NAME_ERROR) + private String error; + + public EmailVerificationResult() { + } + + public EmailVerificationResult domainName(String domainName) { + + this.domainName = domainName; + return this; + } + + /** + * Get domainName + * @return domainName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getDomainName() { + return domainName; + } + + + public void setDomainName(String domainName) { + this.domainName = domainName; + } + + + public EmailVerificationResult port(Integer port) { + + this.port = port; + return this; + } + + /** + * Get port + * @return port + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Integer getPort() { + return port; + } + + + public void setPort(Integer port) { + this.port = port; + } + + + public EmailVerificationResult emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public EmailVerificationResult isValid(Boolean isValid) { + + this.isValid = isValid; + return this; + } + + /** + * Get isValid + * @return isValid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getIsValid() { + return isValid; + } + + + public void setIsValid(Boolean isValid) { + this.isValid = isValid; + } + + + public EmailVerificationResult error(String error) { + + this.error = error; + return this; + } + + /** + * Get error + * @return error + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getError() { + return error; + } + + + public void setError(String error) { + this.error = error; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmailVerificationResult emailVerificationResult = (EmailVerificationResult) o; + return Objects.equals(this.domainName, emailVerificationResult.domainName) && + Objects.equals(this.port, emailVerificationResult.port) && + Objects.equals(this.emailAddress, emailVerificationResult.emailAddress) && + Objects.equals(this.isValid, emailVerificationResult.isValid) && + Objects.equals(this.error, emailVerificationResult.error); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(domainName, port, emailAddress, isValid, error); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmailVerificationResult {\n"); + sb.append(" domainName: ").append(toIndentedString(domainName)).append("\n"); + sb.append(" port: ").append(toIndentedString(port)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" isValid: ").append(toIndentedString(isValid)).append("\n"); + sb.append(" error: ").append(toIndentedString(error)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("domainName"); + openapiFields.add("port"); + openapiFields.add("emailAddress"); + openapiFields.add("isValid"); + openapiFields.add("error"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("domainName"); + openapiRequiredFields.add("port"); + openapiRequiredFields.add("emailAddress"); + openapiRequiredFields.add("isValid"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmailVerificationResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmailVerificationResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmailVerificationResult is not found in the empty JSON string", EmailVerificationResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmailVerificationResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmailVerificationResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : EmailVerificationResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("domainName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainName").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if ((jsonObj.get("error") != null && !jsonObj.get("error").isJsonNull()) && !jsonObj.get("error").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `error` to be a primitive type in the JSON string but got `%s`", jsonObj.get("error").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmailVerificationResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmailVerificationResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmailVerificationResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmailVerificationResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmailVerificationResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmailVerificationResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmailVerificationResult + * @throws IOException if the JSON string is invalid with respect to EmailVerificationResult + */ + public static EmailVerificationResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmailVerificationResult.class); + } + + /** + * Convert an instance of EmailVerificationResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmergencyAddress.java b/src/main/java/com/mailslurp/models/EmergencyAddress.java new file mode 100644 index 000000000..9f4dadd37 --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmergencyAddress.java @@ -0,0 +1,668 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * EmergencyAddress + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmergencyAddress { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_SID = "sid"; + @SerializedName(SERIALIZED_NAME_SID) + private String sid; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_DISPLAY_NAME = "displayName"; + @SerializedName(SERIALIZED_NAME_DISPLAY_NAME) + private String displayName; + + public static final String SERIALIZED_NAME_CUSTOMER_NAME = "customerName"; + @SerializedName(SERIALIZED_NAME_CUSTOMER_NAME) + private String customerName; + + public static final String SERIALIZED_NAME_ADDRESS1 = "address1"; + @SerializedName(SERIALIZED_NAME_ADDRESS1) + private String address1; + + public static final String SERIALIZED_NAME_CITY = "city"; + @SerializedName(SERIALIZED_NAME_CITY) + private String city; + + public static final String SERIALIZED_NAME_REGION = "region"; + @SerializedName(SERIALIZED_NAME_REGION) + private String region; + + public static final String SERIALIZED_NAME_POSTAL_CODE = "postalCode"; + @SerializedName(SERIALIZED_NAME_POSTAL_CODE) + private String postalCode; + + /** + * Gets or Sets phoneCountry + */ + @JsonAdapter(PhoneCountryEnum.Adapter.class) + public enum PhoneCountryEnum { + US("US"), + + GB("GB"), + + AU("AU"); + + private String value; + + PhoneCountryEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PhoneCountryEnum fromValue(String value) { + for (PhoneCountryEnum b : PhoneCountryEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PhoneCountryEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PhoneCountryEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PhoneCountryEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_PHONE_COUNTRY = "phoneCountry"; + @SerializedName(SERIALIZED_NAME_PHONE_COUNTRY) + private PhoneCountryEnum phoneCountry; + + public static final String SERIALIZED_NAME_ACCOUNT_SID = "accountSid"; + @SerializedName(SERIALIZED_NAME_ACCOUNT_SID) + private String accountSid; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public EmergencyAddress() { + } + + public EmergencyAddress id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public EmergencyAddress sid(String sid) { + + this.sid = sid; + return this; + } + + /** + * Get sid + * @return sid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getSid() { + return sid; + } + + + public void setSid(String sid) { + this.sid = sid; + } + + + public EmergencyAddress userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public EmergencyAddress displayName(String displayName) { + + this.displayName = displayName; + return this; + } + + /** + * Get displayName + * @return displayName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getDisplayName() { + return displayName; + } + + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + + public EmergencyAddress customerName(String customerName) { + + this.customerName = customerName; + return this; + } + + /** + * Get customerName + * @return customerName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getCustomerName() { + return customerName; + } + + + public void setCustomerName(String customerName) { + this.customerName = customerName; + } + + + public EmergencyAddress address1(String address1) { + + this.address1 = address1; + return this; + } + + /** + * Get address1 + * @return address1 + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getAddress1() { + return address1; + } + + + public void setAddress1(String address1) { + this.address1 = address1; + } + + + public EmergencyAddress city(String city) { + + this.city = city; + return this; + } + + /** + * Get city + * @return city + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getCity() { + return city; + } + + + public void setCity(String city) { + this.city = city; + } + + + public EmergencyAddress region(String region) { + + this.region = region; + return this; + } + + /** + * Get region + * @return region + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getRegion() { + return region; + } + + + public void setRegion(String region) { + this.region = region; + } + + + public EmergencyAddress postalCode(String postalCode) { + + this.postalCode = postalCode; + return this; + } + + /** + * Get postalCode + * @return postalCode + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getPostalCode() { + return postalCode; + } + + + public void setPostalCode(String postalCode) { + this.postalCode = postalCode; + } + + + public EmergencyAddress phoneCountry(PhoneCountryEnum phoneCountry) { + + this.phoneCountry = phoneCountry; + return this; + } + + /** + * Get phoneCountry + * @return phoneCountry + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public PhoneCountryEnum getPhoneCountry() { + return phoneCountry; + } + + + public void setPhoneCountry(PhoneCountryEnum phoneCountry) { + this.phoneCountry = phoneCountry; + } + + + public EmergencyAddress accountSid(String accountSid) { + + this.accountSid = accountSid; + return this; + } + + /** + * Get accountSid + * @return accountSid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getAccountSid() { + return accountSid; + } + + + public void setAccountSid(String accountSid) { + this.accountSid = accountSid; + } + + + public EmergencyAddress createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public EmergencyAddress updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmergencyAddress emergencyAddress = (EmergencyAddress) o; + return Objects.equals(this.id, emergencyAddress.id) && + Objects.equals(this.sid, emergencyAddress.sid) && + Objects.equals(this.userId, emergencyAddress.userId) && + Objects.equals(this.displayName, emergencyAddress.displayName) && + Objects.equals(this.customerName, emergencyAddress.customerName) && + Objects.equals(this.address1, emergencyAddress.address1) && + Objects.equals(this.city, emergencyAddress.city) && + Objects.equals(this.region, emergencyAddress.region) && + Objects.equals(this.postalCode, emergencyAddress.postalCode) && + Objects.equals(this.phoneCountry, emergencyAddress.phoneCountry) && + Objects.equals(this.accountSid, emergencyAddress.accountSid) && + Objects.equals(this.createdAt, emergencyAddress.createdAt) && + Objects.equals(this.updatedAt, emergencyAddress.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, sid, userId, displayName, customerName, address1, city, region, postalCode, phoneCountry, accountSid, createdAt, updatedAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmergencyAddress {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" sid: ").append(toIndentedString(sid)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); + sb.append(" customerName: ").append(toIndentedString(customerName)).append("\n"); + sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + sb.append(" city: ").append(toIndentedString(city)).append("\n"); + sb.append(" region: ").append(toIndentedString(region)).append("\n"); + sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append(" phoneCountry: ").append(toIndentedString(phoneCountry)).append("\n"); + sb.append(" accountSid: ").append(toIndentedString(accountSid)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("sid"); + openapiFields.add("userId"); + openapiFields.add("displayName"); + openapiFields.add("customerName"); + openapiFields.add("address1"); + openapiFields.add("city"); + openapiFields.add("region"); + openapiFields.add("postalCode"); + openapiFields.add("phoneCountry"); + openapiFields.add("accountSid"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("sid"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("displayName"); + openapiRequiredFields.add("customerName"); + openapiRequiredFields.add("address1"); + openapiRequiredFields.add("city"); + openapiRequiredFields.add("region"); + openapiRequiredFields.add("postalCode"); + openapiRequiredFields.add("phoneCountry"); + openapiRequiredFields.add("accountSid"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmergencyAddress + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmergencyAddress.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmergencyAddress is not found in the empty JSON string", EmergencyAddress.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmergencyAddress.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmergencyAddress` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : EmergencyAddress.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("sid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sid").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("displayName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `displayName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("displayName").toString())); + } + if (!jsonObj.get("customerName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `customerName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerName").toString())); + } + if (!jsonObj.get("address1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `address1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address1").toString())); + } + if (!jsonObj.get("city").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `city` to be a primitive type in the JSON string but got `%s`", jsonObj.get("city").toString())); + } + if (!jsonObj.get("region").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `region` to be a primitive type in the JSON string but got `%s`", jsonObj.get("region").toString())); + } + if (!jsonObj.get("postalCode").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `postalCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("postalCode").toString())); + } + if (!jsonObj.get("phoneCountry").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneCountry` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneCountry").toString())); + } + if (!jsonObj.get("accountSid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `accountSid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountSid").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmergencyAddress.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmergencyAddress' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmergencyAddress.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmergencyAddress value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmergencyAddress read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmergencyAddress given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmergencyAddress + * @throws IOException if the JSON string is invalid with respect to EmergencyAddress + */ + public static EmergencyAddress fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmergencyAddress.class); + } + + /** + * Convert an instance of EmergencyAddress to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmergencyAddressDto.java b/src/main/java/com/mailslurp/models/EmergencyAddressDto.java new file mode 100644 index 000000000..ddd2f093e --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmergencyAddressDto.java @@ -0,0 +1,334 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * EmergencyAddressDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmergencyAddressDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_ADDRESS1 = "address1"; + @SerializedName(SERIALIZED_NAME_ADDRESS1) + private String address1; + + /** + * Gets or Sets phoneCountry + */ + @JsonAdapter(PhoneCountryEnum.Adapter.class) + public enum PhoneCountryEnum { + US("US"), + + GB("GB"), + + AU("AU"); + + private String value; + + PhoneCountryEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PhoneCountryEnum fromValue(String value) { + for (PhoneCountryEnum b : PhoneCountryEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PhoneCountryEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PhoneCountryEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PhoneCountryEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_PHONE_COUNTRY = "phoneCountry"; + @SerializedName(SERIALIZED_NAME_PHONE_COUNTRY) + private PhoneCountryEnum phoneCountry; + + public EmergencyAddressDto() { + } + + public EmergencyAddressDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public EmergencyAddressDto address1(String address1) { + + this.address1 = address1; + return this; + } + + /** + * Get address1 + * @return address1 + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getAddress1() { + return address1; + } + + + public void setAddress1(String address1) { + this.address1 = address1; + } + + + public EmergencyAddressDto phoneCountry(PhoneCountryEnum phoneCountry) { + + this.phoneCountry = phoneCountry; + return this; + } + + /** + * Get phoneCountry + * @return phoneCountry + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public PhoneCountryEnum getPhoneCountry() { + return phoneCountry; + } + + + public void setPhoneCountry(PhoneCountryEnum phoneCountry) { + this.phoneCountry = phoneCountry; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmergencyAddressDto emergencyAddressDto = (EmergencyAddressDto) o; + return Objects.equals(this.id, emergencyAddressDto.id) && + Objects.equals(this.address1, emergencyAddressDto.address1) && + Objects.equals(this.phoneCountry, emergencyAddressDto.phoneCountry); + } + + @Override + public int hashCode() { + return Objects.hash(id, address1, phoneCountry); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmergencyAddressDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" address1: ").append(toIndentedString(address1)).append("\n"); + sb.append(" phoneCountry: ").append(toIndentedString(phoneCountry)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("address1"); + openapiFields.add("phoneCountry"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("address1"); + openapiRequiredFields.add("phoneCountry"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmergencyAddressDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmergencyAddressDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmergencyAddressDto is not found in the empty JSON string", EmergencyAddressDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmergencyAddressDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmergencyAddressDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : EmergencyAddressDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("address1").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `address1` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address1").toString())); + } + if (!jsonObj.get("phoneCountry").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneCountry` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneCountry").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmergencyAddressDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmergencyAddressDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmergencyAddressDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmergencyAddressDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmergencyAddressDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmergencyAddressDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmergencyAddressDto + * @throws IOException if the JSON string is invalid with respect to EmergencyAddressDto + */ + public static EmergencyAddressDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmergencyAddressDto.class); + } + + /** + * Convert an instance of EmergencyAddressDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/EmptyResponseDto.java b/src/main/java/com/mailslurp/models/EmptyResponseDto.java new file mode 100644 index 000000000..554e4adba --- /dev/null +++ b/src/main/java/com/mailslurp/models/EmptyResponseDto.java @@ -0,0 +1,208 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * EmptyResponseDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class EmptyResponseDto { + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public EmptyResponseDto() { + } + + public EmptyResponseDto message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmptyResponseDto emptyResponseDto = (EmptyResponseDto) o; + return Objects.equals(this.message, emptyResponseDto.message); + } + + @Override + public int hashCode() { + return Objects.hash(message); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmptyResponseDto {\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("message"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to EmptyResponseDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!EmptyResponseDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in EmptyResponseDto is not found in the empty JSON string", EmptyResponseDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!EmptyResponseDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EmptyResponseDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EmptyResponseDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EmptyResponseDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(EmptyResponseDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EmptyResponseDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EmptyResponseDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EmptyResponseDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of EmptyResponseDto + * @throws IOException if the JSON string is invalid with respect to EmptyResponseDto + */ + public static EmptyResponseDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EmptyResponseDto.class); + } + + /** + * Convert an instance of EmptyResponseDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ExpirationDefaults.java b/src/main/java/com/mailslurp/models/ExpirationDefaults.java new file mode 100644 index 000000000..bcf54c616 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ExpirationDefaults.java @@ -0,0 +1,348 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Expiration defaults for your account + */ +@ApiModel(description = "Expiration defaults for your account") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ExpirationDefaults { + public static final String SERIALIZED_NAME_DEFAULT_EXPIRATION_MILLIS = "defaultExpirationMillis"; + @SerializedName(SERIALIZED_NAME_DEFAULT_EXPIRATION_MILLIS) + private Long defaultExpirationMillis; + + public static final String SERIALIZED_NAME_MAX_EXPIRATION_MILLIS = "maxExpirationMillis"; + @SerializedName(SERIALIZED_NAME_MAX_EXPIRATION_MILLIS) + private Long maxExpirationMillis; + + public static final String SERIALIZED_NAME_DEFAULT_EXPIRES_AT = "defaultExpiresAt"; + @SerializedName(SERIALIZED_NAME_DEFAULT_EXPIRES_AT) + private OffsetDateTime defaultExpiresAt; + + public static final String SERIALIZED_NAME_CAN_PERMANENT_INBOX = "canPermanentInbox"; + @SerializedName(SERIALIZED_NAME_CAN_PERMANENT_INBOX) + private Boolean canPermanentInbox; + + public static final String SERIALIZED_NAME_NEXT_INBOX_ALLOWS_PERMANENT = "nextInboxAllowsPermanent"; + @SerializedName(SERIALIZED_NAME_NEXT_INBOX_ALLOWS_PERMANENT) + private Boolean nextInboxAllowsPermanent; + + public ExpirationDefaults() { + } + + public ExpirationDefaults defaultExpirationMillis(Long defaultExpirationMillis) { + + this.defaultExpirationMillis = defaultExpirationMillis; + return this; + } + + /** + * Get defaultExpirationMillis + * @return defaultExpirationMillis + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getDefaultExpirationMillis() { + return defaultExpirationMillis; + } + + + public void setDefaultExpirationMillis(Long defaultExpirationMillis) { + this.defaultExpirationMillis = defaultExpirationMillis; + } + + + public ExpirationDefaults maxExpirationMillis(Long maxExpirationMillis) { + + this.maxExpirationMillis = maxExpirationMillis; + return this; + } + + /** + * Get maxExpirationMillis + * @return maxExpirationMillis + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getMaxExpirationMillis() { + return maxExpirationMillis; + } + + + public void setMaxExpirationMillis(Long maxExpirationMillis) { + this.maxExpirationMillis = maxExpirationMillis; + } + + + public ExpirationDefaults defaultExpiresAt(OffsetDateTime defaultExpiresAt) { + + this.defaultExpiresAt = defaultExpiresAt; + return this; + } + + /** + * Get defaultExpiresAt + * @return defaultExpiresAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getDefaultExpiresAt() { + return defaultExpiresAt; + } + + + public void setDefaultExpiresAt(OffsetDateTime defaultExpiresAt) { + this.defaultExpiresAt = defaultExpiresAt; + } + + + public ExpirationDefaults canPermanentInbox(Boolean canPermanentInbox) { + + this.canPermanentInbox = canPermanentInbox; + return this; + } + + /** + * Get canPermanentInbox + * @return canPermanentInbox + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getCanPermanentInbox() { + return canPermanentInbox; + } + + + public void setCanPermanentInbox(Boolean canPermanentInbox) { + this.canPermanentInbox = canPermanentInbox; + } + + + public ExpirationDefaults nextInboxAllowsPermanent(Boolean nextInboxAllowsPermanent) { + + this.nextInboxAllowsPermanent = nextInboxAllowsPermanent; + return this; + } + + /** + * Get nextInboxAllowsPermanent + * @return nextInboxAllowsPermanent + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getNextInboxAllowsPermanent() { + return nextInboxAllowsPermanent; + } + + + public void setNextInboxAllowsPermanent(Boolean nextInboxAllowsPermanent) { + this.nextInboxAllowsPermanent = nextInboxAllowsPermanent; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExpirationDefaults expirationDefaults = (ExpirationDefaults) o; + return Objects.equals(this.defaultExpirationMillis, expirationDefaults.defaultExpirationMillis) && + Objects.equals(this.maxExpirationMillis, expirationDefaults.maxExpirationMillis) && + Objects.equals(this.defaultExpiresAt, expirationDefaults.defaultExpiresAt) && + Objects.equals(this.canPermanentInbox, expirationDefaults.canPermanentInbox) && + Objects.equals(this.nextInboxAllowsPermanent, expirationDefaults.nextInboxAllowsPermanent); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(defaultExpirationMillis, maxExpirationMillis, defaultExpiresAt, canPermanentInbox, nextInboxAllowsPermanent); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ExpirationDefaults {\n"); + sb.append(" defaultExpirationMillis: ").append(toIndentedString(defaultExpirationMillis)).append("\n"); + sb.append(" maxExpirationMillis: ").append(toIndentedString(maxExpirationMillis)).append("\n"); + sb.append(" defaultExpiresAt: ").append(toIndentedString(defaultExpiresAt)).append("\n"); + sb.append(" canPermanentInbox: ").append(toIndentedString(canPermanentInbox)).append("\n"); + sb.append(" nextInboxAllowsPermanent: ").append(toIndentedString(nextInboxAllowsPermanent)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("defaultExpirationMillis"); + openapiFields.add("maxExpirationMillis"); + openapiFields.add("defaultExpiresAt"); + openapiFields.add("canPermanentInbox"); + openapiFields.add("nextInboxAllowsPermanent"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("canPermanentInbox"); + openapiRequiredFields.add("nextInboxAllowsPermanent"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ExpirationDefaults + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ExpirationDefaults.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ExpirationDefaults is not found in the empty JSON string", ExpirationDefaults.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ExpirationDefaults.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ExpirationDefaults` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ExpirationDefaults.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ExpirationDefaults.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ExpirationDefaults' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ExpirationDefaults.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ExpirationDefaults value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ExpirationDefaults read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ExpirationDefaults given an JSON string + * + * @param jsonString JSON string + * @return An instance of ExpirationDefaults + * @throws IOException if the JSON string is invalid with respect to ExpirationDefaults + */ + public static ExpirationDefaults fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ExpirationDefaults.class); + } + + /** + * Convert an instance of ExpirationDefaults to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ExpiredInboxDto.java b/src/main/java/com/mailslurp/models/ExpiredInboxDto.java new file mode 100644 index 000000000..e5f668558 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ExpiredInboxDto.java @@ -0,0 +1,286 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Expired inbox + */ +@ApiModel(description = "Expired inbox") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ExpiredInboxDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public ExpiredInboxDto() { + } + + public ExpiredInboxDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ExpiredInboxDto inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public ExpiredInboxDto emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExpiredInboxDto expiredInboxDto = (ExpiredInboxDto) o; + return Objects.equals(this.id, expiredInboxDto.id) && + Objects.equals(this.inboxId, expiredInboxDto.inboxId) && + Objects.equals(this.emailAddress, expiredInboxDto.emailAddress); + } + + @Override + public int hashCode() { + return Objects.hash(id, inboxId, emailAddress); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ExpiredInboxDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("inboxId"); + openapiFields.add("emailAddress"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("emailAddress"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ExpiredInboxDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ExpiredInboxDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ExpiredInboxDto is not found in the empty JSON string", ExpiredInboxDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ExpiredInboxDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ExpiredInboxDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ExpiredInboxDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ExpiredInboxDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ExpiredInboxDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ExpiredInboxDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ExpiredInboxDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ExpiredInboxDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ExpiredInboxDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of ExpiredInboxDto + * @throws IOException if the JSON string is invalid with respect to ExpiredInboxDto + */ + public static ExpiredInboxDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ExpiredInboxDto.class); + } + + /** + * Convert an instance of ExpiredInboxDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ExpiredInboxRecordProjection.java b/src/main/java/com/mailslurp/models/ExpiredInboxRecordProjection.java new file mode 100644 index 000000000..3908eae20 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ExpiredInboxRecordProjection.java @@ -0,0 +1,318 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Record of inbox expiration + */ +@ApiModel(description = "Record of inbox expiration") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ExpiredInboxRecordProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public ExpiredInboxRecordProjection() { + } + + public ExpiredInboxRecordProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ExpiredInboxRecordProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public ExpiredInboxRecordProjection emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public ExpiredInboxRecordProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExpiredInboxRecordProjection expiredInboxRecordProjection = (ExpiredInboxRecordProjection) o; + return Objects.equals(this.id, expiredInboxRecordProjection.id) && + Objects.equals(this.userId, expiredInboxRecordProjection.userId) && + Objects.equals(this.emailAddress, expiredInboxRecordProjection.emailAddress) && + Objects.equals(this.createdAt, expiredInboxRecordProjection.createdAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, emailAddress, createdAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ExpiredInboxRecordProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("emailAddress"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("emailAddress"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ExpiredInboxRecordProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ExpiredInboxRecordProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ExpiredInboxRecordProjection is not found in the empty JSON string", ExpiredInboxRecordProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ExpiredInboxRecordProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ExpiredInboxRecordProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ExpiredInboxRecordProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ExpiredInboxRecordProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ExpiredInboxRecordProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ExpiredInboxRecordProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ExpiredInboxRecordProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ExpiredInboxRecordProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ExpiredInboxRecordProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of ExpiredInboxRecordProjection + * @throws IOException if the JSON string is invalid with respect to ExpiredInboxRecordProjection + */ + public static ExpiredInboxRecordProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ExpiredInboxRecordProjection.class); + } + + /** + * Convert an instance of ExpiredInboxRecordProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ExportLink.java b/src/main/java/com/mailslurp/models/ExportLink.java new file mode 100644 index 000000000..96b8b8a9d --- /dev/null +++ b/src/main/java/com/mailslurp/models/ExportLink.java @@ -0,0 +1,217 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Export download link + */ +@ApiModel(description = "Export download link") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ExportLink { + public static final String SERIALIZED_NAME_DOWNLOAD_LINK = "downloadLink"; + @SerializedName(SERIALIZED_NAME_DOWNLOAD_LINK) + private String downloadLink; + + public ExportLink() { + } + + public ExportLink downloadLink(String downloadLink) { + + this.downloadLink = downloadLink; + return this; + } + + /** + * Get downloadLink + * @return downloadLink + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getDownloadLink() { + return downloadLink; + } + + + public void setDownloadLink(String downloadLink) { + this.downloadLink = downloadLink; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExportLink exportLink = (ExportLink) o; + return Objects.equals(this.downloadLink, exportLink.downloadLink); + } + + @Override + public int hashCode() { + return Objects.hash(downloadLink); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ExportLink {\n"); + sb.append(" downloadLink: ").append(toIndentedString(downloadLink)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("downloadLink"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("downloadLink"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ExportLink + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ExportLink.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ExportLink is not found in the empty JSON string", ExportLink.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ExportLink.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ExportLink` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ExportLink.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("downloadLink").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `downloadLink` to be a primitive type in the JSON string but got `%s`", jsonObj.get("downloadLink").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ExportLink.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ExportLink' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ExportLink.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ExportLink value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ExportLink read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ExportLink given an JSON string + * + * @param jsonString JSON string + * @return An instance of ExportLink + * @throws IOException if the JSON string is invalid with respect to ExportLink + */ + public static ExportLink fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ExportLink.class); + } + + /** + * Convert an instance of ExportLink to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ExportOptions.java b/src/main/java/com/mailslurp/models/ExportOptions.java new file mode 100644 index 000000000..29ac790f2 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ExportOptions.java @@ -0,0 +1,433 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for exporting user data + */ +@ApiModel(description = "Options for exporting user data") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ExportOptions { + /** + * Gets or Sets outputFormat + */ + @JsonAdapter(OutputFormatEnum.Adapter.class) + public enum OutputFormatEnum { + DEFAULT("CSV_DEFAULT"), + + EXCEL("CSV_EXCEL"); + + private String value; + + OutputFormatEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static OutputFormatEnum fromValue(String value) { + for (OutputFormatEnum b : OutputFormatEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final OutputFormatEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public OutputFormatEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return OutputFormatEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_OUTPUT_FORMAT = "outputFormat"; + @SerializedName(SERIALIZED_NAME_OUTPUT_FORMAT) + private OutputFormatEnum outputFormat; + + public static final String SERIALIZED_NAME_EXCLUDE_PREVIOUSLY_EXPORTED = "excludePreviouslyExported"; + @SerializedName(SERIALIZED_NAME_EXCLUDE_PREVIOUSLY_EXPORTED) + private Boolean excludePreviouslyExported; + + public static final String SERIALIZED_NAME_CREATED_EARLIEST_TIME = "createdEarliestTime"; + @SerializedName(SERIALIZED_NAME_CREATED_EARLIEST_TIME) + private OffsetDateTime createdEarliestTime; + + public static final String SERIALIZED_NAME_CREATED_OLDEST_TIME = "createdOldestTime"; + @SerializedName(SERIALIZED_NAME_CREATED_OLDEST_TIME) + private OffsetDateTime createdOldestTime; + + public static final String SERIALIZED_NAME_FILTER = "filter"; + @SerializedName(SERIALIZED_NAME_FILTER) + private String filter; + + public static final String SERIALIZED_NAME_LIST_SEPARATOR_TOKEN = "listSeparatorToken"; + @SerializedName(SERIALIZED_NAME_LIST_SEPARATOR_TOKEN) + private String listSeparatorToken; + + public ExportOptions() { + } + + public ExportOptions outputFormat(OutputFormatEnum outputFormat) { + + this.outputFormat = outputFormat; + return this; + } + + /** + * Get outputFormat + * @return outputFormat + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OutputFormatEnum getOutputFormat() { + return outputFormat; + } + + + public void setOutputFormat(OutputFormatEnum outputFormat) { + this.outputFormat = outputFormat; + } + + + public ExportOptions excludePreviouslyExported(Boolean excludePreviouslyExported) { + + this.excludePreviouslyExported = excludePreviouslyExported; + return this; + } + + /** + * Get excludePreviouslyExported + * @return excludePreviouslyExported + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getExcludePreviouslyExported() { + return excludePreviouslyExported; + } + + + public void setExcludePreviouslyExported(Boolean excludePreviouslyExported) { + this.excludePreviouslyExported = excludePreviouslyExported; + } + + + public ExportOptions createdEarliestTime(OffsetDateTime createdEarliestTime) { + + this.createdEarliestTime = createdEarliestTime; + return this; + } + + /** + * Get createdEarliestTime + * @return createdEarliestTime + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getCreatedEarliestTime() { + return createdEarliestTime; + } + + + public void setCreatedEarliestTime(OffsetDateTime createdEarliestTime) { + this.createdEarliestTime = createdEarliestTime; + } + + + public ExportOptions createdOldestTime(OffsetDateTime createdOldestTime) { + + this.createdOldestTime = createdOldestTime; + return this; + } + + /** + * Get createdOldestTime + * @return createdOldestTime + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getCreatedOldestTime() { + return createdOldestTime; + } + + + public void setCreatedOldestTime(OffsetDateTime createdOldestTime) { + this.createdOldestTime = createdOldestTime; + } + + + public ExportOptions filter(String filter) { + + this.filter = filter; + return this; + } + + /** + * Get filter + * @return filter + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getFilter() { + return filter; + } + + + public void setFilter(String filter) { + this.filter = filter; + } + + + public ExportOptions listSeparatorToken(String listSeparatorToken) { + + this.listSeparatorToken = listSeparatorToken; + return this; + } + + /** + * Get listSeparatorToken + * @return listSeparatorToken + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getListSeparatorToken() { + return listSeparatorToken; + } + + + public void setListSeparatorToken(String listSeparatorToken) { + this.listSeparatorToken = listSeparatorToken; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExportOptions exportOptions = (ExportOptions) o; + return Objects.equals(this.outputFormat, exportOptions.outputFormat) && + Objects.equals(this.excludePreviouslyExported, exportOptions.excludePreviouslyExported) && + Objects.equals(this.createdEarliestTime, exportOptions.createdEarliestTime) && + Objects.equals(this.createdOldestTime, exportOptions.createdOldestTime) && + Objects.equals(this.filter, exportOptions.filter) && + Objects.equals(this.listSeparatorToken, exportOptions.listSeparatorToken); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(outputFormat, excludePreviouslyExported, createdEarliestTime, createdOldestTime, filter, listSeparatorToken); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ExportOptions {\n"); + sb.append(" outputFormat: ").append(toIndentedString(outputFormat)).append("\n"); + sb.append(" excludePreviouslyExported: ").append(toIndentedString(excludePreviouslyExported)).append("\n"); + sb.append(" createdEarliestTime: ").append(toIndentedString(createdEarliestTime)).append("\n"); + sb.append(" createdOldestTime: ").append(toIndentedString(createdOldestTime)).append("\n"); + sb.append(" filter: ").append(toIndentedString(filter)).append("\n"); + sb.append(" listSeparatorToken: ").append(toIndentedString(listSeparatorToken)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("outputFormat"); + openapiFields.add("excludePreviouslyExported"); + openapiFields.add("createdEarliestTime"); + openapiFields.add("createdOldestTime"); + openapiFields.add("filter"); + openapiFields.add("listSeparatorToken"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("outputFormat"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ExportOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ExportOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ExportOptions is not found in the empty JSON string", ExportOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ExportOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ExportOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ExportOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("outputFormat").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `outputFormat` to be a primitive type in the JSON string but got `%s`", jsonObj.get("outputFormat").toString())); + } + if ((jsonObj.get("filter") != null && !jsonObj.get("filter").isJsonNull()) && !jsonObj.get("filter").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `filter` to be a primitive type in the JSON string but got `%s`", jsonObj.get("filter").toString())); + } + if ((jsonObj.get("listSeparatorToken") != null && !jsonObj.get("listSeparatorToken").isJsonNull()) && !jsonObj.get("listSeparatorToken").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `listSeparatorToken` to be a primitive type in the JSON string but got `%s`", jsonObj.get("listSeparatorToken").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ExportOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ExportOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ExportOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ExportOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ExportOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ExportOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of ExportOptions + * @throws IOException if the JSON string is invalid with respect to ExportOptions + */ + public static ExportOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ExportOptions.class); + } + + /** + * Convert an instance of ExportOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/FilterBouncedRecipientsOptions.java b/src/main/java/com/mailslurp/models/FilterBouncedRecipientsOptions.java new file mode 100644 index 000000000..b1256ce4e --- /dev/null +++ b/src/main/java/com/mailslurp/models/FilterBouncedRecipientsOptions.java @@ -0,0 +1,227 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for filtering bounced email recipients + */ +@ApiModel(description = "Options for filtering bounced email recipients") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class FilterBouncedRecipientsOptions { + public static final String SERIALIZED_NAME_EMAIL_RECIPIENTS = "emailRecipients"; + @SerializedName(SERIALIZED_NAME_EMAIL_RECIPIENTS) + private List emailRecipients = new ArrayList<>(); + + public FilterBouncedRecipientsOptions() { + } + + public FilterBouncedRecipientsOptions emailRecipients(List emailRecipients) { + + this.emailRecipients = emailRecipients; + return this; + } + + public FilterBouncedRecipientsOptions addEmailRecipientsItem(String emailRecipientsItem) { + this.emailRecipients.add(emailRecipientsItem); + return this; + } + + /** + * Get emailRecipients + * @return emailRecipients + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getEmailRecipients() { + return emailRecipients; + } + + + public void setEmailRecipients(List emailRecipients) { + this.emailRecipients = emailRecipients; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + FilterBouncedRecipientsOptions filterBouncedRecipientsOptions = (FilterBouncedRecipientsOptions) o; + return Objects.equals(this.emailRecipients, filterBouncedRecipientsOptions.emailRecipients); + } + + @Override + public int hashCode() { + return Objects.hash(emailRecipients); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class FilterBouncedRecipientsOptions {\n"); + sb.append(" emailRecipients: ").append(toIndentedString(emailRecipients)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("emailRecipients"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("emailRecipients"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to FilterBouncedRecipientsOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!FilterBouncedRecipientsOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in FilterBouncedRecipientsOptions is not found in the empty JSON string", FilterBouncedRecipientsOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!FilterBouncedRecipientsOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `FilterBouncedRecipientsOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : FilterBouncedRecipientsOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("emailRecipients") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("emailRecipients").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `emailRecipients` to be an array in the JSON string but got `%s`", jsonObj.get("emailRecipients").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!FilterBouncedRecipientsOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'FilterBouncedRecipientsOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(FilterBouncedRecipientsOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, FilterBouncedRecipientsOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public FilterBouncedRecipientsOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of FilterBouncedRecipientsOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of FilterBouncedRecipientsOptions + * @throws IOException if the JSON string is invalid with respect to FilterBouncedRecipientsOptions + */ + public static FilterBouncedRecipientsOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, FilterBouncedRecipientsOptions.class); + } + + /** + * Convert an instance of FilterBouncedRecipientsOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/FilterBouncedRecipientsResult.java b/src/main/java/com/mailslurp/models/FilterBouncedRecipientsResult.java new file mode 100644 index 000000000..afb4f9fe2 --- /dev/null +++ b/src/main/java/com/mailslurp/models/FilterBouncedRecipientsResult.java @@ -0,0 +1,227 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Remaining recipients that were filtered to remove bounced recipients + */ +@ApiModel(description = "Remaining recipients that were filtered to remove bounced recipients") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class FilterBouncedRecipientsResult { + public static final String SERIALIZED_NAME_FILTERED_RECIPIENTS = "filteredRecipients"; + @SerializedName(SERIALIZED_NAME_FILTERED_RECIPIENTS) + private List filteredRecipients = new ArrayList<>(); + + public FilterBouncedRecipientsResult() { + } + + public FilterBouncedRecipientsResult filteredRecipients(List filteredRecipients) { + + this.filteredRecipients = filteredRecipients; + return this; + } + + public FilterBouncedRecipientsResult addFilteredRecipientsItem(String filteredRecipientsItem) { + this.filteredRecipients.add(filteredRecipientsItem); + return this; + } + + /** + * Get filteredRecipients + * @return filteredRecipients + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getFilteredRecipients() { + return filteredRecipients; + } + + + public void setFilteredRecipients(List filteredRecipients) { + this.filteredRecipients = filteredRecipients; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + FilterBouncedRecipientsResult filterBouncedRecipientsResult = (FilterBouncedRecipientsResult) o; + return Objects.equals(this.filteredRecipients, filterBouncedRecipientsResult.filteredRecipients); + } + + @Override + public int hashCode() { + return Objects.hash(filteredRecipients); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class FilterBouncedRecipientsResult {\n"); + sb.append(" filteredRecipients: ").append(toIndentedString(filteredRecipients)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("filteredRecipients"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("filteredRecipients"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to FilterBouncedRecipientsResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!FilterBouncedRecipientsResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in FilterBouncedRecipientsResult is not found in the empty JSON string", FilterBouncedRecipientsResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!FilterBouncedRecipientsResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `FilterBouncedRecipientsResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : FilterBouncedRecipientsResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("filteredRecipients") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("filteredRecipients").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `filteredRecipients` to be an array in the JSON string but got `%s`", jsonObj.get("filteredRecipients").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!FilterBouncedRecipientsResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'FilterBouncedRecipientsResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(FilterBouncedRecipientsResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, FilterBouncedRecipientsResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public FilterBouncedRecipientsResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of FilterBouncedRecipientsResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of FilterBouncedRecipientsResult + * @throws IOException if the JSON string is invalid with respect to FilterBouncedRecipientsResult + */ + public static FilterBouncedRecipientsResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, FilterBouncedRecipientsResult.class); + } + + /** + * Convert an instance of FilterBouncedRecipientsResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/FlushExpiredInboxesResult.java b/src/main/java/com/mailslurp/models/FlushExpiredInboxesResult.java new file mode 100644 index 000000000..7e0963851 --- /dev/null +++ b/src/main/java/com/mailslurp/models/FlushExpiredInboxesResult.java @@ -0,0 +1,260 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Result from calling expire on any inboxes that have applicable expiration dates given current time. + */ +@ApiModel(description = "Result from calling expire on any inboxes that have applicable expiration dates given current time.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class FlushExpiredInboxesResult { + public static final String SERIALIZED_NAME_INBOX_IDS = "inboxIds"; + @SerializedName(SERIALIZED_NAME_INBOX_IDS) + private List inboxIds = new ArrayList<>(); + + public static final String SERIALIZED_NAME_EXPIRE_BEFORE = "expireBefore"; + @SerializedName(SERIALIZED_NAME_EXPIRE_BEFORE) + private OffsetDateTime expireBefore; + + public FlushExpiredInboxesResult() { + } + + public FlushExpiredInboxesResult inboxIds(List inboxIds) { + + this.inboxIds = inboxIds; + return this; + } + + public FlushExpiredInboxesResult addInboxIdsItem(UUID inboxIdsItem) { + this.inboxIds.add(inboxIdsItem); + return this; + } + + /** + * Inbox IDs affected by expiration + * @return inboxIds + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Inbox IDs affected by expiration") + + public List getInboxIds() { + return inboxIds; + } + + + public void setInboxIds(List inboxIds) { + this.inboxIds = inboxIds; + } + + + public FlushExpiredInboxesResult expireBefore(OffsetDateTime expireBefore) { + + this.expireBefore = expireBefore; + return this; + } + + /** + * DateTime to filter inboxes so that those expiring before this time are expired + * @return expireBefore + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "DateTime to filter inboxes so that those expiring before this time are expired") + + public OffsetDateTime getExpireBefore() { + return expireBefore; + } + + + public void setExpireBefore(OffsetDateTime expireBefore) { + this.expireBefore = expireBefore; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + FlushExpiredInboxesResult flushExpiredInboxesResult = (FlushExpiredInboxesResult) o; + return Objects.equals(this.inboxIds, flushExpiredInboxesResult.inboxIds) && + Objects.equals(this.expireBefore, flushExpiredInboxesResult.expireBefore); + } + + @Override + public int hashCode() { + return Objects.hash(inboxIds, expireBefore); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class FlushExpiredInboxesResult {\n"); + sb.append(" inboxIds: ").append(toIndentedString(inboxIds)).append("\n"); + sb.append(" expireBefore: ").append(toIndentedString(expireBefore)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("inboxIds"); + openapiFields.add("expireBefore"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("inboxIds"); + openapiRequiredFields.add("expireBefore"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to FlushExpiredInboxesResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!FlushExpiredInboxesResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in FlushExpiredInboxesResult is not found in the empty JSON string", FlushExpiredInboxesResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!FlushExpiredInboxesResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `FlushExpiredInboxesResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : FlushExpiredInboxesResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("inboxIds") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("inboxIds").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxIds` to be an array in the JSON string but got `%s`", jsonObj.get("inboxIds").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!FlushExpiredInboxesResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'FlushExpiredInboxesResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(FlushExpiredInboxesResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, FlushExpiredInboxesResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public FlushExpiredInboxesResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of FlushExpiredInboxesResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of FlushExpiredInboxesResult + * @throws IOException if the JSON string is invalid with respect to FlushExpiredInboxesResult + */ + public static FlushExpiredInboxesResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, FlushExpiredInboxesResult.class); + } + + /** + * Convert an instance of FlushExpiredInboxesResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ForwardEmailOptions.java b/src/main/java/com/mailslurp/models/ForwardEmailOptions.java new file mode 100644 index 000000000..70142cd73 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ForwardEmailOptions.java @@ -0,0 +1,449 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for forwarding an email + */ +@ApiModel(description = "Options for forwarding an email") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ForwardEmailOptions { + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = new ArrayList<>(); + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_CC = "cc"; + @SerializedName(SERIALIZED_NAME_CC) + private List cc = null; + + public static final String SERIALIZED_NAME_BCC = "bcc"; + @SerializedName(SERIALIZED_NAME_BCC) + private List bcc = null; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_USE_INBOX_NAME = "useInboxName"; + @SerializedName(SERIALIZED_NAME_USE_INBOX_NAME) + private Boolean useInboxName; + + public static final String SERIALIZED_NAME_FILTER_BOUNCED_RECIPIENTS = "filterBouncedRecipients"; + @SerializedName(SERIALIZED_NAME_FILTER_BOUNCED_RECIPIENTS) + private Boolean filterBouncedRecipients; + + public ForwardEmailOptions() { + } + + public ForwardEmailOptions to(List to) { + + this.to = to; + return this; + } + + public ForwardEmailOptions addToItem(String toItem) { + this.to.add(toItem); + return this; + } + + /** + * To recipients for forwarded email + * @return to + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "To recipients for forwarded email") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + public ForwardEmailOptions subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Subject for forwarded email + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Subject for forwarded email") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public ForwardEmailOptions cc(List cc) { + + this.cc = cc; + return this; + } + + public ForwardEmailOptions addCcItem(String ccItem) { + if (this.cc == null) { + this.cc = new ArrayList<>(); + } + this.cc.add(ccItem); + return this; + } + + /** + * Optional cc recipients + * @return cc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional cc recipients") + + public List getCc() { + return cc; + } + + + public void setCc(List cc) { + this.cc = cc; + } + + + public ForwardEmailOptions bcc(List bcc) { + + this.bcc = bcc; + return this; + } + + public ForwardEmailOptions addBccItem(String bccItem) { + if (this.bcc == null) { + this.bcc = new ArrayList<>(); + } + this.bcc.add(bccItem); + return this; + } + + /** + * Optional bcc recipients + * @return bcc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional bcc recipients") + + public List getBcc() { + return bcc; + } + + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + + public ForwardEmailOptions from(String from) { + + this.from = from; + return this; + } + + /** + * Optional from override + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional from override") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public ForwardEmailOptions useInboxName(Boolean useInboxName) { + + this.useInboxName = useInboxName; + return this; + } + + /** + * Optionally use inbox name as display name for sender email address + * @return useInboxName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optionally use inbox name as display name for sender email address") + + public Boolean getUseInboxName() { + return useInboxName; + } + + + public void setUseInboxName(Boolean useInboxName) { + this.useInboxName = useInboxName; + } + + + public ForwardEmailOptions filterBouncedRecipients(Boolean filterBouncedRecipients) { + + this.filterBouncedRecipients = filterBouncedRecipients; + return this; + } + + /** + * Filter recipients to remove any bounced recipients from to, bcc, and cc before sending + * @return filterBouncedRecipients + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Filter recipients to remove any bounced recipients from to, bcc, and cc before sending") + + public Boolean getFilterBouncedRecipients() { + return filterBouncedRecipients; + } + + + public void setFilterBouncedRecipients(Boolean filterBouncedRecipients) { + this.filterBouncedRecipients = filterBouncedRecipients; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ForwardEmailOptions forwardEmailOptions = (ForwardEmailOptions) o; + return Objects.equals(this.to, forwardEmailOptions.to) && + Objects.equals(this.subject, forwardEmailOptions.subject) && + Objects.equals(this.cc, forwardEmailOptions.cc) && + Objects.equals(this.bcc, forwardEmailOptions.bcc) && + Objects.equals(this.from, forwardEmailOptions.from) && + Objects.equals(this.useInboxName, forwardEmailOptions.useInboxName) && + Objects.equals(this.filterBouncedRecipients, forwardEmailOptions.filterBouncedRecipients); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(to, subject, cc, bcc, from, useInboxName, filterBouncedRecipients); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ForwardEmailOptions {\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" useInboxName: ").append(toIndentedString(useInboxName)).append("\n"); + sb.append(" filterBouncedRecipients: ").append(toIndentedString(filterBouncedRecipients)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("to"); + openapiFields.add("subject"); + openapiFields.add("cc"); + openapiFields.add("bcc"); + openapiFields.add("from"); + openapiFields.add("useInboxName"); + openapiFields.add("filterBouncedRecipients"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("to"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ForwardEmailOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ForwardEmailOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ForwardEmailOptions is not found in the empty JSON string", ForwardEmailOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ForwardEmailOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ForwardEmailOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ForwardEmailOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("to") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("cc") != null && !jsonObj.get("cc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cc` to be an array in the JSON string but got `%s`", jsonObj.get("cc").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bcc") != null && !jsonObj.get("bcc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bcc` to be an array in the JSON string but got `%s`", jsonObj.get("bcc").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ForwardEmailOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ForwardEmailOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ForwardEmailOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ForwardEmailOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ForwardEmailOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ForwardEmailOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of ForwardEmailOptions + * @throws IOException if the JSON string is invalid with respect to ForwardEmailOptions + */ + public static ForwardEmailOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ForwardEmailOptions.class); + } + + /** + * Convert an instance of ForwardEmailOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/GravatarUrl.java b/src/main/java/com/mailslurp/models/GravatarUrl.java new file mode 100644 index 000000000..096dda158 --- /dev/null +++ b/src/main/java/com/mailslurp/models/GravatarUrl.java @@ -0,0 +1,251 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * User image + */ +@ApiModel(description = "User image") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class GravatarUrl { + public static final String SERIALIZED_NAME_URL = "url"; + @SerializedName(SERIALIZED_NAME_URL) + private String url; + + public static final String SERIALIZED_NAME_HASH = "hash"; + @SerializedName(SERIALIZED_NAME_HASH) + private String hash; + + public GravatarUrl() { + } + + public GravatarUrl url(String url) { + + this.url = url; + return this; + } + + /** + * Get url + * @return url + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getUrl() { + return url; + } + + + public void setUrl(String url) { + this.url = url; + } + + + public GravatarUrl hash(String hash) { + + this.hash = hash; + return this; + } + + /** + * Get hash + * @return hash + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getHash() { + return hash; + } + + + public void setHash(String hash) { + this.hash = hash; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GravatarUrl gravatarUrl = (GravatarUrl) o; + return Objects.equals(this.url, gravatarUrl.url) && + Objects.equals(this.hash, gravatarUrl.hash); + } + + @Override + public int hashCode() { + return Objects.hash(url, hash); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GravatarUrl {\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" hash: ").append(toIndentedString(hash)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("url"); + openapiFields.add("hash"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("url"); + openapiRequiredFields.add("hash"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to GravatarUrl + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!GravatarUrl.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GravatarUrl is not found in the empty JSON string", GravatarUrl.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!GravatarUrl.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GravatarUrl` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : GravatarUrl.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("url").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); + } + if (!jsonObj.get("hash").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `hash` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hash").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GravatarUrl.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GravatarUrl' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GravatarUrl.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GravatarUrl value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GravatarUrl read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GravatarUrl given an JSON string + * + * @param jsonString JSON string + * @return An instance of GravatarUrl + * @throws IOException if the JSON string is invalid with respect to GravatarUrl + */ + public static GravatarUrl fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GravatarUrl.class); + } + + /** + * Convert an instance of GravatarUrl to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/GroupContactsDto.java b/src/main/java/com/mailslurp/models/GroupContactsDto.java new file mode 100644 index 000000000..b29b7a995 --- /dev/null +++ b/src/main/java/com/mailslurp/models/GroupContactsDto.java @@ -0,0 +1,266 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ContactDto; +import com.mailslurp.models.GroupDto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Describes contacts attached to a contact group + */ +@ApiModel(description = "Describes contacts attached to a contact group") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class GroupContactsDto { + public static final String SERIALIZED_NAME_GROUP = "group"; + @SerializedName(SERIALIZED_NAME_GROUP) + private GroupDto group; + + public static final String SERIALIZED_NAME_CONTACTS = "contacts"; + @SerializedName(SERIALIZED_NAME_CONTACTS) + private List contacts = new ArrayList<>(); + + public GroupContactsDto() { + } + + public GroupContactsDto group(GroupDto group) { + + this.group = group; + return this; + } + + /** + * Get group + * @return group + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public GroupDto getGroup() { + return group; + } + + + public void setGroup(GroupDto group) { + this.group = group; + } + + + public GroupContactsDto contacts(List contacts) { + + this.contacts = contacts; + return this; + } + + public GroupContactsDto addContactsItem(ContactDto contactsItem) { + this.contacts.add(contactsItem); + return this; + } + + /** + * Get contacts + * @return contacts + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getContacts() { + return contacts; + } + + + public void setContacts(List contacts) { + this.contacts = contacts; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GroupContactsDto groupContactsDto = (GroupContactsDto) o; + return Objects.equals(this.group, groupContactsDto.group) && + Objects.equals(this.contacts, groupContactsDto.contacts); + } + + @Override + public int hashCode() { + return Objects.hash(group, contacts); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GroupContactsDto {\n"); + sb.append(" group: ").append(toIndentedString(group)).append("\n"); + sb.append(" contacts: ").append(toIndentedString(contacts)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("group"); + openapiFields.add("contacts"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("group"); + openapiRequiredFields.add("contacts"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to GroupContactsDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!GroupContactsDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GroupContactsDto is not found in the empty JSON string", GroupContactsDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!GroupContactsDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GroupContactsDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : GroupContactsDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // validate the required field `group` + GroupDto.validateJsonObject(jsonObj.getAsJsonObject("group")); + // ensure the json data is an array + if (!jsonObj.get("contacts").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `contacts` to be an array in the JSON string but got `%s`", jsonObj.get("contacts").toString())); + } + + JsonArray jsonArraycontacts = jsonObj.getAsJsonArray("contacts"); + // validate the required field `contacts` (array) + for (int i = 0; i < jsonArraycontacts.size(); i++) { + ContactDto.validateJsonObject(jsonArraycontacts.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GroupContactsDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GroupContactsDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GroupContactsDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GroupContactsDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GroupContactsDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GroupContactsDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of GroupContactsDto + * @throws IOException if the JSON string is invalid with respect to GroupContactsDto + */ + public static GroupContactsDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GroupContactsDto.class); + } + + /** + * Convert an instance of GroupContactsDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/GroupDto.java b/src/main/java/com/mailslurp/models/GroupDto.java new file mode 100644 index 000000000..254c1c389 --- /dev/null +++ b/src/main/java/com/mailslurp/models/GroupDto.java @@ -0,0 +1,329 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Contact group data + */ +@ApiModel(description = "Contact group data") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class GroupDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public GroupDto() { + } + + public GroupDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public GroupDto name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public GroupDto description(String description) { + + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public GroupDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GroupDto groupDto = (GroupDto) o; + return Objects.equals(this.id, groupDto.id) && + Objects.equals(this.name, groupDto.name) && + Objects.equals(this.description, groupDto.description) && + Objects.equals(this.createdAt, groupDto.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, name, description, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GroupDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("name"); + openapiFields.add("description"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to GroupDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!GroupDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GroupDto is not found in the empty JSON string", GroupDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!GroupDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GroupDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : GroupDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GroupDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GroupDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GroupDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GroupDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GroupDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GroupDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of GroupDto + * @throws IOException if the JSON string is invalid with respect to GroupDto + */ + public static GroupDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GroupDto.class); + } + + /** + * Convert an instance of GroupDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/GroupProjection.java b/src/main/java/com/mailslurp/models/GroupProjection.java new file mode 100644 index 000000000..4ab5ff25f --- /dev/null +++ b/src/main/java/com/mailslurp/models/GroupProjection.java @@ -0,0 +1,329 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Data for contact group + */ +@ApiModel(description = "Data for contact group") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class GroupProjection { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public GroupProjection() { + } + + public GroupProjection name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public GroupProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public GroupProjection description(String description) { + + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public GroupProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GroupProjection groupProjection = (GroupProjection) o; + return Objects.equals(this.name, groupProjection.name) && + Objects.equals(this.id, groupProjection.id) && + Objects.equals(this.description, groupProjection.description) && + Objects.equals(this.createdAt, groupProjection.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(name, id, description, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GroupProjection {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("id"); + openapiFields.add("description"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to GroupProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!GroupProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GroupProjection is not found in the empty JSON string", GroupProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!GroupProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GroupProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : GroupProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GroupProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GroupProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GroupProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GroupProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GroupProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GroupProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of GroupProjection + * @throws IOException if the JSON string is invalid with respect to GroupProjection + */ + public static GroupProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GroupProjection.class); + } + + /** + * Convert an instance of GroupProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/HTMLValidationResult.java b/src/main/java/com/mailslurp/models/HTMLValidationResult.java new file mode 100644 index 000000000..0c6aa3e4d --- /dev/null +++ b/src/main/java/com/mailslurp/models/HTMLValidationResult.java @@ -0,0 +1,309 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ValidationMessage; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * HTML Validation Results + */ +@ApiModel(description = "HTML Validation Results") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class HTMLValidationResult { + public static final String SERIALIZED_NAME_IS_VALID = "isValid"; + @SerializedName(SERIALIZED_NAME_IS_VALID) + private Boolean isValid; + + public static final String SERIALIZED_NAME_ERRORS = "errors"; + @SerializedName(SERIALIZED_NAME_ERRORS) + private List errors = new ArrayList<>(); + + public static final String SERIALIZED_NAME_WARNINGS = "warnings"; + @SerializedName(SERIALIZED_NAME_WARNINGS) + private List warnings = new ArrayList<>(); + + public HTMLValidationResult() { + } + + public HTMLValidationResult isValid(Boolean isValid) { + + this.isValid = isValid; + return this; + } + + /** + * Is HTML validation result valid + * @return isValid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Is HTML validation result valid") + + public Boolean getIsValid() { + return isValid; + } + + + public void setIsValid(Boolean isValid) { + this.isValid = isValid; + } + + + public HTMLValidationResult errors(List errors) { + + this.errors = errors; + return this; + } + + public HTMLValidationResult addErrorsItem(ValidationMessage errorsItem) { + this.errors.add(errorsItem); + return this; + } + + /** + * Optional errors resulting from HTML validation + * @return errors + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Optional errors resulting from HTML validation") + + public List getErrors() { + return errors; + } + + + public void setErrors(List errors) { + this.errors = errors; + } + + + public HTMLValidationResult warnings(List warnings) { + + this.warnings = warnings; + return this; + } + + public HTMLValidationResult addWarningsItem(ValidationMessage warningsItem) { + this.warnings.add(warningsItem); + return this; + } + + /** + * Optional warnings resulting from HTML validation + * @return warnings + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Optional warnings resulting from HTML validation") + + public List getWarnings() { + return warnings; + } + + + public void setWarnings(List warnings) { + this.warnings = warnings; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + HTMLValidationResult htMLValidationResult = (HTMLValidationResult) o; + return Objects.equals(this.isValid, htMLValidationResult.isValid) && + Objects.equals(this.errors, htMLValidationResult.errors) && + Objects.equals(this.warnings, htMLValidationResult.warnings); + } + + @Override + public int hashCode() { + return Objects.hash(isValid, errors, warnings); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class HTMLValidationResult {\n"); + sb.append(" isValid: ").append(toIndentedString(isValid)).append("\n"); + sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); + sb.append(" warnings: ").append(toIndentedString(warnings)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("isValid"); + openapiFields.add("errors"); + openapiFields.add("warnings"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("isValid"); + openapiRequiredFields.add("errors"); + openapiRequiredFields.add("warnings"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to HTMLValidationResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!HTMLValidationResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in HTMLValidationResult is not found in the empty JSON string", HTMLValidationResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!HTMLValidationResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `HTMLValidationResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : HTMLValidationResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("errors").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `errors` to be an array in the JSON string but got `%s`", jsonObj.get("errors").toString())); + } + + JsonArray jsonArrayerrors = jsonObj.getAsJsonArray("errors"); + // validate the required field `errors` (array) + for (int i = 0; i < jsonArrayerrors.size(); i++) { + ValidationMessage.validateJsonObject(jsonArrayerrors.get(i).getAsJsonObject()); + }; + // ensure the json data is an array + if (!jsonObj.get("warnings").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `warnings` to be an array in the JSON string but got `%s`", jsonObj.get("warnings").toString())); + } + + JsonArray jsonArraywarnings = jsonObj.getAsJsonArray("warnings"); + // validate the required field `warnings` (array) + for (int i = 0; i < jsonArraywarnings.size(); i++) { + ValidationMessage.validateJsonObject(jsonArraywarnings.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!HTMLValidationResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'HTMLValidationResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(HTMLValidationResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, HTMLValidationResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public HTMLValidationResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of HTMLValidationResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of HTMLValidationResult + * @throws IOException if the JSON string is invalid with respect to HTMLValidationResult + */ + public static HTMLValidationResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, HTMLValidationResult.class); + } + + /** + * Convert an instance of HTMLValidationResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/IPAddressResult.java b/src/main/java/com/mailslurp/models/IPAddressResult.java new file mode 100644 index 000000000..e3dfcf4f4 --- /dev/null +++ b/src/main/java/com/mailslurp/models/IPAddressResult.java @@ -0,0 +1,251 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * IP Address look up result for a given domain / hostname + */ +@ApiModel(description = "IP Address look up result for a given domain / hostname") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class IPAddressResult { + public static final String SERIALIZED_NAME_ADDRESS = "address"; + @SerializedName(SERIALIZED_NAME_ADDRESS) + private String address; + + public static final String SERIALIZED_NAME_HOSTNAME = "hostname"; + @SerializedName(SERIALIZED_NAME_HOSTNAME) + private String hostname; + + public IPAddressResult() { + } + + public IPAddressResult address(String address) { + + this.address = address; + return this; + } + + /** + * Get address + * @return address + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getAddress() { + return address; + } + + + public void setAddress(String address) { + this.address = address; + } + + + public IPAddressResult hostname(String hostname) { + + this.hostname = hostname; + return this; + } + + /** + * Get hostname + * @return hostname + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getHostname() { + return hostname; + } + + + public void setHostname(String hostname) { + this.hostname = hostname; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IPAddressResult ipAddressResult = (IPAddressResult) o; + return Objects.equals(this.address, ipAddressResult.address) && + Objects.equals(this.hostname, ipAddressResult.hostname); + } + + @Override + public int hashCode() { + return Objects.hash(address, hostname); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IPAddressResult {\n"); + sb.append(" address: ").append(toIndentedString(address)).append("\n"); + sb.append(" hostname: ").append(toIndentedString(hostname)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("address"); + openapiFields.add("hostname"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("address"); + openapiRequiredFields.add("hostname"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to IPAddressResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!IPAddressResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in IPAddressResult is not found in the empty JSON string", IPAddressResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!IPAddressResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `IPAddressResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : IPAddressResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("address").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address").toString())); + } + if (!jsonObj.get("hostname").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `hostname` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hostname").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!IPAddressResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'IPAddressResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(IPAddressResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, IPAddressResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public IPAddressResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of IPAddressResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of IPAddressResult + * @throws IOException if the JSON string is invalid with respect to IPAddressResult + */ + public static IPAddressResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, IPAddressResult.class); + } + + /** + * Convert an instance of IPAddressResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ImapFlagOperationOptions.java b/src/main/java/com/mailslurp/models/ImapFlagOperationOptions.java new file mode 100644 index 000000000..552bf57a0 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ImapFlagOperationOptions.java @@ -0,0 +1,310 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * IMAP operation flags + */ +@ApiModel(description = "IMAP operation flags") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ImapFlagOperationOptions { + /** + * Gets or Sets flagOperation + */ + @JsonAdapter(FlagOperationEnum.Adapter.class) + public enum FlagOperationEnum { + SET_FLAGS("SET_FLAGS"), + + ADD_FLAGS("ADD_FLAGS"), + + REMOVE_FLAGS("REMOVE_FLAGS"); + + private String value; + + FlagOperationEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static FlagOperationEnum fromValue(String value) { + for (FlagOperationEnum b : FlagOperationEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final FlagOperationEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public FlagOperationEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return FlagOperationEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_FLAG_OPERATION = "flagOperation"; + @SerializedName(SERIALIZED_NAME_FLAG_OPERATION) + private FlagOperationEnum flagOperation; + + public static final String SERIALIZED_NAME_FLAGS = "flags"; + @SerializedName(SERIALIZED_NAME_FLAGS) + private List flags = new ArrayList<>(); + + public ImapFlagOperationOptions() { + } + + public ImapFlagOperationOptions flagOperation(FlagOperationEnum flagOperation) { + + this.flagOperation = flagOperation; + return this; + } + + /** + * Get flagOperation + * @return flagOperation + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public FlagOperationEnum getFlagOperation() { + return flagOperation; + } + + + public void setFlagOperation(FlagOperationEnum flagOperation) { + this.flagOperation = flagOperation; + } + + + public ImapFlagOperationOptions flags(List flags) { + + this.flags = flags; + return this; + } + + public ImapFlagOperationOptions addFlagsItem(String flagsItem) { + this.flags.add(flagsItem); + return this; + } + + /** + * Get flags + * @return flags + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getFlags() { + return flags; + } + + + public void setFlags(List flags) { + this.flags = flags; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ImapFlagOperationOptions imapFlagOperationOptions = (ImapFlagOperationOptions) o; + return Objects.equals(this.flagOperation, imapFlagOperationOptions.flagOperation) && + Objects.equals(this.flags, imapFlagOperationOptions.flags); + } + + @Override + public int hashCode() { + return Objects.hash(flagOperation, flags); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ImapFlagOperationOptions {\n"); + sb.append(" flagOperation: ").append(toIndentedString(flagOperation)).append("\n"); + sb.append(" flags: ").append(toIndentedString(flags)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("flagOperation"); + openapiFields.add("flags"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("flagOperation"); + openapiRequiredFields.add("flags"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ImapFlagOperationOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ImapFlagOperationOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ImapFlagOperationOptions is not found in the empty JSON string", ImapFlagOperationOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ImapFlagOperationOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ImapFlagOperationOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ImapFlagOperationOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("flagOperation").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `flagOperation` to be a primitive type in the JSON string but got `%s`", jsonObj.get("flagOperation").toString())); + } + // ensure the required json array is present + if (jsonObj.get("flags") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("flags").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `flags` to be an array in the JSON string but got `%s`", jsonObj.get("flags").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ImapFlagOperationOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ImapFlagOperationOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ImapFlagOperationOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ImapFlagOperationOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ImapFlagOperationOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ImapFlagOperationOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of ImapFlagOperationOptions + * @throws IOException if the JSON string is invalid with respect to ImapFlagOperationOptions + */ + public static ImapFlagOperationOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ImapFlagOperationOptions.class); + } + + /** + * Convert an instance of ImapFlagOperationOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ImapSmtpAccessDetails.java b/src/main/java/com/mailslurp/models/ImapSmtpAccessDetails.java new file mode 100644 index 000000000..d80488df3 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ImapSmtpAccessDetails.java @@ -0,0 +1,582 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Access details for inbox using SMTP or IMAP + */ +@ApiModel(description = "Access details for inbox using SMTP or IMAP") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ImapSmtpAccessDetails { + public static final String SERIALIZED_NAME_SECURE_SMTP_SERVER_HOST = "secureSmtpServerHost"; + @SerializedName(SERIALIZED_NAME_SECURE_SMTP_SERVER_HOST) + private String secureSmtpServerHost; + + public static final String SERIALIZED_NAME_SECURE_SMTP_SERVER_PORT = "secureSmtpServerPort"; + @SerializedName(SERIALIZED_NAME_SECURE_SMTP_SERVER_PORT) + private Integer secureSmtpServerPort; + + public static final String SERIALIZED_NAME_SECURE_SMTP_USERNAME = "secureSmtpUsername"; + @SerializedName(SERIALIZED_NAME_SECURE_SMTP_USERNAME) + private String secureSmtpUsername; + + public static final String SERIALIZED_NAME_SECURE_SMTP_PASSWORD = "secureSmtpPassword"; + @SerializedName(SERIALIZED_NAME_SECURE_SMTP_PASSWORD) + private String secureSmtpPassword; + + public static final String SERIALIZED_NAME_SMTP_SERVER_HOST = "smtpServerHost"; + @SerializedName(SERIALIZED_NAME_SMTP_SERVER_HOST) + private String smtpServerHost; + + public static final String SERIALIZED_NAME_SMTP_SERVER_PORT = "smtpServerPort"; + @SerializedName(SERIALIZED_NAME_SMTP_SERVER_PORT) + private Integer smtpServerPort; + + public static final String SERIALIZED_NAME_SMTP_USERNAME = "smtpUsername"; + @SerializedName(SERIALIZED_NAME_SMTP_USERNAME) + private String smtpUsername; + + public static final String SERIALIZED_NAME_SMTP_PASSWORD = "smtpPassword"; + @SerializedName(SERIALIZED_NAME_SMTP_PASSWORD) + private String smtpPassword; + + public static final String SERIALIZED_NAME_IMAP_SERVER_HOST = "imapServerHost"; + @SerializedName(SERIALIZED_NAME_IMAP_SERVER_HOST) + private String imapServerHost; + + public static final String SERIALIZED_NAME_IMAP_SERVER_PORT = "imapServerPort"; + @SerializedName(SERIALIZED_NAME_IMAP_SERVER_PORT) + private Integer imapServerPort; + + public static final String SERIALIZED_NAME_IMAP_USERNAME = "imapUsername"; + @SerializedName(SERIALIZED_NAME_IMAP_USERNAME) + private String imapUsername; + + public static final String SERIALIZED_NAME_IMAP_PASSWORD = "imapPassword"; + @SerializedName(SERIALIZED_NAME_IMAP_PASSWORD) + private String imapPassword; + + public ImapSmtpAccessDetails() { + } + + public ImapSmtpAccessDetails secureSmtpServerHost(String secureSmtpServerHost) { + + this.secureSmtpServerHost = secureSmtpServerHost; + return this; + } + + /** + * Secure TLS SMTP server host domain + * @return secureSmtpServerHost + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Secure TLS SMTP server host domain") + + public String getSecureSmtpServerHost() { + return secureSmtpServerHost; + } + + + public void setSecureSmtpServerHost(String secureSmtpServerHost) { + this.secureSmtpServerHost = secureSmtpServerHost; + } + + + public ImapSmtpAccessDetails secureSmtpServerPort(Integer secureSmtpServerPort) { + + this.secureSmtpServerPort = secureSmtpServerPort; + return this; + } + + /** + * Secure TLS SMTP server host port + * @return secureSmtpServerPort + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Secure TLS SMTP server host port") + + public Integer getSecureSmtpServerPort() { + return secureSmtpServerPort; + } + + + public void setSecureSmtpServerPort(Integer secureSmtpServerPort) { + this.secureSmtpServerPort = secureSmtpServerPort; + } + + + public ImapSmtpAccessDetails secureSmtpUsername(String secureSmtpUsername) { + + this.secureSmtpUsername = secureSmtpUsername; + return this; + } + + /** + * Secure TLS SMTP username for login + * @return secureSmtpUsername + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Secure TLS SMTP username for login") + + public String getSecureSmtpUsername() { + return secureSmtpUsername; + } + + + public void setSecureSmtpUsername(String secureSmtpUsername) { + this.secureSmtpUsername = secureSmtpUsername; + } + + + public ImapSmtpAccessDetails secureSmtpPassword(String secureSmtpPassword) { + + this.secureSmtpPassword = secureSmtpPassword; + return this; + } + + /** + * Secure TLS SMTP password for login + * @return secureSmtpPassword + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Secure TLS SMTP password for login") + + public String getSecureSmtpPassword() { + return secureSmtpPassword; + } + + + public void setSecureSmtpPassword(String secureSmtpPassword) { + this.secureSmtpPassword = secureSmtpPassword; + } + + + public ImapSmtpAccessDetails smtpServerHost(String smtpServerHost) { + + this.smtpServerHost = smtpServerHost; + return this; + } + + /** + * SMTP server host domain + * @return smtpServerHost + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "SMTP server host domain") + + public String getSmtpServerHost() { + return smtpServerHost; + } + + + public void setSmtpServerHost(String smtpServerHost) { + this.smtpServerHost = smtpServerHost; + } + + + public ImapSmtpAccessDetails smtpServerPort(Integer smtpServerPort) { + + this.smtpServerPort = smtpServerPort; + return this; + } + + /** + * SMTP server host port + * @return smtpServerPort + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "SMTP server host port") + + public Integer getSmtpServerPort() { + return smtpServerPort; + } + + + public void setSmtpServerPort(Integer smtpServerPort) { + this.smtpServerPort = smtpServerPort; + } + + + public ImapSmtpAccessDetails smtpUsername(String smtpUsername) { + + this.smtpUsername = smtpUsername; + return this; + } + + /** + * SMTP username for login + * @return smtpUsername + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "SMTP username for login") + + public String getSmtpUsername() { + return smtpUsername; + } + + + public void setSmtpUsername(String smtpUsername) { + this.smtpUsername = smtpUsername; + } + + + public ImapSmtpAccessDetails smtpPassword(String smtpPassword) { + + this.smtpPassword = smtpPassword; + return this; + } + + /** + * SMTP password for login + * @return smtpPassword + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "SMTP password for login") + + public String getSmtpPassword() { + return smtpPassword; + } + + + public void setSmtpPassword(String smtpPassword) { + this.smtpPassword = smtpPassword; + } + + + public ImapSmtpAccessDetails imapServerHost(String imapServerHost) { + + this.imapServerHost = imapServerHost; + return this; + } + + /** + * IMAP server host domain + * @return imapServerHost + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "IMAP server host domain") + + public String getImapServerHost() { + return imapServerHost; + } + + + public void setImapServerHost(String imapServerHost) { + this.imapServerHost = imapServerHost; + } + + + public ImapSmtpAccessDetails imapServerPort(Integer imapServerPort) { + + this.imapServerPort = imapServerPort; + return this; + } + + /** + * IMAP server host port + * @return imapServerPort + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "IMAP server host port") + + public Integer getImapServerPort() { + return imapServerPort; + } + + + public void setImapServerPort(Integer imapServerPort) { + this.imapServerPort = imapServerPort; + } + + + public ImapSmtpAccessDetails imapUsername(String imapUsername) { + + this.imapUsername = imapUsername; + return this; + } + + /** + * IMAP username for login + * @return imapUsername + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "IMAP username for login") + + public String getImapUsername() { + return imapUsername; + } + + + public void setImapUsername(String imapUsername) { + this.imapUsername = imapUsername; + } + + + public ImapSmtpAccessDetails imapPassword(String imapPassword) { + + this.imapPassword = imapPassword; + return this; + } + + /** + * IMAP password for login + * @return imapPassword + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "IMAP password for login") + + public String getImapPassword() { + return imapPassword; + } + + + public void setImapPassword(String imapPassword) { + this.imapPassword = imapPassword; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ImapSmtpAccessDetails imapSmtpAccessDetails = (ImapSmtpAccessDetails) o; + return Objects.equals(this.secureSmtpServerHost, imapSmtpAccessDetails.secureSmtpServerHost) && + Objects.equals(this.secureSmtpServerPort, imapSmtpAccessDetails.secureSmtpServerPort) && + Objects.equals(this.secureSmtpUsername, imapSmtpAccessDetails.secureSmtpUsername) && + Objects.equals(this.secureSmtpPassword, imapSmtpAccessDetails.secureSmtpPassword) && + Objects.equals(this.smtpServerHost, imapSmtpAccessDetails.smtpServerHost) && + Objects.equals(this.smtpServerPort, imapSmtpAccessDetails.smtpServerPort) && + Objects.equals(this.smtpUsername, imapSmtpAccessDetails.smtpUsername) && + Objects.equals(this.smtpPassword, imapSmtpAccessDetails.smtpPassword) && + Objects.equals(this.imapServerHost, imapSmtpAccessDetails.imapServerHost) && + Objects.equals(this.imapServerPort, imapSmtpAccessDetails.imapServerPort) && + Objects.equals(this.imapUsername, imapSmtpAccessDetails.imapUsername) && + Objects.equals(this.imapPassword, imapSmtpAccessDetails.imapPassword); + } + + @Override + public int hashCode() { + return Objects.hash(secureSmtpServerHost, secureSmtpServerPort, secureSmtpUsername, secureSmtpPassword, smtpServerHost, smtpServerPort, smtpUsername, smtpPassword, imapServerHost, imapServerPort, imapUsername, imapPassword); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ImapSmtpAccessDetails {\n"); + sb.append(" secureSmtpServerHost: ").append(toIndentedString(secureSmtpServerHost)).append("\n"); + sb.append(" secureSmtpServerPort: ").append(toIndentedString(secureSmtpServerPort)).append("\n"); + sb.append(" secureSmtpUsername: ").append(toIndentedString(secureSmtpUsername)).append("\n"); + sb.append(" secureSmtpPassword: ").append(toIndentedString(secureSmtpPassword)).append("\n"); + sb.append(" smtpServerHost: ").append(toIndentedString(smtpServerHost)).append("\n"); + sb.append(" smtpServerPort: ").append(toIndentedString(smtpServerPort)).append("\n"); + sb.append(" smtpUsername: ").append(toIndentedString(smtpUsername)).append("\n"); + sb.append(" smtpPassword: ").append(toIndentedString(smtpPassword)).append("\n"); + sb.append(" imapServerHost: ").append(toIndentedString(imapServerHost)).append("\n"); + sb.append(" imapServerPort: ").append(toIndentedString(imapServerPort)).append("\n"); + sb.append(" imapUsername: ").append(toIndentedString(imapUsername)).append("\n"); + sb.append(" imapPassword: ").append(toIndentedString(imapPassword)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("secureSmtpServerHost"); + openapiFields.add("secureSmtpServerPort"); + openapiFields.add("secureSmtpUsername"); + openapiFields.add("secureSmtpPassword"); + openapiFields.add("smtpServerHost"); + openapiFields.add("smtpServerPort"); + openapiFields.add("smtpUsername"); + openapiFields.add("smtpPassword"); + openapiFields.add("imapServerHost"); + openapiFields.add("imapServerPort"); + openapiFields.add("imapUsername"); + openapiFields.add("imapPassword"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("secureSmtpServerHost"); + openapiRequiredFields.add("secureSmtpServerPort"); + openapiRequiredFields.add("secureSmtpUsername"); + openapiRequiredFields.add("secureSmtpPassword"); + openapiRequiredFields.add("smtpServerHost"); + openapiRequiredFields.add("smtpServerPort"); + openapiRequiredFields.add("smtpUsername"); + openapiRequiredFields.add("smtpPassword"); + openapiRequiredFields.add("imapServerHost"); + openapiRequiredFields.add("imapServerPort"); + openapiRequiredFields.add("imapUsername"); + openapiRequiredFields.add("imapPassword"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ImapSmtpAccessDetails + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ImapSmtpAccessDetails.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ImapSmtpAccessDetails is not found in the empty JSON string", ImapSmtpAccessDetails.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ImapSmtpAccessDetails.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ImapSmtpAccessDetails` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ImapSmtpAccessDetails.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("secureSmtpServerHost").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `secureSmtpServerHost` to be a primitive type in the JSON string but got `%s`", jsonObj.get("secureSmtpServerHost").toString())); + } + if (!jsonObj.get("secureSmtpUsername").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `secureSmtpUsername` to be a primitive type in the JSON string but got `%s`", jsonObj.get("secureSmtpUsername").toString())); + } + if (!jsonObj.get("secureSmtpPassword").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `secureSmtpPassword` to be a primitive type in the JSON string but got `%s`", jsonObj.get("secureSmtpPassword").toString())); + } + if (!jsonObj.get("smtpServerHost").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `smtpServerHost` to be a primitive type in the JSON string but got `%s`", jsonObj.get("smtpServerHost").toString())); + } + if (!jsonObj.get("smtpUsername").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `smtpUsername` to be a primitive type in the JSON string but got `%s`", jsonObj.get("smtpUsername").toString())); + } + if (!jsonObj.get("smtpPassword").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `smtpPassword` to be a primitive type in the JSON string but got `%s`", jsonObj.get("smtpPassword").toString())); + } + if (!jsonObj.get("imapServerHost").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `imapServerHost` to be a primitive type in the JSON string but got `%s`", jsonObj.get("imapServerHost").toString())); + } + if (!jsonObj.get("imapUsername").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `imapUsername` to be a primitive type in the JSON string but got `%s`", jsonObj.get("imapUsername").toString())); + } + if (!jsonObj.get("imapPassword").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `imapPassword` to be a primitive type in the JSON string but got `%s`", jsonObj.get("imapPassword").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ImapSmtpAccessDetails.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ImapSmtpAccessDetails' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ImapSmtpAccessDetails.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ImapSmtpAccessDetails value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ImapSmtpAccessDetails read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ImapSmtpAccessDetails given an JSON string + * + * @param jsonString JSON string + * @return An instance of ImapSmtpAccessDetails + * @throws IOException if the JSON string is invalid with respect to ImapSmtpAccessDetails + */ + public static ImapSmtpAccessDetails fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ImapSmtpAccessDetails.class); + } + + /** + * Convert an instance of ImapSmtpAccessDetails to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxByEmailAddressResult.java b/src/main/java/com/mailslurp/models/InboxByEmailAddressResult.java new file mode 100644 index 000000000..16e95131e --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxByEmailAddressResult.java @@ -0,0 +1,260 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Result of search for inbox by email address + */ +@ApiModel(description = "Result of search for inbox by email address") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxByEmailAddressResult { + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_EXISTS = "exists"; + @SerializedName(SERIALIZED_NAME_EXISTS) + private Boolean exists; + + public InboxByEmailAddressResult() { + } + + public InboxByEmailAddressResult inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public InboxByEmailAddressResult exists(Boolean exists) { + + this.exists = exists; + return this; + } + + /** + * Get exists + * @return exists + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getExists() { + return exists; + } + + + public void setExists(Boolean exists) { + this.exists = exists; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxByEmailAddressResult inboxByEmailAddressResult = (InboxByEmailAddressResult) o; + return Objects.equals(this.inboxId, inboxByEmailAddressResult.inboxId) && + Objects.equals(this.exists, inboxByEmailAddressResult.exists); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(inboxId, exists); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxByEmailAddressResult {\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" exists: ").append(toIndentedString(exists)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("inboxId"); + openapiFields.add("exists"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("exists"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxByEmailAddressResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxByEmailAddressResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxByEmailAddressResult is not found in the empty JSON string", InboxByEmailAddressResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxByEmailAddressResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxByEmailAddressResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxByEmailAddressResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxByEmailAddressResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxByEmailAddressResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxByEmailAddressResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxByEmailAddressResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxByEmailAddressResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxByEmailAddressResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxByEmailAddressResult + * @throws IOException if the JSON string is invalid with respect to InboxByEmailAddressResult + */ + public static InboxByEmailAddressResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxByEmailAddressResult.class); + } + + /** + * Convert an instance of InboxByEmailAddressResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxByNameResult.java b/src/main/java/com/mailslurp/models/InboxByNameResult.java new file mode 100644 index 000000000..4c9ec7a12 --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxByNameResult.java @@ -0,0 +1,260 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Result of search for inbox by name + */ +@ApiModel(description = "Result of search for inbox by name") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxByNameResult { + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_EXISTS = "exists"; + @SerializedName(SERIALIZED_NAME_EXISTS) + private Boolean exists; + + public InboxByNameResult() { + } + + public InboxByNameResult inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public InboxByNameResult exists(Boolean exists) { + + this.exists = exists; + return this; + } + + /** + * Get exists + * @return exists + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getExists() { + return exists; + } + + + public void setExists(Boolean exists) { + this.exists = exists; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxByNameResult inboxByNameResult = (InboxByNameResult) o; + return Objects.equals(this.inboxId, inboxByNameResult.inboxId) && + Objects.equals(this.exists, inboxByNameResult.exists); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(inboxId, exists); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxByNameResult {\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" exists: ").append(toIndentedString(exists)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("inboxId"); + openapiFields.add("exists"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("exists"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxByNameResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxByNameResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxByNameResult is not found in the empty JSON string", InboxByNameResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxByNameResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxByNameResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxByNameResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxByNameResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxByNameResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxByNameResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxByNameResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxByNameResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxByNameResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxByNameResult + * @throws IOException if the JSON string is invalid with respect to InboxByNameResult + */ + public static InboxByNameResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxByNameResult.class); + } + + /** + * Convert an instance of InboxByNameResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxDto.java b/src/main/java/com/mailslurp/models/InboxDto.java new file mode 100644 index 000000000..471c39d76 --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxDto.java @@ -0,0 +1,678 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Representation of a MailSlurp inbox. An inbox has an ID and a real email address. Emails can be sent to or from this email address. Inboxes are either `SMTP` or `HTTP` mailboxes. The default, `HTTP` inboxes, use AWS SES to process emails and are best suited as test email accounts and do not support IMAP or POP3. `SMTP` inboxes use a custom mail server at `mx.mailslurp.com` and support SMTP login, IMAP and POP3. Use the `EmailController` or the `InboxController` methods to send and receive emails and attachments. Inboxes may have a description, name, and tags for display purposes. You can also favourite an inbox for easier searching. + */ +@ApiModel(description = "Representation of a MailSlurp inbox. An inbox has an ID and a real email address. Emails can be sent to or from this email address. Inboxes are either `SMTP` or `HTTP` mailboxes. The default, `HTTP` inboxes, use AWS SES to process emails and are best suited as test email accounts and do not support IMAP or POP3. `SMTP` inboxes use a custom mail server at `mx.mailslurp.com` and support SMTP login, IMAP and POP3. Use the `EmailController` or the `InboxController` methods to send and receive emails and attachments. Inboxes may have a description, name, and tags for display purposes. You can also favourite an inbox for easier searching.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DOMAIN_ID = "domainId"; + @SerializedName(SERIALIZED_NAME_DOMAIN_ID) + private UUID domainId; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_EXPIRES_AT = "expiresAt"; + @SerializedName(SERIALIZED_NAME_EXPIRES_AT) + private String expiresAt; + + public static final String SERIALIZED_NAME_FAVOURITE = "favourite"; + @SerializedName(SERIALIZED_NAME_FAVOURITE) + private Boolean favourite; + + public static final String SERIALIZED_NAME_TAGS = "tags"; + @SerializedName(SERIALIZED_NAME_TAGS) + private List tags = null; + + /** + * Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). + */ + @JsonAdapter(InboxTypeEnum.Adapter.class) + public enum InboxTypeEnum { + HTTP_INBOX("HTTP_INBOX"), + + SMTP_INBOX("SMTP_INBOX"); + + private String value; + + InboxTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static InboxTypeEnum fromValue(String value) { + for (InboxTypeEnum b : InboxTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InboxTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public InboxTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return InboxTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_INBOX_TYPE = "inboxType"; + @SerializedName(SERIALIZED_NAME_INBOX_TYPE) + private InboxTypeEnum inboxType; + + public static final String SERIALIZED_NAME_READ_ONLY = "readOnly"; + @SerializedName(SERIALIZED_NAME_READ_ONLY) + private Boolean readOnly; + + public static final String SERIALIZED_NAME_VIRTUAL_INBOX = "virtualInbox"; + @SerializedName(SERIALIZED_NAME_VIRTUAL_INBOX) + private Boolean virtualInbox; + + public InboxDto() { + } + + public InboxDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically. + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically.") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public InboxDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * ID of user that inbox belongs to + * @return userId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ID of user that inbox belongs to") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public InboxDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`. + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`.") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public InboxDto name(String name) { + + this.name = name; + return this; + } + + /** + * Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public InboxDto domainId(UUID domainId) { + + this.domainId = domainId; + return this; + } + + /** + * ID of custom domain used by the inbox if any + * @return domainId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ID of custom domain used by the inbox if any") + + public UUID getDomainId() { + return domainId; + } + + + public void setDomainId(UUID domainId) { + this.domainId = domainId; + } + + + public InboxDto description(String description) { + + this.description = description; + return this; + } + + /** + * Description of an inbox for labelling and searching purposes + * @return description + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Description of an inbox for labelling and searching purposes") + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public InboxDto emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public InboxDto expiresAt(String expiresAt) { + + this.expiresAt = expiresAt; + return this; + } + + /** + * Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email. + * @return expiresAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email.") + + public String getExpiresAt() { + return expiresAt; + } + + + public void setExpiresAt(String expiresAt) { + this.expiresAt = expiresAt; + } + + + public InboxDto favourite(Boolean favourite) { + + this.favourite = favourite; + return this; + } + + /** + * Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering + * @return favourite + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering") + + public Boolean getFavourite() { + return favourite; + } + + + public void setFavourite(Boolean favourite) { + this.favourite = favourite; + } + + + public InboxDto tags(List tags) { + + this.tags = tags; + return this; + } + + public InboxDto addTagsItem(String tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList<>(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. + * @return tags + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.") + + public List getTags() { + return tags; + } + + + public void setTags(List tags) { + this.tags = tags; + } + + + public InboxDto inboxType(InboxTypeEnum inboxType) { + + this.inboxType = inboxType; + return this; + } + + /** + * Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). + * @return inboxType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send).") + + public InboxTypeEnum getInboxType() { + return inboxType; + } + + + public void setInboxType(InboxTypeEnum inboxType) { + this.inboxType = inboxType; + } + + + public InboxDto readOnly(Boolean readOnly) { + + this.readOnly = readOnly; + return this; + } + + /** + * Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes. + * @return readOnly + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes.") + + public Boolean getReadOnly() { + return readOnly; + } + + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + + public InboxDto virtualInbox(Boolean virtualInbox) { + + this.virtualInbox = virtualInbox; + return this; + } + + /** + * Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions. + * @return virtualInbox + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions.") + + public Boolean getVirtualInbox() { + return virtualInbox; + } + + + public void setVirtualInbox(Boolean virtualInbox) { + this.virtualInbox = virtualInbox; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxDto inboxDto = (InboxDto) o; + return Objects.equals(this.id, inboxDto.id) && + Objects.equals(this.userId, inboxDto.userId) && + Objects.equals(this.createdAt, inboxDto.createdAt) && + Objects.equals(this.name, inboxDto.name) && + Objects.equals(this.domainId, inboxDto.domainId) && + Objects.equals(this.description, inboxDto.description) && + Objects.equals(this.emailAddress, inboxDto.emailAddress) && + Objects.equals(this.expiresAt, inboxDto.expiresAt) && + Objects.equals(this.favourite, inboxDto.favourite) && + Objects.equals(this.tags, inboxDto.tags) && + Objects.equals(this.inboxType, inboxDto.inboxType) && + Objects.equals(this.readOnly, inboxDto.readOnly) && + Objects.equals(this.virtualInbox, inboxDto.virtualInbox); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, createdAt, name, domainId, description, emailAddress, expiresAt, favourite, tags, inboxType, readOnly, virtualInbox); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" domainId: ").append(toIndentedString(domainId)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); + sb.append(" favourite: ").append(toIndentedString(favourite)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append(" inboxType: ").append(toIndentedString(inboxType)).append("\n"); + sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + sb.append(" virtualInbox: ").append(toIndentedString(virtualInbox)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("createdAt"); + openapiFields.add("name"); + openapiFields.add("domainId"); + openapiFields.add("description"); + openapiFields.add("emailAddress"); + openapiFields.add("expiresAt"); + openapiFields.add("favourite"); + openapiFields.add("tags"); + openapiFields.add("inboxType"); + openapiFields.add("readOnly"); + openapiFields.add("virtualInbox"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("emailAddress"); + openapiRequiredFields.add("favourite"); + openapiRequiredFields.add("readOnly"); + openapiRequiredFields.add("virtualInbox"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxDto is not found in the empty JSON string", InboxDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("domainId") != null && !jsonObj.get("domainId").isJsonNull()) && !jsonObj.get("domainId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainId").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if ((jsonObj.get("expiresAt") != null && !jsonObj.get("expiresAt").isJsonNull()) && !jsonObj.get("expiresAt").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `expiresAt` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expiresAt").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); + } + if ((jsonObj.get("inboxType") != null && !jsonObj.get("inboxType").isJsonNull()) && !jsonObj.get("inboxType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxDto + * @throws IOException if the JSON string is invalid with respect to InboxDto + */ + public static InboxDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxDto.class); + } + + /** + * Convert an instance of InboxDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxExistsDto.java b/src/main/java/com/mailslurp/models/InboxExistsDto.java new file mode 100644 index 000000000..b131f6dd0 --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxExistsDto.java @@ -0,0 +1,214 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Result of email exists query + */ +@ApiModel(description = "Result of email exists query") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxExistsDto { + public static final String SERIALIZED_NAME_EXISTS = "exists"; + @SerializedName(SERIALIZED_NAME_EXISTS) + private Boolean exists; + + public InboxExistsDto() { + } + + public InboxExistsDto exists(Boolean exists) { + + this.exists = exists; + return this; + } + + /** + * Get exists + * @return exists + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getExists() { + return exists; + } + + + public void setExists(Boolean exists) { + this.exists = exists; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxExistsDto inboxExistsDto = (InboxExistsDto) o; + return Objects.equals(this.exists, inboxExistsDto.exists); + } + + @Override + public int hashCode() { + return Objects.hash(exists); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxExistsDto {\n"); + sb.append(" exists: ").append(toIndentedString(exists)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("exists"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("exists"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxExistsDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxExistsDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxExistsDto is not found in the empty JSON string", InboxExistsDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxExistsDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxExistsDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxExistsDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxExistsDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxExistsDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxExistsDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxExistsDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxExistsDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxExistsDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxExistsDto + * @throws IOException if the JSON string is invalid with respect to InboxExistsDto + */ + public static InboxExistsDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxExistsDto.class); + } + + /** + * Convert an instance of InboxExistsDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxForwarderDto.java b/src/main/java/com/mailslurp/models/InboxForwarderDto.java new file mode 100644 index 000000000..b183a6d4b --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxForwarderDto.java @@ -0,0 +1,492 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Inbox forwarder. Describes how an inbox will forward matching emails to designated recipients. + */ +@ApiModel(description = "Inbox forwarder. Describes how an inbox will forward matching emails to designated recipients.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxForwarderDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + /** + * Which field to match against + */ + @JsonAdapter(FieldEnum.Adapter.class) + public enum FieldEnum { + RECIPIENTS("RECIPIENTS"), + + SENDER("SENDER"), + + SUBJECT("SUBJECT"), + + ATTACHMENTS("ATTACHMENTS"); + + private String value; + + FieldEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static FieldEnum fromValue(String value) { + for (FieldEnum b : FieldEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final FieldEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public FieldEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return FieldEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_FIELD = "field"; + @SerializedName(SERIALIZED_NAME_FIELD) + private FieldEnum field; + + public static final String SERIALIZED_NAME_MATCH = "match"; + @SerializedName(SERIALIZED_NAME_MATCH) + private String match; + + public static final String SERIALIZED_NAME_FORWARD_TO_RECIPIENTS = "forwardToRecipients"; + @SerializedName(SERIALIZED_NAME_FORWARD_TO_RECIPIENTS) + private List forwardToRecipients = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public InboxForwarderDto() { + } + + public InboxForwarderDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public InboxForwarderDto inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public InboxForwarderDto name(String name) { + + this.name = name; + return this; + } + + /** + * Name of inbox forwarder + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of inbox forwarder") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public InboxForwarderDto field(FieldEnum field) { + + this.field = field; + return this; + } + + /** + * Which field to match against + * @return field + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Which field to match against") + + public FieldEnum getField() { + return field; + } + + + public void setField(FieldEnum field) { + this.field = field; + } + + + public InboxForwarderDto match(String match) { + + this.match = match; + return this; + } + + /** + * Wild-card type pattern to apply to field + * @return match + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Wild-card type pattern to apply to field") + + public String getMatch() { + return match; + } + + + public void setMatch(String match) { + this.match = match; + } + + + public InboxForwarderDto forwardToRecipients(List forwardToRecipients) { + + this.forwardToRecipients = forwardToRecipients; + return this; + } + + public InboxForwarderDto addForwardToRecipientsItem(String forwardToRecipientsItem) { + this.forwardToRecipients.add(forwardToRecipientsItem); + return this; + } + + /** + * Who to send forwarded email to + * @return forwardToRecipients + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Who to send forwarded email to") + + public List getForwardToRecipients() { + return forwardToRecipients; + } + + + public void setForwardToRecipients(List forwardToRecipients) { + this.forwardToRecipients = forwardToRecipients; + } + + + public InboxForwarderDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxForwarderDto inboxForwarderDto = (InboxForwarderDto) o; + return Objects.equals(this.id, inboxForwarderDto.id) && + Objects.equals(this.inboxId, inboxForwarderDto.inboxId) && + Objects.equals(this.name, inboxForwarderDto.name) && + Objects.equals(this.field, inboxForwarderDto.field) && + Objects.equals(this.match, inboxForwarderDto.match) && + Objects.equals(this.forwardToRecipients, inboxForwarderDto.forwardToRecipients) && + Objects.equals(this.createdAt, inboxForwarderDto.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, inboxId, name, field, match, forwardToRecipients, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxForwarderDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" field: ").append(toIndentedString(field)).append("\n"); + sb.append(" match: ").append(toIndentedString(match)).append("\n"); + sb.append(" forwardToRecipients: ").append(toIndentedString(forwardToRecipients)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("inboxId"); + openapiFields.add("name"); + openapiFields.add("field"); + openapiFields.add("match"); + openapiFields.add("forwardToRecipients"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("field"); + openapiRequiredFields.add("match"); + openapiRequiredFields.add("forwardToRecipients"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxForwarderDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxForwarderDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxForwarderDto is not found in the empty JSON string", InboxForwarderDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxForwarderDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxForwarderDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxForwarderDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("field").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `field` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field").toString())); + } + if (!jsonObj.get("match").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `match` to be a primitive type in the JSON string but got `%s`", jsonObj.get("match").toString())); + } + // ensure the required json array is present + if (jsonObj.get("forwardToRecipients") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("forwardToRecipients").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `forwardToRecipients` to be an array in the JSON string but got `%s`", jsonObj.get("forwardToRecipients").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxForwarderDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxForwarderDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxForwarderDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxForwarderDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxForwarderDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxForwarderDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxForwarderDto + * @throws IOException if the JSON string is invalid with respect to InboxForwarderDto + */ + public static InboxForwarderDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxForwarderDto.class); + } + + /** + * Convert an instance of InboxForwarderDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxForwarderEventProjection.java b/src/main/java/com/mailslurp/models/InboxForwarderEventProjection.java new file mode 100644 index 000000000..40b3a4101 --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxForwarderEventProjection.java @@ -0,0 +1,506 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Inbox forwarder event + */ +@ApiModel(description = "Inbox forwarder event") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxForwarderEventProjection { + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + /** + * Gets or Sets status + */ + @JsonAdapter(StatusEnum.Adapter.class) + public enum StatusEnum { + SUCCESS("SUCCESS"), + + FAILURE("FAILURE"); + + private String value; + + StatusEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static StatusEnum fromValue(String value) { + for (StatusEnum b : StatusEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final StatusEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public StatusEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return StatusEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_STATUS = "status"; + @SerializedName(SERIALIZED_NAME_STATUS) + private StatusEnum status; + + public static final String SERIALIZED_NAME_EMAIL_ID = "emailId"; + @SerializedName(SERIALIZED_NAME_EMAIL_ID) + private UUID emailId; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_FORWARDER_ID = "forwarderId"; + @SerializedName(SERIALIZED_NAME_FORWARDER_ID) + private UUID forwarderId; + + public InboxForwarderEventProjection() { + } + + public InboxForwarderEventProjection message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + public InboxForwarderEventProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public InboxForwarderEventProjection status(StatusEnum status) { + + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public StatusEnum getStatus() { + return status; + } + + + public void setStatus(StatusEnum status) { + this.status = status; + } + + + public InboxForwarderEventProjection emailId(UUID emailId) { + + this.emailId = emailId; + return this; + } + + /** + * Get emailId + * @return emailId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getEmailId() { + return emailId; + } + + + public void setEmailId(UUID emailId) { + this.emailId = emailId; + } + + + public InboxForwarderEventProjection inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public InboxForwarderEventProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public InboxForwarderEventProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public InboxForwarderEventProjection forwarderId(UUID forwarderId) { + + this.forwarderId = forwarderId; + return this; + } + + /** + * Get forwarderId + * @return forwarderId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getForwarderId() { + return forwarderId; + } + + + public void setForwarderId(UUID forwarderId) { + this.forwarderId = forwarderId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxForwarderEventProjection inboxForwarderEventProjection = (InboxForwarderEventProjection) o; + return Objects.equals(this.message, inboxForwarderEventProjection.message) && + Objects.equals(this.id, inboxForwarderEventProjection.id) && + Objects.equals(this.status, inboxForwarderEventProjection.status) && + Objects.equals(this.emailId, inboxForwarderEventProjection.emailId) && + Objects.equals(this.inboxId, inboxForwarderEventProjection.inboxId) && + Objects.equals(this.userId, inboxForwarderEventProjection.userId) && + Objects.equals(this.createdAt, inboxForwarderEventProjection.createdAt) && + Objects.equals(this.forwarderId, inboxForwarderEventProjection.forwarderId); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(message, id, status, emailId, inboxId, userId, createdAt, forwarderId); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxForwarderEventProjection {\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" emailId: ").append(toIndentedString(emailId)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" forwarderId: ").append(toIndentedString(forwarderId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("message"); + openapiFields.add("id"); + openapiFields.add("status"); + openapiFields.add("emailId"); + openapiFields.add("inboxId"); + openapiFields.add("userId"); + openapiFields.add("createdAt"); + openapiFields.add("forwarderId"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxForwarderEventProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxForwarderEventProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxForwarderEventProjection is not found in the empty JSON string", InboxForwarderEventProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxForwarderEventProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxForwarderEventProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxForwarderEventProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) && !jsonObj.get("status").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("status").toString())); + } + if ((jsonObj.get("emailId") != null && !jsonObj.get("emailId").isJsonNull()) && !jsonObj.get("emailId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailId").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("forwarderId") != null && !jsonObj.get("forwarderId").isJsonNull()) && !jsonObj.get("forwarderId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forwarderId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forwarderId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxForwarderEventProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxForwarderEventProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxForwarderEventProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxForwarderEventProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxForwarderEventProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxForwarderEventProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxForwarderEventProjection + * @throws IOException if the JSON string is invalid with respect to InboxForwarderEventProjection + */ + public static InboxForwarderEventProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxForwarderEventProjection.class); + } + + /** + * Convert an instance of InboxForwarderEventProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxForwarderTestOptions.java b/src/main/java/com/mailslurp/models/InboxForwarderTestOptions.java new file mode 100644 index 000000000..258304003 --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxForwarderTestOptions.java @@ -0,0 +1,217 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for testing an inbox forwarder against a value + */ +@ApiModel(description = "Options for testing an inbox forwarder against a value") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxForwarderTestOptions { + public static final String SERIALIZED_NAME_TEST_VALUE = "testValue"; + @SerializedName(SERIALIZED_NAME_TEST_VALUE) + private String testValue; + + public InboxForwarderTestOptions() { + } + + public InboxForwarderTestOptions testValue(String testValue) { + + this.testValue = testValue; + return this; + } + + /** + * Get testValue + * @return testValue + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getTestValue() { + return testValue; + } + + + public void setTestValue(String testValue) { + this.testValue = testValue; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxForwarderTestOptions inboxForwarderTestOptions = (InboxForwarderTestOptions) o; + return Objects.equals(this.testValue, inboxForwarderTestOptions.testValue); + } + + @Override + public int hashCode() { + return Objects.hash(testValue); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxForwarderTestOptions {\n"); + sb.append(" testValue: ").append(toIndentedString(testValue)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("testValue"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("testValue"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxForwarderTestOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxForwarderTestOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxForwarderTestOptions is not found in the empty JSON string", InboxForwarderTestOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxForwarderTestOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxForwarderTestOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxForwarderTestOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("testValue").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `testValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("testValue").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxForwarderTestOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxForwarderTestOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxForwarderTestOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxForwarderTestOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxForwarderTestOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxForwarderTestOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxForwarderTestOptions + * @throws IOException if the JSON string is invalid with respect to InboxForwarderTestOptions + */ + public static InboxForwarderTestOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxForwarderTestOptions.class); + } + + /** + * Convert an instance of InboxForwarderTestOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxForwarderTestResult.java b/src/main/java/com/mailslurp/models/InboxForwarderTestResult.java new file mode 100644 index 000000000..33b48d28e --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxForwarderTestResult.java @@ -0,0 +1,252 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Results of inbox forwarder test + */ +@ApiModel(description = "Results of inbox forwarder test") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxForwarderTestResult { + public static final String SERIALIZED_NAME_MATCHES = "matches"; + @SerializedName(SERIALIZED_NAME_MATCHES) + private Map matches = new HashMap<>(); + + public static final String SERIALIZED_NAME_DOES_MATCH = "doesMatch"; + @SerializedName(SERIALIZED_NAME_DOES_MATCH) + private Boolean doesMatch; + + public InboxForwarderTestResult() { + } + + public InboxForwarderTestResult matches(Map matches) { + + this.matches = matches; + return this; + } + + public InboxForwarderTestResult putMatchesItem(String key, Boolean matchesItem) { + this.matches.put(key, matchesItem); + return this; + } + + /** + * Get matches + * @return matches + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Map getMatches() { + return matches; + } + + + public void setMatches(Map matches) { + this.matches = matches; + } + + + public InboxForwarderTestResult doesMatch(Boolean doesMatch) { + + this.doesMatch = doesMatch; + return this; + } + + /** + * Get doesMatch + * @return doesMatch + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getDoesMatch() { + return doesMatch; + } + + + public void setDoesMatch(Boolean doesMatch) { + this.doesMatch = doesMatch; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxForwarderTestResult inboxForwarderTestResult = (InboxForwarderTestResult) o; + return Objects.equals(this.matches, inboxForwarderTestResult.matches) && + Objects.equals(this.doesMatch, inboxForwarderTestResult.doesMatch); + } + + @Override + public int hashCode() { + return Objects.hash(matches, doesMatch); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxForwarderTestResult {\n"); + sb.append(" matches: ").append(toIndentedString(matches)).append("\n"); + sb.append(" doesMatch: ").append(toIndentedString(doesMatch)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("matches"); + openapiFields.add("doesMatch"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("matches"); + openapiRequiredFields.add("doesMatch"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxForwarderTestResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxForwarderTestResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxForwarderTestResult is not found in the empty JSON string", InboxForwarderTestResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxForwarderTestResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxForwarderTestResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxForwarderTestResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxForwarderTestResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxForwarderTestResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxForwarderTestResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxForwarderTestResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxForwarderTestResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxForwarderTestResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxForwarderTestResult + * @throws IOException if the JSON string is invalid with respect to InboxForwarderTestResult + */ + public static InboxForwarderTestResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxForwarderTestResult.class); + } + + /** + * Convert an instance of InboxForwarderTestResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxIdItem.java b/src/main/java/com/mailslurp/models/InboxIdItem.java new file mode 100644 index 000000000..d7d405a47 --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxIdItem.java @@ -0,0 +1,252 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Inbox ID and email address pair + */ +@ApiModel(description = "Inbox ID and email address pair") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxIdItem { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public InboxIdItem() { + } + + public InboxIdItem id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public InboxIdItem emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxIdItem inboxIdItem = (InboxIdItem) o; + return Objects.equals(this.id, inboxIdItem.id) && + Objects.equals(this.emailAddress, inboxIdItem.emailAddress); + } + + @Override + public int hashCode() { + return Objects.hash(id, emailAddress); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxIdItem {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("emailAddress"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("emailAddress"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxIdItem + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxIdItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxIdItem is not found in the empty JSON string", InboxIdItem.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxIdItem.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxIdItem` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxIdItem.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxIdItem.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxIdItem' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxIdItem.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxIdItem value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxIdItem read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxIdItem given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxIdItem + * @throws IOException if the JSON string is invalid with respect to InboxIdItem + */ + public static InboxIdItem fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxIdItem.class); + } + + /** + * Convert an instance of InboxIdItem to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxIdsResult.java b/src/main/java/com/mailslurp/models/InboxIdsResult.java new file mode 100644 index 000000000..659eab1f7 --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxIdsResult.java @@ -0,0 +1,232 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxIdItem; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * List of inbox IDs and email addresses + */ +@ApiModel(description = "List of inbox IDs and email addresses") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxIdsResult { + public static final String SERIALIZED_NAME_INBOX_IDS = "inboxIds"; + @SerializedName(SERIALIZED_NAME_INBOX_IDS) + private List inboxIds = new ArrayList<>(); + + public InboxIdsResult() { + } + + public InboxIdsResult inboxIds(List inboxIds) { + + this.inboxIds = inboxIds; + return this; + } + + public InboxIdsResult addInboxIdsItem(InboxIdItem inboxIdsItem) { + this.inboxIds.add(inboxIdsItem); + return this; + } + + /** + * Get inboxIds + * @return inboxIds + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getInboxIds() { + return inboxIds; + } + + + public void setInboxIds(List inboxIds) { + this.inboxIds = inboxIds; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxIdsResult inboxIdsResult = (InboxIdsResult) o; + return Objects.equals(this.inboxIds, inboxIdsResult.inboxIds); + } + + @Override + public int hashCode() { + return Objects.hash(inboxIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxIdsResult {\n"); + sb.append(" inboxIds: ").append(toIndentedString(inboxIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("inboxIds"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("inboxIds"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxIdsResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxIdsResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxIdsResult is not found in the empty JSON string", InboxIdsResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxIdsResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxIdsResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxIdsResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("inboxIds").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxIds` to be an array in the JSON string but got `%s`", jsonObj.get("inboxIds").toString())); + } + + JsonArray jsonArrayinboxIds = jsonObj.getAsJsonArray("inboxIds"); + // validate the required field `inboxIds` (array) + for (int i = 0; i < jsonArrayinboxIds.size(); i++) { + InboxIdItem.validateJsonObject(jsonArrayinboxIds.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxIdsResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxIdsResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxIdsResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxIdsResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxIdsResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxIdsResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxIdsResult + * @throws IOException if the JSON string is invalid with respect to InboxIdsResult + */ + public static InboxIdsResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxIdsResult.class); + } + + /** + * Convert an instance of InboxIdsResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxPreview.java b/src/main/java/com/mailslurp/models/InboxPreview.java new file mode 100644 index 000000000..635012b87 --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxPreview.java @@ -0,0 +1,611 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Inbox data preview element. + */ +@ApiModel(description = "Inbox data preview element.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxPreview { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_DOMAIN_ID = "domainId"; + @SerializedName(SERIALIZED_NAME_DOMAIN_ID) + private UUID domainId; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_FAVOURITE = "favourite"; + @SerializedName(SERIALIZED_NAME_FAVOURITE) + private Boolean favourite; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_TAGS = "tags"; + @SerializedName(SERIALIZED_NAME_TAGS) + private List tags = null; + + public static final String SERIALIZED_NAME_TEAM_ACCESS = "teamAccess"; + @SerializedName(SERIALIZED_NAME_TEAM_ACCESS) + private Boolean teamAccess; + + /** + * Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). + */ + @JsonAdapter(InboxTypeEnum.Adapter.class) + public enum InboxTypeEnum { + HTTP_INBOX("HTTP_INBOX"), + + SMTP_INBOX("SMTP_INBOX"); + + private String value; + + InboxTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static InboxTypeEnum fromValue(String value) { + for (InboxTypeEnum b : InboxTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InboxTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public InboxTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return InboxTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_INBOX_TYPE = "inboxType"; + @SerializedName(SERIALIZED_NAME_INBOX_TYPE) + private InboxTypeEnum inboxType; + + public static final String SERIALIZED_NAME_VIRTUAL_INBOX = "virtualInbox"; + @SerializedName(SERIALIZED_NAME_VIRTUAL_INBOX) + private Boolean virtualInbox; + + public static final String SERIALIZED_NAME_EXPIRES_AT = "expiresAt"; + @SerializedName(SERIALIZED_NAME_EXPIRES_AT) + private String expiresAt; + + public InboxPreview() { + } + + public InboxPreview id(UUID id) { + + this.id = id; + return this; + } + + /** + * ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically. + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically.") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public InboxPreview domainId(UUID domainId) { + + this.domainId = domainId; + return this; + } + + /** + * ID of custom domain used by the inbox if any + * @return domainId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ID of custom domain used by the inbox if any") + + public UUID getDomainId() { + return domainId; + } + + + public void setDomainId(UUID domainId) { + this.domainId = domainId; + } + + + public InboxPreview emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. + * @return emailAddress + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public InboxPreview createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`. + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`.") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public InboxPreview favourite(Boolean favourite) { + + this.favourite = favourite; + return this; + } + + /** + * Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering + * @return favourite + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering") + + public Boolean getFavourite() { + return favourite; + } + + + public void setFavourite(Boolean favourite) { + this.favourite = favourite; + } + + + public InboxPreview name(String name) { + + this.name = name; + return this; + } + + /** + * Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public InboxPreview tags(List tags) { + + this.tags = tags; + return this; + } + + public InboxPreview addTagsItem(String tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList<>(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. + * @return tags + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.") + + public List getTags() { + return tags; + } + + + public void setTags(List tags) { + this.tags = tags; + } + + + public InboxPreview teamAccess(Boolean teamAccess) { + + this.teamAccess = teamAccess; + return this; + } + + /** + * Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/ + * @return teamAccess + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/") + + public Boolean getTeamAccess() { + return teamAccess; + } + + + public void setTeamAccess(Boolean teamAccess) { + this.teamAccess = teamAccess; + } + + + public InboxPreview inboxType(InboxTypeEnum inboxType) { + + this.inboxType = inboxType; + return this; + } + + /** + * Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). + * @return inboxType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send).") + + public InboxTypeEnum getInboxType() { + return inboxType; + } + + + public void setInboxType(InboxTypeEnum inboxType) { + this.inboxType = inboxType; + } + + + public InboxPreview virtualInbox(Boolean virtualInbox) { + + this.virtualInbox = virtualInbox; + return this; + } + + /** + * Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions. + * @return virtualInbox + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions.") + + public Boolean getVirtualInbox() { + return virtualInbox; + } + + + public void setVirtualInbox(Boolean virtualInbox) { + this.virtualInbox = virtualInbox; + } + + + public InboxPreview expiresAt(String expiresAt) { + + this.expiresAt = expiresAt; + return this; + } + + /** + * Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email. + * @return expiresAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email.") + + public String getExpiresAt() { + return expiresAt; + } + + + public void setExpiresAt(String expiresAt) { + this.expiresAt = expiresAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxPreview inboxPreview = (InboxPreview) o; + return Objects.equals(this.id, inboxPreview.id) && + Objects.equals(this.domainId, inboxPreview.domainId) && + Objects.equals(this.emailAddress, inboxPreview.emailAddress) && + Objects.equals(this.createdAt, inboxPreview.createdAt) && + Objects.equals(this.favourite, inboxPreview.favourite) && + Objects.equals(this.name, inboxPreview.name) && + Objects.equals(this.tags, inboxPreview.tags) && + Objects.equals(this.teamAccess, inboxPreview.teamAccess) && + Objects.equals(this.inboxType, inboxPreview.inboxType) && + Objects.equals(this.virtualInbox, inboxPreview.virtualInbox) && + Objects.equals(this.expiresAt, inboxPreview.expiresAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, domainId, emailAddress, createdAt, favourite, name, tags, teamAccess, inboxType, virtualInbox, expiresAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxPreview {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" domainId: ").append(toIndentedString(domainId)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" favourite: ").append(toIndentedString(favourite)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append(" teamAccess: ").append(toIndentedString(teamAccess)).append("\n"); + sb.append(" inboxType: ").append(toIndentedString(inboxType)).append("\n"); + sb.append(" virtualInbox: ").append(toIndentedString(virtualInbox)).append("\n"); + sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("domainId"); + openapiFields.add("emailAddress"); + openapiFields.add("createdAt"); + openapiFields.add("favourite"); + openapiFields.add("name"); + openapiFields.add("tags"); + openapiFields.add("teamAccess"); + openapiFields.add("inboxType"); + openapiFields.add("virtualInbox"); + openapiFields.add("expiresAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("favourite"); + openapiRequiredFields.add("teamAccess"); + openapiRequiredFields.add("virtualInbox"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxPreview + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxPreview.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxPreview is not found in the empty JSON string", InboxPreview.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxPreview.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxPreview` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxPreview.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("domainId") != null && !jsonObj.get("domainId").isJsonNull()) && !jsonObj.get("domainId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainId").toString())); + } + if ((jsonObj.get("emailAddress") != null && !jsonObj.get("emailAddress").isJsonNull()) && !jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); + } + if ((jsonObj.get("inboxType") != null && !jsonObj.get("inboxType").isJsonNull()) && !jsonObj.get("inboxType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxType").toString())); + } + if ((jsonObj.get("expiresAt") != null && !jsonObj.get("expiresAt").isJsonNull()) && !jsonObj.get("expiresAt").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `expiresAt` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expiresAt").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxPreview.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxPreview' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxPreview.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxPreview value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxPreview read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxPreview given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxPreview + * @throws IOException if the JSON string is invalid with respect to InboxPreview + */ + public static InboxPreview fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxPreview.class); + } + + /** + * Convert an instance of InboxPreview to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxReplierDto.java b/src/main/java/com/mailslurp/models/InboxReplierDto.java new file mode 100644 index 000000000..79da10e5f --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxReplierDto.java @@ -0,0 +1,715 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Inbox replier. Will automatically reply to inbound emails that match given field for an inbox. + */ +@ApiModel(description = "Inbox replier. Will automatically reply to inbound emails that match given field for an inbox.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxReplierDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + /** + * Gets or Sets field + */ + @JsonAdapter(FieldEnum.Adapter.class) + public enum FieldEnum { + RECIPIENTS("RECIPIENTS"), + + SENDER("SENDER"), + + SUBJECT("SUBJECT"), + + ATTACHMENTS("ATTACHMENTS"); + + private String value; + + FieldEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static FieldEnum fromValue(String value) { + for (FieldEnum b : FieldEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final FieldEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public FieldEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return FieldEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_FIELD = "field"; + @SerializedName(SERIALIZED_NAME_FIELD) + private FieldEnum field; + + public static final String SERIALIZED_NAME_MATCH = "match"; + @SerializedName(SERIALIZED_NAME_MATCH) + private String match; + + public static final String SERIALIZED_NAME_REPLY_TO = "replyTo"; + @SerializedName(SERIALIZED_NAME_REPLY_TO) + private String replyTo; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_CHARSET = "charset"; + @SerializedName(SERIALIZED_NAME_CHARSET) + private String charset; + + public static final String SERIALIZED_NAME_IS_H_T_M_L = "isHTML"; + @SerializedName(SERIALIZED_NAME_IS_H_T_M_L) + private Boolean isHTML; + + public static final String SERIALIZED_NAME_TEMPLATE_ID = "templateId"; + @SerializedName(SERIALIZED_NAME_TEMPLATE_ID) + private UUID templateId; + + public static final String SERIALIZED_NAME_TEMPLATE_VARIABLES = "templateVariables"; + @SerializedName(SERIALIZED_NAME_TEMPLATE_VARIABLES) + private Map templateVariables = null; + + public static final String SERIALIZED_NAME_IGNORE_REPLY_TO = "ignoreReplyTo"; + @SerializedName(SERIALIZED_NAME_IGNORE_REPLY_TO) + private Boolean ignoreReplyTo; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public InboxReplierDto() { + } + + public InboxReplierDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public InboxReplierDto inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public InboxReplierDto name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public InboxReplierDto field(FieldEnum field) { + + this.field = field; + return this; + } + + /** + * Get field + * @return field + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public FieldEnum getField() { + return field; + } + + + public void setField(FieldEnum field) { + this.field = field; + } + + + public InboxReplierDto match(String match) { + + this.match = match; + return this; + } + + /** + * Get match + * @return match + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getMatch() { + return match; + } + + + public void setMatch(String match) { + this.match = match; + } + + + public InboxReplierDto replyTo(String replyTo) { + + this.replyTo = replyTo; + return this; + } + + /** + * Get replyTo + * @return replyTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getReplyTo() { + return replyTo; + } + + + public void setReplyTo(String replyTo) { + this.replyTo = replyTo; + } + + + public InboxReplierDto subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public InboxReplierDto from(String from) { + + this.from = from; + return this; + } + + /** + * Get from + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public InboxReplierDto charset(String charset) { + + this.charset = charset; + return this; + } + + /** + * Get charset + * @return charset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getCharset() { + return charset; + } + + + public void setCharset(String charset) { + this.charset = charset; + } + + + public InboxReplierDto isHTML(Boolean isHTML) { + + this.isHTML = isHTML; + return this; + } + + /** + * Get isHTML + * @return isHTML + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getIsHTML() { + return isHTML; + } + + + public void setIsHTML(Boolean isHTML) { + this.isHTML = isHTML; + } + + + public InboxReplierDto templateId(UUID templateId) { + + this.templateId = templateId; + return this; + } + + /** + * Get templateId + * @return templateId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getTemplateId() { + return templateId; + } + + + public void setTemplateId(UUID templateId) { + this.templateId = templateId; + } + + + public InboxReplierDto templateVariables(Map templateVariables) { + + this.templateVariables = templateVariables; + return this; + } + + public InboxReplierDto putTemplateVariablesItem(String key, Object templateVariablesItem) { + if (this.templateVariables == null) { + this.templateVariables = new HashMap<>(); + } + this.templateVariables.put(key, templateVariablesItem); + return this; + } + + /** + * Get templateVariables + * @return templateVariables + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Map getTemplateVariables() { + return templateVariables; + } + + + public void setTemplateVariables(Map templateVariables) { + this.templateVariables = templateVariables; + } + + + public InboxReplierDto ignoreReplyTo(Boolean ignoreReplyTo) { + + this.ignoreReplyTo = ignoreReplyTo; + return this; + } + + /** + * Get ignoreReplyTo + * @return ignoreReplyTo + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getIgnoreReplyTo() { + return ignoreReplyTo; + } + + + public void setIgnoreReplyTo(Boolean ignoreReplyTo) { + this.ignoreReplyTo = ignoreReplyTo; + } + + + public InboxReplierDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxReplierDto inboxReplierDto = (InboxReplierDto) o; + return Objects.equals(this.id, inboxReplierDto.id) && + Objects.equals(this.inboxId, inboxReplierDto.inboxId) && + Objects.equals(this.name, inboxReplierDto.name) && + Objects.equals(this.field, inboxReplierDto.field) && + Objects.equals(this.match, inboxReplierDto.match) && + Objects.equals(this.replyTo, inboxReplierDto.replyTo) && + Objects.equals(this.subject, inboxReplierDto.subject) && + Objects.equals(this.from, inboxReplierDto.from) && + Objects.equals(this.charset, inboxReplierDto.charset) && + Objects.equals(this.isHTML, inboxReplierDto.isHTML) && + Objects.equals(this.templateId, inboxReplierDto.templateId) && + Objects.equals(this.templateVariables, inboxReplierDto.templateVariables) && + Objects.equals(this.ignoreReplyTo, inboxReplierDto.ignoreReplyTo) && + Objects.equals(this.createdAt, inboxReplierDto.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, inboxId, name, field, match, replyTo, subject, from, charset, isHTML, templateId, templateVariables, ignoreReplyTo, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxReplierDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" field: ").append(toIndentedString(field)).append("\n"); + sb.append(" match: ").append(toIndentedString(match)).append("\n"); + sb.append(" replyTo: ").append(toIndentedString(replyTo)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" charset: ").append(toIndentedString(charset)).append("\n"); + sb.append(" isHTML: ").append(toIndentedString(isHTML)).append("\n"); + sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + sb.append(" templateVariables: ").append(toIndentedString(templateVariables)).append("\n"); + sb.append(" ignoreReplyTo: ").append(toIndentedString(ignoreReplyTo)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("inboxId"); + openapiFields.add("name"); + openapiFields.add("field"); + openapiFields.add("match"); + openapiFields.add("replyTo"); + openapiFields.add("subject"); + openapiFields.add("from"); + openapiFields.add("charset"); + openapiFields.add("isHTML"); + openapiFields.add("templateId"); + openapiFields.add("templateVariables"); + openapiFields.add("ignoreReplyTo"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("field"); + openapiRequiredFields.add("match"); + openapiRequiredFields.add("isHTML"); + openapiRequiredFields.add("ignoreReplyTo"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxReplierDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxReplierDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxReplierDto is not found in the empty JSON string", InboxReplierDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxReplierDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxReplierDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxReplierDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("field").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `field` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field").toString())); + } + if (!jsonObj.get("match").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `match` to be a primitive type in the JSON string but got `%s`", jsonObj.get("match").toString())); + } + if ((jsonObj.get("replyTo") != null && !jsonObj.get("replyTo").isJsonNull()) && !jsonObj.get("replyTo").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `replyTo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("replyTo").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + if ((jsonObj.get("charset") != null && !jsonObj.get("charset").isJsonNull()) && !jsonObj.get("charset").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `charset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("charset").toString())); + } + if ((jsonObj.get("templateId") != null && !jsonObj.get("templateId").isJsonNull()) && !jsonObj.get("templateId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `templateId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("templateId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxReplierDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxReplierDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxReplierDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxReplierDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxReplierDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxReplierDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxReplierDto + * @throws IOException if the JSON string is invalid with respect to InboxReplierDto + */ + public static InboxReplierDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxReplierDto.class); + } + + /** + * Convert an instance of InboxReplierDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxReplierEventProjection.java b/src/main/java/com/mailslurp/models/InboxReplierEventProjection.java new file mode 100644 index 000000000..22985c6c3 --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxReplierEventProjection.java @@ -0,0 +1,583 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Inbox replier event + */ +@ApiModel(description = "Inbox replier event") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxReplierEventProjection { + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + /** + * Gets or Sets status + */ + @JsonAdapter(StatusEnum.Adapter.class) + public enum StatusEnum { + SUCCESS("SUCCESS"), + + FAILURE("FAILURE"); + + private String value; + + StatusEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static StatusEnum fromValue(String value) { + for (StatusEnum b : StatusEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final StatusEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public StatusEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return StatusEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_STATUS = "status"; + @SerializedName(SERIALIZED_NAME_STATUS) + private StatusEnum status; + + public static final String SERIALIZED_NAME_RECIPIENTS = "recipients"; + @SerializedName(SERIALIZED_NAME_RECIPIENTS) + private List recipients = null; + + public static final String SERIALIZED_NAME_EMAIL_ID = "emailId"; + @SerializedName(SERIALIZED_NAME_EMAIL_ID) + private UUID emailId; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_SENT_ID = "sentId"; + @SerializedName(SERIALIZED_NAME_SENT_ID) + private UUID sentId; + + public static final String SERIALIZED_NAME_REPLIER_ID = "replierId"; + @SerializedName(SERIALIZED_NAME_REPLIER_ID) + private UUID replierId; + + public InboxReplierEventProjection() { + } + + public InboxReplierEventProjection message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + public InboxReplierEventProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public InboxReplierEventProjection status(StatusEnum status) { + + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public StatusEnum getStatus() { + return status; + } + + + public void setStatus(StatusEnum status) { + this.status = status; + } + + + public InboxReplierEventProjection recipients(List recipients) { + + this.recipients = recipients; + return this; + } + + public InboxReplierEventProjection addRecipientsItem(String recipientsItem) { + if (this.recipients == null) { + this.recipients = new ArrayList<>(); + } + this.recipients.add(recipientsItem); + return this; + } + + /** + * Get recipients + * @return recipients + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getRecipients() { + return recipients; + } + + + public void setRecipients(List recipients) { + this.recipients = recipients; + } + + + public InboxReplierEventProjection emailId(UUID emailId) { + + this.emailId = emailId; + return this; + } + + /** + * Get emailId + * @return emailId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getEmailId() { + return emailId; + } + + + public void setEmailId(UUID emailId) { + this.emailId = emailId; + } + + + public InboxReplierEventProjection inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public InboxReplierEventProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public InboxReplierEventProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public InboxReplierEventProjection sentId(UUID sentId) { + + this.sentId = sentId; + return this; + } + + /** + * Get sentId + * @return sentId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getSentId() { + return sentId; + } + + + public void setSentId(UUID sentId) { + this.sentId = sentId; + } + + + public InboxReplierEventProjection replierId(UUID replierId) { + + this.replierId = replierId; + return this; + } + + /** + * Get replierId + * @return replierId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getReplierId() { + return replierId; + } + + + public void setReplierId(UUID replierId) { + this.replierId = replierId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxReplierEventProjection inboxReplierEventProjection = (InboxReplierEventProjection) o; + return Objects.equals(this.message, inboxReplierEventProjection.message) && + Objects.equals(this.id, inboxReplierEventProjection.id) && + Objects.equals(this.status, inboxReplierEventProjection.status) && + Objects.equals(this.recipients, inboxReplierEventProjection.recipients) && + Objects.equals(this.emailId, inboxReplierEventProjection.emailId) && + Objects.equals(this.inboxId, inboxReplierEventProjection.inboxId) && + Objects.equals(this.userId, inboxReplierEventProjection.userId) && + Objects.equals(this.createdAt, inboxReplierEventProjection.createdAt) && + Objects.equals(this.sentId, inboxReplierEventProjection.sentId) && + Objects.equals(this.replierId, inboxReplierEventProjection.replierId); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(message, id, status, recipients, emailId, inboxId, userId, createdAt, sentId, replierId); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxReplierEventProjection {\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" recipients: ").append(toIndentedString(recipients)).append("\n"); + sb.append(" emailId: ").append(toIndentedString(emailId)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" sentId: ").append(toIndentedString(sentId)).append("\n"); + sb.append(" replierId: ").append(toIndentedString(replierId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("message"); + openapiFields.add("id"); + openapiFields.add("status"); + openapiFields.add("recipients"); + openapiFields.add("emailId"); + openapiFields.add("inboxId"); + openapiFields.add("userId"); + openapiFields.add("createdAt"); + openapiFields.add("sentId"); + openapiFields.add("replierId"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxReplierEventProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxReplierEventProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxReplierEventProjection is not found in the empty JSON string", InboxReplierEventProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxReplierEventProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxReplierEventProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxReplierEventProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) && !jsonObj.get("status").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("status").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("recipients") != null && !jsonObj.get("recipients").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `recipients` to be an array in the JSON string but got `%s`", jsonObj.get("recipients").toString())); + } + if ((jsonObj.get("emailId") != null && !jsonObj.get("emailId").isJsonNull()) && !jsonObj.get("emailId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailId").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("sentId") != null && !jsonObj.get("sentId").isJsonNull()) && !jsonObj.get("sentId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sentId").toString())); + } + if ((jsonObj.get("replierId") != null && !jsonObj.get("replierId").isJsonNull()) && !jsonObj.get("replierId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `replierId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("replierId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxReplierEventProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxReplierEventProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxReplierEventProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxReplierEventProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxReplierEventProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxReplierEventProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxReplierEventProjection + * @throws IOException if the JSON string is invalid with respect to InboxReplierEventProjection + */ + public static InboxReplierEventProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxReplierEventProjection.class); + } + + /** + * Convert an instance of InboxReplierEventProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxRulesetDto.java b/src/main/java/com/mailslurp/models/InboxRulesetDto.java new file mode 100644 index 000000000..f037a2113 --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxRulesetDto.java @@ -0,0 +1,572 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Rules for inbox + */ +@ApiModel(description = "Rules for inbox") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxRulesetDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + /** + * Gets or Sets scope + */ + @JsonAdapter(ScopeEnum.Adapter.class) + public enum ScopeEnum { + RECEIVING_EMAILS("RECEIVING_EMAILS"), + + SENDING_EMAILS("SENDING_EMAILS"); + + private String value; + + ScopeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ScopeEnum fromValue(String value) { + for (ScopeEnum b : ScopeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ScopeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ScopeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ScopeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SCOPE = "scope"; + @SerializedName(SERIALIZED_NAME_SCOPE) + private ScopeEnum scope; + + /** + * Gets or Sets action + */ + @JsonAdapter(ActionEnum.Adapter.class) + public enum ActionEnum { + BLOCK("BLOCK"), + + ALLOW("ALLOW"), + + FILTER_REMOVE("FILTER_REMOVE"); + + private String value; + + ActionEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ActionEnum fromValue(String value) { + for (ActionEnum b : ActionEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ActionEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ActionEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ActionEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_ACTION = "action"; + @SerializedName(SERIALIZED_NAME_ACTION) + private ActionEnum action; + + public static final String SERIALIZED_NAME_TARGET = "target"; + @SerializedName(SERIALIZED_NAME_TARGET) + private String target; + + /** + * Gets or Sets handler + */ + @JsonAdapter(HandlerEnum.Adapter.class) + public enum HandlerEnum { + EXCEPTION("EXCEPTION"); + + private String value; + + HandlerEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static HandlerEnum fromValue(String value) { + for (HandlerEnum b : HandlerEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final HandlerEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public HandlerEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return HandlerEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_HANDLER = "handler"; + @SerializedName(SERIALIZED_NAME_HANDLER) + private HandlerEnum handler; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public InboxRulesetDto() { + } + + public InboxRulesetDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public InboxRulesetDto inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public InboxRulesetDto scope(ScopeEnum scope) { + + this.scope = scope; + return this; + } + + /** + * Get scope + * @return scope + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public ScopeEnum getScope() { + return scope; + } + + + public void setScope(ScopeEnum scope) { + this.scope = scope; + } + + + public InboxRulesetDto action(ActionEnum action) { + + this.action = action; + return this; + } + + /** + * Get action + * @return action + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public ActionEnum getAction() { + return action; + } + + + public void setAction(ActionEnum action) { + this.action = action; + } + + + public InboxRulesetDto target(String target) { + + this.target = target; + return this; + } + + /** + * Get target + * @return target + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getTarget() { + return target; + } + + + public void setTarget(String target) { + this.target = target; + } + + + public InboxRulesetDto handler(HandlerEnum handler) { + + this.handler = handler; + return this; + } + + /** + * Get handler + * @return handler + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public HandlerEnum getHandler() { + return handler; + } + + + public void setHandler(HandlerEnum handler) { + this.handler = handler; + } + + + public InboxRulesetDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxRulesetDto inboxRulesetDto = (InboxRulesetDto) o; + return Objects.equals(this.id, inboxRulesetDto.id) && + Objects.equals(this.inboxId, inboxRulesetDto.inboxId) && + Objects.equals(this.scope, inboxRulesetDto.scope) && + Objects.equals(this.action, inboxRulesetDto.action) && + Objects.equals(this.target, inboxRulesetDto.target) && + Objects.equals(this.handler, inboxRulesetDto.handler) && + Objects.equals(this.createdAt, inboxRulesetDto.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, inboxId, scope, action, target, handler, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxRulesetDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" scope: ").append(toIndentedString(scope)).append("\n"); + sb.append(" action: ").append(toIndentedString(action)).append("\n"); + sb.append(" target: ").append(toIndentedString(target)).append("\n"); + sb.append(" handler: ").append(toIndentedString(handler)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("inboxId"); + openapiFields.add("scope"); + openapiFields.add("action"); + openapiFields.add("target"); + openapiFields.add("handler"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("scope"); + openapiRequiredFields.add("action"); + openapiRequiredFields.add("target"); + openapiRequiredFields.add("handler"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxRulesetDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxRulesetDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxRulesetDto is not found in the empty JSON string", InboxRulesetDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxRulesetDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxRulesetDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxRulesetDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("scope").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `scope` to be a primitive type in the JSON string but got `%s`", jsonObj.get("scope").toString())); + } + if (!jsonObj.get("action").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `action` to be a primitive type in the JSON string but got `%s`", jsonObj.get("action").toString())); + } + if (!jsonObj.get("target").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `target` to be a primitive type in the JSON string but got `%s`", jsonObj.get("target").toString())); + } + if (!jsonObj.get("handler").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `handler` to be a primitive type in the JSON string but got `%s`", jsonObj.get("handler").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxRulesetDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxRulesetDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxRulesetDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxRulesetDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxRulesetDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxRulesetDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxRulesetDto + * @throws IOException if the JSON string is invalid with respect to InboxRulesetDto + */ + public static InboxRulesetDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxRulesetDto.class); + } + + /** + * Convert an instance of InboxRulesetDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxRulesetTestOptions.java b/src/main/java/com/mailslurp/models/InboxRulesetTestOptions.java new file mode 100644 index 000000000..0d3699d80 --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxRulesetTestOptions.java @@ -0,0 +1,217 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Test options for inbox ruleset + */ +@ApiModel(description = "Test options for inbox ruleset") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxRulesetTestOptions { + public static final String SERIALIZED_NAME_TEST_TARGET = "testTarget"; + @SerializedName(SERIALIZED_NAME_TEST_TARGET) + private String testTarget; + + public InboxRulesetTestOptions() { + } + + public InboxRulesetTestOptions testTarget(String testTarget) { + + this.testTarget = testTarget; + return this; + } + + /** + * Get testTarget + * @return testTarget + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getTestTarget() { + return testTarget; + } + + + public void setTestTarget(String testTarget) { + this.testTarget = testTarget; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxRulesetTestOptions inboxRulesetTestOptions = (InboxRulesetTestOptions) o; + return Objects.equals(this.testTarget, inboxRulesetTestOptions.testTarget); + } + + @Override + public int hashCode() { + return Objects.hash(testTarget); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxRulesetTestOptions {\n"); + sb.append(" testTarget: ").append(toIndentedString(testTarget)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("testTarget"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("testTarget"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxRulesetTestOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxRulesetTestOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxRulesetTestOptions is not found in the empty JSON string", InboxRulesetTestOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxRulesetTestOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxRulesetTestOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxRulesetTestOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("testTarget").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `testTarget` to be a primitive type in the JSON string but got `%s`", jsonObj.get("testTarget").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxRulesetTestOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxRulesetTestOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxRulesetTestOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxRulesetTestOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxRulesetTestOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxRulesetTestOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxRulesetTestOptions + * @throws IOException if the JSON string is invalid with respect to InboxRulesetTestOptions + */ + public static InboxRulesetTestOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxRulesetTestOptions.class); + } + + /** + * Convert an instance of InboxRulesetTestOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/InboxRulesetTestResult.java b/src/main/java/com/mailslurp/models/InboxRulesetTestResult.java new file mode 100644 index 000000000..48330d9ae --- /dev/null +++ b/src/main/java/com/mailslurp/models/InboxRulesetTestResult.java @@ -0,0 +1,252 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Result of test of inbox ruleset + */ +@ApiModel(description = "Result of test of inbox ruleset") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class InboxRulesetTestResult { + public static final String SERIALIZED_NAME_RULESET_MATCHES = "rulesetMatches"; + @SerializedName(SERIALIZED_NAME_RULESET_MATCHES) + private Map rulesetMatches = new HashMap<>(); + + public static final String SERIALIZED_NAME_MATCHES = "matches"; + @SerializedName(SERIALIZED_NAME_MATCHES) + private Boolean matches; + + public InboxRulesetTestResult() { + } + + public InboxRulesetTestResult rulesetMatches(Map rulesetMatches) { + + this.rulesetMatches = rulesetMatches; + return this; + } + + public InboxRulesetTestResult putRulesetMatchesItem(String key, Boolean rulesetMatchesItem) { + this.rulesetMatches.put(key, rulesetMatchesItem); + return this; + } + + /** + * Map of inbox ruleset ID to boolean of if target matches + * @return rulesetMatches + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Map of inbox ruleset ID to boolean of if target matches") + + public Map getRulesetMatches() { + return rulesetMatches; + } + + + public void setRulesetMatches(Map rulesetMatches) { + this.rulesetMatches = rulesetMatches; + } + + + public InboxRulesetTestResult matches(Boolean matches) { + + this.matches = matches; + return this; + } + + /** + * Get matches + * @return matches + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getMatches() { + return matches; + } + + + public void setMatches(Boolean matches) { + this.matches = matches; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboxRulesetTestResult inboxRulesetTestResult = (InboxRulesetTestResult) o; + return Objects.equals(this.rulesetMatches, inboxRulesetTestResult.rulesetMatches) && + Objects.equals(this.matches, inboxRulesetTestResult.matches); + } + + @Override + public int hashCode() { + return Objects.hash(rulesetMatches, matches); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboxRulesetTestResult {\n"); + sb.append(" rulesetMatches: ").append(toIndentedString(rulesetMatches)).append("\n"); + sb.append(" matches: ").append(toIndentedString(matches)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("rulesetMatches"); + openapiFields.add("matches"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("rulesetMatches"); + openapiRequiredFields.add("matches"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to InboxRulesetTestResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!InboxRulesetTestResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboxRulesetTestResult is not found in the empty JSON string", InboxRulesetTestResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!InboxRulesetTestResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboxRulesetTestResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : InboxRulesetTestResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboxRulesetTestResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboxRulesetTestResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboxRulesetTestResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboxRulesetTestResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboxRulesetTestResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboxRulesetTestResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboxRulesetTestResult + * @throws IOException if the JSON string is invalid with respect to InboxRulesetTestResult + */ + public static InboxRulesetTestResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboxRulesetTestResult.class); + } + + /** + * Convert an instance of InboxRulesetTestResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/JSONSchemaDto.java b/src/main/java/com/mailslurp/models/JSONSchemaDto.java new file mode 100644 index 000000000..2f0fd1d2c --- /dev/null +++ b/src/main/java/com/mailslurp/models/JSONSchemaDto.java @@ -0,0 +1,217 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * JSONSchema for payload + */ +@ApiModel(description = "JSONSchema for payload") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class JSONSchemaDto { + public static final String SERIALIZED_NAME_VALUE = "value"; + @SerializedName(SERIALIZED_NAME_VALUE) + private String value; + + public JSONSchemaDto() { + } + + public JSONSchemaDto value(String value) { + + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getValue() { + return value; + } + + + public void setValue(String value) { + this.value = value; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + JSONSchemaDto jsONSchemaDto = (JSONSchemaDto) o; + return Objects.equals(this.value, jsONSchemaDto.value); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class JSONSchemaDto {\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("value"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("value"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to JSONSchemaDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!JSONSchemaDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in JSONSchemaDto is not found in the empty JSON string", JSONSchemaDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!JSONSchemaDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `JSONSchemaDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : JSONSchemaDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("value").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!JSONSchemaDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'JSONSchemaDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(JSONSchemaDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, JSONSchemaDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public JSONSchemaDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of JSONSchemaDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of JSONSchemaDto + * @throws IOException if the JSON string is invalid with respect to JSONSchemaDto + */ + public static JSONSchemaDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, JSONSchemaDto.class); + } + + /** + * Convert an instance of JSONSchemaDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ListUnsubscribeRecipientProjection.java b/src/main/java/com/mailslurp/models/ListUnsubscribeRecipientProjection.java new file mode 100644 index 000000000..64576c921 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ListUnsubscribeRecipientProjection.java @@ -0,0 +1,329 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * List unsubscribe recipient + */ +@ApiModel(description = "List unsubscribe recipient") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ListUnsubscribeRecipientProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_DOMAIN_ID = "domainId"; + @SerializedName(SERIALIZED_NAME_DOMAIN_ID) + private UUID domainId; + + public ListUnsubscribeRecipientProjection() { + } + + public ListUnsubscribeRecipientProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ListUnsubscribeRecipientProjection emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public ListUnsubscribeRecipientProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public ListUnsubscribeRecipientProjection domainId(UUID domainId) { + + this.domainId = domainId; + return this; + } + + /** + * Get domainId + * @return domainId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getDomainId() { + return domainId; + } + + + public void setDomainId(UUID domainId) { + this.domainId = domainId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListUnsubscribeRecipientProjection listUnsubscribeRecipientProjection = (ListUnsubscribeRecipientProjection) o; + return Objects.equals(this.id, listUnsubscribeRecipientProjection.id) && + Objects.equals(this.emailAddress, listUnsubscribeRecipientProjection.emailAddress) && + Objects.equals(this.createdAt, listUnsubscribeRecipientProjection.createdAt) && + Objects.equals(this.domainId, listUnsubscribeRecipientProjection.domainId); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, emailAddress, createdAt, domainId); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ListUnsubscribeRecipientProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" domainId: ").append(toIndentedString(domainId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("emailAddress"); + openapiFields.add("createdAt"); + openapiFields.add("domainId"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("emailAddress"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ListUnsubscribeRecipientProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ListUnsubscribeRecipientProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ListUnsubscribeRecipientProjection is not found in the empty JSON string", ListUnsubscribeRecipientProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ListUnsubscribeRecipientProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ListUnsubscribeRecipientProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ListUnsubscribeRecipientProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if ((jsonObj.get("domainId") != null && !jsonObj.get("domainId").isJsonNull()) && !jsonObj.get("domainId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ListUnsubscribeRecipientProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ListUnsubscribeRecipientProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ListUnsubscribeRecipientProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ListUnsubscribeRecipientProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ListUnsubscribeRecipientProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ListUnsubscribeRecipientProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of ListUnsubscribeRecipientProjection + * @throws IOException if the JSON string is invalid with respect to ListUnsubscribeRecipientProjection + */ + public static ListUnsubscribeRecipientProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ListUnsubscribeRecipientProjection.class); + } + + /** + * Convert an instance of ListUnsubscribeRecipientProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/MatchOption.java b/src/main/java/com/mailslurp/models/MatchOption.java new file mode 100644 index 000000000..8b2cc3f33 --- /dev/null +++ b/src/main/java/com/mailslurp/models/MatchOption.java @@ -0,0 +1,385 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for matching emails in an inbox. Each match option object contains a `field`, `should` and `value` property. Together they form logical conditions such as `SUBJECT` should `CONTAIN` value. + */ +@ApiModel(description = "Options for matching emails in an inbox. Each match option object contains a `field`, `should` and `value` property. Together they form logical conditions such as `SUBJECT` should `CONTAIN` value.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class MatchOption { + /** + * Fields of an email object that can be used to filter results + */ + @JsonAdapter(FieldEnum.Adapter.class) + public enum FieldEnum { + SUBJECT("SUBJECT"), + + TO("TO"), + + BCC("BCC"), + + CC("CC"), + + FROM("FROM"); + + private String value; + + FieldEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static FieldEnum fromValue(String value) { + for (FieldEnum b : FieldEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final FieldEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public FieldEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return FieldEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_FIELD = "field"; + @SerializedName(SERIALIZED_NAME_FIELD) + private FieldEnum field; + + /** + * How the value of the email field specified should be compared to the value given in the match options. + */ + @JsonAdapter(ShouldEnum.Adapter.class) + public enum ShouldEnum { + CONTAIN("CONTAIN"), + + EQUAL("EQUAL"); + + private String value; + + ShouldEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ShouldEnum fromValue(String value) { + for (ShouldEnum b : ShouldEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ShouldEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ShouldEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ShouldEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SHOULD = "should"; + @SerializedName(SERIALIZED_NAME_SHOULD) + private ShouldEnum should; + + public static final String SERIALIZED_NAME_VALUE = "value"; + @SerializedName(SERIALIZED_NAME_VALUE) + private String value; + + public MatchOption() { + } + + public MatchOption field(FieldEnum field) { + + this.field = field; + return this; + } + + /** + * Fields of an email object that can be used to filter results + * @return field + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Fields of an email object that can be used to filter results") + + public FieldEnum getField() { + return field; + } + + + public void setField(FieldEnum field) { + this.field = field; + } + + + public MatchOption should(ShouldEnum should) { + + this.should = should; + return this; + } + + /** + * How the value of the email field specified should be compared to the value given in the match options. + * @return should + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "How the value of the email field specified should be compared to the value given in the match options.") + + public ShouldEnum getShould() { + return should; + } + + + public void setShould(ShouldEnum should) { + this.should = should; + } + + + public MatchOption value(String value) { + + this.value = value; + return this; + } + + /** + * The value you wish to compare with the value of the field specified using the `should` value passed. For example `BODY` should `CONTAIN` a value passed. + * @return value + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "The value you wish to compare with the value of the field specified using the `should` value passed. For example `BODY` should `CONTAIN` a value passed.") + + public String getValue() { + return value; + } + + + public void setValue(String value) { + this.value = value; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MatchOption matchOption = (MatchOption) o; + return Objects.equals(this.field, matchOption.field) && + Objects.equals(this.should, matchOption.should) && + Objects.equals(this.value, matchOption.value); + } + + @Override + public int hashCode() { + return Objects.hash(field, should, value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MatchOption {\n"); + sb.append(" field: ").append(toIndentedString(field)).append("\n"); + sb.append(" should: ").append(toIndentedString(should)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("field"); + openapiFields.add("should"); + openapiFields.add("value"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("field"); + openapiRequiredFields.add("should"); + openapiRequiredFields.add("value"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to MatchOption + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!MatchOption.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in MatchOption is not found in the empty JSON string", MatchOption.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!MatchOption.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MatchOption` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : MatchOption.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("field").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `field` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field").toString())); + } + if (!jsonObj.get("should").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `should` to be a primitive type in the JSON string but got `%s`", jsonObj.get("should").toString())); + } + if (!jsonObj.get("value").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!MatchOption.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'MatchOption' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(MatchOption.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, MatchOption value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public MatchOption read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of MatchOption given an JSON string + * + * @param jsonString JSON string + * @return An instance of MatchOption + * @throws IOException if the JSON string is invalid with respect to MatchOption + */ + public static MatchOption fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, MatchOption.class); + } + + /** + * Convert an instance of MatchOption to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/MatchOptions.java b/src/main/java/com/mailslurp/models/MatchOptions.java new file mode 100644 index 000000000..928948e58 --- /dev/null +++ b/src/main/java/com/mailslurp/models/MatchOptions.java @@ -0,0 +1,296 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConditionOption; +import com.mailslurp.models.MatchOption; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Optional filter for matching emails based on fields. For instance filter results to only include emails whose `SUBJECT` value does `CONTAIN` given match value. An example payload would be `{ matches: [{ field: 'SUBJECT', should: 'CONTAIN', value: 'Welcome' }] }`. You can also pass conditions such as `HAS_ATTACHMENT`. If you wish to extract regex matches inside the email content see the `getEmailContentMatch` method in the EmailController. + */ +@ApiModel(description = "Optional filter for matching emails based on fields. For instance filter results to only include emails whose `SUBJECT` value does `CONTAIN` given match value. An example payload would be `{ matches: [{ field: 'SUBJECT', should: 'CONTAIN', value: 'Welcome' }] }`. You can also pass conditions such as `HAS_ATTACHMENT`. If you wish to extract regex matches inside the email content see the `getEmailContentMatch` method in the EmailController.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class MatchOptions { + public static final String SERIALIZED_NAME_MATCHES = "matches"; + @SerializedName(SERIALIZED_NAME_MATCHES) + private List matches = null; + + public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; + @SerializedName(SERIALIZED_NAME_CONDITIONS) + private List conditions = null; + + public MatchOptions() { + } + + public MatchOptions matches(List matches) { + + this.matches = matches; + return this; + } + + public MatchOptions addMatchesItem(MatchOption matchesItem) { + if (this.matches == null) { + this.matches = new ArrayList<>(); + } + this.matches.add(matchesItem); + return this; + } + + /** + * Zero or more match options such as `{ field: 'SUBJECT', should: 'CONTAIN', value: 'Welcome' }`. Options are additive so if one does not match the email is excluded from results + * @return matches + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Zero or more match options such as `{ field: 'SUBJECT', should: 'CONTAIN', value: 'Welcome' }`. Options are additive so if one does not match the email is excluded from results") + + public List getMatches() { + return matches; + } + + + public void setMatches(List matches) { + this.matches = matches; + } + + + public MatchOptions conditions(List conditions) { + + this.conditions = conditions; + return this; + } + + public MatchOptions addConditionsItem(ConditionOption conditionsItem) { + if (this.conditions == null) { + this.conditions = new ArrayList<>(); + } + this.conditions.add(conditionsItem); + return this; + } + + /** + * Zero or more conditions such as `{ condition: 'HAS_ATTACHMENTS', value: 'TRUE' }`. Note the values are the strings `TRUE|FALSE` not booleans. + * @return conditions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Zero or more conditions such as `{ condition: 'HAS_ATTACHMENTS', value: 'TRUE' }`. Note the values are the strings `TRUE|FALSE` not booleans.") + + public List getConditions() { + return conditions; + } + + + public void setConditions(List conditions) { + this.conditions = conditions; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MatchOptions matchOptions = (MatchOptions) o; + return Objects.equals(this.matches, matchOptions.matches) && + Objects.equals(this.conditions, matchOptions.conditions); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(matches, conditions); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MatchOptions {\n"); + sb.append(" matches: ").append(toIndentedString(matches)).append("\n"); + sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("matches"); + openapiFields.add("conditions"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to MatchOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!MatchOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in MatchOptions is not found in the empty JSON string", MatchOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!MatchOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MatchOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("matches") != null && !jsonObj.get("matches").isJsonNull()) { + JsonArray jsonArraymatches = jsonObj.getAsJsonArray("matches"); + if (jsonArraymatches != null) { + // ensure the json data is an array + if (!jsonObj.get("matches").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `matches` to be an array in the JSON string but got `%s`", jsonObj.get("matches").toString())); + } + + // validate the optional field `matches` (array) + for (int i = 0; i < jsonArraymatches.size(); i++) { + MatchOption.validateJsonObject(jsonArraymatches.get(i).getAsJsonObject()); + }; + } + } + if (jsonObj.get("conditions") != null && !jsonObj.get("conditions").isJsonNull()) { + JsonArray jsonArrayconditions = jsonObj.getAsJsonArray("conditions"); + if (jsonArrayconditions != null) { + // ensure the json data is an array + if (!jsonObj.get("conditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `conditions` to be an array in the JSON string but got `%s`", jsonObj.get("conditions").toString())); + } + + // validate the optional field `conditions` (array) + for (int i = 0; i < jsonArrayconditions.size(); i++) { + ConditionOption.validateJsonObject(jsonArrayconditions.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!MatchOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'MatchOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(MatchOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, MatchOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public MatchOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of MatchOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of MatchOptions + * @throws IOException if the JSON string is invalid with respect to MatchOptions + */ + public static MatchOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, MatchOptions.class); + } + + /** + * Convert an instance of MatchOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/MissedEmailDto.java b/src/main/java/com/mailslurp/models/MissedEmailDto.java new file mode 100644 index 000000000..46f8cffaa --- /dev/null +++ b/src/main/java/com/mailslurp/models/MissedEmailDto.java @@ -0,0 +1,755 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Missed email + */ +@ApiModel(description = "Missed email") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class MissedEmailDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_BODY_EXCERPT = "bodyExcerpt"; + @SerializedName(SERIALIZED_NAME_BODY_EXCERPT) + private String bodyExcerpt; + + public static final String SERIALIZED_NAME_ATTACHMENT_COUNT = "attachmentCount"; + @SerializedName(SERIALIZED_NAME_ATTACHMENT_COUNT) + private Integer attachmentCount; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_RAW_URL = "rawUrl"; + @SerializedName(SERIALIZED_NAME_RAW_URL) + private String rawUrl; + + public static final String SERIALIZED_NAME_RAW_KEY = "rawKey"; + @SerializedName(SERIALIZED_NAME_RAW_KEY) + private String rawKey; + + public static final String SERIALIZED_NAME_RAW_BUCKET = "rawBucket"; + @SerializedName(SERIALIZED_NAME_RAW_BUCKET) + private String rawBucket; + + public static final String SERIALIZED_NAME_CAN_RESTORE = "canRestore"; + @SerializedName(SERIALIZED_NAME_CAN_RESTORE) + private Boolean canRestore; + + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CC = "cc"; + @SerializedName(SERIALIZED_NAME_CC) + private List cc = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BCC = "bcc"; + @SerializedName(SERIALIZED_NAME_BCC) + private List bcc = new ArrayList<>(); + + public static final String SERIALIZED_NAME_INBOX_IDS = "inboxIds"; + @SerializedName(SERIALIZED_NAME_INBOX_IDS) + private List inboxIds = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public MissedEmailDto() { + } + + public MissedEmailDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public MissedEmailDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public MissedEmailDto subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public MissedEmailDto bodyExcerpt(String bodyExcerpt) { + + this.bodyExcerpt = bodyExcerpt; + return this; + } + + /** + * Get bodyExcerpt + * @return bodyExcerpt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getBodyExcerpt() { + return bodyExcerpt; + } + + + public void setBodyExcerpt(String bodyExcerpt) { + this.bodyExcerpt = bodyExcerpt; + } + + + public MissedEmailDto attachmentCount(Integer attachmentCount) { + + this.attachmentCount = attachmentCount; + return this; + } + + /** + * Get attachmentCount + * @return attachmentCount + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Integer getAttachmentCount() { + return attachmentCount; + } + + + public void setAttachmentCount(Integer attachmentCount) { + this.attachmentCount = attachmentCount; + } + + + public MissedEmailDto from(String from) { + + this.from = from; + return this; + } + + /** + * Get from + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public MissedEmailDto rawUrl(String rawUrl) { + + this.rawUrl = rawUrl; + return this; + } + + /** + * Get rawUrl + * @return rawUrl + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getRawUrl() { + return rawUrl; + } + + + public void setRawUrl(String rawUrl) { + this.rawUrl = rawUrl; + } + + + public MissedEmailDto rawKey(String rawKey) { + + this.rawKey = rawKey; + return this; + } + + /** + * Get rawKey + * @return rawKey + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getRawKey() { + return rawKey; + } + + + public void setRawKey(String rawKey) { + this.rawKey = rawKey; + } + + + public MissedEmailDto rawBucket(String rawBucket) { + + this.rawBucket = rawBucket; + return this; + } + + /** + * Get rawBucket + * @return rawBucket + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getRawBucket() { + return rawBucket; + } + + + public void setRawBucket(String rawBucket) { + this.rawBucket = rawBucket; + } + + + public MissedEmailDto canRestore(Boolean canRestore) { + + this.canRestore = canRestore; + return this; + } + + /** + * Get canRestore + * @return canRestore + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getCanRestore() { + return canRestore; + } + + + public void setCanRestore(Boolean canRestore) { + this.canRestore = canRestore; + } + + + public MissedEmailDto to(List to) { + + this.to = to; + return this; + } + + public MissedEmailDto addToItem(String toItem) { + this.to.add(toItem); + return this; + } + + /** + * Get to + * @return to + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + public MissedEmailDto cc(List cc) { + + this.cc = cc; + return this; + } + + public MissedEmailDto addCcItem(String ccItem) { + this.cc.add(ccItem); + return this; + } + + /** + * Get cc + * @return cc + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getCc() { + return cc; + } + + + public void setCc(List cc) { + this.cc = cc; + } + + + public MissedEmailDto bcc(List bcc) { + + this.bcc = bcc; + return this; + } + + public MissedEmailDto addBccItem(String bccItem) { + this.bcc.add(bccItem); + return this; + } + + /** + * Get bcc + * @return bcc + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getBcc() { + return bcc; + } + + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + + public MissedEmailDto inboxIds(List inboxIds) { + + this.inboxIds = inboxIds; + return this; + } + + public MissedEmailDto addInboxIdsItem(UUID inboxIdsItem) { + this.inboxIds.add(inboxIdsItem); + return this; + } + + /** + * Get inboxIds + * @return inboxIds + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getInboxIds() { + return inboxIds; + } + + + public void setInboxIds(List inboxIds) { + this.inboxIds = inboxIds; + } + + + public MissedEmailDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public MissedEmailDto updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MissedEmailDto missedEmailDto = (MissedEmailDto) o; + return Objects.equals(this.id, missedEmailDto.id) && + Objects.equals(this.userId, missedEmailDto.userId) && + Objects.equals(this.subject, missedEmailDto.subject) && + Objects.equals(this.bodyExcerpt, missedEmailDto.bodyExcerpt) && + Objects.equals(this.attachmentCount, missedEmailDto.attachmentCount) && + Objects.equals(this.from, missedEmailDto.from) && + Objects.equals(this.rawUrl, missedEmailDto.rawUrl) && + Objects.equals(this.rawKey, missedEmailDto.rawKey) && + Objects.equals(this.rawBucket, missedEmailDto.rawBucket) && + Objects.equals(this.canRestore, missedEmailDto.canRestore) && + Objects.equals(this.to, missedEmailDto.to) && + Objects.equals(this.cc, missedEmailDto.cc) && + Objects.equals(this.bcc, missedEmailDto.bcc) && + Objects.equals(this.inboxIds, missedEmailDto.inboxIds) && + Objects.equals(this.createdAt, missedEmailDto.createdAt) && + Objects.equals(this.updatedAt, missedEmailDto.updatedAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, subject, bodyExcerpt, attachmentCount, from, rawUrl, rawKey, rawBucket, canRestore, to, cc, bcc, inboxIds, createdAt, updatedAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MissedEmailDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" bodyExcerpt: ").append(toIndentedString(bodyExcerpt)).append("\n"); + sb.append(" attachmentCount: ").append(toIndentedString(attachmentCount)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" rawUrl: ").append(toIndentedString(rawUrl)).append("\n"); + sb.append(" rawKey: ").append(toIndentedString(rawKey)).append("\n"); + sb.append(" rawBucket: ").append(toIndentedString(rawBucket)).append("\n"); + sb.append(" canRestore: ").append(toIndentedString(canRestore)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append(" inboxIds: ").append(toIndentedString(inboxIds)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("subject"); + openapiFields.add("bodyExcerpt"); + openapiFields.add("attachmentCount"); + openapiFields.add("from"); + openapiFields.add("rawUrl"); + openapiFields.add("rawKey"); + openapiFields.add("rawBucket"); + openapiFields.add("canRestore"); + openapiFields.add("to"); + openapiFields.add("cc"); + openapiFields.add("bcc"); + openapiFields.add("inboxIds"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("attachmentCount"); + openapiRequiredFields.add("to"); + openapiRequiredFields.add("cc"); + openapiRequiredFields.add("bcc"); + openapiRequiredFields.add("inboxIds"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to MissedEmailDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!MissedEmailDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in MissedEmailDto is not found in the empty JSON string", MissedEmailDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!MissedEmailDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MissedEmailDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : MissedEmailDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if ((jsonObj.get("bodyExcerpt") != null && !jsonObj.get("bodyExcerpt").isJsonNull()) && !jsonObj.get("bodyExcerpt").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bodyExcerpt` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bodyExcerpt").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + if ((jsonObj.get("rawUrl") != null && !jsonObj.get("rawUrl").isJsonNull()) && !jsonObj.get("rawUrl").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `rawUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rawUrl").toString())); + } + if ((jsonObj.get("rawKey") != null && !jsonObj.get("rawKey").isJsonNull()) && !jsonObj.get("rawKey").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `rawKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rawKey").toString())); + } + if ((jsonObj.get("rawBucket") != null && !jsonObj.get("rawBucket").isJsonNull()) && !jsonObj.get("rawBucket").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `rawBucket` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rawBucket").toString())); + } + // ensure the required json array is present + if (jsonObj.get("to") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + // ensure the required json array is present + if (jsonObj.get("cc") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("cc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cc` to be an array in the JSON string but got `%s`", jsonObj.get("cc").toString())); + } + // ensure the required json array is present + if (jsonObj.get("bcc") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("bcc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bcc` to be an array in the JSON string but got `%s`", jsonObj.get("bcc").toString())); + } + // ensure the required json array is present + if (jsonObj.get("inboxIds") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("inboxIds").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxIds` to be an array in the JSON string but got `%s`", jsonObj.get("inboxIds").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!MissedEmailDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'MissedEmailDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(MissedEmailDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, MissedEmailDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public MissedEmailDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of MissedEmailDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of MissedEmailDto + * @throws IOException if the JSON string is invalid with respect to MissedEmailDto + */ + public static MissedEmailDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, MissedEmailDto.class); + } + + /** + * Convert an instance of MissedEmailDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/MissedEmailProjection.java b/src/main/java/com/mailslurp/models/MissedEmailProjection.java new file mode 100644 index 000000000..a1781d269 --- /dev/null +++ b/src/main/java/com/mailslurp/models/MissedEmailProjection.java @@ -0,0 +1,361 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Missed email data + */ +@ApiModel(description = "Missed email data") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class MissedEmailProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public MissedEmailProjection() { + } + + public MissedEmailProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public MissedEmailProjection from(String from) { + + this.from = from; + return this; + } + + /** + * Get from + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public MissedEmailProjection subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public MissedEmailProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public MissedEmailProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MissedEmailProjection missedEmailProjection = (MissedEmailProjection) o; + return Objects.equals(this.id, missedEmailProjection.id) && + Objects.equals(this.from, missedEmailProjection.from) && + Objects.equals(this.subject, missedEmailProjection.subject) && + Objects.equals(this.userId, missedEmailProjection.userId) && + Objects.equals(this.createdAt, missedEmailProjection.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, from, subject, userId, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MissedEmailProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("from"); + openapiFields.add("subject"); + openapiFields.add("userId"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to MissedEmailProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!MissedEmailProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in MissedEmailProjection is not found in the empty JSON string", MissedEmailProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!MissedEmailProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MissedEmailProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : MissedEmailProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!MissedEmailProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'MissedEmailProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(MissedEmailProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, MissedEmailProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public MissedEmailProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of MissedEmailProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of MissedEmailProjection + * @throws IOException if the JSON string is invalid with respect to MissedEmailProjection + */ + public static MissedEmailProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, MissedEmailProjection.class); + } + + /** + * Convert an instance of MissedEmailProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/NameServerRecord.java b/src/main/java/com/mailslurp/models/NameServerRecord.java new file mode 100644 index 000000000..deaf354f0 --- /dev/null +++ b/src/main/java/com/mailslurp/models/NameServerRecord.java @@ -0,0 +1,319 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Name Server Record + */ +@ApiModel(description = "Name Server Record") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class NameServerRecord { + public static final String SERIALIZED_NAME_RAW = "raw"; + @SerializedName(SERIALIZED_NAME_RAW) + private String raw; + + public static final String SERIALIZED_NAME_RECORD_TYPE = "recordType"; + @SerializedName(SERIALIZED_NAME_RECORD_TYPE) + private String recordType; + + public static final String SERIALIZED_NAME_PRIORITY = "priority"; + @SerializedName(SERIALIZED_NAME_PRIORITY) + private String priority; + + public static final String SERIALIZED_NAME_VALUE = "value"; + @SerializedName(SERIALIZED_NAME_VALUE) + private String value; + + public NameServerRecord() { + } + + public NameServerRecord raw(String raw) { + + this.raw = raw; + return this; + } + + /** + * Get raw + * @return raw + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getRaw() { + return raw; + } + + + public void setRaw(String raw) { + this.raw = raw; + } + + + public NameServerRecord recordType(String recordType) { + + this.recordType = recordType; + return this; + } + + /** + * Get recordType + * @return recordType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getRecordType() { + return recordType; + } + + + public void setRecordType(String recordType) { + this.recordType = recordType; + } + + + public NameServerRecord priority(String priority) { + + this.priority = priority; + return this; + } + + /** + * Get priority + * @return priority + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getPriority() { + return priority; + } + + + public void setPriority(String priority) { + this.priority = priority; + } + + + public NameServerRecord value(String value) { + + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getValue() { + return value; + } + + + public void setValue(String value) { + this.value = value; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + NameServerRecord nameServerRecord = (NameServerRecord) o; + return Objects.equals(this.raw, nameServerRecord.raw) && + Objects.equals(this.recordType, nameServerRecord.recordType) && + Objects.equals(this.priority, nameServerRecord.priority) && + Objects.equals(this.value, nameServerRecord.value); + } + + @Override + public int hashCode() { + return Objects.hash(raw, recordType, priority, value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class NameServerRecord {\n"); + sb.append(" raw: ").append(toIndentedString(raw)).append("\n"); + sb.append(" recordType: ").append(toIndentedString(recordType)).append("\n"); + sb.append(" priority: ").append(toIndentedString(priority)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("raw"); + openapiFields.add("recordType"); + openapiFields.add("priority"); + openapiFields.add("value"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("raw"); + openapiRequiredFields.add("recordType"); + openapiRequiredFields.add("priority"); + openapiRequiredFields.add("value"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to NameServerRecord + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!NameServerRecord.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in NameServerRecord is not found in the empty JSON string", NameServerRecord.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!NameServerRecord.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `NameServerRecord` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : NameServerRecord.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("raw").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `raw` to be a primitive type in the JSON string but got `%s`", jsonObj.get("raw").toString())); + } + if (!jsonObj.get("recordType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `recordType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recordType").toString())); + } + if (!jsonObj.get("priority").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `priority` to be a primitive type in the JSON string but got `%s`", jsonObj.get("priority").toString())); + } + if (!jsonObj.get("value").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!NameServerRecord.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'NameServerRecord' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(NameServerRecord.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, NameServerRecord value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public NameServerRecord read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of NameServerRecord given an JSON string + * + * @param jsonString JSON string + * @return An instance of NameServerRecord + * @throws IOException if the JSON string is invalid with respect to NameServerRecord + */ + public static NameServerRecord fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, NameServerRecord.class); + } + + /** + * Convert an instance of NameServerRecord to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/OrganizationInboxProjection.java b/src/main/java/com/mailslurp/models/OrganizationInboxProjection.java new file mode 100644 index 000000000..fc3f851d9 --- /dev/null +++ b/src/main/java/com/mailslurp/models/OrganizationInboxProjection.java @@ -0,0 +1,609 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Organization team inbox + */ +@ApiModel(description = "Organization team inbox") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class OrganizationInboxProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_DOMAIN_ID = "domainId"; + @SerializedName(SERIALIZED_NAME_DOMAIN_ID) + private UUID domainId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_FAVOURITE = "favourite"; + @SerializedName(SERIALIZED_NAME_FAVOURITE) + private Boolean favourite; + + public static final String SERIALIZED_NAME_TAGS = "tags"; + @SerializedName(SERIALIZED_NAME_TAGS) + private List tags = null; + + public static final String SERIALIZED_NAME_TEAM_ACCESS = "teamAccess"; + @SerializedName(SERIALIZED_NAME_TEAM_ACCESS) + private Boolean teamAccess; + + /** + * Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). + */ + @JsonAdapter(InboxTypeEnum.Adapter.class) + public enum InboxTypeEnum { + HTTP_INBOX("HTTP_INBOX"), + + SMTP_INBOX("SMTP_INBOX"); + + private String value; + + InboxTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static InboxTypeEnum fromValue(String value) { + for (InboxTypeEnum b : InboxTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InboxTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public InboxTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return InboxTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_INBOX_TYPE = "inboxType"; + @SerializedName(SERIALIZED_NAME_INBOX_TYPE) + private InboxTypeEnum inboxType; + + public static final String SERIALIZED_NAME_READ_ONLY = "readOnly"; + @SerializedName(SERIALIZED_NAME_READ_ONLY) + private Boolean readOnly; + + public static final String SERIALIZED_NAME_VIRTUAL_INBOX = "virtualInbox"; + @SerializedName(SERIALIZED_NAME_VIRTUAL_INBOX) + private Boolean virtualInbox; + + public OrganizationInboxProjection() { + } + + public OrganizationInboxProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically. + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically.") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public OrganizationInboxProjection domainId(UUID domainId) { + + this.domainId = domainId; + return this; + } + + /** + * ID of custom domain used by the inbox if any + * @return domainId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ID of custom domain used by the inbox if any") + + public UUID getDomainId() { + return domainId; + } + + + public void setDomainId(UUID domainId) { + this.domainId = domainId; + } + + + public OrganizationInboxProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`. + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`.") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public OrganizationInboxProjection name(String name) { + + this.name = name; + return this; + } + + /** + * Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public OrganizationInboxProjection emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID. + * @return emailAddress + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so `+123` additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public OrganizationInboxProjection favourite(Boolean favourite) { + + this.favourite = favourite; + return this; + } + + /** + * Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering + * @return favourite + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering") + + public Boolean getFavourite() { + return favourite; + } + + + public void setFavourite(Boolean favourite) { + this.favourite = favourite; + } + + + public OrganizationInboxProjection tags(List tags) { + + this.tags = tags; + return this; + } + + public OrganizationInboxProjection addTagsItem(String tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList<>(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. + * @return tags + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.") + + public List getTags() { + return tags; + } + + + public void setTags(List tags) { + this.tags = tags; + } + + + public OrganizationInboxProjection teamAccess(Boolean teamAccess) { + + this.teamAccess = teamAccess; + return this; + } + + /** + * Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/ + * @return teamAccess + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/") + + public Boolean getTeamAccess() { + return teamAccess; + } + + + public void setTeamAccess(Boolean teamAccess) { + this.teamAccess = teamAccess; + } + + + public OrganizationInboxProjection inboxType(InboxTypeEnum inboxType) { + + this.inboxType = inboxType; + return this; + } + + /** + * Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). + * @return inboxType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send).") + + public InboxTypeEnum getInboxType() { + return inboxType; + } + + + public void setInboxType(InboxTypeEnum inboxType) { + this.inboxType = inboxType; + } + + + public OrganizationInboxProjection readOnly(Boolean readOnly) { + + this.readOnly = readOnly; + return this; + } + + /** + * Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes. + * @return readOnly + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes.") + + public Boolean getReadOnly() { + return readOnly; + } + + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + + public OrganizationInboxProjection virtualInbox(Boolean virtualInbox) { + + this.virtualInbox = virtualInbox; + return this; + } + + /** + * Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions. + * @return virtualInbox + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions.") + + public Boolean getVirtualInbox() { + return virtualInbox; + } + + + public void setVirtualInbox(Boolean virtualInbox) { + this.virtualInbox = virtualInbox; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OrganizationInboxProjection organizationInboxProjection = (OrganizationInboxProjection) o; + return Objects.equals(this.id, organizationInboxProjection.id) && + Objects.equals(this.domainId, organizationInboxProjection.domainId) && + Objects.equals(this.createdAt, organizationInboxProjection.createdAt) && + Objects.equals(this.name, organizationInboxProjection.name) && + Objects.equals(this.emailAddress, organizationInboxProjection.emailAddress) && + Objects.equals(this.favourite, organizationInboxProjection.favourite) && + Objects.equals(this.tags, organizationInboxProjection.tags) && + Objects.equals(this.teamAccess, organizationInboxProjection.teamAccess) && + Objects.equals(this.inboxType, organizationInboxProjection.inboxType) && + Objects.equals(this.readOnly, organizationInboxProjection.readOnly) && + Objects.equals(this.virtualInbox, organizationInboxProjection.virtualInbox); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, domainId, createdAt, name, emailAddress, favourite, tags, teamAccess, inboxType, readOnly, virtualInbox); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OrganizationInboxProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" domainId: ").append(toIndentedString(domainId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" favourite: ").append(toIndentedString(favourite)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append(" teamAccess: ").append(toIndentedString(teamAccess)).append("\n"); + sb.append(" inboxType: ").append(toIndentedString(inboxType)).append("\n"); + sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + sb.append(" virtualInbox: ").append(toIndentedString(virtualInbox)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("domainId"); + openapiFields.add("createdAt"); + openapiFields.add("name"); + openapiFields.add("emailAddress"); + openapiFields.add("favourite"); + openapiFields.add("tags"); + openapiFields.add("teamAccess"); + openapiFields.add("inboxType"); + openapiFields.add("readOnly"); + openapiFields.add("virtualInbox"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("favourite"); + openapiRequiredFields.add("teamAccess"); + openapiRequiredFields.add("readOnly"); + openapiRequiredFields.add("virtualInbox"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to OrganizationInboxProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!OrganizationInboxProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in OrganizationInboxProjection is not found in the empty JSON string", OrganizationInboxProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!OrganizationInboxProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OrganizationInboxProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : OrganizationInboxProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("domainId") != null && !jsonObj.get("domainId").isJsonNull()) && !jsonObj.get("domainId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainId").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("emailAddress") != null && !jsonObj.get("emailAddress").isJsonNull()) && !jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); + } + if ((jsonObj.get("inboxType") != null && !jsonObj.get("inboxType").isJsonNull()) && !jsonObj.get("inboxType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OrganizationInboxProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OrganizationInboxProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(OrganizationInboxProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OrganizationInboxProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OrganizationInboxProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OrganizationInboxProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of OrganizationInboxProjection + * @throws IOException if the JSON string is invalid with respect to OrganizationInboxProjection + */ + public static OrganizationInboxProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OrganizationInboxProjection.class); + } + + /** + * Convert an instance of OrganizationInboxProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageAlias.java b/src/main/java/com/mailslurp/models/PageAlias.java new file mode 100644 index 000000000..bfd1e61dd --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageAlias.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.AliasProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated email alias results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated email alias results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageAlias { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageAlias() { + } + + public PageAlias content(List content) { + + this.content = content; + return this; + } + + public PageAlias addContentItem(AliasProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageAlias pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageAlias total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageAlias totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageAlias totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageAlias last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageAlias size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageAlias number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageAlias sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageAlias numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageAlias first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageAlias empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageAlias pageAlias = (PageAlias) o; + return Objects.equals(this.content, pageAlias.content) && + Objects.equals(this.pageable, pageAlias.pageable) && + Objects.equals(this.total, pageAlias.total) && + Objects.equals(this.totalElements, pageAlias.totalElements) && + Objects.equals(this.totalPages, pageAlias.totalPages) && + Objects.equals(this.last, pageAlias.last) && + Objects.equals(this.size, pageAlias.size) && + Objects.equals(this.number, pageAlias.number) && + Objects.equals(this.sort, pageAlias.sort) && + Objects.equals(this.numberOfElements, pageAlias.numberOfElements) && + Objects.equals(this.first, pageAlias.first) && + Objects.equals(this.empty, pageAlias.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageAlias {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageAlias + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageAlias.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageAlias is not found in the empty JSON string", PageAlias.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageAlias.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageAlias` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + AliasProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageAlias.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageAlias' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageAlias.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageAlias value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageAlias read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageAlias given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageAlias + * @throws IOException if the JSON string is invalid with respect to PageAlias + */ + public static PageAlias fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageAlias.class); + } + + /** + * Convert an instance of PageAlias to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageAttachmentEntity.java b/src/main/java/com/mailslurp/models/PageAttachmentEntity.java new file mode 100644 index 000000000..c11481d7e --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageAttachmentEntity.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.AttachmentProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated attachment entity results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated attachment entity results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageAttachmentEntity { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageAttachmentEntity() { + } + + public PageAttachmentEntity content(List content) { + + this.content = content; + return this; + } + + public PageAttachmentEntity addContentItem(AttachmentProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageAttachmentEntity pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageAttachmentEntity total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageAttachmentEntity totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageAttachmentEntity totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageAttachmentEntity last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageAttachmentEntity size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageAttachmentEntity number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageAttachmentEntity sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageAttachmentEntity numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageAttachmentEntity first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageAttachmentEntity empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageAttachmentEntity pageAttachmentEntity = (PageAttachmentEntity) o; + return Objects.equals(this.content, pageAttachmentEntity.content) && + Objects.equals(this.pageable, pageAttachmentEntity.pageable) && + Objects.equals(this.total, pageAttachmentEntity.total) && + Objects.equals(this.totalElements, pageAttachmentEntity.totalElements) && + Objects.equals(this.totalPages, pageAttachmentEntity.totalPages) && + Objects.equals(this.last, pageAttachmentEntity.last) && + Objects.equals(this.size, pageAttachmentEntity.size) && + Objects.equals(this.number, pageAttachmentEntity.number) && + Objects.equals(this.sort, pageAttachmentEntity.sort) && + Objects.equals(this.numberOfElements, pageAttachmentEntity.numberOfElements) && + Objects.equals(this.first, pageAttachmentEntity.first) && + Objects.equals(this.empty, pageAttachmentEntity.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageAttachmentEntity {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageAttachmentEntity + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageAttachmentEntity.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageAttachmentEntity is not found in the empty JSON string", PageAttachmentEntity.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageAttachmentEntity.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageAttachmentEntity` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + AttachmentProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageAttachmentEntity.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageAttachmentEntity' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageAttachmentEntity.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageAttachmentEntity value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageAttachmentEntity read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageAttachmentEntity given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageAttachmentEntity + * @throws IOException if the JSON string is invalid with respect to PageAttachmentEntity + */ + public static PageAttachmentEntity fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageAttachmentEntity.class); + } + + /** + * Convert an instance of PageAttachmentEntity to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageBouncedEmail.java b/src/main/java/com/mailslurp/models/PageBouncedEmail.java new file mode 100644 index 000000000..86a56bdd1 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageBouncedEmail.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.BounceProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated bounced email. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated bounced email. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageBouncedEmail { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageBouncedEmail() { + } + + public PageBouncedEmail content(List content) { + + this.content = content; + return this; + } + + public PageBouncedEmail addContentItem(BounceProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageBouncedEmail pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageBouncedEmail total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageBouncedEmail totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageBouncedEmail totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageBouncedEmail last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageBouncedEmail size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageBouncedEmail number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageBouncedEmail sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageBouncedEmail numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageBouncedEmail first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageBouncedEmail empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageBouncedEmail pageBouncedEmail = (PageBouncedEmail) o; + return Objects.equals(this.content, pageBouncedEmail.content) && + Objects.equals(this.pageable, pageBouncedEmail.pageable) && + Objects.equals(this.total, pageBouncedEmail.total) && + Objects.equals(this.totalElements, pageBouncedEmail.totalElements) && + Objects.equals(this.totalPages, pageBouncedEmail.totalPages) && + Objects.equals(this.last, pageBouncedEmail.last) && + Objects.equals(this.size, pageBouncedEmail.size) && + Objects.equals(this.number, pageBouncedEmail.number) && + Objects.equals(this.sort, pageBouncedEmail.sort) && + Objects.equals(this.numberOfElements, pageBouncedEmail.numberOfElements) && + Objects.equals(this.first, pageBouncedEmail.first) && + Objects.equals(this.empty, pageBouncedEmail.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageBouncedEmail {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageBouncedEmail + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageBouncedEmail.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageBouncedEmail is not found in the empty JSON string", PageBouncedEmail.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageBouncedEmail.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageBouncedEmail` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + BounceProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageBouncedEmail.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageBouncedEmail' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageBouncedEmail.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageBouncedEmail value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageBouncedEmail read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageBouncedEmail given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageBouncedEmail + * @throws IOException if the JSON string is invalid with respect to PageBouncedEmail + */ + public static PageBouncedEmail fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageBouncedEmail.class); + } + + /** + * Convert an instance of PageBouncedEmail to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageBouncedRecipients.java b/src/main/java/com/mailslurp/models/PageBouncedRecipients.java new file mode 100644 index 000000000..49ef1c285 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageBouncedRecipients.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.BounceRecipientProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated bounced recipients. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated bounced recipients. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageBouncedRecipients { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageBouncedRecipients() { + } + + public PageBouncedRecipients content(List content) { + + this.content = content; + return this; + } + + public PageBouncedRecipients addContentItem(BounceRecipientProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageBouncedRecipients pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageBouncedRecipients total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageBouncedRecipients totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageBouncedRecipients totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageBouncedRecipients last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageBouncedRecipients size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageBouncedRecipients number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageBouncedRecipients sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageBouncedRecipients numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageBouncedRecipients first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageBouncedRecipients empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageBouncedRecipients pageBouncedRecipients = (PageBouncedRecipients) o; + return Objects.equals(this.content, pageBouncedRecipients.content) && + Objects.equals(this.pageable, pageBouncedRecipients.pageable) && + Objects.equals(this.total, pageBouncedRecipients.total) && + Objects.equals(this.totalElements, pageBouncedRecipients.totalElements) && + Objects.equals(this.totalPages, pageBouncedRecipients.totalPages) && + Objects.equals(this.last, pageBouncedRecipients.last) && + Objects.equals(this.size, pageBouncedRecipients.size) && + Objects.equals(this.number, pageBouncedRecipients.number) && + Objects.equals(this.sort, pageBouncedRecipients.sort) && + Objects.equals(this.numberOfElements, pageBouncedRecipients.numberOfElements) && + Objects.equals(this.first, pageBouncedRecipients.first) && + Objects.equals(this.empty, pageBouncedRecipients.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageBouncedRecipients {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageBouncedRecipients + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageBouncedRecipients.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageBouncedRecipients is not found in the empty JSON string", PageBouncedRecipients.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageBouncedRecipients.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageBouncedRecipients` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + BounceRecipientProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageBouncedRecipients.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageBouncedRecipients' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageBouncedRecipients.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageBouncedRecipients value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageBouncedRecipients read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageBouncedRecipients given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageBouncedRecipients + * @throws IOException if the JSON string is invalid with respect to PageBouncedRecipients + */ + public static PageBouncedRecipients fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageBouncedRecipients.class); + } + + /** + * Convert an instance of PageBouncedRecipients to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageComplaint.java b/src/main/java/com/mailslurp/models/PageComplaint.java new file mode 100644 index 000000000..af31ade7a --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageComplaint.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.Complaint; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated complaint email. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated complaint email. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageComplaint { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageComplaint() { + } + + public PageComplaint content(List content) { + + this.content = content; + return this; + } + + public PageComplaint addContentItem(Complaint contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageComplaint pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageComplaint total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageComplaint totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageComplaint totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageComplaint last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageComplaint size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageComplaint number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageComplaint sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageComplaint numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageComplaint first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageComplaint empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageComplaint pageComplaint = (PageComplaint) o; + return Objects.equals(this.content, pageComplaint.content) && + Objects.equals(this.pageable, pageComplaint.pageable) && + Objects.equals(this.total, pageComplaint.total) && + Objects.equals(this.totalElements, pageComplaint.totalElements) && + Objects.equals(this.totalPages, pageComplaint.totalPages) && + Objects.equals(this.last, pageComplaint.last) && + Objects.equals(this.size, pageComplaint.size) && + Objects.equals(this.number, pageComplaint.number) && + Objects.equals(this.sort, pageComplaint.sort) && + Objects.equals(this.numberOfElements, pageComplaint.numberOfElements) && + Objects.equals(this.first, pageComplaint.first) && + Objects.equals(this.empty, pageComplaint.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageComplaint {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageComplaint + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageComplaint.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageComplaint is not found in the empty JSON string", PageComplaint.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageComplaint.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageComplaint` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + Complaint.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageComplaint.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageComplaint' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageComplaint.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageComplaint value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageComplaint read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageComplaint given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageComplaint + * @throws IOException if the JSON string is invalid with respect to PageComplaint + */ + public static PageComplaint fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageComplaint.class); + } + + /** + * Convert an instance of PageComplaint to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageConnector.java b/src/main/java/com/mailslurp/models/PageConnector.java new file mode 100644 index 000000000..383c65a93 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageConnector.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated inbox connectors. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated inbox connectors. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageConnector { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageConnector() { + } + + public PageConnector content(List content) { + + this.content = content; + return this; + } + + public PageConnector addContentItem(ConnectorProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageConnector pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageConnector total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageConnector totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageConnector totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageConnector last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageConnector size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageConnector number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageConnector sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageConnector numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageConnector first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageConnector empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageConnector pageConnector = (PageConnector) o; + return Objects.equals(this.content, pageConnector.content) && + Objects.equals(this.pageable, pageConnector.pageable) && + Objects.equals(this.total, pageConnector.total) && + Objects.equals(this.totalElements, pageConnector.totalElements) && + Objects.equals(this.totalPages, pageConnector.totalPages) && + Objects.equals(this.last, pageConnector.last) && + Objects.equals(this.size, pageConnector.size) && + Objects.equals(this.number, pageConnector.number) && + Objects.equals(this.sort, pageConnector.sort) && + Objects.equals(this.numberOfElements, pageConnector.numberOfElements) && + Objects.equals(this.first, pageConnector.first) && + Objects.equals(this.empty, pageConnector.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageConnector {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageConnector + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageConnector.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageConnector is not found in the empty JSON string", PageConnector.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageConnector.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageConnector` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + ConnectorProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageConnector.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageConnector' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageConnector.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageConnector value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageConnector read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageConnector given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageConnector + * @throws IOException if the JSON string is invalid with respect to PageConnector + */ + public static PageConnector fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageConnector.class); + } + + /** + * Convert an instance of PageConnector to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageConnectorSyncEvents.java b/src/main/java/com/mailslurp/models/PageConnectorSyncEvents.java new file mode 100644 index 000000000..16b032dc8 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageConnectorSyncEvents.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorSyncEventProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated inbox connector sync events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated inbox connector sync events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageConnectorSyncEvents { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageConnectorSyncEvents() { + } + + public PageConnectorSyncEvents content(List content) { + + this.content = content; + return this; + } + + public PageConnectorSyncEvents addContentItem(ConnectorSyncEventProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageConnectorSyncEvents pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageConnectorSyncEvents total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageConnectorSyncEvents totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageConnectorSyncEvents totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageConnectorSyncEvents last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageConnectorSyncEvents size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageConnectorSyncEvents number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageConnectorSyncEvents sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageConnectorSyncEvents numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageConnectorSyncEvents first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageConnectorSyncEvents empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageConnectorSyncEvents pageConnectorSyncEvents = (PageConnectorSyncEvents) o; + return Objects.equals(this.content, pageConnectorSyncEvents.content) && + Objects.equals(this.pageable, pageConnectorSyncEvents.pageable) && + Objects.equals(this.total, pageConnectorSyncEvents.total) && + Objects.equals(this.totalElements, pageConnectorSyncEvents.totalElements) && + Objects.equals(this.totalPages, pageConnectorSyncEvents.totalPages) && + Objects.equals(this.last, pageConnectorSyncEvents.last) && + Objects.equals(this.size, pageConnectorSyncEvents.size) && + Objects.equals(this.number, pageConnectorSyncEvents.number) && + Objects.equals(this.sort, pageConnectorSyncEvents.sort) && + Objects.equals(this.numberOfElements, pageConnectorSyncEvents.numberOfElements) && + Objects.equals(this.first, pageConnectorSyncEvents.first) && + Objects.equals(this.empty, pageConnectorSyncEvents.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageConnectorSyncEvents {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageConnectorSyncEvents + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageConnectorSyncEvents.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageConnectorSyncEvents is not found in the empty JSON string", PageConnectorSyncEvents.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageConnectorSyncEvents.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageConnectorSyncEvents` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + ConnectorSyncEventProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageConnectorSyncEvents.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageConnectorSyncEvents' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageConnectorSyncEvents.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageConnectorSyncEvents value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageConnectorSyncEvents read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageConnectorSyncEvents given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageConnectorSyncEvents + * @throws IOException if the JSON string is invalid with respect to PageConnectorSyncEvents + */ + public static PageConnectorSyncEvents fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageConnectorSyncEvents.class); + } + + /** + * Convert an instance of PageConnectorSyncEvents to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageContactProjection.java b/src/main/java/com/mailslurp/models/PageContactProjection.java new file mode 100644 index 000000000..ceea4b102 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageContactProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ContactProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated contact results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated contact results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageContactProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageContactProjection() { + } + + public PageContactProjection content(List content) { + + this.content = content; + return this; + } + + public PageContactProjection addContentItem(ContactProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageContactProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageContactProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageContactProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageContactProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageContactProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageContactProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageContactProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageContactProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageContactProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageContactProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageContactProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageContactProjection pageContactProjection = (PageContactProjection) o; + return Objects.equals(this.content, pageContactProjection.content) && + Objects.equals(this.pageable, pageContactProjection.pageable) && + Objects.equals(this.total, pageContactProjection.total) && + Objects.equals(this.totalElements, pageContactProjection.totalElements) && + Objects.equals(this.totalPages, pageContactProjection.totalPages) && + Objects.equals(this.last, pageContactProjection.last) && + Objects.equals(this.size, pageContactProjection.size) && + Objects.equals(this.number, pageContactProjection.number) && + Objects.equals(this.sort, pageContactProjection.sort) && + Objects.equals(this.numberOfElements, pageContactProjection.numberOfElements) && + Objects.equals(this.first, pageContactProjection.first) && + Objects.equals(this.empty, pageContactProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageContactProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageContactProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageContactProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageContactProjection is not found in the empty JSON string", PageContactProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageContactProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageContactProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + ContactProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageContactProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageContactProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageContactProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageContactProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageContactProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageContactProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageContactProjection + * @throws IOException if the JSON string is invalid with respect to PageContactProjection + */ + public static PageContactProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageContactProjection.class); + } + + /** + * Convert an instance of PageContactProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageDeliveryStatus.java b/src/main/java/com/mailslurp/models/PageDeliveryStatus.java new file mode 100644 index 000000000..b57475f7c --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageDeliveryStatus.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.DeliveryStatusDto; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated delivery status results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated delivery status results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageDeliveryStatus { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageDeliveryStatus() { + } + + public PageDeliveryStatus content(List content) { + + this.content = content; + return this; + } + + public PageDeliveryStatus addContentItem(DeliveryStatusDto contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageDeliveryStatus pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageDeliveryStatus total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageDeliveryStatus totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageDeliveryStatus totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageDeliveryStatus last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageDeliveryStatus size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageDeliveryStatus number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageDeliveryStatus sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageDeliveryStatus numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageDeliveryStatus first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageDeliveryStatus empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageDeliveryStatus pageDeliveryStatus = (PageDeliveryStatus) o; + return Objects.equals(this.content, pageDeliveryStatus.content) && + Objects.equals(this.pageable, pageDeliveryStatus.pageable) && + Objects.equals(this.total, pageDeliveryStatus.total) && + Objects.equals(this.totalElements, pageDeliveryStatus.totalElements) && + Objects.equals(this.totalPages, pageDeliveryStatus.totalPages) && + Objects.equals(this.last, pageDeliveryStatus.last) && + Objects.equals(this.size, pageDeliveryStatus.size) && + Objects.equals(this.number, pageDeliveryStatus.number) && + Objects.equals(this.sort, pageDeliveryStatus.sort) && + Objects.equals(this.numberOfElements, pageDeliveryStatus.numberOfElements) && + Objects.equals(this.first, pageDeliveryStatus.first) && + Objects.equals(this.empty, pageDeliveryStatus.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageDeliveryStatus {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageDeliveryStatus + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageDeliveryStatus.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageDeliveryStatus is not found in the empty JSON string", PageDeliveryStatus.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageDeliveryStatus.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageDeliveryStatus` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + DeliveryStatusDto.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageDeliveryStatus.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageDeliveryStatus' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageDeliveryStatus.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageDeliveryStatus value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageDeliveryStatus read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageDeliveryStatus given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageDeliveryStatus + * @throws IOException if the JSON string is invalid with respect to PageDeliveryStatus + */ + public static PageDeliveryStatus fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageDeliveryStatus.class); + } + + /** + * Convert an instance of PageDeliveryStatus to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageEmailPreview.java b/src/main/java/com/mailslurp/models/PageEmailPreview.java new file mode 100644 index 000000000..c25637261 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageEmailPreview.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.EmailPreview; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated email preview results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments. + */ +@ApiModel(description = "Paginated email preview results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageEmailPreview { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageEmailPreview() { + } + + public PageEmailPreview content(List content) { + + this.content = content; + return this; + } + + public PageEmailPreview addContentItem(EmailPreview contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageEmailPreview pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageEmailPreview total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageEmailPreview totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageEmailPreview totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageEmailPreview last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageEmailPreview size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageEmailPreview number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageEmailPreview sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageEmailPreview numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageEmailPreview first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageEmailPreview empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageEmailPreview pageEmailPreview = (PageEmailPreview) o; + return Objects.equals(this.content, pageEmailPreview.content) && + Objects.equals(this.pageable, pageEmailPreview.pageable) && + Objects.equals(this.total, pageEmailPreview.total) && + Objects.equals(this.totalElements, pageEmailPreview.totalElements) && + Objects.equals(this.totalPages, pageEmailPreview.totalPages) && + Objects.equals(this.last, pageEmailPreview.last) && + Objects.equals(this.size, pageEmailPreview.size) && + Objects.equals(this.number, pageEmailPreview.number) && + Objects.equals(this.sort, pageEmailPreview.sort) && + Objects.equals(this.numberOfElements, pageEmailPreview.numberOfElements) && + Objects.equals(this.first, pageEmailPreview.first) && + Objects.equals(this.empty, pageEmailPreview.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageEmailPreview {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageEmailPreview + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageEmailPreview.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageEmailPreview is not found in the empty JSON string", PageEmailPreview.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageEmailPreview.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageEmailPreview` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + EmailPreview.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageEmailPreview.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageEmailPreview' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageEmailPreview.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageEmailPreview value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageEmailPreview read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageEmailPreview given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageEmailPreview + * @throws IOException if the JSON string is invalid with respect to PageEmailPreview + */ + public static PageEmailPreview fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageEmailPreview.class); + } + + /** + * Convert an instance of PageEmailPreview to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageEmailProjection.java b/src/main/java/com/mailslurp/models/PageEmailProjection.java new file mode 100644 index 000000000..30176fd82 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageEmailProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.EmailProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated email projection results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full email entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments. + */ +@ApiModel(description = "Paginated email projection results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full email entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageEmailProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageEmailProjection() { + } + + public PageEmailProjection content(List content) { + + this.content = content; + return this; + } + + public PageEmailProjection addContentItem(EmailProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageEmailProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageEmailProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageEmailProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageEmailProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageEmailProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageEmailProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageEmailProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageEmailProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageEmailProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageEmailProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageEmailProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageEmailProjection pageEmailProjection = (PageEmailProjection) o; + return Objects.equals(this.content, pageEmailProjection.content) && + Objects.equals(this.pageable, pageEmailProjection.pageable) && + Objects.equals(this.total, pageEmailProjection.total) && + Objects.equals(this.totalElements, pageEmailProjection.totalElements) && + Objects.equals(this.totalPages, pageEmailProjection.totalPages) && + Objects.equals(this.last, pageEmailProjection.last) && + Objects.equals(this.size, pageEmailProjection.size) && + Objects.equals(this.number, pageEmailProjection.number) && + Objects.equals(this.sort, pageEmailProjection.sort) && + Objects.equals(this.numberOfElements, pageEmailProjection.numberOfElements) && + Objects.equals(this.first, pageEmailProjection.first) && + Objects.equals(this.empty, pageEmailProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageEmailProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageEmailProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageEmailProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageEmailProjection is not found in the empty JSON string", PageEmailProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageEmailProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageEmailProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + EmailProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageEmailProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageEmailProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageEmailProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageEmailProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageEmailProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageEmailProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageEmailProjection + * @throws IOException if the JSON string is invalid with respect to PageEmailProjection + */ + public static PageEmailProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageEmailProjection.class); + } + + /** + * Convert an instance of PageEmailProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageEmailValidationRequest.java b/src/main/java/com/mailslurp/models/PageEmailValidationRequest.java new file mode 100644 index 000000000..c6b29a730 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageEmailValidationRequest.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.EmailValidationRequestDto; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated email validation request records. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated email validation request records. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageEmailValidationRequest { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageEmailValidationRequest() { + } + + public PageEmailValidationRequest content(List content) { + + this.content = content; + return this; + } + + public PageEmailValidationRequest addContentItem(EmailValidationRequestDto contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageEmailValidationRequest pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageEmailValidationRequest total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageEmailValidationRequest totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageEmailValidationRequest totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageEmailValidationRequest last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageEmailValidationRequest size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageEmailValidationRequest number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageEmailValidationRequest sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageEmailValidationRequest numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageEmailValidationRequest first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageEmailValidationRequest empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageEmailValidationRequest pageEmailValidationRequest = (PageEmailValidationRequest) o; + return Objects.equals(this.content, pageEmailValidationRequest.content) && + Objects.equals(this.pageable, pageEmailValidationRequest.pageable) && + Objects.equals(this.total, pageEmailValidationRequest.total) && + Objects.equals(this.totalElements, pageEmailValidationRequest.totalElements) && + Objects.equals(this.totalPages, pageEmailValidationRequest.totalPages) && + Objects.equals(this.last, pageEmailValidationRequest.last) && + Objects.equals(this.size, pageEmailValidationRequest.size) && + Objects.equals(this.number, pageEmailValidationRequest.number) && + Objects.equals(this.sort, pageEmailValidationRequest.sort) && + Objects.equals(this.numberOfElements, pageEmailValidationRequest.numberOfElements) && + Objects.equals(this.first, pageEmailValidationRequest.first) && + Objects.equals(this.empty, pageEmailValidationRequest.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageEmailValidationRequest {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageEmailValidationRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageEmailValidationRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageEmailValidationRequest is not found in the empty JSON string", PageEmailValidationRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageEmailValidationRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageEmailValidationRequest` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + EmailValidationRequestDto.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageEmailValidationRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageEmailValidationRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageEmailValidationRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageEmailValidationRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageEmailValidationRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageEmailValidationRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageEmailValidationRequest + * @throws IOException if the JSON string is invalid with respect to PageEmailValidationRequest + */ + public static PageEmailValidationRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageEmailValidationRequest.class); + } + + /** + * Convert an instance of PageEmailValidationRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageExpiredInboxRecordProjection.java b/src/main/java/com/mailslurp/models/PageExpiredInboxRecordProjection.java new file mode 100644 index 000000000..38f51f964 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageExpiredInboxRecordProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ExpiredInboxRecordProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated expired inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated expired inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageExpiredInboxRecordProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageExpiredInboxRecordProjection() { + } + + public PageExpiredInboxRecordProjection content(List content) { + + this.content = content; + return this; + } + + public PageExpiredInboxRecordProjection addContentItem(ExpiredInboxRecordProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageExpiredInboxRecordProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageExpiredInboxRecordProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageExpiredInboxRecordProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageExpiredInboxRecordProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageExpiredInboxRecordProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageExpiredInboxRecordProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageExpiredInboxRecordProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageExpiredInboxRecordProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageExpiredInboxRecordProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageExpiredInboxRecordProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageExpiredInboxRecordProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageExpiredInboxRecordProjection pageExpiredInboxRecordProjection = (PageExpiredInboxRecordProjection) o; + return Objects.equals(this.content, pageExpiredInboxRecordProjection.content) && + Objects.equals(this.pageable, pageExpiredInboxRecordProjection.pageable) && + Objects.equals(this.total, pageExpiredInboxRecordProjection.total) && + Objects.equals(this.totalElements, pageExpiredInboxRecordProjection.totalElements) && + Objects.equals(this.totalPages, pageExpiredInboxRecordProjection.totalPages) && + Objects.equals(this.last, pageExpiredInboxRecordProjection.last) && + Objects.equals(this.size, pageExpiredInboxRecordProjection.size) && + Objects.equals(this.number, pageExpiredInboxRecordProjection.number) && + Objects.equals(this.sort, pageExpiredInboxRecordProjection.sort) && + Objects.equals(this.numberOfElements, pageExpiredInboxRecordProjection.numberOfElements) && + Objects.equals(this.first, pageExpiredInboxRecordProjection.first) && + Objects.equals(this.empty, pageExpiredInboxRecordProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageExpiredInboxRecordProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageExpiredInboxRecordProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageExpiredInboxRecordProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageExpiredInboxRecordProjection is not found in the empty JSON string", PageExpiredInboxRecordProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageExpiredInboxRecordProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageExpiredInboxRecordProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + ExpiredInboxRecordProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageExpiredInboxRecordProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageExpiredInboxRecordProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageExpiredInboxRecordProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageExpiredInboxRecordProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageExpiredInboxRecordProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageExpiredInboxRecordProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageExpiredInboxRecordProjection + * @throws IOException if the JSON string is invalid with respect to PageExpiredInboxRecordProjection + */ + public static PageExpiredInboxRecordProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageExpiredInboxRecordProjection.class); + } + + /** + * Convert an instance of PageExpiredInboxRecordProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageGroupProjection.java b/src/main/java/com/mailslurp/models/PageGroupProjection.java new file mode 100644 index 000000000..5e14c2b38 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageGroupProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.GroupProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated missed email results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated missed email results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageGroupProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageGroupProjection() { + } + + public PageGroupProjection content(List content) { + + this.content = content; + return this; + } + + public PageGroupProjection addContentItem(GroupProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageGroupProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageGroupProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageGroupProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageGroupProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageGroupProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageGroupProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageGroupProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageGroupProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageGroupProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageGroupProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageGroupProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageGroupProjection pageGroupProjection = (PageGroupProjection) o; + return Objects.equals(this.content, pageGroupProjection.content) && + Objects.equals(this.pageable, pageGroupProjection.pageable) && + Objects.equals(this.total, pageGroupProjection.total) && + Objects.equals(this.totalElements, pageGroupProjection.totalElements) && + Objects.equals(this.totalPages, pageGroupProjection.totalPages) && + Objects.equals(this.last, pageGroupProjection.last) && + Objects.equals(this.size, pageGroupProjection.size) && + Objects.equals(this.number, pageGroupProjection.number) && + Objects.equals(this.sort, pageGroupProjection.sort) && + Objects.equals(this.numberOfElements, pageGroupProjection.numberOfElements) && + Objects.equals(this.first, pageGroupProjection.first) && + Objects.equals(this.empty, pageGroupProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageGroupProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageGroupProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageGroupProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageGroupProjection is not found in the empty JSON string", PageGroupProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageGroupProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageGroupProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + GroupProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageGroupProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageGroupProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageGroupProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageGroupProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageGroupProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageGroupProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageGroupProjection + * @throws IOException if the JSON string is invalid with respect to PageGroupProjection + */ + public static PageGroupProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageGroupProjection.class); + } + + /** + * Convert an instance of PageGroupProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageInboxForwarderDto.java b/src/main/java/com/mailslurp/models/PageInboxForwarderDto.java new file mode 100644 index 000000000..c696a10cf --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageInboxForwarderDto.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxForwarderDto; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated inbox forwarder results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated inbox forwarder results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageInboxForwarderDto { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageInboxForwarderDto() { + } + + public PageInboxForwarderDto content(List content) { + + this.content = content; + return this; + } + + public PageInboxForwarderDto addContentItem(InboxForwarderDto contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageInboxForwarderDto pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageInboxForwarderDto total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageInboxForwarderDto totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageInboxForwarderDto totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageInboxForwarderDto last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageInboxForwarderDto size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageInboxForwarderDto number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageInboxForwarderDto sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageInboxForwarderDto numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageInboxForwarderDto first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageInboxForwarderDto empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageInboxForwarderDto pageInboxForwarderDto = (PageInboxForwarderDto) o; + return Objects.equals(this.content, pageInboxForwarderDto.content) && + Objects.equals(this.pageable, pageInboxForwarderDto.pageable) && + Objects.equals(this.total, pageInboxForwarderDto.total) && + Objects.equals(this.totalElements, pageInboxForwarderDto.totalElements) && + Objects.equals(this.totalPages, pageInboxForwarderDto.totalPages) && + Objects.equals(this.last, pageInboxForwarderDto.last) && + Objects.equals(this.size, pageInboxForwarderDto.size) && + Objects.equals(this.number, pageInboxForwarderDto.number) && + Objects.equals(this.sort, pageInboxForwarderDto.sort) && + Objects.equals(this.numberOfElements, pageInboxForwarderDto.numberOfElements) && + Objects.equals(this.first, pageInboxForwarderDto.first) && + Objects.equals(this.empty, pageInboxForwarderDto.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageInboxForwarderDto {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageInboxForwarderDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageInboxForwarderDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageInboxForwarderDto is not found in the empty JSON string", PageInboxForwarderDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageInboxForwarderDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageInboxForwarderDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + InboxForwarderDto.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageInboxForwarderDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageInboxForwarderDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageInboxForwarderDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageInboxForwarderDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageInboxForwarderDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageInboxForwarderDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageInboxForwarderDto + * @throws IOException if the JSON string is invalid with respect to PageInboxForwarderDto + */ + public static PageInboxForwarderDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageInboxForwarderDto.class); + } + + /** + * Convert an instance of PageInboxForwarderDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageInboxForwarderEvents.java b/src/main/java/com/mailslurp/models/PageInboxForwarderEvents.java new file mode 100644 index 000000000..bb9b0499e --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageInboxForwarderEvents.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxForwarderEventProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated inbox forwarder events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated inbox forwarder events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageInboxForwarderEvents { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageInboxForwarderEvents() { + } + + public PageInboxForwarderEvents content(List content) { + + this.content = content; + return this; + } + + public PageInboxForwarderEvents addContentItem(InboxForwarderEventProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageInboxForwarderEvents pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageInboxForwarderEvents total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageInboxForwarderEvents totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageInboxForwarderEvents totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageInboxForwarderEvents last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageInboxForwarderEvents size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageInboxForwarderEvents number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageInboxForwarderEvents sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageInboxForwarderEvents numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageInboxForwarderEvents first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageInboxForwarderEvents empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageInboxForwarderEvents pageInboxForwarderEvents = (PageInboxForwarderEvents) o; + return Objects.equals(this.content, pageInboxForwarderEvents.content) && + Objects.equals(this.pageable, pageInboxForwarderEvents.pageable) && + Objects.equals(this.total, pageInboxForwarderEvents.total) && + Objects.equals(this.totalElements, pageInboxForwarderEvents.totalElements) && + Objects.equals(this.totalPages, pageInboxForwarderEvents.totalPages) && + Objects.equals(this.last, pageInboxForwarderEvents.last) && + Objects.equals(this.size, pageInboxForwarderEvents.size) && + Objects.equals(this.number, pageInboxForwarderEvents.number) && + Objects.equals(this.sort, pageInboxForwarderEvents.sort) && + Objects.equals(this.numberOfElements, pageInboxForwarderEvents.numberOfElements) && + Objects.equals(this.first, pageInboxForwarderEvents.first) && + Objects.equals(this.empty, pageInboxForwarderEvents.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageInboxForwarderEvents {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageInboxForwarderEvents + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageInboxForwarderEvents.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageInboxForwarderEvents is not found in the empty JSON string", PageInboxForwarderEvents.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageInboxForwarderEvents.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageInboxForwarderEvents` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + InboxForwarderEventProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageInboxForwarderEvents.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageInboxForwarderEvents' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageInboxForwarderEvents.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageInboxForwarderEvents value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageInboxForwarderEvents read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageInboxForwarderEvents given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageInboxForwarderEvents + * @throws IOException if the JSON string is invalid with respect to PageInboxForwarderEvents + */ + public static PageInboxForwarderEvents fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageInboxForwarderEvents.class); + } + + /** + * Convert an instance of PageInboxForwarderEvents to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageInboxProjection.java b/src/main/java/com/mailslurp/models/PageInboxProjection.java new file mode 100644 index 000000000..6e207775c --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageInboxProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxPreview; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageInboxProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageInboxProjection() { + } + + public PageInboxProjection content(List content) { + + this.content = content; + return this; + } + + public PageInboxProjection addContentItem(InboxPreview contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageInboxProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageInboxProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageInboxProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageInboxProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageInboxProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageInboxProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageInboxProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageInboxProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageInboxProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageInboxProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageInboxProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageInboxProjection pageInboxProjection = (PageInboxProjection) o; + return Objects.equals(this.content, pageInboxProjection.content) && + Objects.equals(this.pageable, pageInboxProjection.pageable) && + Objects.equals(this.total, pageInboxProjection.total) && + Objects.equals(this.totalElements, pageInboxProjection.totalElements) && + Objects.equals(this.totalPages, pageInboxProjection.totalPages) && + Objects.equals(this.last, pageInboxProjection.last) && + Objects.equals(this.size, pageInboxProjection.size) && + Objects.equals(this.number, pageInboxProjection.number) && + Objects.equals(this.sort, pageInboxProjection.sort) && + Objects.equals(this.numberOfElements, pageInboxProjection.numberOfElements) && + Objects.equals(this.first, pageInboxProjection.first) && + Objects.equals(this.empty, pageInboxProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageInboxProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageInboxProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageInboxProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageInboxProjection is not found in the empty JSON string", PageInboxProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageInboxProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageInboxProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + InboxPreview.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageInboxProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageInboxProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageInboxProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageInboxProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageInboxProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageInboxProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageInboxProjection + * @throws IOException if the JSON string is invalid with respect to PageInboxProjection + */ + public static PageInboxProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageInboxProjection.class); + } + + /** + * Convert an instance of PageInboxProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageInboxReplierDto.java b/src/main/java/com/mailslurp/models/PageInboxReplierDto.java new file mode 100644 index 000000000..ae8b791c5 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageInboxReplierDto.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxReplierDto; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated inbox replier results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated inbox replier results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageInboxReplierDto { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageInboxReplierDto() { + } + + public PageInboxReplierDto content(List content) { + + this.content = content; + return this; + } + + public PageInboxReplierDto addContentItem(InboxReplierDto contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageInboxReplierDto pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageInboxReplierDto total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageInboxReplierDto totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageInboxReplierDto totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageInboxReplierDto last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageInboxReplierDto size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageInboxReplierDto number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageInboxReplierDto sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageInboxReplierDto numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageInboxReplierDto first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageInboxReplierDto empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageInboxReplierDto pageInboxReplierDto = (PageInboxReplierDto) o; + return Objects.equals(this.content, pageInboxReplierDto.content) && + Objects.equals(this.pageable, pageInboxReplierDto.pageable) && + Objects.equals(this.total, pageInboxReplierDto.total) && + Objects.equals(this.totalElements, pageInboxReplierDto.totalElements) && + Objects.equals(this.totalPages, pageInboxReplierDto.totalPages) && + Objects.equals(this.last, pageInboxReplierDto.last) && + Objects.equals(this.size, pageInboxReplierDto.size) && + Objects.equals(this.number, pageInboxReplierDto.number) && + Objects.equals(this.sort, pageInboxReplierDto.sort) && + Objects.equals(this.numberOfElements, pageInboxReplierDto.numberOfElements) && + Objects.equals(this.first, pageInboxReplierDto.first) && + Objects.equals(this.empty, pageInboxReplierDto.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageInboxReplierDto {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageInboxReplierDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageInboxReplierDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageInboxReplierDto is not found in the empty JSON string", PageInboxReplierDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageInboxReplierDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageInboxReplierDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + InboxReplierDto.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageInboxReplierDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageInboxReplierDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageInboxReplierDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageInboxReplierDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageInboxReplierDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageInboxReplierDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageInboxReplierDto + * @throws IOException if the JSON string is invalid with respect to PageInboxReplierDto + */ + public static PageInboxReplierDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageInboxReplierDto.class); + } + + /** + * Convert an instance of PageInboxReplierDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageInboxReplierEvents.java b/src/main/java/com/mailslurp/models/PageInboxReplierEvents.java new file mode 100644 index 000000000..c95d6d229 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageInboxReplierEvents.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxReplierEventProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated inbox replier events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated inbox replier events. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageInboxReplierEvents { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageInboxReplierEvents() { + } + + public PageInboxReplierEvents content(List content) { + + this.content = content; + return this; + } + + public PageInboxReplierEvents addContentItem(InboxReplierEventProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageInboxReplierEvents pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageInboxReplierEvents total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageInboxReplierEvents totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageInboxReplierEvents totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageInboxReplierEvents last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageInboxReplierEvents size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageInboxReplierEvents number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageInboxReplierEvents sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageInboxReplierEvents numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageInboxReplierEvents first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageInboxReplierEvents empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageInboxReplierEvents pageInboxReplierEvents = (PageInboxReplierEvents) o; + return Objects.equals(this.content, pageInboxReplierEvents.content) && + Objects.equals(this.pageable, pageInboxReplierEvents.pageable) && + Objects.equals(this.total, pageInboxReplierEvents.total) && + Objects.equals(this.totalElements, pageInboxReplierEvents.totalElements) && + Objects.equals(this.totalPages, pageInboxReplierEvents.totalPages) && + Objects.equals(this.last, pageInboxReplierEvents.last) && + Objects.equals(this.size, pageInboxReplierEvents.size) && + Objects.equals(this.number, pageInboxReplierEvents.number) && + Objects.equals(this.sort, pageInboxReplierEvents.sort) && + Objects.equals(this.numberOfElements, pageInboxReplierEvents.numberOfElements) && + Objects.equals(this.first, pageInboxReplierEvents.first) && + Objects.equals(this.empty, pageInboxReplierEvents.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageInboxReplierEvents {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageInboxReplierEvents + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageInboxReplierEvents.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageInboxReplierEvents is not found in the empty JSON string", PageInboxReplierEvents.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageInboxReplierEvents.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageInboxReplierEvents` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + InboxReplierEventProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageInboxReplierEvents.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageInboxReplierEvents' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageInboxReplierEvents.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageInboxReplierEvents value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageInboxReplierEvents read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageInboxReplierEvents given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageInboxReplierEvents + * @throws IOException if the JSON string is invalid with respect to PageInboxReplierEvents + */ + public static PageInboxReplierEvents fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageInboxReplierEvents.class); + } + + /** + * Convert an instance of PageInboxReplierEvents to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageInboxRulesetDto.java b/src/main/java/com/mailslurp/models/PageInboxRulesetDto.java new file mode 100644 index 000000000..6cd6e476f --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageInboxRulesetDto.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxRulesetDto; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated inbox ruleset results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated inbox ruleset results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageInboxRulesetDto { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageInboxRulesetDto() { + } + + public PageInboxRulesetDto content(List content) { + + this.content = content; + return this; + } + + public PageInboxRulesetDto addContentItem(InboxRulesetDto contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageInboxRulesetDto pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageInboxRulesetDto total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageInboxRulesetDto totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageInboxRulesetDto totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageInboxRulesetDto last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageInboxRulesetDto size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageInboxRulesetDto number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageInboxRulesetDto sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageInboxRulesetDto numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageInboxRulesetDto first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageInboxRulesetDto empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageInboxRulesetDto pageInboxRulesetDto = (PageInboxRulesetDto) o; + return Objects.equals(this.content, pageInboxRulesetDto.content) && + Objects.equals(this.pageable, pageInboxRulesetDto.pageable) && + Objects.equals(this.total, pageInboxRulesetDto.total) && + Objects.equals(this.totalElements, pageInboxRulesetDto.totalElements) && + Objects.equals(this.totalPages, pageInboxRulesetDto.totalPages) && + Objects.equals(this.last, pageInboxRulesetDto.last) && + Objects.equals(this.size, pageInboxRulesetDto.size) && + Objects.equals(this.number, pageInboxRulesetDto.number) && + Objects.equals(this.sort, pageInboxRulesetDto.sort) && + Objects.equals(this.numberOfElements, pageInboxRulesetDto.numberOfElements) && + Objects.equals(this.first, pageInboxRulesetDto.first) && + Objects.equals(this.empty, pageInboxRulesetDto.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageInboxRulesetDto {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageInboxRulesetDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageInboxRulesetDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageInboxRulesetDto is not found in the empty JSON string", PageInboxRulesetDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageInboxRulesetDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageInboxRulesetDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + InboxRulesetDto.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageInboxRulesetDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageInboxRulesetDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageInboxRulesetDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageInboxRulesetDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageInboxRulesetDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageInboxRulesetDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageInboxRulesetDto + * @throws IOException if the JSON string is invalid with respect to PageInboxRulesetDto + */ + public static PageInboxRulesetDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageInboxRulesetDto.class); + } + + /** + * Convert an instance of PageInboxRulesetDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageListUnsubscribeRecipients.java b/src/main/java/com/mailslurp/models/PageListUnsubscribeRecipients.java new file mode 100644 index 000000000..36b20e71d --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageListUnsubscribeRecipients.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ListUnsubscribeRecipientProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated list unsubscribe recipients. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated list unsubscribe recipients. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageListUnsubscribeRecipients { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageListUnsubscribeRecipients() { + } + + public PageListUnsubscribeRecipients content(List content) { + + this.content = content; + return this; + } + + public PageListUnsubscribeRecipients addContentItem(ListUnsubscribeRecipientProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageListUnsubscribeRecipients pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageListUnsubscribeRecipients total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageListUnsubscribeRecipients totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageListUnsubscribeRecipients totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageListUnsubscribeRecipients last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageListUnsubscribeRecipients size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageListUnsubscribeRecipients number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageListUnsubscribeRecipients sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageListUnsubscribeRecipients numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageListUnsubscribeRecipients first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageListUnsubscribeRecipients empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageListUnsubscribeRecipients pageListUnsubscribeRecipients = (PageListUnsubscribeRecipients) o; + return Objects.equals(this.content, pageListUnsubscribeRecipients.content) && + Objects.equals(this.pageable, pageListUnsubscribeRecipients.pageable) && + Objects.equals(this.total, pageListUnsubscribeRecipients.total) && + Objects.equals(this.totalElements, pageListUnsubscribeRecipients.totalElements) && + Objects.equals(this.totalPages, pageListUnsubscribeRecipients.totalPages) && + Objects.equals(this.last, pageListUnsubscribeRecipients.last) && + Objects.equals(this.size, pageListUnsubscribeRecipients.size) && + Objects.equals(this.number, pageListUnsubscribeRecipients.number) && + Objects.equals(this.sort, pageListUnsubscribeRecipients.sort) && + Objects.equals(this.numberOfElements, pageListUnsubscribeRecipients.numberOfElements) && + Objects.equals(this.first, pageListUnsubscribeRecipients.first) && + Objects.equals(this.empty, pageListUnsubscribeRecipients.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageListUnsubscribeRecipients {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageListUnsubscribeRecipients + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageListUnsubscribeRecipients.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageListUnsubscribeRecipients is not found in the empty JSON string", PageListUnsubscribeRecipients.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageListUnsubscribeRecipients.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageListUnsubscribeRecipients` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + ListUnsubscribeRecipientProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageListUnsubscribeRecipients.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageListUnsubscribeRecipients' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageListUnsubscribeRecipients.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageListUnsubscribeRecipients value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageListUnsubscribeRecipients read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageListUnsubscribeRecipients given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageListUnsubscribeRecipients + * @throws IOException if the JSON string is invalid with respect to PageListUnsubscribeRecipients + */ + public static PageListUnsubscribeRecipients fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageListUnsubscribeRecipients.class); + } + + /** + * Convert an instance of PageListUnsubscribeRecipients to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageMissedEmailProjection.java b/src/main/java/com/mailslurp/models/PageMissedEmailProjection.java new file mode 100644 index 000000000..bc95d4aa4 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageMissedEmailProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.MissedEmailProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated MissedEmail results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated MissedEmail results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageMissedEmailProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageMissedEmailProjection() { + } + + public PageMissedEmailProjection content(List content) { + + this.content = content; + return this; + } + + public PageMissedEmailProjection addContentItem(MissedEmailProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageMissedEmailProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageMissedEmailProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageMissedEmailProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageMissedEmailProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageMissedEmailProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageMissedEmailProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageMissedEmailProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageMissedEmailProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageMissedEmailProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageMissedEmailProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageMissedEmailProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageMissedEmailProjection pageMissedEmailProjection = (PageMissedEmailProjection) o; + return Objects.equals(this.content, pageMissedEmailProjection.content) && + Objects.equals(this.pageable, pageMissedEmailProjection.pageable) && + Objects.equals(this.total, pageMissedEmailProjection.total) && + Objects.equals(this.totalElements, pageMissedEmailProjection.totalElements) && + Objects.equals(this.totalPages, pageMissedEmailProjection.totalPages) && + Objects.equals(this.last, pageMissedEmailProjection.last) && + Objects.equals(this.size, pageMissedEmailProjection.size) && + Objects.equals(this.number, pageMissedEmailProjection.number) && + Objects.equals(this.sort, pageMissedEmailProjection.sort) && + Objects.equals(this.numberOfElements, pageMissedEmailProjection.numberOfElements) && + Objects.equals(this.first, pageMissedEmailProjection.first) && + Objects.equals(this.empty, pageMissedEmailProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageMissedEmailProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageMissedEmailProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageMissedEmailProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageMissedEmailProjection is not found in the empty JSON string", PageMissedEmailProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageMissedEmailProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageMissedEmailProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + MissedEmailProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageMissedEmailProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageMissedEmailProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageMissedEmailProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageMissedEmailProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageMissedEmailProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageMissedEmailProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageMissedEmailProjection + * @throws IOException if the JSON string is invalid with respect to PageMissedEmailProjection + */ + public static PageMissedEmailProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageMissedEmailProjection.class); + } + + /** + * Convert an instance of PageMissedEmailProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageOrganizationInboxProjection.java b/src/main/java/com/mailslurp/models/PageOrganizationInboxProjection.java new file mode 100644 index 000000000..2386c310b --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageOrganizationInboxProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.OrganizationInboxProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated organization inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated organization inbox results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageOrganizationInboxProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageOrganizationInboxProjection() { + } + + public PageOrganizationInboxProjection content(List content) { + + this.content = content; + return this; + } + + public PageOrganizationInboxProjection addContentItem(OrganizationInboxProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageOrganizationInboxProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageOrganizationInboxProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageOrganizationInboxProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageOrganizationInboxProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageOrganizationInboxProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageOrganizationInboxProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageOrganizationInboxProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageOrganizationInboxProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageOrganizationInboxProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageOrganizationInboxProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageOrganizationInboxProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageOrganizationInboxProjection pageOrganizationInboxProjection = (PageOrganizationInboxProjection) o; + return Objects.equals(this.content, pageOrganizationInboxProjection.content) && + Objects.equals(this.pageable, pageOrganizationInboxProjection.pageable) && + Objects.equals(this.total, pageOrganizationInboxProjection.total) && + Objects.equals(this.totalElements, pageOrganizationInboxProjection.totalElements) && + Objects.equals(this.totalPages, pageOrganizationInboxProjection.totalPages) && + Objects.equals(this.last, pageOrganizationInboxProjection.last) && + Objects.equals(this.size, pageOrganizationInboxProjection.size) && + Objects.equals(this.number, pageOrganizationInboxProjection.number) && + Objects.equals(this.sort, pageOrganizationInboxProjection.sort) && + Objects.equals(this.numberOfElements, pageOrganizationInboxProjection.numberOfElements) && + Objects.equals(this.first, pageOrganizationInboxProjection.first) && + Objects.equals(this.empty, pageOrganizationInboxProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageOrganizationInboxProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageOrganizationInboxProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageOrganizationInboxProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageOrganizationInboxProjection is not found in the empty JSON string", PageOrganizationInboxProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageOrganizationInboxProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageOrganizationInboxProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + OrganizationInboxProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageOrganizationInboxProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageOrganizationInboxProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageOrganizationInboxProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageOrganizationInboxProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageOrganizationInboxProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageOrganizationInboxProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageOrganizationInboxProjection + * @throws IOException if the JSON string is invalid with respect to PageOrganizationInboxProjection + */ + public static PageOrganizationInboxProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageOrganizationInboxProjection.class); + } + + /** + * Convert an instance of PageOrganizationInboxProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PagePhoneNumberProjection.java b/src/main/java/com/mailslurp/models/PagePhoneNumberProjection.java new file mode 100644 index 000000000..d4067e3f6 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PagePhoneNumberProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.PhoneNumberProjection; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated phone numbers. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated phone numbers. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PagePhoneNumberProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PagePhoneNumberProjection() { + } + + public PagePhoneNumberProjection content(List content) { + + this.content = content; + return this; + } + + public PagePhoneNumberProjection addContentItem(PhoneNumberProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PagePhoneNumberProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PagePhoneNumberProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PagePhoneNumberProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PagePhoneNumberProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PagePhoneNumberProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PagePhoneNumberProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PagePhoneNumberProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PagePhoneNumberProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PagePhoneNumberProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PagePhoneNumberProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PagePhoneNumberProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PagePhoneNumberProjection pagePhoneNumberProjection = (PagePhoneNumberProjection) o; + return Objects.equals(this.content, pagePhoneNumberProjection.content) && + Objects.equals(this.pageable, pagePhoneNumberProjection.pageable) && + Objects.equals(this.total, pagePhoneNumberProjection.total) && + Objects.equals(this.totalElements, pagePhoneNumberProjection.totalElements) && + Objects.equals(this.totalPages, pagePhoneNumberProjection.totalPages) && + Objects.equals(this.last, pagePhoneNumberProjection.last) && + Objects.equals(this.size, pagePhoneNumberProjection.size) && + Objects.equals(this.number, pagePhoneNumberProjection.number) && + Objects.equals(this.sort, pagePhoneNumberProjection.sort) && + Objects.equals(this.numberOfElements, pagePhoneNumberProjection.numberOfElements) && + Objects.equals(this.first, pagePhoneNumberProjection.first) && + Objects.equals(this.empty, pagePhoneNumberProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PagePhoneNumberProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PagePhoneNumberProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PagePhoneNumberProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PagePhoneNumberProjection is not found in the empty JSON string", PagePhoneNumberProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PagePhoneNumberProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PagePhoneNumberProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + PhoneNumberProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PagePhoneNumberProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PagePhoneNumberProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PagePhoneNumberProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PagePhoneNumberProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PagePhoneNumberProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PagePhoneNumberProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PagePhoneNumberProjection + * @throws IOException if the JSON string is invalid with respect to PagePhoneNumberProjection + */ + public static PagePhoneNumberProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PagePhoneNumberProjection.class); + } + + /** + * Convert an instance of PagePhoneNumberProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageScheduledJobs.java b/src/main/java/com/mailslurp/models/PageScheduledJobs.java new file mode 100644 index 000000000..b5013183a --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageScheduledJobs.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.ScheduledJob; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated scheduled jobs results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated scheduled jobs results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageScheduledJobs { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageScheduledJobs() { + } + + public PageScheduledJobs content(List content) { + + this.content = content; + return this; + } + + public PageScheduledJobs addContentItem(ScheduledJob contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageScheduledJobs pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageScheduledJobs total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageScheduledJobs totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageScheduledJobs totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageScheduledJobs last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageScheduledJobs size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageScheduledJobs number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageScheduledJobs sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageScheduledJobs numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageScheduledJobs first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageScheduledJobs empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageScheduledJobs pageScheduledJobs = (PageScheduledJobs) o; + return Objects.equals(this.content, pageScheduledJobs.content) && + Objects.equals(this.pageable, pageScheduledJobs.pageable) && + Objects.equals(this.total, pageScheduledJobs.total) && + Objects.equals(this.totalElements, pageScheduledJobs.totalElements) && + Objects.equals(this.totalPages, pageScheduledJobs.totalPages) && + Objects.equals(this.last, pageScheduledJobs.last) && + Objects.equals(this.size, pageScheduledJobs.size) && + Objects.equals(this.number, pageScheduledJobs.number) && + Objects.equals(this.sort, pageScheduledJobs.sort) && + Objects.equals(this.numberOfElements, pageScheduledJobs.numberOfElements) && + Objects.equals(this.first, pageScheduledJobs.first) && + Objects.equals(this.empty, pageScheduledJobs.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageScheduledJobs {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageScheduledJobs + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageScheduledJobs.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageScheduledJobs is not found in the empty JSON string", PageScheduledJobs.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageScheduledJobs.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageScheduledJobs` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + ScheduledJob.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageScheduledJobs.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageScheduledJobs' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageScheduledJobs.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageScheduledJobs value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageScheduledJobs read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageScheduledJobs given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageScheduledJobs + * @throws IOException if the JSON string is invalid with respect to PageScheduledJobs + */ + public static PageScheduledJobs fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageScheduledJobs.class); + } + + /** + * Convert an instance of PageScheduledJobs to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageSentEmailProjection.java b/src/main/java/com/mailslurp/models/PageSentEmailProjection.java new file mode 100644 index 000000000..49ac8a141 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageSentEmailProjection.java @@ -0,0 +1,577 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.SentEmailProjection; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated sent email results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full sent email entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated sent email results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full sent email entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageSentEmailProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = new ArrayList<>(); + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageSentEmailProjection() { + } + + public PageSentEmailProjection content(List content) { + + this.content = content; + return this; + } + + public PageSentEmailProjection addContentItem(SentEmailProjection contentItem) { + this.content.add(contentItem); + return this; + } + + /** + * Collection of items + * @return content + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Collection of items") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageSentEmailProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageSentEmailProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageSentEmailProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Size of page requested + * @return size + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Size of page requested") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageSentEmailProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Page number starting at 0 + * @return number + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Page number starting at 0") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageSentEmailProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Number of items returned + * @return numberOfElements + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Number of items returned") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageSentEmailProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Total number of items available for querying + * @return totalElements + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Total number of items available for querying") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageSentEmailProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Total number of pages available + * @return totalPages + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Total number of pages available") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageSentEmailProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageSentEmailProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageSentEmailProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageSentEmailProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageSentEmailProjection pageSentEmailProjection = (PageSentEmailProjection) o; + return Objects.equals(this.content, pageSentEmailProjection.content) && + Objects.equals(this.pageable, pageSentEmailProjection.pageable) && + Objects.equals(this.total, pageSentEmailProjection.total) && + Objects.equals(this.size, pageSentEmailProjection.size) && + Objects.equals(this.number, pageSentEmailProjection.number) && + Objects.equals(this.numberOfElements, pageSentEmailProjection.numberOfElements) && + Objects.equals(this.totalElements, pageSentEmailProjection.totalElements) && + Objects.equals(this.totalPages, pageSentEmailProjection.totalPages) && + Objects.equals(this.last, pageSentEmailProjection.last) && + Objects.equals(this.sort, pageSentEmailProjection.sort) && + Objects.equals(this.first, pageSentEmailProjection.first) && + Objects.equals(this.empty, pageSentEmailProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, size, number, numberOfElements, totalElements, totalPages, last, sort, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageSentEmailProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("numberOfElements"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("sort"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("content"); + openapiRequiredFields.add("size"); + openapiRequiredFields.add("number"); + openapiRequiredFields.add("numberOfElements"); + openapiRequiredFields.add("totalElements"); + openapiRequiredFields.add("totalPages"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageSentEmailProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageSentEmailProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageSentEmailProjection is not found in the empty JSON string", PageSentEmailProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageSentEmailProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageSentEmailProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PageSentEmailProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + // validate the required field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + SentEmailProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageSentEmailProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageSentEmailProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageSentEmailProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageSentEmailProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageSentEmailProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageSentEmailProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageSentEmailProjection + * @throws IOException if the JSON string is invalid with respect to PageSentEmailProjection + */ + public static PageSentEmailProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageSentEmailProjection.class); + } + + /** + * Convert an instance of PageSentEmailProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageSentEmailWithQueueProjection.java b/src/main/java/com/mailslurp/models/PageSentEmailWithQueueProjection.java new file mode 100644 index 000000000..56562ae62 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageSentEmailWithQueueProjection.java @@ -0,0 +1,577 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.SendWithQueueResult; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated sent email results for emails sent with queue. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full sent email entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated sent email results for emails sent with queue. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full sent email entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageSentEmailWithQueueProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = new ArrayList<>(); + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageSentEmailWithQueueProjection() { + } + + public PageSentEmailWithQueueProjection content(List content) { + + this.content = content; + return this; + } + + public PageSentEmailWithQueueProjection addContentItem(SendWithQueueResult contentItem) { + this.content.add(contentItem); + return this; + } + + /** + * Collection of items + * @return content + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Collection of items") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageSentEmailWithQueueProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageSentEmailWithQueueProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageSentEmailWithQueueProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Size of page requested + * @return size + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Size of page requested") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageSentEmailWithQueueProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Page number starting at 0 + * @return number + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Page number starting at 0") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageSentEmailWithQueueProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Number of items returned + * @return numberOfElements + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Number of items returned") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageSentEmailWithQueueProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Total number of items available for querying + * @return totalElements + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Total number of items available for querying") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageSentEmailWithQueueProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Total number of pages available + * @return totalPages + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Total number of pages available") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageSentEmailWithQueueProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageSentEmailWithQueueProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageSentEmailWithQueueProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageSentEmailWithQueueProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageSentEmailWithQueueProjection pageSentEmailWithQueueProjection = (PageSentEmailWithQueueProjection) o; + return Objects.equals(this.content, pageSentEmailWithQueueProjection.content) && + Objects.equals(this.pageable, pageSentEmailWithQueueProjection.pageable) && + Objects.equals(this.total, pageSentEmailWithQueueProjection.total) && + Objects.equals(this.size, pageSentEmailWithQueueProjection.size) && + Objects.equals(this.number, pageSentEmailWithQueueProjection.number) && + Objects.equals(this.numberOfElements, pageSentEmailWithQueueProjection.numberOfElements) && + Objects.equals(this.totalElements, pageSentEmailWithQueueProjection.totalElements) && + Objects.equals(this.totalPages, pageSentEmailWithQueueProjection.totalPages) && + Objects.equals(this.last, pageSentEmailWithQueueProjection.last) && + Objects.equals(this.sort, pageSentEmailWithQueueProjection.sort) && + Objects.equals(this.first, pageSentEmailWithQueueProjection.first) && + Objects.equals(this.empty, pageSentEmailWithQueueProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, size, number, numberOfElements, totalElements, totalPages, last, sort, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageSentEmailWithQueueProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("numberOfElements"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("sort"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("content"); + openapiRequiredFields.add("size"); + openapiRequiredFields.add("number"); + openapiRequiredFields.add("numberOfElements"); + openapiRequiredFields.add("totalElements"); + openapiRequiredFields.add("totalPages"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageSentEmailWithQueueProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageSentEmailWithQueueProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageSentEmailWithQueueProjection is not found in the empty JSON string", PageSentEmailWithQueueProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageSentEmailWithQueueProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageSentEmailWithQueueProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PageSentEmailWithQueueProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + // validate the required field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + SendWithQueueResult.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageSentEmailWithQueueProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageSentEmailWithQueueProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageSentEmailWithQueueProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageSentEmailWithQueueProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageSentEmailWithQueueProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageSentEmailWithQueueProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageSentEmailWithQueueProjection + * @throws IOException if the JSON string is invalid with respect to PageSentEmailWithQueueProjection + */ + public static PageSentEmailWithQueueProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageSentEmailWithQueueProjection.class); + } + + /** + * Convert an instance of PageSentEmailWithQueueProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageSmsProjection.java b/src/main/java/com/mailslurp/models/PageSmsProjection.java new file mode 100644 index 000000000..27f3799f1 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageSmsProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.SmsProjection; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated SMS messages. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated SMS messages. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageSmsProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageSmsProjection() { + } + + public PageSmsProjection content(List content) { + + this.content = content; + return this; + } + + public PageSmsProjection addContentItem(SmsProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageSmsProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageSmsProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageSmsProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageSmsProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageSmsProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageSmsProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageSmsProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageSmsProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageSmsProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageSmsProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageSmsProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageSmsProjection pageSmsProjection = (PageSmsProjection) o; + return Objects.equals(this.content, pageSmsProjection.content) && + Objects.equals(this.pageable, pageSmsProjection.pageable) && + Objects.equals(this.total, pageSmsProjection.total) && + Objects.equals(this.totalElements, pageSmsProjection.totalElements) && + Objects.equals(this.totalPages, pageSmsProjection.totalPages) && + Objects.equals(this.last, pageSmsProjection.last) && + Objects.equals(this.size, pageSmsProjection.size) && + Objects.equals(this.number, pageSmsProjection.number) && + Objects.equals(this.sort, pageSmsProjection.sort) && + Objects.equals(this.numberOfElements, pageSmsProjection.numberOfElements) && + Objects.equals(this.first, pageSmsProjection.first) && + Objects.equals(this.empty, pageSmsProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageSmsProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageSmsProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageSmsProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageSmsProjection is not found in the empty JSON string", PageSmsProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageSmsProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageSmsProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + SmsProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageSmsProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageSmsProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageSmsProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageSmsProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageSmsProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageSmsProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageSmsProjection + * @throws IOException if the JSON string is invalid with respect to PageSmsProjection + */ + public static PageSmsProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageSmsProjection.class); + } + + /** + * Convert an instance of PageSmsProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageTemplateProjection.java b/src/main/java/com/mailslurp/models/PageTemplateProjection.java new file mode 100644 index 000000000..eb749cf6a --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageTemplateProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.TemplateProjection; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated email template results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated email template results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageTemplateProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageTemplateProjection() { + } + + public PageTemplateProjection content(List content) { + + this.content = content; + return this; + } + + public PageTemplateProjection addContentItem(TemplateProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageTemplateProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageTemplateProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageTemplateProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageTemplateProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageTemplateProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageTemplateProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageTemplateProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageTemplateProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageTemplateProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageTemplateProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageTemplateProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageTemplateProjection pageTemplateProjection = (PageTemplateProjection) o; + return Objects.equals(this.content, pageTemplateProjection.content) && + Objects.equals(this.pageable, pageTemplateProjection.pageable) && + Objects.equals(this.total, pageTemplateProjection.total) && + Objects.equals(this.totalElements, pageTemplateProjection.totalElements) && + Objects.equals(this.totalPages, pageTemplateProjection.totalPages) && + Objects.equals(this.last, pageTemplateProjection.last) && + Objects.equals(this.size, pageTemplateProjection.size) && + Objects.equals(this.number, pageTemplateProjection.number) && + Objects.equals(this.sort, pageTemplateProjection.sort) && + Objects.equals(this.numberOfElements, pageTemplateProjection.numberOfElements) && + Objects.equals(this.first, pageTemplateProjection.first) && + Objects.equals(this.empty, pageTemplateProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageTemplateProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageTemplateProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageTemplateProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageTemplateProjection is not found in the empty JSON string", PageTemplateProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageTemplateProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageTemplateProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + TemplateProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageTemplateProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageTemplateProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageTemplateProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageTemplateProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageTemplateProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageTemplateProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageTemplateProjection + * @throws IOException if the JSON string is invalid with respect to PageTemplateProjection + */ + public static PageTemplateProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageTemplateProjection.class); + } + + /** + * Convert an instance of PageTemplateProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageThreadProjection.java b/src/main/java/com/mailslurp/models/PageThreadProjection.java new file mode 100644 index 000000000..3e0f9bdfa --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageThreadProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.ThreadProjection; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated email projection results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full email entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments. + */ +@ApiModel(description = "Paginated email projection results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full email entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageThreadProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageThreadProjection() { + } + + public PageThreadProjection content(List content) { + + this.content = content; + return this; + } + + public PageThreadProjection addContentItem(ThreadProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageThreadProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageThreadProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageThreadProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageThreadProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageThreadProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageThreadProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageThreadProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageThreadProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageThreadProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageThreadProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageThreadProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageThreadProjection pageThreadProjection = (PageThreadProjection) o; + return Objects.equals(this.content, pageThreadProjection.content) && + Objects.equals(this.pageable, pageThreadProjection.pageable) && + Objects.equals(this.total, pageThreadProjection.total) && + Objects.equals(this.totalElements, pageThreadProjection.totalElements) && + Objects.equals(this.totalPages, pageThreadProjection.totalPages) && + Objects.equals(this.last, pageThreadProjection.last) && + Objects.equals(this.size, pageThreadProjection.size) && + Objects.equals(this.number, pageThreadProjection.number) && + Objects.equals(this.sort, pageThreadProjection.sort) && + Objects.equals(this.numberOfElements, pageThreadProjection.numberOfElements) && + Objects.equals(this.first, pageThreadProjection.first) && + Objects.equals(this.empty, pageThreadProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageThreadProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageThreadProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageThreadProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageThreadProjection is not found in the empty JSON string", PageThreadProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageThreadProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageThreadProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + ThreadProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageThreadProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageThreadProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageThreadProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageThreadProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageThreadProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageThreadProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageThreadProjection + * @throws IOException if the JSON string is invalid with respect to PageThreadProjection + */ + public static PageThreadProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageThreadProjection.class); + } + + /** + * Convert an instance of PageThreadProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageTrackingPixelProjection.java b/src/main/java/com/mailslurp/models/PageTrackingPixelProjection.java new file mode 100644 index 000000000..b53ab5ad3 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageTrackingPixelProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.TrackingPixelProjection; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated TrackingPixel results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated TrackingPixel results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageTrackingPixelProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageTrackingPixelProjection() { + } + + public PageTrackingPixelProjection content(List content) { + + this.content = content; + return this; + } + + public PageTrackingPixelProjection addContentItem(TrackingPixelProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageTrackingPixelProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageTrackingPixelProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageTrackingPixelProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageTrackingPixelProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageTrackingPixelProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageTrackingPixelProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageTrackingPixelProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageTrackingPixelProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageTrackingPixelProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageTrackingPixelProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageTrackingPixelProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageTrackingPixelProjection pageTrackingPixelProjection = (PageTrackingPixelProjection) o; + return Objects.equals(this.content, pageTrackingPixelProjection.content) && + Objects.equals(this.pageable, pageTrackingPixelProjection.pageable) && + Objects.equals(this.total, pageTrackingPixelProjection.total) && + Objects.equals(this.totalElements, pageTrackingPixelProjection.totalElements) && + Objects.equals(this.totalPages, pageTrackingPixelProjection.totalPages) && + Objects.equals(this.last, pageTrackingPixelProjection.last) && + Objects.equals(this.size, pageTrackingPixelProjection.size) && + Objects.equals(this.number, pageTrackingPixelProjection.number) && + Objects.equals(this.sort, pageTrackingPixelProjection.sort) && + Objects.equals(this.numberOfElements, pageTrackingPixelProjection.numberOfElements) && + Objects.equals(this.first, pageTrackingPixelProjection.first) && + Objects.equals(this.empty, pageTrackingPixelProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageTrackingPixelProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageTrackingPixelProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageTrackingPixelProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageTrackingPixelProjection is not found in the empty JSON string", PageTrackingPixelProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageTrackingPixelProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageTrackingPixelProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + TrackingPixelProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageTrackingPixelProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageTrackingPixelProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageTrackingPixelProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageTrackingPixelProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageTrackingPixelProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageTrackingPixelProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageTrackingPixelProjection + * @throws IOException if the JSON string is invalid with respect to PageTrackingPixelProjection + */ + public static PageTrackingPixelProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageTrackingPixelProjection.class); + } + + /** + * Convert an instance of PageTrackingPixelProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageUnknownMissedEmailProjection.java b/src/main/java/com/mailslurp/models/PageUnknownMissedEmailProjection.java new file mode 100644 index 000000000..0c3138449 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageUnknownMissedEmailProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.UnknownMissedEmailProjection; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated unknown MissedEmail results. Unknown missed emails are emails that were sent to MailSlurp /Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated unknown MissedEmail results. Unknown missed emails are emails that were sent to MailSlurp /Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageUnknownMissedEmailProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageUnknownMissedEmailProjection() { + } + + public PageUnknownMissedEmailProjection content(List content) { + + this.content = content; + return this; + } + + public PageUnknownMissedEmailProjection addContentItem(UnknownMissedEmailProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageUnknownMissedEmailProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageUnknownMissedEmailProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageUnknownMissedEmailProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageUnknownMissedEmailProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageUnknownMissedEmailProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageUnknownMissedEmailProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageUnknownMissedEmailProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageUnknownMissedEmailProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageUnknownMissedEmailProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageUnknownMissedEmailProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageUnknownMissedEmailProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageUnknownMissedEmailProjection pageUnknownMissedEmailProjection = (PageUnknownMissedEmailProjection) o; + return Objects.equals(this.content, pageUnknownMissedEmailProjection.content) && + Objects.equals(this.pageable, pageUnknownMissedEmailProjection.pageable) && + Objects.equals(this.total, pageUnknownMissedEmailProjection.total) && + Objects.equals(this.totalElements, pageUnknownMissedEmailProjection.totalElements) && + Objects.equals(this.totalPages, pageUnknownMissedEmailProjection.totalPages) && + Objects.equals(this.last, pageUnknownMissedEmailProjection.last) && + Objects.equals(this.size, pageUnknownMissedEmailProjection.size) && + Objects.equals(this.number, pageUnknownMissedEmailProjection.number) && + Objects.equals(this.sort, pageUnknownMissedEmailProjection.sort) && + Objects.equals(this.numberOfElements, pageUnknownMissedEmailProjection.numberOfElements) && + Objects.equals(this.first, pageUnknownMissedEmailProjection.first) && + Objects.equals(this.empty, pageUnknownMissedEmailProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageUnknownMissedEmailProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageUnknownMissedEmailProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageUnknownMissedEmailProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageUnknownMissedEmailProjection is not found in the empty JSON string", PageUnknownMissedEmailProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageUnknownMissedEmailProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageUnknownMissedEmailProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + UnknownMissedEmailProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageUnknownMissedEmailProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageUnknownMissedEmailProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageUnknownMissedEmailProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageUnknownMissedEmailProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageUnknownMissedEmailProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageUnknownMissedEmailProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageUnknownMissedEmailProjection + * @throws IOException if the JSON string is invalid with respect to PageUnknownMissedEmailProjection + */ + public static PageUnknownMissedEmailProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageUnknownMissedEmailProjection.class); + } + + /** + * Convert an instance of PageUnknownMissedEmailProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageWebhookProjection.java b/src/main/java/com/mailslurp/models/PageWebhookProjection.java new file mode 100644 index 000000000..6408bd05e --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageWebhookProjection.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.WebhookProjection; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated webhook entity. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated webhook entity. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageWebhookProjection { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageWebhookProjection() { + } + + public PageWebhookProjection content(List content) { + + this.content = content; + return this; + } + + public PageWebhookProjection addContentItem(WebhookProjection contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageWebhookProjection pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageWebhookProjection total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageWebhookProjection totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageWebhookProjection totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageWebhookProjection last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageWebhookProjection size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageWebhookProjection number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageWebhookProjection sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageWebhookProjection numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageWebhookProjection first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageWebhookProjection empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageWebhookProjection pageWebhookProjection = (PageWebhookProjection) o; + return Objects.equals(this.content, pageWebhookProjection.content) && + Objects.equals(this.pageable, pageWebhookProjection.pageable) && + Objects.equals(this.total, pageWebhookProjection.total) && + Objects.equals(this.totalElements, pageWebhookProjection.totalElements) && + Objects.equals(this.totalPages, pageWebhookProjection.totalPages) && + Objects.equals(this.last, pageWebhookProjection.last) && + Objects.equals(this.size, pageWebhookProjection.size) && + Objects.equals(this.number, pageWebhookProjection.number) && + Objects.equals(this.sort, pageWebhookProjection.sort) && + Objects.equals(this.numberOfElements, pageWebhookProjection.numberOfElements) && + Objects.equals(this.first, pageWebhookProjection.first) && + Objects.equals(this.empty, pageWebhookProjection.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageWebhookProjection {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageWebhookProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageWebhookProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageWebhookProjection is not found in the empty JSON string", PageWebhookProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageWebhookProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageWebhookProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + WebhookProjection.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageWebhookProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageWebhookProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageWebhookProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageWebhookProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageWebhookProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageWebhookProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageWebhookProjection + * @throws IOException if the JSON string is invalid with respect to PageWebhookProjection + */ + public static PageWebhookProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageWebhookProjection.class); + } + + /** + * Convert an instance of PageWebhookProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageWebhookResult.java b/src/main/java/com/mailslurp/models/PageWebhookResult.java new file mode 100644 index 000000000..18a82e75f --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageWebhookResult.java @@ -0,0 +1,571 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.WebhookResultDto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Paginated webhook results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. + */ +@ApiModel(description = "Paginated webhook results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageWebhookResult { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private List content = null; + + public static final String SERIALIZED_NAME_PAGEABLE = "pageable"; + @SerializedName(SERIALIZED_NAME_PAGEABLE) + private PageableObject pageable; + + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + private Long total; + + public static final String SERIALIZED_NAME_TOTAL_ELEMENTS = "totalElements"; + @SerializedName(SERIALIZED_NAME_TOTAL_ELEMENTS) + private Long totalElements; + + public static final String SERIALIZED_NAME_TOTAL_PAGES = "totalPages"; + @SerializedName(SERIALIZED_NAME_TOTAL_PAGES) + private Integer totalPages; + + public static final String SERIALIZED_NAME_LAST = "last"; + @SerializedName(SERIALIZED_NAME_LAST) + private Boolean last; + + public static final String SERIALIZED_NAME_SIZE = "size"; + @SerializedName(SERIALIZED_NAME_SIZE) + private Integer size; + + public static final String SERIALIZED_NAME_NUMBER = "number"; + @SerializedName(SERIALIZED_NAME_NUMBER) + private Integer number; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_NUMBER_OF_ELEMENTS = "numberOfElements"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_ELEMENTS) + private Integer numberOfElements; + + public static final String SERIALIZED_NAME_FIRST = "first"; + @SerializedName(SERIALIZED_NAME_FIRST) + private Boolean first; + + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public PageWebhookResult() { + } + + public PageWebhookResult content(List content) { + + this.content = content; + return this; + } + + public PageWebhookResult addContentItem(WebhookResultDto contentItem) { + if (this.content == null) { + this.content = new ArrayList<>(); + } + this.content.add(contentItem); + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getContent() { + return content; + } + + + public void setContent(List content) { + this.content = content; + } + + + public PageWebhookResult pageable(PageableObject pageable) { + + this.pageable = pageable; + return this; + } + + /** + * Get pageable + * @return pageable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public PageableObject getPageable() { + return pageable; + } + + + public void setPageable(PageableObject pageable) { + this.pageable = pageable; + } + + + public PageWebhookResult total(Long total) { + + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotal() { + return total; + } + + + public void setTotal(Long total) { + this.total = total; + } + + + public PageWebhookResult totalElements(Long totalElements) { + + this.totalElements = totalElements; + return this; + } + + /** + * Get totalElements + * @return totalElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getTotalElements() { + return totalElements; + } + + + public void setTotalElements(Long totalElements) { + this.totalElements = totalElements; + } + + + public PageWebhookResult totalPages(Integer totalPages) { + + this.totalPages = totalPages; + return this; + } + + /** + * Get totalPages + * @return totalPages + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getTotalPages() { + return totalPages; + } + + + public void setTotalPages(Integer totalPages) { + this.totalPages = totalPages; + } + + + public PageWebhookResult last(Boolean last) { + + this.last = last; + return this; + } + + /** + * Get last + * @return last + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getLast() { + return last; + } + + + public void setLast(Boolean last) { + this.last = last; + } + + + public PageWebhookResult size(Integer size) { + + this.size = size; + return this; + } + + /** + * Get size + * @return size + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getSize() { + return size; + } + + + public void setSize(Integer size) { + this.size = size; + } + + + public PageWebhookResult number(Integer number) { + + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumber() { + return number; + } + + + public void setNumber(Integer number) { + this.number = number; + } + + + public PageWebhookResult sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageWebhookResult numberOfElements(Integer numberOfElements) { + + this.numberOfElements = numberOfElements; + return this; + } + + /** + * Get numberOfElements + * @return numberOfElements + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getNumberOfElements() { + return numberOfElements; + } + + + public void setNumberOfElements(Integer numberOfElements) { + this.numberOfElements = numberOfElements; + } + + + public PageWebhookResult first(Boolean first) { + + this.first = first; + return this; + } + + /** + * Get first + * @return first + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getFirst() { + return first; + } + + + public void setFirst(Boolean first) { + this.first = first; + } + + + public PageWebhookResult empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageWebhookResult pageWebhookResult = (PageWebhookResult) o; + return Objects.equals(this.content, pageWebhookResult.content) && + Objects.equals(this.pageable, pageWebhookResult.pageable) && + Objects.equals(this.total, pageWebhookResult.total) && + Objects.equals(this.totalElements, pageWebhookResult.totalElements) && + Objects.equals(this.totalPages, pageWebhookResult.totalPages) && + Objects.equals(this.last, pageWebhookResult.last) && + Objects.equals(this.size, pageWebhookResult.size) && + Objects.equals(this.number, pageWebhookResult.number) && + Objects.equals(this.sort, pageWebhookResult.sort) && + Objects.equals(this.numberOfElements, pageWebhookResult.numberOfElements) && + Objects.equals(this.first, pageWebhookResult.first) && + Objects.equals(this.empty, pageWebhookResult.empty); + } + + @Override + public int hashCode() { + return Objects.hash(content, pageable, total, totalElements, totalPages, last, size, number, sort, numberOfElements, first, empty); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageWebhookResult {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" pageable: ").append(toIndentedString(pageable)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" totalElements: ").append(toIndentedString(totalElements)).append("\n"); + sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" size: ").append(toIndentedString(size)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" numberOfElements: ").append(toIndentedString(numberOfElements)).append("\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + openapiFields.add("pageable"); + openapiFields.add("total"); + openapiFields.add("totalElements"); + openapiFields.add("totalPages"); + openapiFields.add("last"); + openapiFields.add("size"); + openapiFields.add("number"); + openapiFields.add("sort"); + openapiFields.add("numberOfElements"); + openapiFields.add("first"); + openapiFields.add("empty"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageWebhookResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageWebhookResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageWebhookResult is not found in the empty JSON string", PageWebhookResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageWebhookResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageWebhookResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if (jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) { + JsonArray jsonArraycontent = jsonObj.getAsJsonArray("content"); + if (jsonArraycontent != null) { + // ensure the json data is an array + if (!jsonObj.get("content").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be an array in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + + // validate the optional field `content` (array) + for (int i = 0; i < jsonArraycontent.size(); i++) { + WebhookResultDto.validateJsonObject(jsonArraycontent.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `pageable` + if (jsonObj.get("pageable") != null && !jsonObj.get("pageable").isJsonNull()) { + PageableObject.validateJsonObject(jsonObj.getAsJsonObject("pageable")); + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageWebhookResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageWebhookResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageWebhookResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageWebhookResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageWebhookResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageWebhookResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageWebhookResult + * @throws IOException if the JSON string is invalid with respect to PageWebhookResult + */ + public static PageWebhookResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageWebhookResult.class); + } + + /** + * Convert an instance of PageWebhookResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PageableObject.java b/src/main/java/com/mailslurp/models/PageableObject.java new file mode 100644 index 000000000..e864db59a --- /dev/null +++ b/src/main/java/com/mailslurp/models/PageableObject.java @@ -0,0 +1,360 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * PageableObject + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PageableObject { + public static final String SERIALIZED_NAME_OFFSET = "offset"; + @SerializedName(SERIALIZED_NAME_OFFSET) + private Long offset; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private Sort sort; + + public static final String SERIALIZED_NAME_PAGE_NUMBER = "pageNumber"; + @SerializedName(SERIALIZED_NAME_PAGE_NUMBER) + private Integer pageNumber; + + public static final String SERIALIZED_NAME_PAGE_SIZE = "pageSize"; + @SerializedName(SERIALIZED_NAME_PAGE_SIZE) + private Integer pageSize; + + public static final String SERIALIZED_NAME_PAGED = "paged"; + @SerializedName(SERIALIZED_NAME_PAGED) + private Boolean paged; + + public static final String SERIALIZED_NAME_UNPAGED = "unpaged"; + @SerializedName(SERIALIZED_NAME_UNPAGED) + private Boolean unpaged; + + public PageableObject() { + } + + public PageableObject offset(Long offset) { + + this.offset = offset; + return this; + } + + /** + * Get offset + * @return offset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getOffset() { + return offset; + } + + + public void setOffset(Long offset) { + this.offset = offset; + } + + + public PageableObject sort(Sort sort) { + + this.sort = sort; + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Sort getSort() { + return sort; + } + + + public void setSort(Sort sort) { + this.sort = sort; + } + + + public PageableObject pageNumber(Integer pageNumber) { + + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getPageNumber() { + return pageNumber; + } + + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + + public PageableObject pageSize(Integer pageSize) { + + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getPageSize() { + return pageSize; + } + + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + + public PageableObject paged(Boolean paged) { + + this.paged = paged; + return this; + } + + /** + * Get paged + * @return paged + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getPaged() { + return paged; + } + + + public void setPaged(Boolean paged) { + this.paged = paged; + } + + + public PageableObject unpaged(Boolean unpaged) { + + this.unpaged = unpaged; + return this; + } + + /** + * Get unpaged + * @return unpaged + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getUnpaged() { + return unpaged; + } + + + public void setUnpaged(Boolean unpaged) { + this.unpaged = unpaged; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PageableObject pageableObject = (PageableObject) o; + return Objects.equals(this.offset, pageableObject.offset) && + Objects.equals(this.sort, pageableObject.sort) && + Objects.equals(this.pageNumber, pageableObject.pageNumber) && + Objects.equals(this.pageSize, pageableObject.pageSize) && + Objects.equals(this.paged, pageableObject.paged) && + Objects.equals(this.unpaged, pageableObject.unpaged); + } + + @Override + public int hashCode() { + return Objects.hash(offset, sort, pageNumber, pageSize, paged, unpaged); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PageableObject {\n"); + sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n"); + sb.append(" paged: ").append(toIndentedString(paged)).append("\n"); + sb.append(" unpaged: ").append(toIndentedString(unpaged)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("offset"); + openapiFields.add("sort"); + openapiFields.add("pageNumber"); + openapiFields.add("pageSize"); + openapiFields.add("paged"); + openapiFields.add("unpaged"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PageableObject + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PageableObject.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PageableObject is not found in the empty JSON string", PageableObject.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PageableObject.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PageableObject` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + // validate the optional field `sort` + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + Sort.validateJsonObject(jsonObj.getAsJsonObject("sort")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PageableObject.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PageableObject' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PageableObject.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PageableObject value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PageableObject read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PageableObject given an JSON string + * + * @param jsonString JSON string + * @return An instance of PageableObject + * @throws IOException if the JSON string is invalid with respect to PageableObject + */ + public static PageableObject fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PageableObject.class); + } + + /** + * Convert an instance of PageableObject to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PhoneNumberDto.java b/src/main/java/com/mailslurp/models/PhoneNumberDto.java new file mode 100644 index 000000000..955f01691 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PhoneNumberDto.java @@ -0,0 +1,531 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * PhoneNumberDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PhoneNumberDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_COMPLIANCE_ADDRESS = "complianceAddress"; + @SerializedName(SERIALIZED_NAME_COMPLIANCE_ADDRESS) + private UUID complianceAddress; + + public static final String SERIALIZED_NAME_EMERGENCY_ADDRESS = "emergencyAddress"; + @SerializedName(SERIALIZED_NAME_EMERGENCY_ADDRESS) + private UUID emergencyAddress; + + public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) + private String phoneNumber; + + /** + * Gets or Sets phoneCountry + */ + @JsonAdapter(PhoneCountryEnum.Adapter.class) + public enum PhoneCountryEnum { + US("US"), + + GB("GB"), + + AU("AU"); + + private String value; + + PhoneCountryEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PhoneCountryEnum fromValue(String value) { + for (PhoneCountryEnum b : PhoneCountryEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PhoneCountryEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PhoneCountryEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PhoneCountryEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_PHONE_COUNTRY = "phoneCountry"; + @SerializedName(SERIALIZED_NAME_PHONE_COUNTRY) + private PhoneCountryEnum phoneCountry; + + public static final String SERIALIZED_NAME_PHONE_PLAN = "phonePlan"; + @SerializedName(SERIALIZED_NAME_PHONE_PLAN) + private UUID phonePlan; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public PhoneNumberDto() { + } + + public PhoneNumberDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public PhoneNumberDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public PhoneNumberDto complianceAddress(UUID complianceAddress) { + + this.complianceAddress = complianceAddress; + return this; + } + + /** + * Get complianceAddress + * @return complianceAddress + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getComplianceAddress() { + return complianceAddress; + } + + + public void setComplianceAddress(UUID complianceAddress) { + this.complianceAddress = complianceAddress; + } + + + public PhoneNumberDto emergencyAddress(UUID emergencyAddress) { + + this.emergencyAddress = emergencyAddress; + return this; + } + + /** + * Get emergencyAddress + * @return emergencyAddress + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getEmergencyAddress() { + return emergencyAddress; + } + + + public void setEmergencyAddress(UUID emergencyAddress) { + this.emergencyAddress = emergencyAddress; + } + + + public PhoneNumberDto phoneNumber(String phoneNumber) { + + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Get phoneNumber + * @return phoneNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getPhoneNumber() { + return phoneNumber; + } + + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + + public PhoneNumberDto phoneCountry(PhoneCountryEnum phoneCountry) { + + this.phoneCountry = phoneCountry; + return this; + } + + /** + * Get phoneCountry + * @return phoneCountry + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public PhoneCountryEnum getPhoneCountry() { + return phoneCountry; + } + + + public void setPhoneCountry(PhoneCountryEnum phoneCountry) { + this.phoneCountry = phoneCountry; + } + + + public PhoneNumberDto phonePlan(UUID phonePlan) { + + this.phonePlan = phonePlan; + return this; + } + + /** + * Get phonePlan + * @return phonePlan + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getPhonePlan() { + return phonePlan; + } + + + public void setPhonePlan(UUID phonePlan) { + this.phonePlan = phonePlan; + } + + + public PhoneNumberDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public PhoneNumberDto updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PhoneNumberDto phoneNumberDto = (PhoneNumberDto) o; + return Objects.equals(this.id, phoneNumberDto.id) && + Objects.equals(this.userId, phoneNumberDto.userId) && + Objects.equals(this.complianceAddress, phoneNumberDto.complianceAddress) && + Objects.equals(this.emergencyAddress, phoneNumberDto.emergencyAddress) && + Objects.equals(this.phoneNumber, phoneNumberDto.phoneNumber) && + Objects.equals(this.phoneCountry, phoneNumberDto.phoneCountry) && + Objects.equals(this.phonePlan, phoneNumberDto.phonePlan) && + Objects.equals(this.createdAt, phoneNumberDto.createdAt) && + Objects.equals(this.updatedAt, phoneNumberDto.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, complianceAddress, emergencyAddress, phoneNumber, phoneCountry, phonePlan, createdAt, updatedAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PhoneNumberDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" complianceAddress: ").append(toIndentedString(complianceAddress)).append("\n"); + sb.append(" emergencyAddress: ").append(toIndentedString(emergencyAddress)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" phoneCountry: ").append(toIndentedString(phoneCountry)).append("\n"); + sb.append(" phonePlan: ").append(toIndentedString(phonePlan)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("complianceAddress"); + openapiFields.add("emergencyAddress"); + openapiFields.add("phoneNumber"); + openapiFields.add("phoneCountry"); + openapiFields.add("phonePlan"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("phoneNumber"); + openapiRequiredFields.add("phoneCountry"); + openapiRequiredFields.add("phonePlan"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PhoneNumberDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PhoneNumberDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PhoneNumberDto is not found in the empty JSON string", PhoneNumberDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PhoneNumberDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PhoneNumberDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PhoneNumberDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("complianceAddress") != null && !jsonObj.get("complianceAddress").isJsonNull()) && !jsonObj.get("complianceAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `complianceAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("complianceAddress").toString())); + } + if ((jsonObj.get("emergencyAddress") != null && !jsonObj.get("emergencyAddress").isJsonNull()) && !jsonObj.get("emergencyAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emergencyAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emergencyAddress").toString())); + } + if (!jsonObj.get("phoneNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); + } + if (!jsonObj.get("phoneCountry").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneCountry` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneCountry").toString())); + } + if (!jsonObj.get("phonePlan").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phonePlan` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phonePlan").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PhoneNumberDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PhoneNumberDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PhoneNumberDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PhoneNumberDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PhoneNumberDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PhoneNumberDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of PhoneNumberDto + * @throws IOException if the JSON string is invalid with respect to PhoneNumberDto + */ + public static PhoneNumberDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PhoneNumberDto.class); + } + + /** + * Convert an instance of PhoneNumberDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PhoneNumberProjection.java b/src/main/java/com/mailslurp/models/PhoneNumberProjection.java new file mode 100644 index 000000000..aa19bc6e9 --- /dev/null +++ b/src/main/java/com/mailslurp/models/PhoneNumberProjection.java @@ -0,0 +1,401 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Phone number projection + */ +@ApiModel(description = "Phone number projection") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PhoneNumberProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) + private String phoneNumber; + + /** + * Gets or Sets phoneCountry + */ + @JsonAdapter(PhoneCountryEnum.Adapter.class) + public enum PhoneCountryEnum { + US("US"), + + GB("GB"), + + AU("AU"); + + private String value; + + PhoneCountryEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PhoneCountryEnum fromValue(String value) { + for (PhoneCountryEnum b : PhoneCountryEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PhoneCountryEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PhoneCountryEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PhoneCountryEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_PHONE_COUNTRY = "phoneCountry"; + @SerializedName(SERIALIZED_NAME_PHONE_COUNTRY) + private PhoneCountryEnum phoneCountry; + + public PhoneNumberProjection() { + } + + public PhoneNumberProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public PhoneNumberProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public PhoneNumberProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public PhoneNumberProjection phoneNumber(String phoneNumber) { + + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Get phoneNumber + * @return phoneNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getPhoneNumber() { + return phoneNumber; + } + + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + + public PhoneNumberProjection phoneCountry(PhoneCountryEnum phoneCountry) { + + this.phoneCountry = phoneCountry; + return this; + } + + /** + * Get phoneCountry + * @return phoneCountry + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public PhoneCountryEnum getPhoneCountry() { + return phoneCountry; + } + + + public void setPhoneCountry(PhoneCountryEnum phoneCountry) { + this.phoneCountry = phoneCountry; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PhoneNumberProjection phoneNumberProjection = (PhoneNumberProjection) o; + return Objects.equals(this.id, phoneNumberProjection.id) && + Objects.equals(this.userId, phoneNumberProjection.userId) && + Objects.equals(this.createdAt, phoneNumberProjection.createdAt) && + Objects.equals(this.phoneNumber, phoneNumberProjection.phoneNumber) && + Objects.equals(this.phoneCountry, phoneNumberProjection.phoneCountry); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, createdAt, phoneNumber, phoneCountry); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PhoneNumberProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" phoneCountry: ").append(toIndentedString(phoneCountry)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("createdAt"); + openapiFields.add("phoneNumber"); + openapiFields.add("phoneCountry"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("phoneNumber"); + openapiRequiredFields.add("phoneCountry"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PhoneNumberProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PhoneNumberProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PhoneNumberProjection is not found in the empty JSON string", PhoneNumberProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PhoneNumberProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PhoneNumberProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PhoneNumberProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("phoneNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); + } + if (!jsonObj.get("phoneCountry").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneCountry` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneCountry").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PhoneNumberProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PhoneNumberProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PhoneNumberProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PhoneNumberProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PhoneNumberProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PhoneNumberProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of PhoneNumberProjection + * @throws IOException if the JSON string is invalid with respect to PhoneNumberProjection + */ + public static PhoneNumberProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PhoneNumberProjection.class); + } + + /** + * Convert an instance of PhoneNumberProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/PhonePlanDto.java b/src/main/java/com/mailslurp/models/PhonePlanDto.java new file mode 100644 index 000000000..4570528ab --- /dev/null +++ b/src/main/java/com/mailslurp/models/PhonePlanDto.java @@ -0,0 +1,366 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * PhonePlanDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class PhonePlanDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + /** + * Gets or Sets phoneCountry + */ + @JsonAdapter(PhoneCountryEnum.Adapter.class) + public enum PhoneCountryEnum { + US("US"), + + GB("GB"), + + AU("AU"); + + private String value; + + PhoneCountryEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PhoneCountryEnum fromValue(String value) { + for (PhoneCountryEnum b : PhoneCountryEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PhoneCountryEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PhoneCountryEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PhoneCountryEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_PHONE_COUNTRY = "phoneCountry"; + @SerializedName(SERIALIZED_NAME_PHONE_COUNTRY) + private PhoneCountryEnum phoneCountry; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public PhonePlanDto() { + } + + public PhonePlanDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public PhonePlanDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public PhonePlanDto phoneCountry(PhoneCountryEnum phoneCountry) { + + this.phoneCountry = phoneCountry; + return this; + } + + /** + * Get phoneCountry + * @return phoneCountry + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public PhoneCountryEnum getPhoneCountry() { + return phoneCountry; + } + + + public void setPhoneCountry(PhoneCountryEnum phoneCountry) { + this.phoneCountry = phoneCountry; + } + + + public PhonePlanDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PhonePlanDto phonePlanDto = (PhonePlanDto) o; + return Objects.equals(this.id, phonePlanDto.id) && + Objects.equals(this.userId, phonePlanDto.userId) && + Objects.equals(this.phoneCountry, phonePlanDto.phoneCountry) && + Objects.equals(this.createdAt, phonePlanDto.createdAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, phoneCountry, createdAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PhonePlanDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" phoneCountry: ").append(toIndentedString(phoneCountry)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("phoneCountry"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("phoneCountry"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PhonePlanDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PhonePlanDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PhonePlanDto is not found in the empty JSON string", PhonePlanDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!PhonePlanDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PhonePlanDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PhonePlanDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("phoneCountry").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneCountry` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneCountry").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PhonePlanDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PhonePlanDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PhonePlanDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PhonePlanDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PhonePlanDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PhonePlanDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of PhonePlanDto + * @throws IOException if the JSON string is invalid with respect to PhonePlanDto + */ + public static PhonePlanDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PhonePlanDto.class); + } + + /** + * Convert an instance of PhonePlanDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/RawEmailJson.java b/src/main/java/com/mailslurp/models/RawEmailJson.java new file mode 100644 index 000000000..5572e2e18 --- /dev/null +++ b/src/main/java/com/mailslurp/models/RawEmailJson.java @@ -0,0 +1,217 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Content in raw format + */ +@ApiModel(description = "Content in raw format") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class RawEmailJson { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private String content; + + public RawEmailJson() { + } + + public RawEmailJson content(String content) { + + this.content = content; + return this; + } + + /** + * Get content + * @return content + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getContent() { + return content; + } + + + public void setContent(String content) { + this.content = content; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RawEmailJson rawEmailJson = (RawEmailJson) o; + return Objects.equals(this.content, rawEmailJson.content); + } + + @Override + public int hashCode() { + return Objects.hash(content); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RawEmailJson {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("content"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("content"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to RawEmailJson + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!RawEmailJson.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in RawEmailJson is not found in the empty JSON string", RawEmailJson.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!RawEmailJson.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `RawEmailJson` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : RawEmailJson.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("content").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!RawEmailJson.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'RawEmailJson' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(RawEmailJson.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, RawEmailJson value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public RawEmailJson read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of RawEmailJson given an JSON string + * + * @param jsonString JSON string + * @return An instance of RawEmailJson + * @throws IOException if the JSON string is invalid with respect to RawEmailJson + */ + public static RawEmailJson fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, RawEmailJson.class); + } + + /** + * Convert an instance of RawEmailJson to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/Recipient.java b/src/main/java/com/mailslurp/models/Recipient.java new file mode 100644 index 000000000..7312c7086 --- /dev/null +++ b/src/main/java/com/mailslurp/models/Recipient.java @@ -0,0 +1,296 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Email recipient + */ +@ApiModel(description = "Email recipient") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class Recipient { + public static final String SERIALIZED_NAME_RAW_VALUE = "rawValue"; + @SerializedName(SERIALIZED_NAME_RAW_VALUE) + private String rawValue; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public Recipient() { + } + + public Recipient rawValue(String rawValue) { + + this.rawValue = rawValue; + return this; + } + + /** + * Get rawValue + * @return rawValue + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getRawValue() { + return rawValue; + } + + + public void setRawValue(String rawValue) { + this.rawValue = rawValue; + } + + + public Recipient emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public Recipient name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Recipient recipient = (Recipient) o; + return Objects.equals(this.rawValue, recipient.rawValue) && + Objects.equals(this.emailAddress, recipient.emailAddress) && + Objects.equals(this.name, recipient.name); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(rawValue, emailAddress, name); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Recipient {\n"); + sb.append(" rawValue: ").append(toIndentedString(rawValue)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("rawValue"); + openapiFields.add("emailAddress"); + openapiFields.add("name"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("rawValue"); + openapiRequiredFields.add("emailAddress"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to Recipient + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!Recipient.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in Recipient is not found in the empty JSON string", Recipient.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!Recipient.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Recipient` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : Recipient.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("rawValue").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `rawValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rawValue").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!Recipient.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'Recipient' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(Recipient.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, Recipient value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public Recipient read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of Recipient given an JSON string + * + * @param jsonString JSON string + * @return An instance of Recipient + * @throws IOException if the JSON string is invalid with respect to Recipient + */ + public static Recipient fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, Recipient.class); + } + + /** + * Convert an instance of Recipient to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ReplyToAliasEmailOptions.java b/src/main/java/com/mailslurp/models/ReplyToAliasEmailOptions.java new file mode 100644 index 000000000..3ea4167d3 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ReplyToAliasEmailOptions.java @@ -0,0 +1,549 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for replying to an alias email using the alias inbox + */ +@ApiModel(description = "Options for replying to an alias email using the alias inbox") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ReplyToAliasEmailOptions { + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_IS_H_T_M_L = "isHTML"; + @SerializedName(SERIALIZED_NAME_IS_H_T_M_L) + private Boolean isHTML; + + public static final String SERIALIZED_NAME_CHARSET = "charset"; + @SerializedName(SERIALIZED_NAME_CHARSET) + private String charset; + + public static final String SERIALIZED_NAME_ATTACHMENTS = "attachments"; + @SerializedName(SERIALIZED_NAME_ATTACHMENTS) + private List attachments = null; + + public static final String SERIALIZED_NAME_TEMPLATE_VARIABLES = "templateVariables"; + @SerializedName(SERIALIZED_NAME_TEMPLATE_VARIABLES) + private Map templateVariables = null; + + public static final String SERIALIZED_NAME_TEMPLATE = "template"; + @SerializedName(SERIALIZED_NAME_TEMPLATE) + private UUID template; + + /** + * How an email should be sent based on its recipients + */ + @JsonAdapter(SendStrategyEnum.Adapter.class) + public enum SendStrategyEnum { + SINGLE_MESSAGE("SINGLE_MESSAGE"); + + private String value; + + SendStrategyEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SendStrategyEnum fromValue(String value) { + for (SendStrategyEnum b : SendStrategyEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SendStrategyEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SendStrategyEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SendStrategyEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SEND_STRATEGY = "sendStrategy"; + @SerializedName(SERIALIZED_NAME_SEND_STRATEGY) + private SendStrategyEnum sendStrategy; + + public static final String SERIALIZED_NAME_USE_INBOX_NAME = "useInboxName"; + @SerializedName(SERIALIZED_NAME_USE_INBOX_NAME) + private Boolean useInboxName; + + public static final String SERIALIZED_NAME_HTML = "html"; + @SerializedName(SERIALIZED_NAME_HTML) + private Boolean html; + + public ReplyToAliasEmailOptions() { + } + + public ReplyToAliasEmailOptions body(String body) { + + this.body = body; + return this; + } + + /** + * Body of the reply email you want to send + * @return body + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Body of the reply email you want to send") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public ReplyToAliasEmailOptions isHTML(Boolean isHTML) { + + this.isHTML = isHTML; + return this; + } + + /** + * Is the reply HTML + * @return isHTML + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Is the reply HTML") + + public Boolean getIsHTML() { + return isHTML; + } + + + public void setIsHTML(Boolean isHTML) { + this.isHTML = isHTML; + } + + + public ReplyToAliasEmailOptions charset(String charset) { + + this.charset = charset; + return this; + } + + /** + * The charset that your message should be sent with. Optional. Default is UTF-8 + * @return charset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The charset that your message should be sent with. Optional. Default is UTF-8") + + public String getCharset() { + return charset; + } + + + public void setCharset(String charset) { + this.charset = charset; + } + + + public ReplyToAliasEmailOptions attachments(List attachments) { + + this.attachments = attachments; + return this; + } + + public ReplyToAliasEmailOptions addAttachmentsItem(String attachmentsItem) { + if (this.attachments == null) { + this.attachments = new ArrayList<>(); + } + this.attachments.add(attachmentsItem); + return this; + } + + /** + * List of uploaded attachments to send with the reply. Optional. + * @return attachments + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "List of uploaded attachments to send with the reply. Optional.") + + public List getAttachments() { + return attachments; + } + + + public void setAttachments(List attachments) { + this.attachments = attachments; + } + + + public ReplyToAliasEmailOptions templateVariables(Map templateVariables) { + + this.templateVariables = templateVariables; + return this; + } + + public ReplyToAliasEmailOptions putTemplateVariablesItem(String key, Object templateVariablesItem) { + if (this.templateVariables == null) { + this.templateVariables = new HashMap<>(); + } + this.templateVariables.put(key, templateVariablesItem); + return this; + } + + /** + * Template variables if using a template + * @return templateVariables + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Template variables if using a template") + + public Map getTemplateVariables() { + return templateVariables; + } + + + public void setTemplateVariables(Map templateVariables) { + this.templateVariables = templateVariables; + } + + + public ReplyToAliasEmailOptions template(UUID template) { + + this.template = template; + return this; + } + + /** + * Template ID to use instead of body. Will use template variable map to fill defined variable slots. + * @return template + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Template ID to use instead of body. Will use template variable map to fill defined variable slots.") + + public UUID getTemplate() { + return template; + } + + + public void setTemplate(UUID template) { + this.template = template; + } + + + public ReplyToAliasEmailOptions sendStrategy(SendStrategyEnum sendStrategy) { + + this.sendStrategy = sendStrategy; + return this; + } + + /** + * How an email should be sent based on its recipients + * @return sendStrategy + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "How an email should be sent based on its recipients") + + public SendStrategyEnum getSendStrategy() { + return sendStrategy; + } + + + public void setSendStrategy(SendStrategyEnum sendStrategy) { + this.sendStrategy = sendStrategy; + } + + + public ReplyToAliasEmailOptions useInboxName(Boolean useInboxName) { + + this.useInboxName = useInboxName; + return this; + } + + /** + * Optionally use inbox name as display name for sender email address + * @return useInboxName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optionally use inbox name as display name for sender email address") + + public Boolean getUseInboxName() { + return useInboxName; + } + + + public void setUseInboxName(Boolean useInboxName) { + this.useInboxName = useInboxName; + } + + + public ReplyToAliasEmailOptions html(Boolean html) { + + this.html = html; + return this; + } + + /** + * Get html + * @return html + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getHtml() { + return html; + } + + + public void setHtml(Boolean html) { + this.html = html; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ReplyToAliasEmailOptions replyToAliasEmailOptions = (ReplyToAliasEmailOptions) o; + return Objects.equals(this.body, replyToAliasEmailOptions.body) && + Objects.equals(this.isHTML, replyToAliasEmailOptions.isHTML) && + Objects.equals(this.charset, replyToAliasEmailOptions.charset) && + Objects.equals(this.attachments, replyToAliasEmailOptions.attachments) && + Objects.equals(this.templateVariables, replyToAliasEmailOptions.templateVariables) && + Objects.equals(this.template, replyToAliasEmailOptions.template) && + Objects.equals(this.sendStrategy, replyToAliasEmailOptions.sendStrategy) && + Objects.equals(this.useInboxName, replyToAliasEmailOptions.useInboxName) && + Objects.equals(this.html, replyToAliasEmailOptions.html); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(body, isHTML, charset, attachments, templateVariables, template, sendStrategy, useInboxName, html); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ReplyToAliasEmailOptions {\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" isHTML: ").append(toIndentedString(isHTML)).append("\n"); + sb.append(" charset: ").append(toIndentedString(charset)).append("\n"); + sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); + sb.append(" templateVariables: ").append(toIndentedString(templateVariables)).append("\n"); + sb.append(" template: ").append(toIndentedString(template)).append("\n"); + sb.append(" sendStrategy: ").append(toIndentedString(sendStrategy)).append("\n"); + sb.append(" useInboxName: ").append(toIndentedString(useInboxName)).append("\n"); + sb.append(" html: ").append(toIndentedString(html)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("body"); + openapiFields.add("isHTML"); + openapiFields.add("charset"); + openapiFields.add("attachments"); + openapiFields.add("templateVariables"); + openapiFields.add("template"); + openapiFields.add("sendStrategy"); + openapiFields.add("useInboxName"); + openapiFields.add("html"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("body"); + openapiRequiredFields.add("isHTML"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ReplyToAliasEmailOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ReplyToAliasEmailOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ReplyToAliasEmailOptions is not found in the empty JSON string", ReplyToAliasEmailOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ReplyToAliasEmailOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReplyToAliasEmailOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ReplyToAliasEmailOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + if ((jsonObj.get("charset") != null && !jsonObj.get("charset").isJsonNull()) && !jsonObj.get("charset").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `charset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("charset").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("attachments") != null && !jsonObj.get("attachments").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `attachments` to be an array in the JSON string but got `%s`", jsonObj.get("attachments").toString())); + } + if ((jsonObj.get("template") != null && !jsonObj.get("template").isJsonNull()) && !jsonObj.get("template").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `template` to be a primitive type in the JSON string but got `%s`", jsonObj.get("template").toString())); + } + if ((jsonObj.get("sendStrategy") != null && !jsonObj.get("sendStrategy").isJsonNull()) && !jsonObj.get("sendStrategy").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sendStrategy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sendStrategy").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ReplyToAliasEmailOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ReplyToAliasEmailOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ReplyToAliasEmailOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ReplyToAliasEmailOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ReplyToAliasEmailOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ReplyToAliasEmailOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of ReplyToAliasEmailOptions + * @throws IOException if the JSON string is invalid with respect to ReplyToAliasEmailOptions + */ + public static ReplyToAliasEmailOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ReplyToAliasEmailOptions.class); + } + + /** + * Convert an instance of ReplyToAliasEmailOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ReplyToEmailOptions.java b/src/main/java/com/mailslurp/models/ReplyToEmailOptions.java new file mode 100644 index 000000000..e85d54269 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ReplyToEmailOptions.java @@ -0,0 +1,615 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for replying to email with API + */ +@ApiModel(description = "Options for replying to email with API") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ReplyToEmailOptions { + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_IS_H_T_M_L = "isHTML"; + @SerializedName(SERIALIZED_NAME_IS_H_T_M_L) + private Boolean isHTML; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_REPLY_TO = "replyTo"; + @SerializedName(SERIALIZED_NAME_REPLY_TO) + private String replyTo; + + public static final String SERIALIZED_NAME_CHARSET = "charset"; + @SerializedName(SERIALIZED_NAME_CHARSET) + private String charset; + + public static final String SERIALIZED_NAME_ATTACHMENTS = "attachments"; + @SerializedName(SERIALIZED_NAME_ATTACHMENTS) + private List attachments = null; + + public static final String SERIALIZED_NAME_TEMPLATE_VARIABLES = "templateVariables"; + @SerializedName(SERIALIZED_NAME_TEMPLATE_VARIABLES) + private Map templateVariables = null; + + public static final String SERIALIZED_NAME_TEMPLATE = "template"; + @SerializedName(SERIALIZED_NAME_TEMPLATE) + private UUID template; + + /** + * How an email should be sent based on its recipients + */ + @JsonAdapter(SendStrategyEnum.Adapter.class) + public enum SendStrategyEnum { + SINGLE_MESSAGE("SINGLE_MESSAGE"); + + private String value; + + SendStrategyEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SendStrategyEnum fromValue(String value) { + for (SendStrategyEnum b : SendStrategyEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SendStrategyEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SendStrategyEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SendStrategyEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SEND_STRATEGY = "sendStrategy"; + @SerializedName(SERIALIZED_NAME_SEND_STRATEGY) + private SendStrategyEnum sendStrategy; + + public static final String SERIALIZED_NAME_USE_INBOX_NAME = "useInboxName"; + @SerializedName(SERIALIZED_NAME_USE_INBOX_NAME) + private Boolean useInboxName; + + public static final String SERIALIZED_NAME_HTML = "html"; + @SerializedName(SERIALIZED_NAME_HTML) + private Boolean html; + + public ReplyToEmailOptions() { + } + + public ReplyToEmailOptions body(String body) { + + this.body = body; + return this; + } + + /** + * Body of the reply email you want to send + * @return body + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Body of the reply email you want to send") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public ReplyToEmailOptions isHTML(Boolean isHTML) { + + this.isHTML = isHTML; + return this; + } + + /** + * Is the reply HTML + * @return isHTML + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Is the reply HTML") + + public Boolean getIsHTML() { + return isHTML; + } + + + public void setIsHTML(Boolean isHTML) { + this.isHTML = isHTML; + } + + + public ReplyToEmailOptions from(String from) { + + this.from = from; + return this; + } + + /** + * The from header that should be used. Optional + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The from header that should be used. Optional") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public ReplyToEmailOptions replyTo(String replyTo) { + + this.replyTo = replyTo; + return this; + } + + /** + * The replyTo header that should be used. Optional + * @return replyTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The replyTo header that should be used. Optional") + + public String getReplyTo() { + return replyTo; + } + + + public void setReplyTo(String replyTo) { + this.replyTo = replyTo; + } + + + public ReplyToEmailOptions charset(String charset) { + + this.charset = charset; + return this; + } + + /** + * The charset that your message should be sent with. Optional. Default is UTF-8 + * @return charset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The charset that your message should be sent with. Optional. Default is UTF-8") + + public String getCharset() { + return charset; + } + + + public void setCharset(String charset) { + this.charset = charset; + } + + + public ReplyToEmailOptions attachments(List attachments) { + + this.attachments = attachments; + return this; + } + + public ReplyToEmailOptions addAttachmentsItem(String attachmentsItem) { + if (this.attachments == null) { + this.attachments = new ArrayList<>(); + } + this.attachments.add(attachmentsItem); + return this; + } + + /** + * List of uploaded attachments to send with the reply. Optional. + * @return attachments + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "List of uploaded attachments to send with the reply. Optional.") + + public List getAttachments() { + return attachments; + } + + + public void setAttachments(List attachments) { + this.attachments = attachments; + } + + + public ReplyToEmailOptions templateVariables(Map templateVariables) { + + this.templateVariables = templateVariables; + return this; + } + + public ReplyToEmailOptions putTemplateVariablesItem(String key, Object templateVariablesItem) { + if (this.templateVariables == null) { + this.templateVariables = new HashMap<>(); + } + this.templateVariables.put(key, templateVariablesItem); + return this; + } + + /** + * Template variables if using a template + * @return templateVariables + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Template variables if using a template") + + public Map getTemplateVariables() { + return templateVariables; + } + + + public void setTemplateVariables(Map templateVariables) { + this.templateVariables = templateVariables; + } + + + public ReplyToEmailOptions template(UUID template) { + + this.template = template; + return this; + } + + /** + * Template ID to use instead of body. Will use template variable map to fill defined variable slots. + * @return template + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Template ID to use instead of body. Will use template variable map to fill defined variable slots.") + + public UUID getTemplate() { + return template; + } + + + public void setTemplate(UUID template) { + this.template = template; + } + + + public ReplyToEmailOptions sendStrategy(SendStrategyEnum sendStrategy) { + + this.sendStrategy = sendStrategy; + return this; + } + + /** + * How an email should be sent based on its recipients + * @return sendStrategy + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "How an email should be sent based on its recipients") + + public SendStrategyEnum getSendStrategy() { + return sendStrategy; + } + + + public void setSendStrategy(SendStrategyEnum sendStrategy) { + this.sendStrategy = sendStrategy; + } + + + public ReplyToEmailOptions useInboxName(Boolean useInboxName) { + + this.useInboxName = useInboxName; + return this; + } + + /** + * Optionally use inbox name as display name for sender email address + * @return useInboxName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optionally use inbox name as display name for sender email address") + + public Boolean getUseInboxName() { + return useInboxName; + } + + + public void setUseInboxName(Boolean useInboxName) { + this.useInboxName = useInboxName; + } + + + public ReplyToEmailOptions html(Boolean html) { + + this.html = html; + return this; + } + + /** + * Get html + * @return html + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getHtml() { + return html; + } + + + public void setHtml(Boolean html) { + this.html = html; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ReplyToEmailOptions replyToEmailOptions = (ReplyToEmailOptions) o; + return Objects.equals(this.body, replyToEmailOptions.body) && + Objects.equals(this.isHTML, replyToEmailOptions.isHTML) && + Objects.equals(this.from, replyToEmailOptions.from) && + Objects.equals(this.replyTo, replyToEmailOptions.replyTo) && + Objects.equals(this.charset, replyToEmailOptions.charset) && + Objects.equals(this.attachments, replyToEmailOptions.attachments) && + Objects.equals(this.templateVariables, replyToEmailOptions.templateVariables) && + Objects.equals(this.template, replyToEmailOptions.template) && + Objects.equals(this.sendStrategy, replyToEmailOptions.sendStrategy) && + Objects.equals(this.useInboxName, replyToEmailOptions.useInboxName) && + Objects.equals(this.html, replyToEmailOptions.html); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(body, isHTML, from, replyTo, charset, attachments, templateVariables, template, sendStrategy, useInboxName, html); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ReplyToEmailOptions {\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" isHTML: ").append(toIndentedString(isHTML)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" replyTo: ").append(toIndentedString(replyTo)).append("\n"); + sb.append(" charset: ").append(toIndentedString(charset)).append("\n"); + sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); + sb.append(" templateVariables: ").append(toIndentedString(templateVariables)).append("\n"); + sb.append(" template: ").append(toIndentedString(template)).append("\n"); + sb.append(" sendStrategy: ").append(toIndentedString(sendStrategy)).append("\n"); + sb.append(" useInboxName: ").append(toIndentedString(useInboxName)).append("\n"); + sb.append(" html: ").append(toIndentedString(html)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("body"); + openapiFields.add("isHTML"); + openapiFields.add("from"); + openapiFields.add("replyTo"); + openapiFields.add("charset"); + openapiFields.add("attachments"); + openapiFields.add("templateVariables"); + openapiFields.add("template"); + openapiFields.add("sendStrategy"); + openapiFields.add("useInboxName"); + openapiFields.add("html"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("body"); + openapiRequiredFields.add("isHTML"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ReplyToEmailOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ReplyToEmailOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ReplyToEmailOptions is not found in the empty JSON string", ReplyToEmailOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ReplyToEmailOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReplyToEmailOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ReplyToEmailOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + if ((jsonObj.get("replyTo") != null && !jsonObj.get("replyTo").isJsonNull()) && !jsonObj.get("replyTo").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `replyTo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("replyTo").toString())); + } + if ((jsonObj.get("charset") != null && !jsonObj.get("charset").isJsonNull()) && !jsonObj.get("charset").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `charset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("charset").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("attachments") != null && !jsonObj.get("attachments").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `attachments` to be an array in the JSON string but got `%s`", jsonObj.get("attachments").toString())); + } + if ((jsonObj.get("template") != null && !jsonObj.get("template").isJsonNull()) && !jsonObj.get("template").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `template` to be a primitive type in the JSON string but got `%s`", jsonObj.get("template").toString())); + } + if ((jsonObj.get("sendStrategy") != null && !jsonObj.get("sendStrategy").isJsonNull()) && !jsonObj.get("sendStrategy").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sendStrategy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sendStrategy").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ReplyToEmailOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ReplyToEmailOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ReplyToEmailOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ReplyToEmailOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ReplyToEmailOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ReplyToEmailOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of ReplyToEmailOptions + * @throws IOException if the JSON string is invalid with respect to ReplyToEmailOptions + */ + public static ReplyToEmailOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ReplyToEmailOptions.class); + } + + /** + * Convert an instance of ReplyToEmailOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ScheduledJob.java b/src/main/java/com/mailslurp/models/ScheduledJob.java new file mode 100644 index 000000000..f70a37271 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ScheduledJob.java @@ -0,0 +1,566 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * ScheduledJob + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ScheduledJob { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_JOB_ID = "jobId"; + @SerializedName(SERIALIZED_NAME_JOB_ID) + private String jobId; + + public static final String SERIALIZED_NAME_GROUP_ID = "groupId"; + @SerializedName(SERIALIZED_NAME_GROUP_ID) + private String groupId; + + public static final String SERIALIZED_NAME_TRIGGER_ID = "triggerId"; + @SerializedName(SERIALIZED_NAME_TRIGGER_ID) + private String triggerId; + + /** + * Gets or Sets status + */ + @JsonAdapter(StatusEnum.Adapter.class) + public enum StatusEnum { + SUBMITTED("SUBMITTED"), + + COMPLETED("COMPLETED"), + + FAILED("FAILED"), + + CANCELLED("CANCELLED"); + + private String value; + + StatusEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static StatusEnum fromValue(String value) { + for (StatusEnum b : StatusEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final StatusEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public StatusEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return StatusEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_STATUS = "status"; + @SerializedName(SERIALIZED_NAME_STATUS) + private StatusEnum status; + + public static final String SERIALIZED_NAME_SEND_AT_TIMESTAMP = "sendAtTimestamp"; + @SerializedName(SERIALIZED_NAME_SEND_AT_TIMESTAMP) + private OffsetDateTime sendAtTimestamp; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public ScheduledJob() { + } + + public ScheduledJob id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ScheduledJob userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public ScheduledJob inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public ScheduledJob jobId(String jobId) { + + this.jobId = jobId; + return this; + } + + /** + * Get jobId + * @return jobId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getJobId() { + return jobId; + } + + + public void setJobId(String jobId) { + this.jobId = jobId; + } + + + public ScheduledJob groupId(String groupId) { + + this.groupId = groupId; + return this; + } + + /** + * Get groupId + * @return groupId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getGroupId() { + return groupId; + } + + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + + public ScheduledJob triggerId(String triggerId) { + + this.triggerId = triggerId; + return this; + } + + /** + * Get triggerId + * @return triggerId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getTriggerId() { + return triggerId; + } + + + public void setTriggerId(String triggerId) { + this.triggerId = triggerId; + } + + + public ScheduledJob status(StatusEnum status) { + + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public StatusEnum getStatus() { + return status; + } + + + public void setStatus(StatusEnum status) { + this.status = status; + } + + + public ScheduledJob sendAtTimestamp(OffsetDateTime sendAtTimestamp) { + + this.sendAtTimestamp = sendAtTimestamp; + return this; + } + + /** + * Get sendAtTimestamp + * @return sendAtTimestamp + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getSendAtTimestamp() { + return sendAtTimestamp; + } + + + public void setSendAtTimestamp(OffsetDateTime sendAtTimestamp) { + this.sendAtTimestamp = sendAtTimestamp; + } + + + public ScheduledJob createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public ScheduledJob updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ScheduledJob scheduledJob = (ScheduledJob) o; + return Objects.equals(this.id, scheduledJob.id) && + Objects.equals(this.userId, scheduledJob.userId) && + Objects.equals(this.inboxId, scheduledJob.inboxId) && + Objects.equals(this.jobId, scheduledJob.jobId) && + Objects.equals(this.groupId, scheduledJob.groupId) && + Objects.equals(this.triggerId, scheduledJob.triggerId) && + Objects.equals(this.status, scheduledJob.status) && + Objects.equals(this.sendAtTimestamp, scheduledJob.sendAtTimestamp) && + Objects.equals(this.createdAt, scheduledJob.createdAt) && + Objects.equals(this.updatedAt, scheduledJob.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, inboxId, jobId, groupId, triggerId, status, sendAtTimestamp, createdAt, updatedAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ScheduledJob {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" jobId: ").append(toIndentedString(jobId)).append("\n"); + sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + sb.append(" triggerId: ").append(toIndentedString(triggerId)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" sendAtTimestamp: ").append(toIndentedString(sendAtTimestamp)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("inboxId"); + openapiFields.add("jobId"); + openapiFields.add("groupId"); + openapiFields.add("triggerId"); + openapiFields.add("status"); + openapiFields.add("sendAtTimestamp"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("jobId"); + openapiRequiredFields.add("groupId"); + openapiRequiredFields.add("triggerId"); + openapiRequiredFields.add("status"); + openapiRequiredFields.add("sendAtTimestamp"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ScheduledJob + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ScheduledJob.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ScheduledJob is not found in the empty JSON string", ScheduledJob.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ScheduledJob.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ScheduledJob` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ScheduledJob.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("jobId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `jobId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("jobId").toString())); + } + if (!jsonObj.get("groupId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `groupId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("groupId").toString())); + } + if (!jsonObj.get("triggerId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `triggerId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("triggerId").toString())); + } + if (!jsonObj.get("status").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("status").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ScheduledJob.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ScheduledJob' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ScheduledJob.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ScheduledJob value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ScheduledJob read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ScheduledJob given an JSON string + * + * @param jsonString JSON string + * @return An instance of ScheduledJob + * @throws IOException if the JSON string is invalid with respect to ScheduledJob + */ + public static ScheduledJob fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ScheduledJob.class); + } + + /** + * Convert an instance of ScheduledJob to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ScheduledJobDto.java b/src/main/java/com/mailslurp/models/ScheduledJobDto.java new file mode 100644 index 000000000..865f67848 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ScheduledJobDto.java @@ -0,0 +1,566 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * ScheduledJobDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ScheduledJobDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_JOB_ID = "jobId"; + @SerializedName(SERIALIZED_NAME_JOB_ID) + private String jobId; + + public static final String SERIALIZED_NAME_GROUP_ID = "groupId"; + @SerializedName(SERIALIZED_NAME_GROUP_ID) + private String groupId; + + public static final String SERIALIZED_NAME_TRIGGER_ID = "triggerId"; + @SerializedName(SERIALIZED_NAME_TRIGGER_ID) + private String triggerId; + + /** + * Gets or Sets status + */ + @JsonAdapter(StatusEnum.Adapter.class) + public enum StatusEnum { + SUBMITTED("SUBMITTED"), + + COMPLETED("COMPLETED"), + + FAILED("FAILED"), + + CANCELLED("CANCELLED"); + + private String value; + + StatusEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static StatusEnum fromValue(String value) { + for (StatusEnum b : StatusEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final StatusEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public StatusEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return StatusEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_STATUS = "status"; + @SerializedName(SERIALIZED_NAME_STATUS) + private StatusEnum status; + + public static final String SERIALIZED_NAME_SEND_AT_TIMESTAMP = "sendAtTimestamp"; + @SerializedName(SERIALIZED_NAME_SEND_AT_TIMESTAMP) + private OffsetDateTime sendAtTimestamp; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public ScheduledJobDto() { + } + + public ScheduledJobDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ScheduledJobDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public ScheduledJobDto inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public ScheduledJobDto jobId(String jobId) { + + this.jobId = jobId; + return this; + } + + /** + * Get jobId + * @return jobId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getJobId() { + return jobId; + } + + + public void setJobId(String jobId) { + this.jobId = jobId; + } + + + public ScheduledJobDto groupId(String groupId) { + + this.groupId = groupId; + return this; + } + + /** + * Get groupId + * @return groupId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getGroupId() { + return groupId; + } + + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + + public ScheduledJobDto triggerId(String triggerId) { + + this.triggerId = triggerId; + return this; + } + + /** + * Get triggerId + * @return triggerId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getTriggerId() { + return triggerId; + } + + + public void setTriggerId(String triggerId) { + this.triggerId = triggerId; + } + + + public ScheduledJobDto status(StatusEnum status) { + + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public StatusEnum getStatus() { + return status; + } + + + public void setStatus(StatusEnum status) { + this.status = status; + } + + + public ScheduledJobDto sendAtTimestamp(OffsetDateTime sendAtTimestamp) { + + this.sendAtTimestamp = sendAtTimestamp; + return this; + } + + /** + * Get sendAtTimestamp + * @return sendAtTimestamp + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getSendAtTimestamp() { + return sendAtTimestamp; + } + + + public void setSendAtTimestamp(OffsetDateTime sendAtTimestamp) { + this.sendAtTimestamp = sendAtTimestamp; + } + + + public ScheduledJobDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public ScheduledJobDto updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ScheduledJobDto scheduledJobDto = (ScheduledJobDto) o; + return Objects.equals(this.id, scheduledJobDto.id) && + Objects.equals(this.userId, scheduledJobDto.userId) && + Objects.equals(this.inboxId, scheduledJobDto.inboxId) && + Objects.equals(this.jobId, scheduledJobDto.jobId) && + Objects.equals(this.groupId, scheduledJobDto.groupId) && + Objects.equals(this.triggerId, scheduledJobDto.triggerId) && + Objects.equals(this.status, scheduledJobDto.status) && + Objects.equals(this.sendAtTimestamp, scheduledJobDto.sendAtTimestamp) && + Objects.equals(this.createdAt, scheduledJobDto.createdAt) && + Objects.equals(this.updatedAt, scheduledJobDto.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, inboxId, jobId, groupId, triggerId, status, sendAtTimestamp, createdAt, updatedAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ScheduledJobDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" jobId: ").append(toIndentedString(jobId)).append("\n"); + sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + sb.append(" triggerId: ").append(toIndentedString(triggerId)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" sendAtTimestamp: ").append(toIndentedString(sendAtTimestamp)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("inboxId"); + openapiFields.add("jobId"); + openapiFields.add("groupId"); + openapiFields.add("triggerId"); + openapiFields.add("status"); + openapiFields.add("sendAtTimestamp"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("jobId"); + openapiRequiredFields.add("groupId"); + openapiRequiredFields.add("triggerId"); + openapiRequiredFields.add("status"); + openapiRequiredFields.add("sendAtTimestamp"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ScheduledJobDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ScheduledJobDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ScheduledJobDto is not found in the empty JSON string", ScheduledJobDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ScheduledJobDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ScheduledJobDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ScheduledJobDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("jobId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `jobId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("jobId").toString())); + } + if (!jsonObj.get("groupId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `groupId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("groupId").toString())); + } + if (!jsonObj.get("triggerId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `triggerId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("triggerId").toString())); + } + if (!jsonObj.get("status").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("status").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ScheduledJobDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ScheduledJobDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ScheduledJobDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ScheduledJobDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ScheduledJobDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ScheduledJobDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of ScheduledJobDto + * @throws IOException if the JSON string is invalid with respect to ScheduledJobDto + */ + public static ScheduledJobDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ScheduledJobDto.class); + } + + /** + * Convert an instance of ScheduledJobDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/SendEmailOptions.java b/src/main/java/com/mailslurp/models/SendEmailOptions.java new file mode 100644 index 000000000..91be9d654 --- /dev/null +++ b/src/main/java/com/mailslurp/models/SendEmailOptions.java @@ -0,0 +1,982 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for the email to be sent + */ +@ApiModel(description = "Options for the email to be sent") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class SendEmailOptions { + public static final String SERIALIZED_NAME_TO_CONTACTS = "toContacts"; + @SerializedName(SERIALIZED_NAME_TO_CONTACTS) + private List toContacts = null; + + public static final String SERIALIZED_NAME_TO_GROUP = "toGroup"; + @SerializedName(SERIALIZED_NAME_TO_GROUP) + private UUID toGroup; + + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = null; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_CC = "cc"; + @SerializedName(SERIALIZED_NAME_CC) + private List cc = null; + + public static final String SERIALIZED_NAME_BCC = "bcc"; + @SerializedName(SERIALIZED_NAME_BCC) + private List bcc = null; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_REPLY_TO = "replyTo"; + @SerializedName(SERIALIZED_NAME_REPLY_TO) + private String replyTo; + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_HTML = "html"; + @SerializedName(SERIALIZED_NAME_HTML) + private Boolean html; + + public static final String SERIALIZED_NAME_IS_H_T_M_L = "isHTML"; + @SerializedName(SERIALIZED_NAME_IS_H_T_M_L) + private Boolean isHTML; + + public static final String SERIALIZED_NAME_CHARSET = "charset"; + @SerializedName(SERIALIZED_NAME_CHARSET) + private String charset; + + public static final String SERIALIZED_NAME_ATTACHMENTS = "attachments"; + @SerializedName(SERIALIZED_NAME_ATTACHMENTS) + private List attachments = null; + + public static final String SERIALIZED_NAME_TEMPLATE_VARIABLES = "templateVariables"; + @SerializedName(SERIALIZED_NAME_TEMPLATE_VARIABLES) + private Map templateVariables = null; + + public static final String SERIALIZED_NAME_TEMPLATE = "template"; + @SerializedName(SERIALIZED_NAME_TEMPLATE) + private UUID template; + + /** + * How an email should be sent based on its recipients + */ + @JsonAdapter(SendStrategyEnum.Adapter.class) + public enum SendStrategyEnum { + SINGLE_MESSAGE("SINGLE_MESSAGE"); + + private String value; + + SendStrategyEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SendStrategyEnum fromValue(String value) { + for (SendStrategyEnum b : SendStrategyEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SendStrategyEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SendStrategyEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SendStrategyEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SEND_STRATEGY = "sendStrategy"; + @SerializedName(SERIALIZED_NAME_SEND_STRATEGY) + private SendStrategyEnum sendStrategy; + + public static final String SERIALIZED_NAME_USE_INBOX_NAME = "useInboxName"; + @SerializedName(SERIALIZED_NAME_USE_INBOX_NAME) + private Boolean useInboxName; + + public static final String SERIALIZED_NAME_ADD_TRACKING_PIXEL = "addTrackingPixel"; + @SerializedName(SERIALIZED_NAME_ADD_TRACKING_PIXEL) + private Boolean addTrackingPixel; + + public static final String SERIALIZED_NAME_FILTER_BOUNCED_RECIPIENTS = "filterBouncedRecipients"; + @SerializedName(SERIALIZED_NAME_FILTER_BOUNCED_RECIPIENTS) + private Boolean filterBouncedRecipients; + + /** + * Validate recipient email addresses before sending + */ + @JsonAdapter(ValidateEmailAddressesEnum.Adapter.class) + public enum ValidateEmailAddressesEnum { + VALIDATE_FILTER_REMOVE_INVALID("VALIDATE_FILTER_REMOVE_INVALID"), + + VALIDATE_ERROR_IF_INVALID("VALIDATE_ERROR_IF_INVALID"), + + NO_VALIDATION("NO_VALIDATION"); + + private String value; + + ValidateEmailAddressesEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ValidateEmailAddressesEnum fromValue(String value) { + for (ValidateEmailAddressesEnum b : ValidateEmailAddressesEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ValidateEmailAddressesEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ValidateEmailAddressesEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ValidateEmailAddressesEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_VALIDATE_EMAIL_ADDRESSES = "validateEmailAddresses"; + @SerializedName(SERIALIZED_NAME_VALIDATE_EMAIL_ADDRESSES) + private ValidateEmailAddressesEnum validateEmailAddresses; + + public SendEmailOptions() { + } + + public SendEmailOptions toContacts(List toContacts) { + + this.toContacts = toContacts; + return this; + } + + public SendEmailOptions addToContactsItem(UUID toContactsItem) { + if (this.toContacts == null) { + this.toContacts = new ArrayList<>(); + } + this.toContacts.add(toContactsItem); + return this; + } + + /** + * Optional list of contact IDs to send email to. Manage your contacts via the API or dashboard. When contacts are used the email is sent to each contact separately so they will not see other recipients. + * @return toContacts + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional list of contact IDs to send email to. Manage your contacts via the API or dashboard. When contacts are used the email is sent to each contact separately so they will not see other recipients.") + + public List getToContacts() { + return toContacts; + } + + + public void setToContacts(List toContacts) { + this.toContacts = toContacts; + } + + + public SendEmailOptions toGroup(UUID toGroup) { + + this.toGroup = toGroup; + return this; + } + + /** + * Optional contact group ID to send email to. You can create contacts and contact groups in the API or dashboard and use them for email campaigns. When contact groups are used the email is sent to each contact separately so they will not see other recipients + * @return toGroup + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional contact group ID to send email to. You can create contacts and contact groups in the API or dashboard and use them for email campaigns. When contact groups are used the email is sent to each contact separately so they will not see other recipients") + + public UUID getToGroup() { + return toGroup; + } + + + public void setToGroup(UUID toGroup) { + this.toGroup = toGroup; + } + + + public SendEmailOptions to(List to) { + + this.to = to; + return this; + } + + public SendEmailOptions addToItem(String toItem) { + if (this.to == null) { + this.to = new ArrayList<>(); + } + this.to.add(toItem); + return this; + } + + /** + * List of destination email addresses. Each email address must be RFC 5322 format. Even single recipients must be in array form. Maximum recipients per email depends on your plan. If you need to send many emails try using contacts or contact groups or use a non standard sendStrategy to ensure that spam filters are not triggered (many recipients in one email can affect your spam rating). Be cautious when sending emails that your recipients exist. High bounce rates (meaning a high percentage of emails cannot be delivered because an address does not exist) can result in account freezing. + * @return to + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "List of destination email addresses. Each email address must be RFC 5322 format. Even single recipients must be in array form. Maximum recipients per email depends on your plan. If you need to send many emails try using contacts or contact groups or use a non standard sendStrategy to ensure that spam filters are not triggered (many recipients in one email can affect your spam rating). Be cautious when sending emails that your recipients exist. High bounce rates (meaning a high percentage of emails cannot be delivered because an address does not exist) can result in account freezing.") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + public SendEmailOptions from(String from) { + + this.from = from; + return this; + } + + /** + * Optional from address. Email address is RFC 5322 format and may include a display name and email in angle brackets (`my@address.com` or `My inbox <my@address.com>`). If no sender is set the source inbox address will be used for this field. If you set `useInboxName` to `true` the from field will include the inbox name as a display name: `inbox_name <inbox@address.com>`. For this to work use the name field when creating an inbox. Beware of potential spam penalties when setting the from field to an address not used by the inbox. Your emails may get blocked by services if you impersonate another address. To use a custom email addresses use a custom domain. You can create domains with the DomainController. The domain must be verified in the dashboard before it can be used. + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional from address. Email address is RFC 5322 format and may include a display name and email in angle brackets (`my@address.com` or `My inbox `). If no sender is set the source inbox address will be used for this field. If you set `useInboxName` to `true` the from field will include the inbox name as a display name: `inbox_name `. For this to work use the name field when creating an inbox. Beware of potential spam penalties when setting the from field to an address not used by the inbox. Your emails may get blocked by services if you impersonate another address. To use a custom email addresses use a custom domain. You can create domains with the DomainController. The domain must be verified in the dashboard before it can be used.") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public SendEmailOptions cc(List cc) { + + this.cc = cc; + return this; + } + + public SendEmailOptions addCcItem(String ccItem) { + if (this.cc == null) { + this.cc = new ArrayList<>(); + } + this.cc.add(ccItem); + return this; + } + + /** + * Optional list of cc destination email addresses + * @return cc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional list of cc destination email addresses") + + public List getCc() { + return cc; + } + + + public void setCc(List cc) { + this.cc = cc; + } + + + public SendEmailOptions bcc(List bcc) { + + this.bcc = bcc; + return this; + } + + public SendEmailOptions addBccItem(String bccItem) { + if (this.bcc == null) { + this.bcc = new ArrayList<>(); + } + this.bcc.add(bccItem); + return this; + } + + /** + * Optional list of bcc destination email addresses + * @return bcc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional list of bcc destination email addresses") + + public List getBcc() { + return bcc; + } + + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + + public SendEmailOptions subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Optional email subject line + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional email subject line") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public SendEmailOptions replyTo(String replyTo) { + + this.replyTo = replyTo; + return this; + } + + /** + * Optional replyTo header + * @return replyTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional replyTo header") + + public String getReplyTo() { + return replyTo; + } + + + public void setReplyTo(String replyTo) { + this.replyTo = replyTo; + } + + + public SendEmailOptions body(String body) { + + this.body = body; + return this; + } + + /** + * Optional contents of email. If body contains HTML then set `isHTML` to true to ensure that email clients render it correctly. You can use moustache template syntax in the email body in conjunction with `toGroup` contact variables or `templateVariables` data. If you need more templating control consider creating a template and using the `template` property instead of the body. + * @return body + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional contents of email. If body contains HTML then set `isHTML` to true to ensure that email clients render it correctly. You can use moustache template syntax in the email body in conjunction with `toGroup` contact variables or `templateVariables` data. If you need more templating control consider creating a template and using the `template` property instead of the body.") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public SendEmailOptions html(Boolean html) { + + this.html = html; + return this; + } + + /** + * Optional HTML flag to indicate that contents is HTML. Set's a `content-type: text/html` for email. (Deprecated: use `isHTML` instead.) + * @return html + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional HTML flag to indicate that contents is HTML. Set's a `content-type: text/html` for email. (Deprecated: use `isHTML` instead.)") + + public Boolean getHtml() { + return html; + } + + + public void setHtml(Boolean html) { + this.html = html; + } + + + public SendEmailOptions isHTML(Boolean isHTML) { + + this.isHTML = isHTML; + return this; + } + + /** + * Optional HTML flag. If true the `content-type` of the email will be `text/html`. Set to true when sending HTML to ensure proper rending on email clients + * @return isHTML + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional HTML flag. If true the `content-type` of the email will be `text/html`. Set to true when sending HTML to ensure proper rending on email clients") + + public Boolean getIsHTML() { + return isHTML; + } + + + public void setIsHTML(Boolean isHTML) { + this.isHTML = isHTML; + } + + + public SendEmailOptions charset(String charset) { + + this.charset = charset; + return this; + } + + /** + * Optional charset + * @return charset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional charset") + + public String getCharset() { + return charset; + } + + + public void setCharset(String charset) { + this.charset = charset; + } + + + public SendEmailOptions attachments(List attachments) { + + this.attachments = attachments; + return this; + } + + public SendEmailOptions addAttachmentsItem(String attachmentsItem) { + if (this.attachments == null) { + this.attachments = new ArrayList<>(); + } + this.attachments.add(attachmentsItem); + return this; + } + + /** + * Optional list of attachment IDs to send with this email. You must first upload each attachment separately via method call or dashboard in order to obtain attachment IDs. This way you can reuse attachments with different emails once uploaded. There are several ways to upload that support `multi-part form`, `base64 file encoding`, and octet stream binary uploads. See the `UploadController` for available methods. + * @return attachments + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional list of attachment IDs to send with this email. You must first upload each attachment separately via method call or dashboard in order to obtain attachment IDs. This way you can reuse attachments with different emails once uploaded. There are several ways to upload that support `multi-part form`, `base64 file encoding`, and octet stream binary uploads. See the `UploadController` for available methods. ") + + public List getAttachments() { + return attachments; + } + + + public void setAttachments(List attachments) { + this.attachments = attachments; + } + + + public SendEmailOptions templateVariables(Map templateVariables) { + + this.templateVariables = templateVariables; + return this; + } + + public SendEmailOptions putTemplateVariablesItem(String key, Object templateVariablesItem) { + if (this.templateVariables == null) { + this.templateVariables = new HashMap<>(); + } + this.templateVariables.put(key, templateVariablesItem); + return this; + } + + /** + * Optional map of template variables. Will replace moustache syntax variables in subject and body or template with the associated values if found. + * @return templateVariables + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional map of template variables. Will replace moustache syntax variables in subject and body or template with the associated values if found.") + + public Map getTemplateVariables() { + return templateVariables; + } + + + public void setTemplateVariables(Map templateVariables) { + this.templateVariables = templateVariables; + } + + + public SendEmailOptions template(UUID template) { + + this.template = template; + return this; + } + + /** + * Optional template ID to use for body. Will override body if provided. When using a template make sure you pass the corresponding map of `templateVariables`. You can find which variables are needed by fetching the template itself or viewing it in the dashboard. + * @return template + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional template ID to use for body. Will override body if provided. When using a template make sure you pass the corresponding map of `templateVariables`. You can find which variables are needed by fetching the template itself or viewing it in the dashboard.") + + public UUID getTemplate() { + return template; + } + + + public void setTemplate(UUID template) { + this.template = template; + } + + + public SendEmailOptions sendStrategy(SendStrategyEnum sendStrategy) { + + this.sendStrategy = sendStrategy; + return this; + } + + /** + * How an email should be sent based on its recipients + * @return sendStrategy + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "How an email should be sent based on its recipients") + + public SendStrategyEnum getSendStrategy() { + return sendStrategy; + } + + + public void setSendStrategy(SendStrategyEnum sendStrategy) { + this.sendStrategy = sendStrategy; + } + + + public SendEmailOptions useInboxName(Boolean useInboxName) { + + this.useInboxName = useInboxName; + return this; + } + + /** + * Use name of inbox as sender email address name. Will construct RFC 5322 email address with `Inbox name <inbox@address.com>` if the inbox has a name. + * @return useInboxName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Use name of inbox as sender email address name. Will construct RFC 5322 email address with `Inbox name ` if the inbox has a name.") + + public Boolean getUseInboxName() { + return useInboxName; + } + + + public void setUseInboxName(Boolean useInboxName) { + this.useInboxName = useInboxName; + } + + + public SendEmailOptions addTrackingPixel(Boolean addTrackingPixel) { + + this.addTrackingPixel = addTrackingPixel; + return this; + } + + /** + * Add tracking pixel to email + * @return addTrackingPixel + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Add tracking pixel to email") + + public Boolean getAddTrackingPixel() { + return addTrackingPixel; + } + + + public void setAddTrackingPixel(Boolean addTrackingPixel) { + this.addTrackingPixel = addTrackingPixel; + } + + + public SendEmailOptions filterBouncedRecipients(Boolean filterBouncedRecipients) { + + this.filterBouncedRecipients = filterBouncedRecipients; + return this; + } + + /** + * Filter recipients to remove any bounced recipients from to, bcc, and cc before sending + * @return filterBouncedRecipients + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Filter recipients to remove any bounced recipients from to, bcc, and cc before sending") + + public Boolean getFilterBouncedRecipients() { + return filterBouncedRecipients; + } + + + public void setFilterBouncedRecipients(Boolean filterBouncedRecipients) { + this.filterBouncedRecipients = filterBouncedRecipients; + } + + + public SendEmailOptions validateEmailAddresses(ValidateEmailAddressesEnum validateEmailAddresses) { + + this.validateEmailAddresses = validateEmailAddresses; + return this; + } + + /** + * Validate recipient email addresses before sending + * @return validateEmailAddresses + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Validate recipient email addresses before sending") + + public ValidateEmailAddressesEnum getValidateEmailAddresses() { + return validateEmailAddresses; + } + + + public void setValidateEmailAddresses(ValidateEmailAddressesEnum validateEmailAddresses) { + this.validateEmailAddresses = validateEmailAddresses; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendEmailOptions sendEmailOptions = (SendEmailOptions) o; + return Objects.equals(this.toContacts, sendEmailOptions.toContacts) && + Objects.equals(this.toGroup, sendEmailOptions.toGroup) && + Objects.equals(this.to, sendEmailOptions.to) && + Objects.equals(this.from, sendEmailOptions.from) && + Objects.equals(this.cc, sendEmailOptions.cc) && + Objects.equals(this.bcc, sendEmailOptions.bcc) && + Objects.equals(this.subject, sendEmailOptions.subject) && + Objects.equals(this.replyTo, sendEmailOptions.replyTo) && + Objects.equals(this.body, sendEmailOptions.body) && + Objects.equals(this.html, sendEmailOptions.html) && + Objects.equals(this.isHTML, sendEmailOptions.isHTML) && + Objects.equals(this.charset, sendEmailOptions.charset) && + Objects.equals(this.attachments, sendEmailOptions.attachments) && + Objects.equals(this.templateVariables, sendEmailOptions.templateVariables) && + Objects.equals(this.template, sendEmailOptions.template) && + Objects.equals(this.sendStrategy, sendEmailOptions.sendStrategy) && + Objects.equals(this.useInboxName, sendEmailOptions.useInboxName) && + Objects.equals(this.addTrackingPixel, sendEmailOptions.addTrackingPixel) && + Objects.equals(this.filterBouncedRecipients, sendEmailOptions.filterBouncedRecipients) && + Objects.equals(this.validateEmailAddresses, sendEmailOptions.validateEmailAddresses); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(toContacts, toGroup, to, from, cc, bcc, subject, replyTo, body, html, isHTML, charset, attachments, templateVariables, template, sendStrategy, useInboxName, addTrackingPixel, filterBouncedRecipients, validateEmailAddresses); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendEmailOptions {\n"); + sb.append(" toContacts: ").append(toIndentedString(toContacts)).append("\n"); + sb.append(" toGroup: ").append(toIndentedString(toGroup)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" replyTo: ").append(toIndentedString(replyTo)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" html: ").append(toIndentedString(html)).append("\n"); + sb.append(" isHTML: ").append(toIndentedString(isHTML)).append("\n"); + sb.append(" charset: ").append(toIndentedString(charset)).append("\n"); + sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); + sb.append(" templateVariables: ").append(toIndentedString(templateVariables)).append("\n"); + sb.append(" template: ").append(toIndentedString(template)).append("\n"); + sb.append(" sendStrategy: ").append(toIndentedString(sendStrategy)).append("\n"); + sb.append(" useInboxName: ").append(toIndentedString(useInboxName)).append("\n"); + sb.append(" addTrackingPixel: ").append(toIndentedString(addTrackingPixel)).append("\n"); + sb.append(" filterBouncedRecipients: ").append(toIndentedString(filterBouncedRecipients)).append("\n"); + sb.append(" validateEmailAddresses: ").append(toIndentedString(validateEmailAddresses)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("toContacts"); + openapiFields.add("toGroup"); + openapiFields.add("to"); + openapiFields.add("from"); + openapiFields.add("cc"); + openapiFields.add("bcc"); + openapiFields.add("subject"); + openapiFields.add("replyTo"); + openapiFields.add("body"); + openapiFields.add("html"); + openapiFields.add("isHTML"); + openapiFields.add("charset"); + openapiFields.add("attachments"); + openapiFields.add("templateVariables"); + openapiFields.add("template"); + openapiFields.add("sendStrategy"); + openapiFields.add("useInboxName"); + openapiFields.add("addTrackingPixel"); + openapiFields.add("filterBouncedRecipients"); + openapiFields.add("validateEmailAddresses"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SendEmailOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SendEmailOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SendEmailOptions is not found in the empty JSON string", SendEmailOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!SendEmailOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SendEmailOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + // ensure the optional json data is an array if present + if (jsonObj.get("toContacts") != null && !jsonObj.get("toContacts").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `toContacts` to be an array in the JSON string but got `%s`", jsonObj.get("toContacts").toString())); + } + if ((jsonObj.get("toGroup") != null && !jsonObj.get("toGroup").isJsonNull()) && !jsonObj.get("toGroup").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `toGroup` to be a primitive type in the JSON string but got `%s`", jsonObj.get("toGroup").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("to") != null && !jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("cc") != null && !jsonObj.get("cc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cc` to be an array in the JSON string but got `%s`", jsonObj.get("cc").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bcc") != null && !jsonObj.get("bcc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bcc` to be an array in the JSON string but got `%s`", jsonObj.get("bcc").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if ((jsonObj.get("replyTo") != null && !jsonObj.get("replyTo").isJsonNull()) && !jsonObj.get("replyTo").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `replyTo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("replyTo").toString())); + } + if ((jsonObj.get("body") != null && !jsonObj.get("body").isJsonNull()) && !jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + if ((jsonObj.get("charset") != null && !jsonObj.get("charset").isJsonNull()) && !jsonObj.get("charset").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `charset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("charset").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("attachments") != null && !jsonObj.get("attachments").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `attachments` to be an array in the JSON string but got `%s`", jsonObj.get("attachments").toString())); + } + if ((jsonObj.get("template") != null && !jsonObj.get("template").isJsonNull()) && !jsonObj.get("template").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `template` to be a primitive type in the JSON string but got `%s`", jsonObj.get("template").toString())); + } + if ((jsonObj.get("sendStrategy") != null && !jsonObj.get("sendStrategy").isJsonNull()) && !jsonObj.get("sendStrategy").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sendStrategy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sendStrategy").toString())); + } + if ((jsonObj.get("validateEmailAddresses") != null && !jsonObj.get("validateEmailAddresses").isJsonNull()) && !jsonObj.get("validateEmailAddresses").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `validateEmailAddresses` to be a primitive type in the JSON string but got `%s`", jsonObj.get("validateEmailAddresses").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SendEmailOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SendEmailOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SendEmailOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SendEmailOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SendEmailOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SendEmailOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of SendEmailOptions + * @throws IOException if the JSON string is invalid with respect to SendEmailOptions + */ + public static SendEmailOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SendEmailOptions.class); + } + + /** + * Convert an instance of SendEmailOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/SendSMTPEnvelopeOptions.java b/src/main/java/com/mailslurp/models/SendSMTPEnvelopeOptions.java new file mode 100644 index 000000000..a43d38489 --- /dev/null +++ b/src/main/java/com/mailslurp/models/SendSMTPEnvelopeOptions.java @@ -0,0 +1,295 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for the email envelope + */ +@ApiModel(description = "Options for the email envelope") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class SendSMTPEnvelopeOptions { + public static final String SERIALIZED_NAME_RCPT_TO = "rcptTo"; + @SerializedName(SERIALIZED_NAME_RCPT_TO) + private List rcptTo = new ArrayList<>(); + + public static final String SERIALIZED_NAME_MAIL_FROM = "mailFrom"; + @SerializedName(SERIALIZED_NAME_MAIL_FROM) + private String mailFrom; + + public static final String SERIALIZED_NAME_DATA = "data"; + @SerializedName(SERIALIZED_NAME_DATA) + private String data; + + public SendSMTPEnvelopeOptions() { + } + + public SendSMTPEnvelopeOptions rcptTo(List rcptTo) { + + this.rcptTo = rcptTo; + return this; + } + + public SendSMTPEnvelopeOptions addRcptToItem(String rcptToItem) { + this.rcptTo.add(rcptToItem); + return this; + } + + /** + * Get rcptTo + * @return rcptTo + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getRcptTo() { + return rcptTo; + } + + + public void setRcptTo(List rcptTo) { + this.rcptTo = rcptTo; + } + + + public SendSMTPEnvelopeOptions mailFrom(String mailFrom) { + + this.mailFrom = mailFrom; + return this; + } + + /** + * Get mailFrom + * @return mailFrom + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getMailFrom() { + return mailFrom; + } + + + public void setMailFrom(String mailFrom) { + this.mailFrom = mailFrom; + } + + + public SendSMTPEnvelopeOptions data(String data) { + + this.data = data; + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getData() { + return data; + } + + + public void setData(String data) { + this.data = data; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions = (SendSMTPEnvelopeOptions) o; + return Objects.equals(this.rcptTo, sendSMTPEnvelopeOptions.rcptTo) && + Objects.equals(this.mailFrom, sendSMTPEnvelopeOptions.mailFrom) && + Objects.equals(this.data, sendSMTPEnvelopeOptions.data); + } + + @Override + public int hashCode() { + return Objects.hash(rcptTo, mailFrom, data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendSMTPEnvelopeOptions {\n"); + sb.append(" rcptTo: ").append(toIndentedString(rcptTo)).append("\n"); + sb.append(" mailFrom: ").append(toIndentedString(mailFrom)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("rcptTo"); + openapiFields.add("mailFrom"); + openapiFields.add("data"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("rcptTo"); + openapiRequiredFields.add("mailFrom"); + openapiRequiredFields.add("data"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SendSMTPEnvelopeOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SendSMTPEnvelopeOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SendSMTPEnvelopeOptions is not found in the empty JSON string", SendSMTPEnvelopeOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!SendSMTPEnvelopeOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SendSMTPEnvelopeOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SendSMTPEnvelopeOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("rcptTo") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("rcptTo").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `rcptTo` to be an array in the JSON string but got `%s`", jsonObj.get("rcptTo").toString())); + } + if (!jsonObj.get("mailFrom").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `mailFrom` to be a primitive type in the JSON string but got `%s`", jsonObj.get("mailFrom").toString())); + } + if (!jsonObj.get("data").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `data` to be a primitive type in the JSON string but got `%s`", jsonObj.get("data").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SendSMTPEnvelopeOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SendSMTPEnvelopeOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SendSMTPEnvelopeOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SendSMTPEnvelopeOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SendSMTPEnvelopeOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SendSMTPEnvelopeOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of SendSMTPEnvelopeOptions + * @throws IOException if the JSON string is invalid with respect to SendSMTPEnvelopeOptions + */ + public static SendSMTPEnvelopeOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SendSMTPEnvelopeOptions.class); + } + + /** + * Convert an instance of SendSMTPEnvelopeOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/SendWithQueueResult.java b/src/main/java/com/mailslurp/models/SendWithQueueResult.java new file mode 100644 index 000000000..b63540016 --- /dev/null +++ b/src/main/java/com/mailslurp/models/SendWithQueueResult.java @@ -0,0 +1,512 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Collection of items + */ +@ApiModel(description = "Collection of items") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class SendWithQueueResult { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_HEADER_ID = "headerId"; + @SerializedName(SERIALIZED_NAME_HEADER_ID) + private String headerId; + + public static final String SERIALIZED_NAME_DELIVERED = "delivered"; + @SerializedName(SERIALIZED_NAME_DELIVERED) + private Boolean delivered; + + public static final String SERIALIZED_NAME_EXCEPTION_NAME = "exceptionName"; + @SerializedName(SERIALIZED_NAME_EXCEPTION_NAME) + private String exceptionName; + + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public SendWithQueueResult() { + } + + public SendWithQueueResult id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public SendWithQueueResult userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public SendWithQueueResult subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public SendWithQueueResult inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public SendWithQueueResult headerId(String headerId) { + + this.headerId = headerId; + return this; + } + + /** + * Get headerId + * @return headerId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getHeaderId() { + return headerId; + } + + + public void setHeaderId(String headerId) { + this.headerId = headerId; + } + + + public SendWithQueueResult delivered(Boolean delivered) { + + this.delivered = delivered; + return this; + } + + /** + * Get delivered + * @return delivered + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getDelivered() { + return delivered; + } + + + public void setDelivered(Boolean delivered) { + this.delivered = delivered; + } + + + public SendWithQueueResult exceptionName(String exceptionName) { + + this.exceptionName = exceptionName; + return this; + } + + /** + * Get exceptionName + * @return exceptionName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getExceptionName() { + return exceptionName; + } + + + public void setExceptionName(String exceptionName) { + this.exceptionName = exceptionName; + } + + + public SendWithQueueResult message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + public SendWithQueueResult createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public SendWithQueueResult updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendWithQueueResult sendWithQueueResult = (SendWithQueueResult) o; + return Objects.equals(this.id, sendWithQueueResult.id) && + Objects.equals(this.userId, sendWithQueueResult.userId) && + Objects.equals(this.subject, sendWithQueueResult.subject) && + Objects.equals(this.inboxId, sendWithQueueResult.inboxId) && + Objects.equals(this.headerId, sendWithQueueResult.headerId) && + Objects.equals(this.delivered, sendWithQueueResult.delivered) && + Objects.equals(this.exceptionName, sendWithQueueResult.exceptionName) && + Objects.equals(this.message, sendWithQueueResult.message) && + Objects.equals(this.createdAt, sendWithQueueResult.createdAt) && + Objects.equals(this.updatedAt, sendWithQueueResult.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, subject, inboxId, headerId, delivered, exceptionName, message, createdAt, updatedAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendWithQueueResult {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" headerId: ").append(toIndentedString(headerId)).append("\n"); + sb.append(" delivered: ").append(toIndentedString(delivered)).append("\n"); + sb.append(" exceptionName: ").append(toIndentedString(exceptionName)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("subject"); + openapiFields.add("inboxId"); + openapiFields.add("headerId"); + openapiFields.add("delivered"); + openapiFields.add("exceptionName"); + openapiFields.add("message"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("headerId"); + openapiRequiredFields.add("delivered"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SendWithQueueResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SendWithQueueResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SendWithQueueResult is not found in the empty JSON string", SendWithQueueResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!SendWithQueueResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SendWithQueueResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SendWithQueueResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("headerId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `headerId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("headerId").toString())); + } + if ((jsonObj.get("exceptionName") != null && !jsonObj.get("exceptionName").isJsonNull()) && !jsonObj.get("exceptionName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `exceptionName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("exceptionName").toString())); + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SendWithQueueResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SendWithQueueResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SendWithQueueResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SendWithQueueResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SendWithQueueResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SendWithQueueResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of SendWithQueueResult + * @throws IOException if the JSON string is invalid with respect to SendWithQueueResult + */ + public static SendWithQueueResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SendWithQueueResult.class); + } + + /** + * Convert an instance of SendWithQueueResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/Sender.java b/src/main/java/com/mailslurp/models/Sender.java new file mode 100644 index 000000000..67f89588d --- /dev/null +++ b/src/main/java/com/mailslurp/models/Sender.java @@ -0,0 +1,284 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Sender object containing from email address and from personal name if provided in address + */ +@ApiModel(description = "Sender object containing from email address and from personal name if provided in address") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class Sender { + public static final String SERIALIZED_NAME_RAW_VALUE = "rawValue"; + @SerializedName(SERIALIZED_NAME_RAW_VALUE) + private String rawValue; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public Sender() { + } + + public Sender rawValue(String rawValue) { + + this.rawValue = rawValue; + return this; + } + + /** + * Get rawValue + * @return rawValue + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getRawValue() { + return rawValue; + } + + + public void setRawValue(String rawValue) { + this.rawValue = rawValue; + } + + + public Sender emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public Sender name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Sender sender = (Sender) o; + return Objects.equals(this.rawValue, sender.rawValue) && + Objects.equals(this.emailAddress, sender.emailAddress) && + Objects.equals(this.name, sender.name); + } + + @Override + public int hashCode() { + return Objects.hash(rawValue, emailAddress, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Sender {\n"); + sb.append(" rawValue: ").append(toIndentedString(rawValue)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("rawValue"); + openapiFields.add("emailAddress"); + openapiFields.add("name"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("rawValue"); + openapiRequiredFields.add("emailAddress"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to Sender + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!Sender.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in Sender is not found in the empty JSON string", Sender.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!Sender.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Sender` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : Sender.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("rawValue").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `rawValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rawValue").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!Sender.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'Sender' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(Sender.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, Sender value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public Sender read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of Sender given an JSON string + * + * @param jsonString JSON string + * @return An instance of Sender + * @throws IOException if the JSON string is invalid with respect to Sender + */ + public static Sender fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, Sender.class); + } + + /** + * Convert an instance of Sender to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/SentEmailDto.java b/src/main/java/com/mailslurp/models/SentEmailDto.java new file mode 100644 index 000000000..002d54ce4 --- /dev/null +++ b/src/main/java/com/mailslurp/models/SentEmailDto.java @@ -0,0 +1,1086 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Sent email details + */ +@ApiModel(description = "Sent email details") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class SentEmailDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_DOMAIN_ID = "domainId"; + @SerializedName(SERIALIZED_NAME_DOMAIN_ID) + private UUID domainId; + + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = null; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_REPLY_TO = "replyTo"; + @SerializedName(SERIALIZED_NAME_REPLY_TO) + private String replyTo; + + public static final String SERIALIZED_NAME_CC = "cc"; + @SerializedName(SERIALIZED_NAME_CC) + private List cc = null; + + public static final String SERIALIZED_NAME_BCC = "bcc"; + @SerializedName(SERIALIZED_NAME_BCC) + private List bcc = null; + + public static final String SERIALIZED_NAME_ATTACHMENTS = "attachments"; + @SerializedName(SERIALIZED_NAME_ATTACHMENTS) + private List attachments = null; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_BODY_M_D5_HASH = "bodyMD5Hash"; + @SerializedName(SERIALIZED_NAME_BODY_M_D5_HASH) + private String bodyMD5Hash; + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_TO_CONTACTS = "toContacts"; + @SerializedName(SERIALIZED_NAME_TO_CONTACTS) + private List toContacts = null; + + public static final String SERIALIZED_NAME_TO_GROUP = "toGroup"; + @SerializedName(SERIALIZED_NAME_TO_GROUP) + private UUID toGroup; + + public static final String SERIALIZED_NAME_CHARSET = "charset"; + @SerializedName(SERIALIZED_NAME_CHARSET) + private String charset; + + public static final String SERIALIZED_NAME_IS_H_T_M_L = "isHTML"; + @SerializedName(SERIALIZED_NAME_IS_H_T_M_L) + private Boolean isHTML; + + public static final String SERIALIZED_NAME_SENT_AT = "sentAt"; + @SerializedName(SERIALIZED_NAME_SENT_AT) + private OffsetDateTime sentAt; + + public static final String SERIALIZED_NAME_PIXEL_IDS = "pixelIds"; + @SerializedName(SERIALIZED_NAME_PIXEL_IDS) + private List pixelIds = null; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_MESSAGE_IDS = "messageIds"; + @SerializedName(SERIALIZED_NAME_MESSAGE_IDS) + private List messageIds = null; + + public static final String SERIALIZED_NAME_VIRTUAL_SEND = "virtualSend"; + @SerializedName(SERIALIZED_NAME_VIRTUAL_SEND) + private Boolean virtualSend; + + public static final String SERIALIZED_NAME_TEMPLATE_ID = "templateId"; + @SerializedName(SERIALIZED_NAME_TEMPLATE_ID) + private UUID templateId; + + public static final String SERIALIZED_NAME_TEMPLATE_VARIABLES = "templateVariables"; + @SerializedName(SERIALIZED_NAME_TEMPLATE_VARIABLES) + private Map templateVariables = null; + + public static final String SERIALIZED_NAME_HTML = "html"; + @SerializedName(SERIALIZED_NAME_HTML) + private Boolean html; + + public SentEmailDto() { + } + + public SentEmailDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * ID of sent email + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of sent email") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public SentEmailDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * User ID + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "User ID") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public SentEmailDto inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Inbox ID email was sent from + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Inbox ID email was sent from") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public SentEmailDto domainId(UUID domainId) { + + this.domainId = domainId; + return this; + } + + /** + * Domain ID + * @return domainId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Domain ID") + + public UUID getDomainId() { + return domainId; + } + + + public void setDomainId(UUID domainId) { + this.domainId = domainId; + } + + + public SentEmailDto to(List to) { + + this.to = to; + return this; + } + + public SentEmailDto addToItem(String toItem) { + if (this.to == null) { + this.to = new ArrayList<>(); + } + this.to.add(toItem); + return this; + } + + /** + * Recipients email was sent to + * @return to + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Recipients email was sent to") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + public SentEmailDto from(String from) { + + this.from = from; + return this; + } + + /** + * Sent from address + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Sent from address") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public SentEmailDto replyTo(String replyTo) { + + this.replyTo = replyTo; + return this; + } + + /** + * Get replyTo + * @return replyTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getReplyTo() { + return replyTo; + } + + + public void setReplyTo(String replyTo) { + this.replyTo = replyTo; + } + + + public SentEmailDto cc(List cc) { + + this.cc = cc; + return this; + } + + public SentEmailDto addCcItem(String ccItem) { + if (this.cc == null) { + this.cc = new ArrayList<>(); + } + this.cc.add(ccItem); + return this; + } + + /** + * Get cc + * @return cc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getCc() { + return cc; + } + + + public void setCc(List cc) { + this.cc = cc; + } + + + public SentEmailDto bcc(List bcc) { + + this.bcc = bcc; + return this; + } + + public SentEmailDto addBccItem(String bccItem) { + if (this.bcc == null) { + this.bcc = new ArrayList<>(); + } + this.bcc.add(bccItem); + return this; + } + + /** + * Get bcc + * @return bcc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getBcc() { + return bcc; + } + + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + + public SentEmailDto attachments(List attachments) { + + this.attachments = attachments; + return this; + } + + public SentEmailDto addAttachmentsItem(String attachmentsItem) { + if (this.attachments == null) { + this.attachments = new ArrayList<>(); + } + this.attachments.add(attachmentsItem); + return this; + } + + /** + * Array of IDs of attachments that were sent with this email + * @return attachments + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Array of IDs of attachments that were sent with this email") + + public List getAttachments() { + return attachments; + } + + + public void setAttachments(List attachments) { + this.attachments = attachments; + } + + + public SentEmailDto subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public SentEmailDto bodyMD5Hash(String bodyMD5Hash) { + + this.bodyMD5Hash = bodyMD5Hash; + return this; + } + + /** + * MD5 Hash + * @return bodyMD5Hash + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "MD5 Hash") + + public String getBodyMD5Hash() { + return bodyMD5Hash; + } + + + public void setBodyMD5Hash(String bodyMD5Hash) { + this.bodyMD5Hash = bodyMD5Hash; + } + + + public SentEmailDto body(String body) { + + this.body = body; + return this; + } + + /** + * Sent email body + * @return body + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Sent email body") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public SentEmailDto toContacts(List toContacts) { + + this.toContacts = toContacts; + return this; + } + + public SentEmailDto addToContactsItem(UUID toContactsItem) { + if (this.toContacts == null) { + this.toContacts = new ArrayList<>(); + } + this.toContacts.add(toContactsItem); + return this; + } + + /** + * Get toContacts + * @return toContacts + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getToContacts() { + return toContacts; + } + + + public void setToContacts(List toContacts) { + this.toContacts = toContacts; + } + + + public SentEmailDto toGroup(UUID toGroup) { + + this.toGroup = toGroup; + return this; + } + + /** + * Get toGroup + * @return toGroup + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getToGroup() { + return toGroup; + } + + + public void setToGroup(UUID toGroup) { + this.toGroup = toGroup; + } + + + public SentEmailDto charset(String charset) { + + this.charset = charset; + return this; + } + + /** + * Get charset + * @return charset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getCharset() { + return charset; + } + + + public void setCharset(String charset) { + this.charset = charset; + } + + + public SentEmailDto isHTML(Boolean isHTML) { + + this.isHTML = isHTML; + return this; + } + + /** + * Get isHTML + * @return isHTML + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getIsHTML() { + return isHTML; + } + + + public void setIsHTML(Boolean isHTML) { + this.isHTML = isHTML; + } + + + public SentEmailDto sentAt(OffsetDateTime sentAt) { + + this.sentAt = sentAt; + return this; + } + + /** + * Get sentAt + * @return sentAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getSentAt() { + return sentAt; + } + + + public void setSentAt(OffsetDateTime sentAt) { + this.sentAt = sentAt; + } + + + public SentEmailDto pixelIds(List pixelIds) { + + this.pixelIds = pixelIds; + return this; + } + + public SentEmailDto addPixelIdsItem(UUID pixelIdsItem) { + if (this.pixelIds == null) { + this.pixelIds = new ArrayList<>(); + } + this.pixelIds.add(pixelIdsItem); + return this; + } + + /** + * Get pixelIds + * @return pixelIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getPixelIds() { + return pixelIds; + } + + + public void setPixelIds(List pixelIds) { + this.pixelIds = pixelIds; + } + + + public SentEmailDto messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Get messageId + * @return messageId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public SentEmailDto messageIds(List messageIds) { + + this.messageIds = messageIds; + return this; + } + + public SentEmailDto addMessageIdsItem(String messageIdsItem) { + if (this.messageIds == null) { + this.messageIds = new ArrayList<>(); + } + this.messageIds.add(messageIdsItem); + return this; + } + + /** + * Get messageIds + * @return messageIds + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getMessageIds() { + return messageIds; + } + + + public void setMessageIds(List messageIds) { + this.messageIds = messageIds; + } + + + public SentEmailDto virtualSend(Boolean virtualSend) { + + this.virtualSend = virtualSend; + return this; + } + + /** + * Get virtualSend + * @return virtualSend + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getVirtualSend() { + return virtualSend; + } + + + public void setVirtualSend(Boolean virtualSend) { + this.virtualSend = virtualSend; + } + + + public SentEmailDto templateId(UUID templateId) { + + this.templateId = templateId; + return this; + } + + /** + * Get templateId + * @return templateId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getTemplateId() { + return templateId; + } + + + public void setTemplateId(UUID templateId) { + this.templateId = templateId; + } + + + public SentEmailDto templateVariables(Map templateVariables) { + + this.templateVariables = templateVariables; + return this; + } + + public SentEmailDto putTemplateVariablesItem(String key, Object templateVariablesItem) { + if (this.templateVariables == null) { + this.templateVariables = new HashMap<>(); + } + this.templateVariables.put(key, templateVariablesItem); + return this; + } + + /** + * Get templateVariables + * @return templateVariables + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Map getTemplateVariables() { + return templateVariables; + } + + + public void setTemplateVariables(Map templateVariables) { + this.templateVariables = templateVariables; + } + + + public SentEmailDto html(Boolean html) { + + this.html = html; + return this; + } + + /** + * Get html + * @return html + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getHtml() { + return html; + } + + + public void setHtml(Boolean html) { + this.html = html; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SentEmailDto sentEmailDto = (SentEmailDto) o; + return Objects.equals(this.id, sentEmailDto.id) && + Objects.equals(this.userId, sentEmailDto.userId) && + Objects.equals(this.inboxId, sentEmailDto.inboxId) && + Objects.equals(this.domainId, sentEmailDto.domainId) && + Objects.equals(this.to, sentEmailDto.to) && + Objects.equals(this.from, sentEmailDto.from) && + Objects.equals(this.replyTo, sentEmailDto.replyTo) && + Objects.equals(this.cc, sentEmailDto.cc) && + Objects.equals(this.bcc, sentEmailDto.bcc) && + Objects.equals(this.attachments, sentEmailDto.attachments) && + Objects.equals(this.subject, sentEmailDto.subject) && + Objects.equals(this.bodyMD5Hash, sentEmailDto.bodyMD5Hash) && + Objects.equals(this.body, sentEmailDto.body) && + Objects.equals(this.toContacts, sentEmailDto.toContacts) && + Objects.equals(this.toGroup, sentEmailDto.toGroup) && + Objects.equals(this.charset, sentEmailDto.charset) && + Objects.equals(this.isHTML, sentEmailDto.isHTML) && + Objects.equals(this.sentAt, sentEmailDto.sentAt) && + Objects.equals(this.pixelIds, sentEmailDto.pixelIds) && + Objects.equals(this.messageId, sentEmailDto.messageId) && + Objects.equals(this.messageIds, sentEmailDto.messageIds) && + Objects.equals(this.virtualSend, sentEmailDto.virtualSend) && + Objects.equals(this.templateId, sentEmailDto.templateId) && + Objects.equals(this.templateVariables, sentEmailDto.templateVariables) && + Objects.equals(this.html, sentEmailDto.html); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, inboxId, domainId, to, from, replyTo, cc, bcc, attachments, subject, bodyMD5Hash, body, toContacts, toGroup, charset, isHTML, sentAt, pixelIds, messageId, messageIds, virtualSend, templateId, templateVariables, html); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SentEmailDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" domainId: ").append(toIndentedString(domainId)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" replyTo: ").append(toIndentedString(replyTo)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" bodyMD5Hash: ").append(toIndentedString(bodyMD5Hash)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" toContacts: ").append(toIndentedString(toContacts)).append("\n"); + sb.append(" toGroup: ").append(toIndentedString(toGroup)).append("\n"); + sb.append(" charset: ").append(toIndentedString(charset)).append("\n"); + sb.append(" isHTML: ").append(toIndentedString(isHTML)).append("\n"); + sb.append(" sentAt: ").append(toIndentedString(sentAt)).append("\n"); + sb.append(" pixelIds: ").append(toIndentedString(pixelIds)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageIds: ").append(toIndentedString(messageIds)).append("\n"); + sb.append(" virtualSend: ").append(toIndentedString(virtualSend)).append("\n"); + sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + sb.append(" templateVariables: ").append(toIndentedString(templateVariables)).append("\n"); + sb.append(" html: ").append(toIndentedString(html)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("inboxId"); + openapiFields.add("domainId"); + openapiFields.add("to"); + openapiFields.add("from"); + openapiFields.add("replyTo"); + openapiFields.add("cc"); + openapiFields.add("bcc"); + openapiFields.add("attachments"); + openapiFields.add("subject"); + openapiFields.add("bodyMD5Hash"); + openapiFields.add("body"); + openapiFields.add("toContacts"); + openapiFields.add("toGroup"); + openapiFields.add("charset"); + openapiFields.add("isHTML"); + openapiFields.add("sentAt"); + openapiFields.add("pixelIds"); + openapiFields.add("messageId"); + openapiFields.add("messageIds"); + openapiFields.add("virtualSend"); + openapiFields.add("templateId"); + openapiFields.add("templateVariables"); + openapiFields.add("html"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("sentAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SentEmailDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SentEmailDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SentEmailDto is not found in the empty JSON string", SentEmailDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!SentEmailDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SentEmailDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SentEmailDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("domainId") != null && !jsonObj.get("domainId").isJsonNull()) && !jsonObj.get("domainId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainId").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("to") != null && !jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + if ((jsonObj.get("replyTo") != null && !jsonObj.get("replyTo").isJsonNull()) && !jsonObj.get("replyTo").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `replyTo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("replyTo").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("cc") != null && !jsonObj.get("cc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cc` to be an array in the JSON string but got `%s`", jsonObj.get("cc").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bcc") != null && !jsonObj.get("bcc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bcc` to be an array in the JSON string but got `%s`", jsonObj.get("bcc").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("attachments") != null && !jsonObj.get("attachments").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `attachments` to be an array in the JSON string but got `%s`", jsonObj.get("attachments").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if ((jsonObj.get("bodyMD5Hash") != null && !jsonObj.get("bodyMD5Hash").isJsonNull()) && !jsonObj.get("bodyMD5Hash").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bodyMD5Hash` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bodyMD5Hash").toString())); + } + if ((jsonObj.get("body") != null && !jsonObj.get("body").isJsonNull()) && !jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("toContacts") != null && !jsonObj.get("toContacts").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `toContacts` to be an array in the JSON string but got `%s`", jsonObj.get("toContacts").toString())); + } + if ((jsonObj.get("toGroup") != null && !jsonObj.get("toGroup").isJsonNull()) && !jsonObj.get("toGroup").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `toGroup` to be a primitive type in the JSON string but got `%s`", jsonObj.get("toGroup").toString())); + } + if ((jsonObj.get("charset") != null && !jsonObj.get("charset").isJsonNull()) && !jsonObj.get("charset").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `charset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("charset").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("pixelIds") != null && !jsonObj.get("pixelIds").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `pixelIds` to be an array in the JSON string but got `%s`", jsonObj.get("pixelIds").toString())); + } + if ((jsonObj.get("messageId") != null && !jsonObj.get("messageId").isJsonNull()) && !jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("messageIds") != null && !jsonObj.get("messageIds").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `messageIds` to be an array in the JSON string but got `%s`", jsonObj.get("messageIds").toString())); + } + if ((jsonObj.get("templateId") != null && !jsonObj.get("templateId").isJsonNull()) && !jsonObj.get("templateId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `templateId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("templateId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SentEmailDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SentEmailDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SentEmailDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SentEmailDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SentEmailDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SentEmailDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of SentEmailDto + * @throws IOException if the JSON string is invalid with respect to SentEmailDto + */ + public static SentEmailDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SentEmailDto.class); + } + + /** + * Convert an instance of SentEmailDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/SentEmailProjection.java b/src/main/java/com/mailslurp/models/SentEmailProjection.java new file mode 100644 index 000000000..ce71997bb --- /dev/null +++ b/src/main/java/com/mailslurp/models/SentEmailProjection.java @@ -0,0 +1,618 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Collection of items + */ +@ApiModel(description = "Collection of items") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class SentEmailProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_ATTACHMENTS = "attachments"; + @SerializedName(SERIALIZED_NAME_ATTACHMENTS) + private List attachments = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BCC = "bcc"; + @SerializedName(SERIALIZED_NAME_BCC) + private List bcc = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CC = "cc"; + @SerializedName(SERIALIZED_NAME_CC) + private List cc = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BODY_M_D5_HASH = "bodyMD5Hash"; + @SerializedName(SERIALIZED_NAME_BODY_M_D5_HASH) + private String bodyMD5Hash; + + public static final String SERIALIZED_NAME_VIRTUAL_SEND = "virtualSend"; + @SerializedName(SERIALIZED_NAME_VIRTUAL_SEND) + private Boolean virtualSend; + + public SentEmailProjection() { + } + + public SentEmailProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public SentEmailProjection from(String from) { + + this.from = from; + return this; + } + + /** + * Get from + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public SentEmailProjection subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public SentEmailProjection inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public SentEmailProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public SentEmailProjection attachments(List attachments) { + + this.attachments = attachments; + return this; + } + + public SentEmailProjection addAttachmentsItem(String attachmentsItem) { + this.attachments.add(attachmentsItem); + return this; + } + + /** + * Get attachments + * @return attachments + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getAttachments() { + return attachments; + } + + + public void setAttachments(List attachments) { + this.attachments = attachments; + } + + + public SentEmailProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public SentEmailProjection to(List to) { + + this.to = to; + return this; + } + + public SentEmailProjection addToItem(String toItem) { + this.to.add(toItem); + return this; + } + + /** + * Get to + * @return to + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + public SentEmailProjection bcc(List bcc) { + + this.bcc = bcc; + return this; + } + + public SentEmailProjection addBccItem(String bccItem) { + this.bcc.add(bccItem); + return this; + } + + /** + * Get bcc + * @return bcc + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getBcc() { + return bcc; + } + + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + + public SentEmailProjection cc(List cc) { + + this.cc = cc; + return this; + } + + public SentEmailProjection addCcItem(String ccItem) { + this.cc.add(ccItem); + return this; + } + + /** + * Get cc + * @return cc + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getCc() { + return cc; + } + + + public void setCc(List cc) { + this.cc = cc; + } + + + public SentEmailProjection bodyMD5Hash(String bodyMD5Hash) { + + this.bodyMD5Hash = bodyMD5Hash; + return this; + } + + /** + * Get bodyMD5Hash + * @return bodyMD5Hash + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getBodyMD5Hash() { + return bodyMD5Hash; + } + + + public void setBodyMD5Hash(String bodyMD5Hash) { + this.bodyMD5Hash = bodyMD5Hash; + } + + + public SentEmailProjection virtualSend(Boolean virtualSend) { + + this.virtualSend = virtualSend; + return this; + } + + /** + * Get virtualSend + * @return virtualSend + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getVirtualSend() { + return virtualSend; + } + + + public void setVirtualSend(Boolean virtualSend) { + this.virtualSend = virtualSend; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SentEmailProjection sentEmailProjection = (SentEmailProjection) o; + return Objects.equals(this.id, sentEmailProjection.id) && + Objects.equals(this.from, sentEmailProjection.from) && + Objects.equals(this.subject, sentEmailProjection.subject) && + Objects.equals(this.inboxId, sentEmailProjection.inboxId) && + Objects.equals(this.userId, sentEmailProjection.userId) && + Objects.equals(this.attachments, sentEmailProjection.attachments) && + Objects.equals(this.createdAt, sentEmailProjection.createdAt) && + Objects.equals(this.to, sentEmailProjection.to) && + Objects.equals(this.bcc, sentEmailProjection.bcc) && + Objects.equals(this.cc, sentEmailProjection.cc) && + Objects.equals(this.bodyMD5Hash, sentEmailProjection.bodyMD5Hash) && + Objects.equals(this.virtualSend, sentEmailProjection.virtualSend); + } + + @Override + public int hashCode() { + return Objects.hash(id, from, subject, inboxId, userId, attachments, createdAt, to, bcc, cc, bodyMD5Hash, virtualSend); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SentEmailProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" bodyMD5Hash: ").append(toIndentedString(bodyMD5Hash)).append("\n"); + sb.append(" virtualSend: ").append(toIndentedString(virtualSend)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("from"); + openapiFields.add("subject"); + openapiFields.add("inboxId"); + openapiFields.add("userId"); + openapiFields.add("attachments"); + openapiFields.add("createdAt"); + openapiFields.add("to"); + openapiFields.add("bcc"); + openapiFields.add("cc"); + openapiFields.add("bodyMD5Hash"); + openapiFields.add("virtualSend"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("attachments"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("to"); + openapiRequiredFields.add("bcc"); + openapiRequiredFields.add("cc"); + openapiRequiredFields.add("virtualSend"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SentEmailProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SentEmailProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SentEmailProjection is not found in the empty JSON string", SentEmailProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!SentEmailProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SentEmailProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SentEmailProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + // ensure the required json array is present + if (jsonObj.get("attachments") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("attachments").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `attachments` to be an array in the JSON string but got `%s`", jsonObj.get("attachments").toString())); + } + // ensure the required json array is present + if (jsonObj.get("to") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + // ensure the required json array is present + if (jsonObj.get("bcc") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("bcc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bcc` to be an array in the JSON string but got `%s`", jsonObj.get("bcc").toString())); + } + // ensure the required json array is present + if (jsonObj.get("cc") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("cc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cc` to be an array in the JSON string but got `%s`", jsonObj.get("cc").toString())); + } + if ((jsonObj.get("bodyMD5Hash") != null && !jsonObj.get("bodyMD5Hash").isJsonNull()) && !jsonObj.get("bodyMD5Hash").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bodyMD5Hash` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bodyMD5Hash").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SentEmailProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SentEmailProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SentEmailProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SentEmailProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SentEmailProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SentEmailProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of SentEmailProjection + * @throws IOException if the JSON string is invalid with respect to SentEmailProjection + */ + public static SentEmailProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SentEmailProjection.class); + } + + /** + * Convert an instance of SentEmailProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/SetInboxFavouritedOptions.java b/src/main/java/com/mailslurp/models/SetInboxFavouritedOptions.java new file mode 100644 index 000000000..beaf47058 --- /dev/null +++ b/src/main/java/com/mailslurp/models/SetInboxFavouritedOptions.java @@ -0,0 +1,214 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for setting inbox favourite state + */ +@ApiModel(description = "Options for setting inbox favourite state") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class SetInboxFavouritedOptions { + public static final String SERIALIZED_NAME_STATE = "state"; + @SerializedName(SERIALIZED_NAME_STATE) + private Boolean state; + + public SetInboxFavouritedOptions() { + } + + public SetInboxFavouritedOptions state(Boolean state) { + + this.state = state; + return this; + } + + /** + * Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering + * @return state + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering") + + public Boolean getState() { + return state; + } + + + public void setState(Boolean state) { + this.state = state; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SetInboxFavouritedOptions setInboxFavouritedOptions = (SetInboxFavouritedOptions) o; + return Objects.equals(this.state, setInboxFavouritedOptions.state); + } + + @Override + public int hashCode() { + return Objects.hash(state); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SetInboxFavouritedOptions {\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("state"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("state"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SetInboxFavouritedOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SetInboxFavouritedOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SetInboxFavouritedOptions is not found in the empty JSON string", SetInboxFavouritedOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!SetInboxFavouritedOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SetInboxFavouritedOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SetInboxFavouritedOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SetInboxFavouritedOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SetInboxFavouritedOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SetInboxFavouritedOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SetInboxFavouritedOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SetInboxFavouritedOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SetInboxFavouritedOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of SetInboxFavouritedOptions + * @throws IOException if the JSON string is invalid with respect to SetInboxFavouritedOptions + */ + public static SetInboxFavouritedOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SetInboxFavouritedOptions.class); + } + + /** + * Convert an instance of SetInboxFavouritedOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/SimpleSendEmailOptions.java b/src/main/java/com/mailslurp/models/SimpleSendEmailOptions.java new file mode 100644 index 000000000..b6b727d9c --- /dev/null +++ b/src/main/java/com/mailslurp/models/SimpleSendEmailOptions.java @@ -0,0 +1,329 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Simplified send email options + */ +@ApiModel(description = "Simplified send email options") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class SimpleSendEmailOptions { + public static final String SERIALIZED_NAME_SENDER_ID = "senderId"; + @SerializedName(SERIALIZED_NAME_SENDER_ID) + private UUID senderId; + + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private String to; + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public SimpleSendEmailOptions() { + } + + public SimpleSendEmailOptions senderId(UUID senderId) { + + this.senderId = senderId; + return this; + } + + /** + * ID of inbox to send from. If null an inbox will be created for sending + * @return senderId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ID of inbox to send from. If null an inbox will be created for sending") + + public UUID getSenderId() { + return senderId; + } + + + public void setSenderId(UUID senderId) { + this.senderId = senderId; + } + + + public SimpleSendEmailOptions to(String to) { + + this.to = to; + return this; + } + + /** + * Email address to send to + * @return to + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Email address to send to") + + public String getTo() { + return to; + } + + + public void setTo(String to) { + this.to = to; + } + + + public SimpleSendEmailOptions body(String body) { + + this.body = body; + return this; + } + + /** + * Body of the email message. Supports HTML + * @return body + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Body of the email message. Supports HTML") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public SimpleSendEmailOptions subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Subject line of the email + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Subject line of the email") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SimpleSendEmailOptions simpleSendEmailOptions = (SimpleSendEmailOptions) o; + return Objects.equals(this.senderId, simpleSendEmailOptions.senderId) && + Objects.equals(this.to, simpleSendEmailOptions.to) && + Objects.equals(this.body, simpleSendEmailOptions.body) && + Objects.equals(this.subject, simpleSendEmailOptions.subject); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(senderId, to, body, subject); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SimpleSendEmailOptions {\n"); + sb.append(" senderId: ").append(toIndentedString(senderId)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("senderId"); + openapiFields.add("to"); + openapiFields.add("body"); + openapiFields.add("subject"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("to"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SimpleSendEmailOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SimpleSendEmailOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SimpleSendEmailOptions is not found in the empty JSON string", SimpleSendEmailOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!SimpleSendEmailOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SimpleSendEmailOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SimpleSendEmailOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("senderId") != null && !jsonObj.get("senderId").isJsonNull()) && !jsonObj.get("senderId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `senderId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("senderId").toString())); + } + if (!jsonObj.get("to").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be a primitive type in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + if ((jsonObj.get("body") != null && !jsonObj.get("body").isJsonNull()) && !jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SimpleSendEmailOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SimpleSendEmailOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SimpleSendEmailOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SimpleSendEmailOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SimpleSendEmailOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SimpleSendEmailOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of SimpleSendEmailOptions + * @throws IOException if the JSON string is invalid with respect to SimpleSendEmailOptions + */ + public static SimpleSendEmailOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SimpleSendEmailOptions.class); + } + + /** + * Convert an instance of SimpleSendEmailOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/SmsDto.java b/src/main/java/com/mailslurp/models/SmsDto.java new file mode 100644 index 000000000..a720a1ee4 --- /dev/null +++ b/src/main/java/com/mailslurp/models/SmsDto.java @@ -0,0 +1,447 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * SmsDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class SmsDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) + private UUID phoneNumber; + + public static final String SERIALIZED_NAME_FROM_NUMBER = "fromNumber"; + @SerializedName(SERIALIZED_NAME_FROM_NUMBER) + private String fromNumber; + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_READ = "read"; + @SerializedName(SERIALIZED_NAME_READ) + private Boolean read; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public SmsDto() { + } + + public SmsDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public SmsDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public SmsDto phoneNumber(UUID phoneNumber) { + + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Get phoneNumber + * @return phoneNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getPhoneNumber() { + return phoneNumber; + } + + + public void setPhoneNumber(UUID phoneNumber) { + this.phoneNumber = phoneNumber; + } + + + public SmsDto fromNumber(String fromNumber) { + + this.fromNumber = fromNumber; + return this; + } + + /** + * Get fromNumber + * @return fromNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getFromNumber() { + return fromNumber; + } + + + public void setFromNumber(String fromNumber) { + this.fromNumber = fromNumber; + } + + + public SmsDto body(String body) { + + this.body = body; + return this; + } + + /** + * Get body + * @return body + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public SmsDto read(Boolean read) { + + this.read = read; + return this; + } + + /** + * Get read + * @return read + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getRead() { + return read; + } + + + public void setRead(Boolean read) { + this.read = read; + } + + + public SmsDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public SmsDto updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SmsDto smsDto = (SmsDto) o; + return Objects.equals(this.id, smsDto.id) && + Objects.equals(this.userId, smsDto.userId) && + Objects.equals(this.phoneNumber, smsDto.phoneNumber) && + Objects.equals(this.fromNumber, smsDto.fromNumber) && + Objects.equals(this.body, smsDto.body) && + Objects.equals(this.read, smsDto.read) && + Objects.equals(this.createdAt, smsDto.createdAt) && + Objects.equals(this.updatedAt, smsDto.updatedAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, phoneNumber, fromNumber, body, read, createdAt, updatedAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SmsDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" fromNumber: ").append(toIndentedString(fromNumber)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" read: ").append(toIndentedString(read)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("phoneNumber"); + openapiFields.add("fromNumber"); + openapiFields.add("body"); + openapiFields.add("read"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("phoneNumber"); + openapiRequiredFields.add("fromNumber"); + openapiRequiredFields.add("body"); + openapiRequiredFields.add("read"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SmsDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SmsDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SmsDto is not found in the empty JSON string", SmsDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!SmsDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SmsDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SmsDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("phoneNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); + } + if (!jsonObj.get("fromNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `fromNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fromNumber").toString())); + } + if (!jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SmsDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SmsDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SmsDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SmsDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SmsDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SmsDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of SmsDto + * @throws IOException if the JSON string is invalid with respect to SmsDto + */ + public static SmsDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SmsDto.class); + } + + /** + * Convert an instance of SmsDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/SmsMatchOption.java b/src/main/java/com/mailslurp/models/SmsMatchOption.java new file mode 100644 index 000000000..2edba2cc1 --- /dev/null +++ b/src/main/java/com/mailslurp/models/SmsMatchOption.java @@ -0,0 +1,379 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for matching SMS messages in a phone number. Each match option object contains a `field`, `should` and `value` property. Together they form logical conditions such as `BODY` should `CONTAIN` value. + */ +@ApiModel(description = "Options for matching SMS messages in a phone number. Each match option object contains a `field`, `should` and `value` property. Together they form logical conditions such as `BODY` should `CONTAIN` value.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class SmsMatchOption { + /** + * Fields of an SMS object that can be used to filter results + */ + @JsonAdapter(FieldEnum.Adapter.class) + public enum FieldEnum { + BODY("BODY"), + + FROM("FROM"); + + private String value; + + FieldEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static FieldEnum fromValue(String value) { + for (FieldEnum b : FieldEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final FieldEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public FieldEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return FieldEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_FIELD = "field"; + @SerializedName(SERIALIZED_NAME_FIELD) + private FieldEnum field; + + /** + * How the value of the email field specified should be compared to the value given in the match options. + */ + @JsonAdapter(ShouldEnum.Adapter.class) + public enum ShouldEnum { + CONTAIN("CONTAIN"), + + EQUAL("EQUAL"); + + private String value; + + ShouldEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ShouldEnum fromValue(String value) { + for (ShouldEnum b : ShouldEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ShouldEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ShouldEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ShouldEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SHOULD = "should"; + @SerializedName(SERIALIZED_NAME_SHOULD) + private ShouldEnum should; + + public static final String SERIALIZED_NAME_VALUE = "value"; + @SerializedName(SERIALIZED_NAME_VALUE) + private String value; + + public SmsMatchOption() { + } + + public SmsMatchOption field(FieldEnum field) { + + this.field = field; + return this; + } + + /** + * Fields of an SMS object that can be used to filter results + * @return field + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Fields of an SMS object that can be used to filter results") + + public FieldEnum getField() { + return field; + } + + + public void setField(FieldEnum field) { + this.field = field; + } + + + public SmsMatchOption should(ShouldEnum should) { + + this.should = should; + return this; + } + + /** + * How the value of the email field specified should be compared to the value given in the match options. + * @return should + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "How the value of the email field specified should be compared to the value given in the match options.") + + public ShouldEnum getShould() { + return should; + } + + + public void setShould(ShouldEnum should) { + this.should = should; + } + + + public SmsMatchOption value(String value) { + + this.value = value; + return this; + } + + /** + * The value you wish to compare with the value of the field specified using the `should` value passed. For example `BODY` should `CONTAIN` a value passed. + * @return value + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "The value you wish to compare with the value of the field specified using the `should` value passed. For example `BODY` should `CONTAIN` a value passed.") + + public String getValue() { + return value; + } + + + public void setValue(String value) { + this.value = value; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SmsMatchOption smsMatchOption = (SmsMatchOption) o; + return Objects.equals(this.field, smsMatchOption.field) && + Objects.equals(this.should, smsMatchOption.should) && + Objects.equals(this.value, smsMatchOption.value); + } + + @Override + public int hashCode() { + return Objects.hash(field, should, value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SmsMatchOption {\n"); + sb.append(" field: ").append(toIndentedString(field)).append("\n"); + sb.append(" should: ").append(toIndentedString(should)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("field"); + openapiFields.add("should"); + openapiFields.add("value"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("field"); + openapiRequiredFields.add("should"); + openapiRequiredFields.add("value"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SmsMatchOption + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SmsMatchOption.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SmsMatchOption is not found in the empty JSON string", SmsMatchOption.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!SmsMatchOption.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SmsMatchOption` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SmsMatchOption.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("field").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `field` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field").toString())); + } + if (!jsonObj.get("should").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `should` to be a primitive type in the JSON string but got `%s`", jsonObj.get("should").toString())); + } + if (!jsonObj.get("value").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SmsMatchOption.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SmsMatchOption' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SmsMatchOption.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SmsMatchOption value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SmsMatchOption read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SmsMatchOption given an JSON string + * + * @param jsonString JSON string + * @return An instance of SmsMatchOption + * @throws IOException if the JSON string is invalid with respect to SmsMatchOption + */ + public static SmsMatchOption fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SmsMatchOption.class); + } + + /** + * Convert an instance of SmsMatchOption to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/SmsPreview.java b/src/main/java/com/mailslurp/models/SmsPreview.java new file mode 100644 index 000000000..be51c34e4 --- /dev/null +++ b/src/main/java/com/mailslurp/models/SmsPreview.java @@ -0,0 +1,385 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * SmsPreview + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class SmsPreview { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) + private UUID phoneNumber; + + public static final String SERIALIZED_NAME_FROM_NUMBER = "fromNumber"; + @SerializedName(SERIALIZED_NAME_FROM_NUMBER) + private String fromNumber; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public SmsPreview() { + } + + public SmsPreview id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public SmsPreview userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public SmsPreview body(String body) { + + this.body = body; + return this; + } + + /** + * Get body + * @return body + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public SmsPreview phoneNumber(UUID phoneNumber) { + + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Get phoneNumber + * @return phoneNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getPhoneNumber() { + return phoneNumber; + } + + + public void setPhoneNumber(UUID phoneNumber) { + this.phoneNumber = phoneNumber; + } + + + public SmsPreview fromNumber(String fromNumber) { + + this.fromNumber = fromNumber; + return this; + } + + /** + * Get fromNumber + * @return fromNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getFromNumber() { + return fromNumber; + } + + + public void setFromNumber(String fromNumber) { + this.fromNumber = fromNumber; + } + + + public SmsPreview createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SmsPreview smsPreview = (SmsPreview) o; + return Objects.equals(this.id, smsPreview.id) && + Objects.equals(this.userId, smsPreview.userId) && + Objects.equals(this.body, smsPreview.body) && + Objects.equals(this.phoneNumber, smsPreview.phoneNumber) && + Objects.equals(this.fromNumber, smsPreview.fromNumber) && + Objects.equals(this.createdAt, smsPreview.createdAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, body, phoneNumber, fromNumber, createdAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SmsPreview {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" fromNumber: ").append(toIndentedString(fromNumber)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("body"); + openapiFields.add("phoneNumber"); + openapiFields.add("fromNumber"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("body"); + openapiRequiredFields.add("phoneNumber"); + openapiRequiredFields.add("fromNumber"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SmsPreview + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SmsPreview.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SmsPreview is not found in the empty JSON string", SmsPreview.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!SmsPreview.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SmsPreview` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SmsPreview.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + if (!jsonObj.get("phoneNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); + } + if (!jsonObj.get("fromNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `fromNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fromNumber").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SmsPreview.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SmsPreview' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SmsPreview.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SmsPreview value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SmsPreview read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SmsPreview given an JSON string + * + * @param jsonString JSON string + * @return An instance of SmsPreview + * @throws IOException if the JSON string is invalid with respect to SmsPreview + */ + public static SmsPreview fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SmsPreview.class); + } + + /** + * Convert an instance of SmsPreview to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/SmsProjection.java b/src/main/java/com/mailslurp/models/SmsProjection.java new file mode 100644 index 000000000..03409d15c --- /dev/null +++ b/src/main/java/com/mailslurp/models/SmsProjection.java @@ -0,0 +1,417 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * SMS projection + */ +@ApiModel(description = "SMS projection") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class SmsProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) + private UUID phoneNumber; + + public static final String SERIALIZED_NAME_FROM_NUMBER = "fromNumber"; + @SerializedName(SERIALIZED_NAME_FROM_NUMBER) + private String fromNumber; + + public static final String SERIALIZED_NAME_READ = "read"; + @SerializedName(SERIALIZED_NAME_READ) + private Boolean read; + + public SmsProjection() { + } + + public SmsProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public SmsProjection body(String body) { + + this.body = body; + return this; + } + + /** + * Get body + * @return body + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public SmsProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public SmsProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public SmsProjection phoneNumber(UUID phoneNumber) { + + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Get phoneNumber + * @return phoneNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getPhoneNumber() { + return phoneNumber; + } + + + public void setPhoneNumber(UUID phoneNumber) { + this.phoneNumber = phoneNumber; + } + + + public SmsProjection fromNumber(String fromNumber) { + + this.fromNumber = fromNumber; + return this; + } + + /** + * Get fromNumber + * @return fromNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getFromNumber() { + return fromNumber; + } + + + public void setFromNumber(String fromNumber) { + this.fromNumber = fromNumber; + } + + + public SmsProjection read(Boolean read) { + + this.read = read; + return this; + } + + /** + * Get read + * @return read + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getRead() { + return read; + } + + + public void setRead(Boolean read) { + this.read = read; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SmsProjection smsProjection = (SmsProjection) o; + return Objects.equals(this.id, smsProjection.id) && + Objects.equals(this.body, smsProjection.body) && + Objects.equals(this.userId, smsProjection.userId) && + Objects.equals(this.createdAt, smsProjection.createdAt) && + Objects.equals(this.phoneNumber, smsProjection.phoneNumber) && + Objects.equals(this.fromNumber, smsProjection.fromNumber) && + Objects.equals(this.read, smsProjection.read); + } + + @Override + public int hashCode() { + return Objects.hash(id, body, userId, createdAt, phoneNumber, fromNumber, read); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SmsProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" fromNumber: ").append(toIndentedString(fromNumber)).append("\n"); + sb.append(" read: ").append(toIndentedString(read)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("body"); + openapiFields.add("userId"); + openapiFields.add("createdAt"); + openapiFields.add("phoneNumber"); + openapiFields.add("fromNumber"); + openapiFields.add("read"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("body"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("phoneNumber"); + openapiRequiredFields.add("fromNumber"); + openapiRequiredFields.add("read"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SmsProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SmsProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SmsProjection is not found in the empty JSON string", SmsProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!SmsProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SmsProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SmsProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("phoneNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); + } + if (!jsonObj.get("fromNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `fromNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fromNumber").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SmsProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SmsProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SmsProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SmsProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SmsProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SmsProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of SmsProjection + * @throws IOException if the JSON string is invalid with respect to SmsProjection + */ + public static SmsProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SmsProjection.class); + } + + /** + * Convert an instance of SmsProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/Sort.java b/src/main/java/com/mailslurp/models/Sort.java new file mode 100644 index 000000000..2b6351502 --- /dev/null +++ b/src/main/java/com/mailslurp/models/Sort.java @@ -0,0 +1,265 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Sort + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class Sort { + public static final String SERIALIZED_NAME_EMPTY = "empty"; + @SerializedName(SERIALIZED_NAME_EMPTY) + private Boolean empty; + + public static final String SERIALIZED_NAME_SORTED = "sorted"; + @SerializedName(SERIALIZED_NAME_SORTED) + private Boolean sorted; + + public static final String SERIALIZED_NAME_UNSORTED = "unsorted"; + @SerializedName(SERIALIZED_NAME_UNSORTED) + private Boolean unsorted; + + public Sort() { + } + + public Sort empty(Boolean empty) { + + this.empty = empty; + return this; + } + + /** + * Get empty + * @return empty + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEmpty() { + return empty; + } + + + public void setEmpty(Boolean empty) { + this.empty = empty; + } + + + public Sort sorted(Boolean sorted) { + + this.sorted = sorted; + return this; + } + + /** + * Get sorted + * @return sorted + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getSorted() { + return sorted; + } + + + public void setSorted(Boolean sorted) { + this.sorted = sorted; + } + + + public Sort unsorted(Boolean unsorted) { + + this.unsorted = unsorted; + return this; + } + + /** + * Get unsorted + * @return unsorted + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getUnsorted() { + return unsorted; + } + + + public void setUnsorted(Boolean unsorted) { + this.unsorted = unsorted; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Sort sort = (Sort) o; + return Objects.equals(this.empty, sort.empty) && + Objects.equals(this.sorted, sort.sorted) && + Objects.equals(this.unsorted, sort.unsorted); + } + + @Override + public int hashCode() { + return Objects.hash(empty, sorted, unsorted); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Sort {\n"); + sb.append(" empty: ").append(toIndentedString(empty)).append("\n"); + sb.append(" sorted: ").append(toIndentedString(sorted)).append("\n"); + sb.append(" unsorted: ").append(toIndentedString(unsorted)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("empty"); + openapiFields.add("sorted"); + openapiFields.add("unsorted"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to Sort + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!Sort.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in Sort is not found in the empty JSON string", Sort.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!Sort.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `Sort` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!Sort.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'Sort' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(Sort.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, Sort value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public Sort read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of Sort given an JSON string + * + * @param jsonString JSON string + * @return An instance of Sort + * @throws IOException if the JSON string is invalid with respect to Sort + */ + public static Sort fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, Sort.class); + } + + /** + * Convert an instance of Sort to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/TemplateDto.java b/src/main/java/com/mailslurp/models/TemplateDto.java new file mode 100644 index 000000000..2c6dc2af3 --- /dev/null +++ b/src/main/java/com/mailslurp/models/TemplateDto.java @@ -0,0 +1,367 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.TemplateVariable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Email template + */ +@ApiModel(description = "Email template") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class TemplateDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_VARIABLES = "variables"; + @SerializedName(SERIALIZED_NAME_VARIABLES) + private List variables = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + private String content; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public TemplateDto() { + } + + public TemplateDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * ID of template + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of template") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public TemplateDto name(String name) { + + this.name = name; + return this; + } + + /** + * Template name + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Template name") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public TemplateDto variables(List variables) { + + this.variables = variables; + return this; + } + + public TemplateDto addVariablesItem(TemplateVariable variablesItem) { + this.variables.add(variablesItem); + return this; + } + + /** + * Variables available in template that can be replaced with values + * @return variables + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Variables available in template that can be replaced with values") + + public List getVariables() { + return variables; + } + + + public void setVariables(List variables) { + this.variables = variables; + } + + + public TemplateDto content(String content) { + + this.content = content; + return this; + } + + /** + * Content of the template + * @return content + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Content of the template") + + public String getContent() { + return content; + } + + + public void setContent(String content) { + this.content = content; + } + + + public TemplateDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Created at time + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Created at time") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TemplateDto templateDto = (TemplateDto) o; + return Objects.equals(this.id, templateDto.id) && + Objects.equals(this.name, templateDto.name) && + Objects.equals(this.variables, templateDto.variables) && + Objects.equals(this.content, templateDto.content) && + Objects.equals(this.createdAt, templateDto.createdAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, name, variables, content, createdAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TemplateDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" variables: ").append(toIndentedString(variables)).append("\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("name"); + openapiFields.add("variables"); + openapiFields.add("content"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("variables"); + openapiRequiredFields.add("content"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to TemplateDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!TemplateDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TemplateDto is not found in the empty JSON string", TemplateDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!TemplateDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TemplateDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : TemplateDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("variables").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `variables` to be an array in the JSON string but got `%s`", jsonObj.get("variables").toString())); + } + + JsonArray jsonArrayvariables = jsonObj.getAsJsonArray("variables"); + // validate the required field `variables` (array) + for (int i = 0; i < jsonArrayvariables.size(); i++) { + TemplateVariable.validateJsonObject(jsonArrayvariables.get(i).getAsJsonObject()); + }; + if (!jsonObj.get("content").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TemplateDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TemplateDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TemplateDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TemplateDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TemplateDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TemplateDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of TemplateDto + * @throws IOException if the JSON string is invalid with respect to TemplateDto + */ + public static TemplateDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TemplateDto.class); + } + + /** + * Convert an instance of TemplateDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/TemplatePreview.java b/src/main/java/com/mailslurp/models/TemplatePreview.java new file mode 100644 index 000000000..e77903e0d --- /dev/null +++ b/src/main/java/com/mailslurp/models/TemplatePreview.java @@ -0,0 +1,216 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * TemplatePreview + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class TemplatePreview { + public static final String SERIALIZED_NAME_PREVIEW = "preview"; + @SerializedName(SERIALIZED_NAME_PREVIEW) + private String preview; + + public TemplatePreview() { + } + + public TemplatePreview preview(String preview) { + + this.preview = preview; + return this; + } + + /** + * Get preview + * @return preview + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getPreview() { + return preview; + } + + + public void setPreview(String preview) { + this.preview = preview; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TemplatePreview templatePreview = (TemplatePreview) o; + return Objects.equals(this.preview, templatePreview.preview); + } + + @Override + public int hashCode() { + return Objects.hash(preview); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TemplatePreview {\n"); + sb.append(" preview: ").append(toIndentedString(preview)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("preview"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("preview"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to TemplatePreview + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!TemplatePreview.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TemplatePreview is not found in the empty JSON string", TemplatePreview.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!TemplatePreview.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TemplatePreview` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : TemplatePreview.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("preview").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `preview` to be a primitive type in the JSON string but got `%s`", jsonObj.get("preview").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TemplatePreview.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TemplatePreview' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TemplatePreview.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TemplatePreview value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TemplatePreview read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TemplatePreview given an JSON string + * + * @param jsonString JSON string + * @return An instance of TemplatePreview + * @throws IOException if the JSON string is invalid with respect to TemplatePreview + */ + public static TemplatePreview fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TemplatePreview.class); + } + + /** + * Convert an instance of TemplatePreview to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/TemplateProjection.java b/src/main/java/com/mailslurp/models/TemplateProjection.java new file mode 100644 index 000000000..a3589d291 --- /dev/null +++ b/src/main/java/com/mailslurp/models/TemplateProjection.java @@ -0,0 +1,359 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Email template data + */ +@ApiModel(description = "Email template data") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class TemplateProjection { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_VARIABLES = "variables"; + @SerializedName(SERIALIZED_NAME_VARIABLES) + private List variables = new ArrayList<>(); + + public TemplateProjection() { + } + + public TemplateProjection name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public TemplateProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public TemplateProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public TemplateProjection updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public TemplateProjection variables(List variables) { + + this.variables = variables; + return this; + } + + public TemplateProjection addVariablesItem(String variablesItem) { + this.variables.add(variablesItem); + return this; + } + + /** + * Get variables + * @return variables + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getVariables() { + return variables; + } + + + public void setVariables(List variables) { + this.variables = variables; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TemplateProjection templateProjection = (TemplateProjection) o; + return Objects.equals(this.name, templateProjection.name) && + Objects.equals(this.id, templateProjection.id) && + Objects.equals(this.createdAt, templateProjection.createdAt) && + Objects.equals(this.updatedAt, templateProjection.updatedAt) && + Objects.equals(this.variables, templateProjection.variables); + } + + @Override + public int hashCode() { + return Objects.hash(name, id, createdAt, updatedAt, variables); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TemplateProjection {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" variables: ").append(toIndentedString(variables)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("id"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + openapiFields.add("variables"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + openapiRequiredFields.add("variables"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to TemplateProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!TemplateProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TemplateProjection is not found in the empty JSON string", TemplateProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!TemplateProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TemplateProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : TemplateProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + // ensure the required json array is present + if (jsonObj.get("variables") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("variables").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `variables` to be an array in the JSON string but got `%s`", jsonObj.get("variables").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TemplateProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TemplateProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TemplateProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TemplateProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TemplateProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TemplateProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of TemplateProjection + * @throws IOException if the JSON string is invalid with respect to TemplateProjection + */ + public static TemplateProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TemplateProjection.class); + } + + /** + * Convert an instance of TemplateProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/TemplateVariable.java b/src/main/java/com/mailslurp/models/TemplateVariable.java new file mode 100644 index 000000000..7f29a0726 --- /dev/null +++ b/src/main/java/com/mailslurp/models/TemplateVariable.java @@ -0,0 +1,296 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Variable for use with email template + */ +@ApiModel(description = "Variable for use with email template") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class TemplateVariable { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + /** + * The type of variable + */ + @JsonAdapter(VariableTypeEnum.Adapter.class) + public enum VariableTypeEnum { + STRING("STRING"); + + private String value; + + VariableTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static VariableTypeEnum fromValue(String value) { + for (VariableTypeEnum b : VariableTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final VariableTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public VariableTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return VariableTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_VARIABLE_TYPE = "variableType"; + @SerializedName(SERIALIZED_NAME_VARIABLE_TYPE) + private VariableTypeEnum variableType; + + public TemplateVariable() { + } + + public TemplateVariable name(String name) { + + this.name = name; + return this; + } + + /** + * Name of variable. This can be used in a template as {{name}} + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of variable. This can be used in a template as {{name}}") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public TemplateVariable variableType(VariableTypeEnum variableType) { + + this.variableType = variableType; + return this; + } + + /** + * The type of variable + * @return variableType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "The type of variable") + + public VariableTypeEnum getVariableType() { + return variableType; + } + + + public void setVariableType(VariableTypeEnum variableType) { + this.variableType = variableType; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TemplateVariable templateVariable = (TemplateVariable) o; + return Objects.equals(this.name, templateVariable.name) && + Objects.equals(this.variableType, templateVariable.variableType); + } + + @Override + public int hashCode() { + return Objects.hash(name, variableType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TemplateVariable {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" variableType: ").append(toIndentedString(variableType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("variableType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("variableType"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to TemplateVariable + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!TemplateVariable.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TemplateVariable is not found in the empty JSON string", TemplateVariable.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!TemplateVariable.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TemplateVariable` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : TemplateVariable.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("variableType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `variableType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("variableType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TemplateVariable.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TemplateVariable' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TemplateVariable.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TemplateVariable value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TemplateVariable read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TemplateVariable given an JSON string + * + * @param jsonString JSON string + * @return An instance of TemplateVariable + * @throws IOException if the JSON string is invalid with respect to TemplateVariable + */ + public static TemplateVariable fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TemplateVariable.class); + } + + /** + * Convert an instance of TemplateVariable to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/TestNewInboxForwarderOptions.java b/src/main/java/com/mailslurp/models/TestNewInboxForwarderOptions.java new file mode 100644 index 000000000..83155a7c9 --- /dev/null +++ b/src/main/java/com/mailslurp/models/TestNewInboxForwarderOptions.java @@ -0,0 +1,251 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.CreateInboxForwarderOptions; +import com.mailslurp.models.InboxForwarderTestOptions; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for testing new inbox forwarder rules + */ +@ApiModel(description = "Options for testing new inbox forwarder rules") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class TestNewInboxForwarderOptions { + public static final String SERIALIZED_NAME_INBOX_FORWARDER_TEST_OPTIONS = "inboxForwarderTestOptions"; + @SerializedName(SERIALIZED_NAME_INBOX_FORWARDER_TEST_OPTIONS) + private InboxForwarderTestOptions inboxForwarderTestOptions; + + public static final String SERIALIZED_NAME_CREATE_INBOX_FORWARDER_OPTIONS = "createInboxForwarderOptions"; + @SerializedName(SERIALIZED_NAME_CREATE_INBOX_FORWARDER_OPTIONS) + private CreateInboxForwarderOptions createInboxForwarderOptions; + + public TestNewInboxForwarderOptions() { + } + + public TestNewInboxForwarderOptions inboxForwarderTestOptions(InboxForwarderTestOptions inboxForwarderTestOptions) { + + this.inboxForwarderTestOptions = inboxForwarderTestOptions; + return this; + } + + /** + * Get inboxForwarderTestOptions + * @return inboxForwarderTestOptions + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public InboxForwarderTestOptions getInboxForwarderTestOptions() { + return inboxForwarderTestOptions; + } + + + public void setInboxForwarderTestOptions(InboxForwarderTestOptions inboxForwarderTestOptions) { + this.inboxForwarderTestOptions = inboxForwarderTestOptions; + } + + + public TestNewInboxForwarderOptions createInboxForwarderOptions(CreateInboxForwarderOptions createInboxForwarderOptions) { + + this.createInboxForwarderOptions = createInboxForwarderOptions; + return this; + } + + /** + * Get createInboxForwarderOptions + * @return createInboxForwarderOptions + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public CreateInboxForwarderOptions getCreateInboxForwarderOptions() { + return createInboxForwarderOptions; + } + + + public void setCreateInboxForwarderOptions(CreateInboxForwarderOptions createInboxForwarderOptions) { + this.createInboxForwarderOptions = createInboxForwarderOptions; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TestNewInboxForwarderOptions testNewInboxForwarderOptions = (TestNewInboxForwarderOptions) o; + return Objects.equals(this.inboxForwarderTestOptions, testNewInboxForwarderOptions.inboxForwarderTestOptions) && + Objects.equals(this.createInboxForwarderOptions, testNewInboxForwarderOptions.createInboxForwarderOptions); + } + + @Override + public int hashCode() { + return Objects.hash(inboxForwarderTestOptions, createInboxForwarderOptions); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TestNewInboxForwarderOptions {\n"); + sb.append(" inboxForwarderTestOptions: ").append(toIndentedString(inboxForwarderTestOptions)).append("\n"); + sb.append(" createInboxForwarderOptions: ").append(toIndentedString(createInboxForwarderOptions)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("inboxForwarderTestOptions"); + openapiFields.add("createInboxForwarderOptions"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("inboxForwarderTestOptions"); + openapiRequiredFields.add("createInboxForwarderOptions"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to TestNewInboxForwarderOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!TestNewInboxForwarderOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TestNewInboxForwarderOptions is not found in the empty JSON string", TestNewInboxForwarderOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!TestNewInboxForwarderOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TestNewInboxForwarderOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : TestNewInboxForwarderOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // validate the required field `inboxForwarderTestOptions` + InboxForwarderTestOptions.validateJsonObject(jsonObj.getAsJsonObject("inboxForwarderTestOptions")); + // validate the required field `createInboxForwarderOptions` + CreateInboxForwarderOptions.validateJsonObject(jsonObj.getAsJsonObject("createInboxForwarderOptions")); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TestNewInboxForwarderOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TestNewInboxForwarderOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TestNewInboxForwarderOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TestNewInboxForwarderOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TestNewInboxForwarderOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TestNewInboxForwarderOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of TestNewInboxForwarderOptions + * @throws IOException if the JSON string is invalid with respect to TestNewInboxForwarderOptions + */ + public static TestNewInboxForwarderOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TestNewInboxForwarderOptions.class); + } + + /** + * Convert an instance of TestNewInboxForwarderOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/TestNewInboxRulesetOptions.java b/src/main/java/com/mailslurp/models/TestNewInboxRulesetOptions.java new file mode 100644 index 000000000..f93fa9fe1 --- /dev/null +++ b/src/main/java/com/mailslurp/models/TestNewInboxRulesetOptions.java @@ -0,0 +1,251 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.CreateInboxRulesetOptions; +import com.mailslurp.models.InboxRulesetTestOptions; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Test inbox ruleset options + */ +@ApiModel(description = "Test inbox ruleset options") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class TestNewInboxRulesetOptions { + public static final String SERIALIZED_NAME_INBOX_RULESET_TEST_OPTIONS = "inboxRulesetTestOptions"; + @SerializedName(SERIALIZED_NAME_INBOX_RULESET_TEST_OPTIONS) + private InboxRulesetTestOptions inboxRulesetTestOptions; + + public static final String SERIALIZED_NAME_CREATE_INBOX_RULESET_OPTIONS = "createInboxRulesetOptions"; + @SerializedName(SERIALIZED_NAME_CREATE_INBOX_RULESET_OPTIONS) + private CreateInboxRulesetOptions createInboxRulesetOptions; + + public TestNewInboxRulesetOptions() { + } + + public TestNewInboxRulesetOptions inboxRulesetTestOptions(InboxRulesetTestOptions inboxRulesetTestOptions) { + + this.inboxRulesetTestOptions = inboxRulesetTestOptions; + return this; + } + + /** + * Get inboxRulesetTestOptions + * @return inboxRulesetTestOptions + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public InboxRulesetTestOptions getInboxRulesetTestOptions() { + return inboxRulesetTestOptions; + } + + + public void setInboxRulesetTestOptions(InboxRulesetTestOptions inboxRulesetTestOptions) { + this.inboxRulesetTestOptions = inboxRulesetTestOptions; + } + + + public TestNewInboxRulesetOptions createInboxRulesetOptions(CreateInboxRulesetOptions createInboxRulesetOptions) { + + this.createInboxRulesetOptions = createInboxRulesetOptions; + return this; + } + + /** + * Get createInboxRulesetOptions + * @return createInboxRulesetOptions + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public CreateInboxRulesetOptions getCreateInboxRulesetOptions() { + return createInboxRulesetOptions; + } + + + public void setCreateInboxRulesetOptions(CreateInboxRulesetOptions createInboxRulesetOptions) { + this.createInboxRulesetOptions = createInboxRulesetOptions; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TestNewInboxRulesetOptions testNewInboxRulesetOptions = (TestNewInboxRulesetOptions) o; + return Objects.equals(this.inboxRulesetTestOptions, testNewInboxRulesetOptions.inboxRulesetTestOptions) && + Objects.equals(this.createInboxRulesetOptions, testNewInboxRulesetOptions.createInboxRulesetOptions); + } + + @Override + public int hashCode() { + return Objects.hash(inboxRulesetTestOptions, createInboxRulesetOptions); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TestNewInboxRulesetOptions {\n"); + sb.append(" inboxRulesetTestOptions: ").append(toIndentedString(inboxRulesetTestOptions)).append("\n"); + sb.append(" createInboxRulesetOptions: ").append(toIndentedString(createInboxRulesetOptions)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("inboxRulesetTestOptions"); + openapiFields.add("createInboxRulesetOptions"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("inboxRulesetTestOptions"); + openapiRequiredFields.add("createInboxRulesetOptions"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to TestNewInboxRulesetOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!TestNewInboxRulesetOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TestNewInboxRulesetOptions is not found in the empty JSON string", TestNewInboxRulesetOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!TestNewInboxRulesetOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TestNewInboxRulesetOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : TestNewInboxRulesetOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // validate the required field `inboxRulesetTestOptions` + InboxRulesetTestOptions.validateJsonObject(jsonObj.getAsJsonObject("inboxRulesetTestOptions")); + // validate the required field `createInboxRulesetOptions` + CreateInboxRulesetOptions.validateJsonObject(jsonObj.getAsJsonObject("createInboxRulesetOptions")); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TestNewInboxRulesetOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TestNewInboxRulesetOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TestNewInboxRulesetOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TestNewInboxRulesetOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TestNewInboxRulesetOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TestNewInboxRulesetOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of TestNewInboxRulesetOptions + * @throws IOException if the JSON string is invalid with respect to TestNewInboxRulesetOptions + */ + public static TestNewInboxRulesetOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TestNewInboxRulesetOptions.class); + } + + /** + * Convert an instance of TestNewInboxRulesetOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/TestPhoneNumberOptions.java b/src/main/java/com/mailslurp/models/TestPhoneNumberOptions.java new file mode 100644 index 000000000..18c805234 --- /dev/null +++ b/src/main/java/com/mailslurp/models/TestPhoneNumberOptions.java @@ -0,0 +1,216 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * TestPhoneNumberOptions + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class TestPhoneNumberOptions { + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public TestPhoneNumberOptions() { + } + + public TestPhoneNumberOptions message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TestPhoneNumberOptions testPhoneNumberOptions = (TestPhoneNumberOptions) o; + return Objects.equals(this.message, testPhoneNumberOptions.message); + } + + @Override + public int hashCode() { + return Objects.hash(message); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TestPhoneNumberOptions {\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("message"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("message"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to TestPhoneNumberOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!TestPhoneNumberOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TestPhoneNumberOptions is not found in the empty JSON string", TestPhoneNumberOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!TestPhoneNumberOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TestPhoneNumberOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : TestPhoneNumberOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TestPhoneNumberOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TestPhoneNumberOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TestPhoneNumberOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TestPhoneNumberOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TestPhoneNumberOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TestPhoneNumberOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of TestPhoneNumberOptions + * @throws IOException if the JSON string is invalid with respect to TestPhoneNumberOptions + */ + public static TestPhoneNumberOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TestPhoneNumberOptions.class); + } + + /** + * Convert an instance of TestPhoneNumberOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ThreadProjection.java b/src/main/java/com/mailslurp/models/ThreadProjection.java new file mode 100644 index 000000000..820a2857d --- /dev/null +++ b/src/main/java/com/mailslurp/models/ThreadProjection.java @@ -0,0 +1,577 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * A thread is a message thread created for a message received by an alias + */ +@ApiModel(description = "A thread is a message thread created for a message received by an alias") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ThreadProjection { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BCC = "bcc"; + @SerializedName(SERIALIZED_NAME_BCC) + private List bcc = null; + + public static final String SERIALIZED_NAME_CC = "cc"; + @SerializedName(SERIALIZED_NAME_CC) + private List cc = null; + + public static final String SERIALIZED_NAME_ALIAS_ID = "aliasId"; + @SerializedName(SERIALIZED_NAME_ALIAS_ID) + private UUID aliasId; + + public ThreadProjection() { + } + + public ThreadProjection name(String name) { + + this.name = name; + return this; + } + + /** + * Name of thread + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of thread") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public ThreadProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * ID of email thread + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of email thread") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public ThreadProjection subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Thread subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Thread subject") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public ThreadProjection inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Inbox ID + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Inbox ID") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public ThreadProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * User ID + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "User ID") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public ThreadProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Created at DateTime + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Created at DateTime") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public ThreadProjection updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Updated at DateTime + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Updated at DateTime") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public ThreadProjection to(List to) { + + this.to = to; + return this; + } + + public ThreadProjection addToItem(String toItem) { + this.to.add(toItem); + return this; + } + + /** + * To recipients + * @return to + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "To recipients") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + public ThreadProjection bcc(List bcc) { + + this.bcc = bcc; + return this; + } + + public ThreadProjection addBccItem(String bccItem) { + if (this.bcc == null) { + this.bcc = new ArrayList<>(); + } + this.bcc.add(bccItem); + return this; + } + + /** + * BCC recipients + * @return bcc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "BCC recipients") + + public List getBcc() { + return bcc; + } + + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + + public ThreadProjection cc(List cc) { + + this.cc = cc; + return this; + } + + public ThreadProjection addCcItem(String ccItem) { + if (this.cc == null) { + this.cc = new ArrayList<>(); + } + this.cc.add(ccItem); + return this; + } + + /** + * CC recipients + * @return cc + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "CC recipients") + + public List getCc() { + return cc; + } + + + public void setCc(List cc) { + this.cc = cc; + } + + + public ThreadProjection aliasId(UUID aliasId) { + + this.aliasId = aliasId; + return this; + } + + /** + * Alias ID + * @return aliasId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Alias ID") + + public UUID getAliasId() { + return aliasId; + } + + + public void setAliasId(UUID aliasId) { + this.aliasId = aliasId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ThreadProjection threadProjection = (ThreadProjection) o; + return Objects.equals(this.name, threadProjection.name) && + Objects.equals(this.id, threadProjection.id) && + Objects.equals(this.subject, threadProjection.subject) && + Objects.equals(this.inboxId, threadProjection.inboxId) && + Objects.equals(this.userId, threadProjection.userId) && + Objects.equals(this.createdAt, threadProjection.createdAt) && + Objects.equals(this.updatedAt, threadProjection.updatedAt) && + Objects.equals(this.to, threadProjection.to) && + Objects.equals(this.bcc, threadProjection.bcc) && + Objects.equals(this.cc, threadProjection.cc) && + Objects.equals(this.aliasId, threadProjection.aliasId); + } + + @Override + public int hashCode() { + return Objects.hash(name, id, subject, inboxId, userId, createdAt, updatedAt, to, bcc, cc, aliasId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ThreadProjection {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" aliasId: ").append(toIndentedString(aliasId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("id"); + openapiFields.add("subject"); + openapiFields.add("inboxId"); + openapiFields.add("userId"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + openapiFields.add("to"); + openapiFields.add("bcc"); + openapiFields.add("cc"); + openapiFields.add("aliasId"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + openapiRequiredFields.add("to"); + openapiRequiredFields.add("aliasId"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ThreadProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ThreadProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ThreadProjection is not found in the empty JSON string", ThreadProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ThreadProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ThreadProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ThreadProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + // ensure the required json array is present + if (jsonObj.get("to") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bcc") != null && !jsonObj.get("bcc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bcc` to be an array in the JSON string but got `%s`", jsonObj.get("bcc").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("cc") != null && !jsonObj.get("cc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cc` to be an array in the JSON string but got `%s`", jsonObj.get("cc").toString())); + } + if (!jsonObj.get("aliasId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `aliasId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("aliasId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ThreadProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ThreadProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ThreadProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ThreadProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ThreadProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ThreadProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of ThreadProjection + * @throws IOException if the JSON string is invalid with respect to ThreadProjection + */ + public static ThreadProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ThreadProjection.class); + } + + /** + * Convert an instance of ThreadProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/TrackingPixelDto.java b/src/main/java/com/mailslurp/models/TrackingPixelDto.java new file mode 100644 index 000000000..c651c920b --- /dev/null +++ b/src/main/java/com/mailslurp/models/TrackingPixelDto.java @@ -0,0 +1,490 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Tracking pixel + */ +@ApiModel(description = "Tracking pixel") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class TrackingPixelDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_SEEN = "seen"; + @SerializedName(SERIALIZED_NAME_SEEN) + private Boolean seen; + + public static final String SERIALIZED_NAME_RECIPIENT = "recipient"; + @SerializedName(SERIALIZED_NAME_RECIPIENT) + private String recipient; + + public static final String SERIALIZED_NAME_HTML = "html"; + @SerializedName(SERIALIZED_NAME_HTML) + private String html; + + public static final String SERIALIZED_NAME_URL = "url"; + @SerializedName(SERIALIZED_NAME_URL) + private String url; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_SENT_EMAIL_ID = "sentEmailId"; + @SerializedName(SERIALIZED_NAME_SENT_EMAIL_ID) + private UUID sentEmailId; + + public static final String SERIALIZED_NAME_SEEN_AT = "seenAt"; + @SerializedName(SERIALIZED_NAME_SEEN_AT) + private OffsetDateTime seenAt; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public TrackingPixelDto() { + } + + public TrackingPixelDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public TrackingPixelDto seen(Boolean seen) { + + this.seen = seen; + return this; + } + + /** + * Get seen + * @return seen + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getSeen() { + return seen; + } + + + public void setSeen(Boolean seen) { + this.seen = seen; + } + + + public TrackingPixelDto recipient(String recipient) { + + this.recipient = recipient; + return this; + } + + /** + * Get recipient + * @return recipient + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getRecipient() { + return recipient; + } + + + public void setRecipient(String recipient) { + this.recipient = recipient; + } + + + public TrackingPixelDto html(String html) { + + this.html = html; + return this; + } + + /** + * Get html + * @return html + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getHtml() { + return html; + } + + + public void setHtml(String html) { + this.html = html; + } + + + public TrackingPixelDto url(String url) { + + this.url = url; + return this; + } + + /** + * Get url + * @return url + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getUrl() { + return url; + } + + + public void setUrl(String url) { + this.url = url; + } + + + public TrackingPixelDto inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public TrackingPixelDto sentEmailId(UUID sentEmailId) { + + this.sentEmailId = sentEmailId; + return this; + } + + /** + * Get sentEmailId + * @return sentEmailId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getSentEmailId() { + return sentEmailId; + } + + + public void setSentEmailId(UUID sentEmailId) { + this.sentEmailId = sentEmailId; + } + + + public TrackingPixelDto seenAt(OffsetDateTime seenAt) { + + this.seenAt = seenAt; + return this; + } + + /** + * Get seenAt + * @return seenAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getSeenAt() { + return seenAt; + } + + + public void setSeenAt(OffsetDateTime seenAt) { + this.seenAt = seenAt; + } + + + public TrackingPixelDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TrackingPixelDto trackingPixelDto = (TrackingPixelDto) o; + return Objects.equals(this.id, trackingPixelDto.id) && + Objects.equals(this.seen, trackingPixelDto.seen) && + Objects.equals(this.recipient, trackingPixelDto.recipient) && + Objects.equals(this.html, trackingPixelDto.html) && + Objects.equals(this.url, trackingPixelDto.url) && + Objects.equals(this.inboxId, trackingPixelDto.inboxId) && + Objects.equals(this.sentEmailId, trackingPixelDto.sentEmailId) && + Objects.equals(this.seenAt, trackingPixelDto.seenAt) && + Objects.equals(this.createdAt, trackingPixelDto.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, seen, recipient, html, url, inboxId, sentEmailId, seenAt, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TrackingPixelDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" seen: ").append(toIndentedString(seen)).append("\n"); + sb.append(" recipient: ").append(toIndentedString(recipient)).append("\n"); + sb.append(" html: ").append(toIndentedString(html)).append("\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" sentEmailId: ").append(toIndentedString(sentEmailId)).append("\n"); + sb.append(" seenAt: ").append(toIndentedString(seenAt)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("seen"); + openapiFields.add("recipient"); + openapiFields.add("html"); + openapiFields.add("url"); + openapiFields.add("inboxId"); + openapiFields.add("sentEmailId"); + openapiFields.add("seenAt"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("seen"); + openapiRequiredFields.add("html"); + openapiRequiredFields.add("url"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to TrackingPixelDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!TrackingPixelDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TrackingPixelDto is not found in the empty JSON string", TrackingPixelDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!TrackingPixelDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TrackingPixelDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : TrackingPixelDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("recipient") != null && !jsonObj.get("recipient").isJsonNull()) && !jsonObj.get("recipient").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `recipient` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipient").toString())); + } + if (!jsonObj.get("html").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `html` to be a primitive type in the JSON string but got `%s`", jsonObj.get("html").toString())); + } + if (!jsonObj.get("url").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("sentEmailId") != null && !jsonObj.get("sentEmailId").isJsonNull()) && !jsonObj.get("sentEmailId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sentEmailId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sentEmailId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TrackingPixelDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TrackingPixelDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TrackingPixelDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TrackingPixelDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TrackingPixelDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TrackingPixelDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of TrackingPixelDto + * @throws IOException if the JSON string is invalid with respect to TrackingPixelDto + */ + public static TrackingPixelDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TrackingPixelDto.class); + } + + /** + * Convert an instance of TrackingPixelDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/TrackingPixelProjection.java b/src/main/java/com/mailslurp/models/TrackingPixelProjection.java new file mode 100644 index 000000000..cc4d46517 --- /dev/null +++ b/src/main/java/com/mailslurp/models/TrackingPixelProjection.java @@ -0,0 +1,477 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Tracking pixel data + */ +@ApiModel(description = "Tracking pixel data") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class TrackingPixelProjection { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_SENT_EMAIL_ID = "sentEmailId"; + @SerializedName(SERIALIZED_NAME_SENT_EMAIL_ID) + private UUID sentEmailId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_RECIPIENT = "recipient"; + @SerializedName(SERIALIZED_NAME_RECIPIENT) + private String recipient; + + public static final String SERIALIZED_NAME_SEEN = "seen"; + @SerializedName(SERIALIZED_NAME_SEEN) + private Boolean seen; + + public static final String SERIALIZED_NAME_SEEN_AT = "seenAt"; + @SerializedName(SERIALIZED_NAME_SEEN_AT) + private OffsetDateTime seenAt; + + public TrackingPixelProjection() { + } + + public TrackingPixelProjection name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public TrackingPixelProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public TrackingPixelProjection inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public TrackingPixelProjection userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public TrackingPixelProjection sentEmailId(UUID sentEmailId) { + + this.sentEmailId = sentEmailId; + return this; + } + + /** + * Get sentEmailId + * @return sentEmailId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getSentEmailId() { + return sentEmailId; + } + + + public void setSentEmailId(UUID sentEmailId) { + this.sentEmailId = sentEmailId; + } + + + public TrackingPixelProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public TrackingPixelProjection recipient(String recipient) { + + this.recipient = recipient; + return this; + } + + /** + * Get recipient + * @return recipient + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getRecipient() { + return recipient; + } + + + public void setRecipient(String recipient) { + this.recipient = recipient; + } + + + public TrackingPixelProjection seen(Boolean seen) { + + this.seen = seen; + return this; + } + + /** + * Get seen + * @return seen + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getSeen() { + return seen; + } + + + public void setSeen(Boolean seen) { + this.seen = seen; + } + + + public TrackingPixelProjection seenAt(OffsetDateTime seenAt) { + + this.seenAt = seenAt; + return this; + } + + /** + * Get seenAt + * @return seenAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getSeenAt() { + return seenAt; + } + + + public void setSeenAt(OffsetDateTime seenAt) { + this.seenAt = seenAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TrackingPixelProjection trackingPixelProjection = (TrackingPixelProjection) o; + return Objects.equals(this.name, trackingPixelProjection.name) && + Objects.equals(this.id, trackingPixelProjection.id) && + Objects.equals(this.inboxId, trackingPixelProjection.inboxId) && + Objects.equals(this.userId, trackingPixelProjection.userId) && + Objects.equals(this.sentEmailId, trackingPixelProjection.sentEmailId) && + Objects.equals(this.createdAt, trackingPixelProjection.createdAt) && + Objects.equals(this.recipient, trackingPixelProjection.recipient) && + Objects.equals(this.seen, trackingPixelProjection.seen) && + Objects.equals(this.seenAt, trackingPixelProjection.seenAt); + } + + @Override + public int hashCode() { + return Objects.hash(name, id, inboxId, userId, sentEmailId, createdAt, recipient, seen, seenAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TrackingPixelProjection {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" sentEmailId: ").append(toIndentedString(sentEmailId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" recipient: ").append(toIndentedString(recipient)).append("\n"); + sb.append(" seen: ").append(toIndentedString(seen)).append("\n"); + sb.append(" seenAt: ").append(toIndentedString(seenAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("id"); + openapiFields.add("inboxId"); + openapiFields.add("userId"); + openapiFields.add("sentEmailId"); + openapiFields.add("createdAt"); + openapiFields.add("recipient"); + openapiFields.add("seen"); + openapiFields.add("seenAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("seen"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to TrackingPixelProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!TrackingPixelProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TrackingPixelProjection is not found in the empty JSON string", TrackingPixelProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!TrackingPixelProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TrackingPixelProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : TrackingPixelProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("sentEmailId") != null && !jsonObj.get("sentEmailId").isJsonNull()) && !jsonObj.get("sentEmailId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sentEmailId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sentEmailId").toString())); + } + if ((jsonObj.get("recipient") != null && !jsonObj.get("recipient").isJsonNull()) && !jsonObj.get("recipient").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `recipient` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipient").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TrackingPixelProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TrackingPixelProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TrackingPixelProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TrackingPixelProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TrackingPixelProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TrackingPixelProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of TrackingPixelProjection + * @throws IOException if the JSON string is invalid with respect to TrackingPixelProjection + */ + public static TrackingPixelProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TrackingPixelProjection.class); + } + + /** + * Convert an instance of TrackingPixelProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UnknownMissedEmailProjection.java b/src/main/java/com/mailslurp/models/UnknownMissedEmailProjection.java new file mode 100644 index 000000000..eb990a20e --- /dev/null +++ b/src/main/java/com/mailslurp/models/UnknownMissedEmailProjection.java @@ -0,0 +1,360 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Unknown missed email projection + */ +@ApiModel(description = "Unknown missed email projection") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UnknownMissedEmailProjection { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = null; + + public UnknownMissedEmailProjection() { + } + + public UnknownMissedEmailProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public UnknownMissedEmailProjection from(String from) { + + this.from = from; + return this; + } + + /** + * Get from + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public UnknownMissedEmailProjection subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Get subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public UnknownMissedEmailProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public UnknownMissedEmailProjection to(List to) { + + this.to = to; + return this; + } + + public UnknownMissedEmailProjection addToItem(String toItem) { + if (this.to == null) { + this.to = new ArrayList<>(); + } + this.to.add(toItem); + return this; + } + + /** + * Get to + * @return to + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnknownMissedEmailProjection unknownMissedEmailProjection = (UnknownMissedEmailProjection) o; + return Objects.equals(this.id, unknownMissedEmailProjection.id) && + Objects.equals(this.from, unknownMissedEmailProjection.from) && + Objects.equals(this.subject, unknownMissedEmailProjection.subject) && + Objects.equals(this.createdAt, unknownMissedEmailProjection.createdAt) && + Objects.equals(this.to, unknownMissedEmailProjection.to); + } + + @Override + public int hashCode() { + return Objects.hash(id, from, subject, createdAt, to); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnknownMissedEmailProjection {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("from"); + openapiFields.add("subject"); + openapiFields.add("createdAt"); + openapiFields.add("to"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UnknownMissedEmailProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UnknownMissedEmailProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UnknownMissedEmailProjection is not found in the empty JSON string", UnknownMissedEmailProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UnknownMissedEmailProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UnknownMissedEmailProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : UnknownMissedEmailProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("to") != null && !jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UnknownMissedEmailProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UnknownMissedEmailProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UnknownMissedEmailProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UnknownMissedEmailProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UnknownMissedEmailProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UnknownMissedEmailProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of UnknownMissedEmailProjection + * @throws IOException if the JSON string is invalid with respect to UnknownMissedEmailProjection + */ + public static UnknownMissedEmailProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UnknownMissedEmailProjection.class); + } + + /** + * Convert an instance of UnknownMissedEmailProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UnreadCount.java b/src/main/java/com/mailslurp/models/UnreadCount.java new file mode 100644 index 000000000..d50cd51bd --- /dev/null +++ b/src/main/java/com/mailslurp/models/UnreadCount.java @@ -0,0 +1,214 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Number of unread entities + */ +@ApiModel(description = "Number of unread entities") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UnreadCount { + public static final String SERIALIZED_NAME_COUNT = "count"; + @SerializedName(SERIALIZED_NAME_COUNT) + private Long count; + + public UnreadCount() { + } + + public UnreadCount count(Long count) { + + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Long getCount() { + return count; + } + + + public void setCount(Long count) { + this.count = count; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnreadCount unreadCount = (UnreadCount) o; + return Objects.equals(this.count, unreadCount.count); + } + + @Override + public int hashCode() { + return Objects.hash(count); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnreadCount {\n"); + sb.append(" count: ").append(toIndentedString(count)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("count"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("count"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UnreadCount + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UnreadCount.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UnreadCount is not found in the empty JSON string", UnreadCount.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UnreadCount.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UnreadCount` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : UnreadCount.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UnreadCount.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UnreadCount' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UnreadCount.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UnreadCount value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UnreadCount read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UnreadCount given an JSON string + * + * @param jsonString JSON string + * @return An instance of UnreadCount + * @throws IOException if the JSON string is invalid with respect to UnreadCount + */ + public static UnreadCount fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UnreadCount.class); + } + + /** + * Convert an instance of UnreadCount to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UnseenErrorCountDto.java b/src/main/java/com/mailslurp/models/UnseenErrorCountDto.java new file mode 100644 index 000000000..5e7f3de12 --- /dev/null +++ b/src/main/java/com/mailslurp/models/UnseenErrorCountDto.java @@ -0,0 +1,214 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Number of unseen errors + */ +@ApiModel(description = "Number of unseen errors") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UnseenErrorCountDto { + public static final String SERIALIZED_NAME_COUNT = "count"; + @SerializedName(SERIALIZED_NAME_COUNT) + private Long count; + + public UnseenErrorCountDto() { + } + + public UnseenErrorCountDto count(Long count) { + + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Long getCount() { + return count; + } + + + public void setCount(Long count) { + this.count = count; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UnseenErrorCountDto unseenErrorCountDto = (UnseenErrorCountDto) o; + return Objects.equals(this.count, unseenErrorCountDto.count); + } + + @Override + public int hashCode() { + return Objects.hash(count); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UnseenErrorCountDto {\n"); + sb.append(" count: ").append(toIndentedString(count)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("count"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("count"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UnseenErrorCountDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UnseenErrorCountDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UnseenErrorCountDto is not found in the empty JSON string", UnseenErrorCountDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UnseenErrorCountDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UnseenErrorCountDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : UnseenErrorCountDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UnseenErrorCountDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UnseenErrorCountDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UnseenErrorCountDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UnseenErrorCountDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UnseenErrorCountDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UnseenErrorCountDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of UnseenErrorCountDto + * @throws IOException if the JSON string is invalid with respect to UnseenErrorCountDto + */ + public static UnseenErrorCountDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UnseenErrorCountDto.class); + } + + /** + * Convert an instance of UnseenErrorCountDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UpdateAliasOptions.java b/src/main/java/com/mailslurp/models/UpdateAliasOptions.java new file mode 100644 index 000000000..ef1d56d5b --- /dev/null +++ b/src/main/java/com/mailslurp/models/UpdateAliasOptions.java @@ -0,0 +1,221 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Update an email alias + */ +@ApiModel(description = "Update an email alias") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UpdateAliasOptions { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public UpdateAliasOptions() { + } + + public UpdateAliasOptions name(String name) { + + this.name = name; + return this; + } + + /** + * Optional name for alias + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional name for alias") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateAliasOptions updateAliasOptions = (UpdateAliasOptions) o; + return Objects.equals(this.name, updateAliasOptions.name); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(name); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateAliasOptions {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UpdateAliasOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UpdateAliasOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateAliasOptions is not found in the empty JSON string", UpdateAliasOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UpdateAliasOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateAliasOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdateAliasOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdateAliasOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UpdateAliasOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdateAliasOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdateAliasOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdateAliasOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdateAliasOptions + * @throws IOException if the JSON string is invalid with respect to UpdateAliasOptions + */ + public static UpdateAliasOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdateAliasOptions.class); + } + + /** + * Convert an instance of UpdateAliasOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UpdateDomainOptions.java b/src/main/java/com/mailslurp/models/UpdateDomainOptions.java new file mode 100644 index 000000000..9e3cc75c2 --- /dev/null +++ b/src/main/java/com/mailslurp/models/UpdateDomainOptions.java @@ -0,0 +1,222 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for creating a domain to use with MailSlurp. You must have ownership access to this domain in order to verify it. Domains will not functionally currently until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains for help. + */ +@ApiModel(description = "Options for creating a domain to use with MailSlurp. You must have ownership access to this domain in order to verify it. Domains will not functionally currently until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains for help.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UpdateDomainOptions { + public static final String SERIALIZED_NAME_CATCH_ALL_INBOX_ID = "catchAllInboxId"; + @SerializedName(SERIALIZED_NAME_CATCH_ALL_INBOX_ID) + private UUID catchAllInboxId; + + public UpdateDomainOptions() { + } + + public UpdateDomainOptions catchAllInboxId(UUID catchAllInboxId) { + + this.catchAllInboxId = catchAllInboxId; + return this; + } + + /** + * Get catchAllInboxId + * @return catchAllInboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getCatchAllInboxId() { + return catchAllInboxId; + } + + + public void setCatchAllInboxId(UUID catchAllInboxId) { + this.catchAllInboxId = catchAllInboxId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateDomainOptions updateDomainOptions = (UpdateDomainOptions) o; + return Objects.equals(this.catchAllInboxId, updateDomainOptions.catchAllInboxId); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(catchAllInboxId); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateDomainOptions {\n"); + sb.append(" catchAllInboxId: ").append(toIndentedString(catchAllInboxId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("catchAllInboxId"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UpdateDomainOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UpdateDomainOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateDomainOptions is not found in the empty JSON string", UpdateDomainOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UpdateDomainOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateDomainOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("catchAllInboxId") != null && !jsonObj.get("catchAllInboxId").isJsonNull()) && !jsonObj.get("catchAllInboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `catchAllInboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("catchAllInboxId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdateDomainOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdateDomainOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UpdateDomainOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdateDomainOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdateDomainOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdateDomainOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdateDomainOptions + * @throws IOException if the JSON string is invalid with respect to UpdateDomainOptions + */ + public static UpdateDomainOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdateDomainOptions.class); + } + + /** + * Convert an instance of UpdateDomainOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UpdateGroupContacts.java b/src/main/java/com/mailslurp/models/UpdateGroupContacts.java new file mode 100644 index 000000000..108837bee --- /dev/null +++ b/src/main/java/com/mailslurp/models/UpdateGroupContacts.java @@ -0,0 +1,228 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Update group contacts options. Pass a list of contact ids to replace existing group contacts. + */ +@ApiModel(description = "Update group contacts options. Pass a list of contact ids to replace existing group contacts.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UpdateGroupContacts { + public static final String SERIALIZED_NAME_CONTACT_IDS = "contactIds"; + @SerializedName(SERIALIZED_NAME_CONTACT_IDS) + private List contactIds = new ArrayList<>(); + + public UpdateGroupContacts() { + } + + public UpdateGroupContacts contactIds(List contactIds) { + + this.contactIds = contactIds; + return this; + } + + public UpdateGroupContacts addContactIdsItem(UUID contactIdsItem) { + this.contactIds.add(contactIdsItem); + return this; + } + + /** + * Get contactIds + * @return contactIds + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getContactIds() { + return contactIds; + } + + + public void setContactIds(List contactIds) { + this.contactIds = contactIds; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateGroupContacts updateGroupContacts = (UpdateGroupContacts) o; + return Objects.equals(this.contactIds, updateGroupContacts.contactIds); + } + + @Override + public int hashCode() { + return Objects.hash(contactIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateGroupContacts {\n"); + sb.append(" contactIds: ").append(toIndentedString(contactIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("contactIds"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("contactIds"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UpdateGroupContacts + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UpdateGroupContacts.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateGroupContacts is not found in the empty JSON string", UpdateGroupContacts.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UpdateGroupContacts.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateGroupContacts` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : UpdateGroupContacts.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("contactIds") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("contactIds").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `contactIds` to be an array in the JSON string but got `%s`", jsonObj.get("contactIds").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdateGroupContacts.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdateGroupContacts' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UpdateGroupContacts.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdateGroupContacts value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdateGroupContacts read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdateGroupContacts given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdateGroupContacts + * @throws IOException if the JSON string is invalid with respect to UpdateGroupContacts + */ + public static UpdateGroupContacts fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdateGroupContacts.class); + } + + /** + * Convert an instance of UpdateGroupContacts to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UpdateInboxOptions.java b/src/main/java/com/mailslurp/models/UpdateInboxOptions.java new file mode 100644 index 000000000..a9386b136 --- /dev/null +++ b/src/main/java/com/mailslurp/models/UpdateInboxOptions.java @@ -0,0 +1,359 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for updating inbox properties + */ +@ApiModel(description = "Options for updating inbox properties") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UpdateInboxOptions { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_TAGS = "tags"; + @SerializedName(SERIALIZED_NAME_TAGS) + private List tags = null; + + public static final String SERIALIZED_NAME_EXPIRES_AT = "expiresAt"; + @SerializedName(SERIALIZED_NAME_EXPIRES_AT) + private OffsetDateTime expiresAt; + + public static final String SERIALIZED_NAME_FAVOURITE = "favourite"; + @SerializedName(SERIALIZED_NAME_FAVOURITE) + private Boolean favourite; + + public UpdateInboxOptions() { + } + + public UpdateInboxOptions name(String name) { + + this.name = name; + return this; + } + + /** + * Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public UpdateInboxOptions description(String description) { + + this.description = description; + return this; + } + + /** + * Description of an inbox for labelling and searching purposes + * @return description + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Description of an inbox for labelling and searching purposes") + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public UpdateInboxOptions tags(List tags) { + + this.tags = tags; + return this; + } + + public UpdateInboxOptions addTagsItem(String tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList<>(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. + * @return tags + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.") + + public List getTags() { + return tags; + } + + + public void setTags(List tags) { + this.tags = tags; + } + + + public UpdateInboxOptions expiresAt(OffsetDateTime expiresAt) { + + this.expiresAt = expiresAt; + return this; + } + + /** + * Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email. + * @return expiresAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email.") + + public OffsetDateTime getExpiresAt() { + return expiresAt; + } + + + public void setExpiresAt(OffsetDateTime expiresAt) { + this.expiresAt = expiresAt; + } + + + public UpdateInboxOptions favourite(Boolean favourite) { + + this.favourite = favourite; + return this; + } + + /** + * Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering + * @return favourite + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering") + + public Boolean getFavourite() { + return favourite; + } + + + public void setFavourite(Boolean favourite) { + this.favourite = favourite; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateInboxOptions updateInboxOptions = (UpdateInboxOptions) o; + return Objects.equals(this.name, updateInboxOptions.name) && + Objects.equals(this.description, updateInboxOptions.description) && + Objects.equals(this.tags, updateInboxOptions.tags) && + Objects.equals(this.expiresAt, updateInboxOptions.expiresAt) && + Objects.equals(this.favourite, updateInboxOptions.favourite); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(name, description, tags, expiresAt, favourite); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateInboxOptions {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); + sb.append(" favourite: ").append(toIndentedString(favourite)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("description"); + openapiFields.add("tags"); + openapiFields.add("expiresAt"); + openapiFields.add("favourite"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UpdateInboxOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UpdateInboxOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateInboxOptions is not found in the empty JSON string", UpdateInboxOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UpdateInboxOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateInboxOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdateInboxOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdateInboxOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UpdateInboxOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdateInboxOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdateInboxOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdateInboxOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdateInboxOptions + * @throws IOException if the JSON string is invalid with respect to UpdateInboxOptions + */ + public static UpdateInboxOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdateInboxOptions.class); + } + + /** + * Convert an instance of UpdateInboxOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UpdateInboxReplierOptions.java b/src/main/java/com/mailslurp/models/UpdateInboxReplierOptions.java new file mode 100644 index 000000000..2e1ba9013 --- /dev/null +++ b/src/main/java/com/mailslurp/models/UpdateInboxReplierOptions.java @@ -0,0 +1,680 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for updating an inbox replier + */ +@ApiModel(description = "Options for updating an inbox replier") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UpdateInboxReplierOptions { + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + /** + * Field to match against to trigger inbox replier for inbound email + */ + @JsonAdapter(FieldEnum.Adapter.class) + public enum FieldEnum { + RECIPIENTS("RECIPIENTS"), + + SENDER("SENDER"), + + SUBJECT("SUBJECT"), + + ATTACHMENTS("ATTACHMENTS"); + + private String value; + + FieldEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static FieldEnum fromValue(String value) { + for (FieldEnum b : FieldEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final FieldEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public FieldEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return FieldEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_FIELD = "field"; + @SerializedName(SERIALIZED_NAME_FIELD) + private FieldEnum field; + + public static final String SERIALIZED_NAME_MATCH = "match"; + @SerializedName(SERIALIZED_NAME_MATCH) + private String match; + + public static final String SERIALIZED_NAME_REPLY_TO = "replyTo"; + @SerializedName(SERIALIZED_NAME_REPLY_TO) + private String replyTo; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_CHARSET = "charset"; + @SerializedName(SERIALIZED_NAME_CHARSET) + private String charset; + + public static final String SERIALIZED_NAME_IS_H_T_M_L = "isHTML"; + @SerializedName(SERIALIZED_NAME_IS_H_T_M_L) + private Boolean isHTML; + + public static final String SERIALIZED_NAME_IGNORE_REPLY_TO = "ignoreReplyTo"; + @SerializedName(SERIALIZED_NAME_IGNORE_REPLY_TO) + private Boolean ignoreReplyTo; + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_TEMPLATE_ID = "templateId"; + @SerializedName(SERIALIZED_NAME_TEMPLATE_ID) + private UUID templateId; + + public static final String SERIALIZED_NAME_TEMPLATE_VARIABLES = "templateVariables"; + @SerializedName(SERIALIZED_NAME_TEMPLATE_VARIABLES) + private Map templateVariables = null; + + public UpdateInboxReplierOptions() { + } + + public UpdateInboxReplierOptions inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Inbox ID to attach replier to + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Inbox ID to attach replier to") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public UpdateInboxReplierOptions name(String name) { + + this.name = name; + return this; + } + + /** + * Name for replier + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name for replier") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public UpdateInboxReplierOptions field(FieldEnum field) { + + this.field = field; + return this; + } + + /** + * Field to match against to trigger inbox replier for inbound email + * @return field + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Field to match against to trigger inbox replier for inbound email") + + public FieldEnum getField() { + return field; + } + + + public void setField(FieldEnum field) { + this.field = field; + } + + + public UpdateInboxReplierOptions match(String match) { + + this.match = match; + return this; + } + + /** + * String or wildcard style match for field specified when evaluating reply rules + * @return match + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "String or wildcard style match for field specified when evaluating reply rules") + + public String getMatch() { + return match; + } + + + public void setMatch(String match) { + this.match = match; + } + + + public UpdateInboxReplierOptions replyTo(String replyTo) { + + this.replyTo = replyTo; + return this; + } + + /** + * Reply-to email address when sending replying + * @return replyTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Reply-to email address when sending replying") + + public String getReplyTo() { + return replyTo; + } + + + public void setReplyTo(String replyTo) { + this.replyTo = replyTo; + } + + + public UpdateInboxReplierOptions subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Subject override when replying to email + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Subject override when replying to email") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public UpdateInboxReplierOptions from(String from) { + + this.from = from; + return this; + } + + /** + * Send email from address + * @return from + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Send email from address") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public UpdateInboxReplierOptions charset(String charset) { + + this.charset = charset; + return this; + } + + /** + * Email reply charset + * @return charset + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Email reply charset") + + public String getCharset() { + return charset; + } + + + public void setCharset(String charset) { + this.charset = charset; + } + + + public UpdateInboxReplierOptions isHTML(Boolean isHTML) { + + this.isHTML = isHTML; + return this; + } + + /** + * Send HTML email + * @return isHTML + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Send HTML email") + + public Boolean getIsHTML() { + return isHTML; + } + + + public void setIsHTML(Boolean isHTML) { + this.isHTML = isHTML; + } + + + public UpdateInboxReplierOptions ignoreReplyTo(Boolean ignoreReplyTo) { + + this.ignoreReplyTo = ignoreReplyTo; + return this; + } + + /** + * Ignore sender replyTo when responding. Send directly to the sender if enabled. + * @return ignoreReplyTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Ignore sender replyTo when responding. Send directly to the sender if enabled.") + + public Boolean getIgnoreReplyTo() { + return ignoreReplyTo; + } + + + public void setIgnoreReplyTo(Boolean ignoreReplyTo) { + this.ignoreReplyTo = ignoreReplyTo; + } + + + public UpdateInboxReplierOptions body(String body) { + + this.body = body; + return this; + } + + /** + * Email body for reply + * @return body + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Email body for reply") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public UpdateInboxReplierOptions templateId(UUID templateId) { + + this.templateId = templateId; + return this; + } + + /** + * ID of template to use when sending a reply + * @return templateId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ID of template to use when sending a reply") + + public UUID getTemplateId() { + return templateId; + } + + + public void setTemplateId(UUID templateId) { + this.templateId = templateId; + } + + + public UpdateInboxReplierOptions templateVariables(Map templateVariables) { + + this.templateVariables = templateVariables; + return this; + } + + public UpdateInboxReplierOptions putTemplateVariablesItem(String key, Object templateVariablesItem) { + if (this.templateVariables == null) { + this.templateVariables = new HashMap<>(); + } + this.templateVariables.put(key, templateVariablesItem); + return this; + } + + /** + * Template variable values + * @return templateVariables + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Template variable values") + + public Map getTemplateVariables() { + return templateVariables; + } + + + public void setTemplateVariables(Map templateVariables) { + this.templateVariables = templateVariables; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateInboxReplierOptions updateInboxReplierOptions = (UpdateInboxReplierOptions) o; + return Objects.equals(this.inboxId, updateInboxReplierOptions.inboxId) && + Objects.equals(this.name, updateInboxReplierOptions.name) && + Objects.equals(this.field, updateInboxReplierOptions.field) && + Objects.equals(this.match, updateInboxReplierOptions.match) && + Objects.equals(this.replyTo, updateInboxReplierOptions.replyTo) && + Objects.equals(this.subject, updateInboxReplierOptions.subject) && + Objects.equals(this.from, updateInboxReplierOptions.from) && + Objects.equals(this.charset, updateInboxReplierOptions.charset) && + Objects.equals(this.isHTML, updateInboxReplierOptions.isHTML) && + Objects.equals(this.ignoreReplyTo, updateInboxReplierOptions.ignoreReplyTo) && + Objects.equals(this.body, updateInboxReplierOptions.body) && + Objects.equals(this.templateId, updateInboxReplierOptions.templateId) && + Objects.equals(this.templateVariables, updateInboxReplierOptions.templateVariables); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(inboxId, name, field, match, replyTo, subject, from, charset, isHTML, ignoreReplyTo, body, templateId, templateVariables); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateInboxReplierOptions {\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" field: ").append(toIndentedString(field)).append("\n"); + sb.append(" match: ").append(toIndentedString(match)).append("\n"); + sb.append(" replyTo: ").append(toIndentedString(replyTo)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" charset: ").append(toIndentedString(charset)).append("\n"); + sb.append(" isHTML: ").append(toIndentedString(isHTML)).append("\n"); + sb.append(" ignoreReplyTo: ").append(toIndentedString(ignoreReplyTo)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); + sb.append(" templateVariables: ").append(toIndentedString(templateVariables)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("inboxId"); + openapiFields.add("name"); + openapiFields.add("field"); + openapiFields.add("match"); + openapiFields.add("replyTo"); + openapiFields.add("subject"); + openapiFields.add("from"); + openapiFields.add("charset"); + openapiFields.add("isHTML"); + openapiFields.add("ignoreReplyTo"); + openapiFields.add("body"); + openapiFields.add("templateId"); + openapiFields.add("templateVariables"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("field"); + openapiRequiredFields.add("match"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UpdateInboxReplierOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UpdateInboxReplierOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateInboxReplierOptions is not found in the empty JSON string", UpdateInboxReplierOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UpdateInboxReplierOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateInboxReplierOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : UpdateInboxReplierOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("field").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `field` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field").toString())); + } + if (!jsonObj.get("match").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `match` to be a primitive type in the JSON string but got `%s`", jsonObj.get("match").toString())); + } + if ((jsonObj.get("replyTo") != null && !jsonObj.get("replyTo").isJsonNull()) && !jsonObj.get("replyTo").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `replyTo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("replyTo").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + if ((jsonObj.get("from") != null && !jsonObj.get("from").isJsonNull()) && !jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + if ((jsonObj.get("charset") != null && !jsonObj.get("charset").isJsonNull()) && !jsonObj.get("charset").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `charset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("charset").toString())); + } + if ((jsonObj.get("body") != null && !jsonObj.get("body").isJsonNull()) && !jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + if ((jsonObj.get("templateId") != null && !jsonObj.get("templateId").isJsonNull()) && !jsonObj.get("templateId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `templateId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("templateId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdateInboxReplierOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdateInboxReplierOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UpdateInboxReplierOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdateInboxReplierOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdateInboxReplierOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdateInboxReplierOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdateInboxReplierOptions + * @throws IOException if the JSON string is invalid with respect to UpdateInboxReplierOptions + */ + public static UpdateInboxReplierOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdateInboxReplierOptions.class); + } + + /** + * Convert an instance of UpdateInboxReplierOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UploadAttachmentBytesRequest.java b/src/main/java/com/mailslurp/models/UploadAttachmentBytesRequest.java new file mode 100644 index 000000000..717f78cfe --- /dev/null +++ b/src/main/java/com/mailslurp/models/UploadAttachmentBytesRequest.java @@ -0,0 +1,419 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Byte array request body + */ +@ApiModel(description = "Byte array request body") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UploadAttachmentBytesRequest { + public static final String SERIALIZED_NAME_SHORT = "short"; + @SerializedName(SERIALIZED_NAME_SHORT) + private Integer _short; + + public static final String SERIALIZED_NAME_CHAR = "char"; + @SerializedName(SERIALIZED_NAME_CHAR) + private String _char; + + public static final String SERIALIZED_NAME_INT = "int"; + @SerializedName(SERIALIZED_NAME_INT) + private Integer _int; + + public static final String SERIALIZED_NAME_LONG = "long"; + @SerializedName(SERIALIZED_NAME_LONG) + private Long _long; + + public static final String SERIALIZED_NAME_FLOAT = "float"; + @SerializedName(SERIALIZED_NAME_FLOAT) + private Float _float; + + public static final String SERIALIZED_NAME_DOUBLE = "double"; + @SerializedName(SERIALIZED_NAME_DOUBLE) + private Double _double; + + public static final String SERIALIZED_NAME_DIRECT = "direct"; + @SerializedName(SERIALIZED_NAME_DIRECT) + private Boolean direct; + + public static final String SERIALIZED_NAME_READ_ONLY = "readOnly"; + @SerializedName(SERIALIZED_NAME_READ_ONLY) + private Boolean readOnly; + + public UploadAttachmentBytesRequest() { + } + + public UploadAttachmentBytesRequest _short(Integer _short) { + + this._short = _short; + return this; + } + + /** + * Get _short + * @return _short + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getShort() { + return _short; + } + + + public void setShort(Integer _short) { + this._short = _short; + } + + + public UploadAttachmentBytesRequest _char(String _char) { + + this._char = _char; + return this; + } + + /** + * Get _char + * @return _char + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getChar() { + return _char; + } + + + public void setChar(String _char) { + this._char = _char; + } + + + public UploadAttachmentBytesRequest _int(Integer _int) { + + this._int = _int; + return this; + } + + /** + * Get _int + * @return _int + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getInt() { + return _int; + } + + + public void setInt(Integer _int) { + this._int = _int; + } + + + public UploadAttachmentBytesRequest _long(Long _long) { + + this._long = _long; + return this; + } + + /** + * Get _long + * @return _long + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getLong() { + return _long; + } + + + public void setLong(Long _long) { + this._long = _long; + } + + + public UploadAttachmentBytesRequest _float(Float _float) { + + this._float = _float; + return this; + } + + /** + * Get _float + * @return _float + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Float getFloat() { + return _float; + } + + + public void setFloat(Float _float) { + this._float = _float; + } + + + public UploadAttachmentBytesRequest _double(Double _double) { + + this._double = _double; + return this; + } + + /** + * Get _double + * @return _double + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Double getDouble() { + return _double; + } + + + public void setDouble(Double _double) { + this._double = _double; + } + + + public UploadAttachmentBytesRequest direct(Boolean direct) { + + this.direct = direct; + return this; + } + + /** + * Get direct + * @return direct + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getDirect() { + return direct; + } + + + public void setDirect(Boolean direct) { + this.direct = direct; + } + + + public UploadAttachmentBytesRequest readOnly(Boolean readOnly) { + + this.readOnly = readOnly; + return this; + } + + /** + * Get readOnly + * @return readOnly + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getReadOnly() { + return readOnly; + } + + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UploadAttachmentBytesRequest uploadAttachmentBytesRequest = (UploadAttachmentBytesRequest) o; + return Objects.equals(this._short, uploadAttachmentBytesRequest._short) && + Objects.equals(this._char, uploadAttachmentBytesRequest._char) && + Objects.equals(this._int, uploadAttachmentBytesRequest._int) && + Objects.equals(this._long, uploadAttachmentBytesRequest._long) && + Objects.equals(this._float, uploadAttachmentBytesRequest._float) && + Objects.equals(this._double, uploadAttachmentBytesRequest._double) && + Objects.equals(this.direct, uploadAttachmentBytesRequest.direct) && + Objects.equals(this.readOnly, uploadAttachmentBytesRequest.readOnly); + } + + @Override + public int hashCode() { + return Objects.hash(_short, _char, _int, _long, _float, _double, direct, readOnly); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UploadAttachmentBytesRequest {\n"); + sb.append(" _short: ").append(toIndentedString(_short)).append("\n"); + sb.append(" _char: ").append(toIndentedString(_char)).append("\n"); + sb.append(" _int: ").append(toIndentedString(_int)).append("\n"); + sb.append(" _long: ").append(toIndentedString(_long)).append("\n"); + sb.append(" _float: ").append(toIndentedString(_float)).append("\n"); + sb.append(" _double: ").append(toIndentedString(_double)).append("\n"); + sb.append(" direct: ").append(toIndentedString(direct)).append("\n"); + sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("short"); + openapiFields.add("char"); + openapiFields.add("int"); + openapiFields.add("long"); + openapiFields.add("float"); + openapiFields.add("double"); + openapiFields.add("direct"); + openapiFields.add("readOnly"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UploadAttachmentBytesRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UploadAttachmentBytesRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UploadAttachmentBytesRequest is not found in the empty JSON string", UploadAttachmentBytesRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UploadAttachmentBytesRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UploadAttachmentBytesRequest` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("char") != null && !jsonObj.get("char").isJsonNull()) && !jsonObj.get("char").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `char` to be a primitive type in the JSON string but got `%s`", jsonObj.get("char").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UploadAttachmentBytesRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UploadAttachmentBytesRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UploadAttachmentBytesRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UploadAttachmentBytesRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UploadAttachmentBytesRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UploadAttachmentBytesRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of UploadAttachmentBytesRequest + * @throws IOException if the JSON string is invalid with respect to UploadAttachmentBytesRequest + */ + public static UploadAttachmentBytesRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UploadAttachmentBytesRequest.class); + } + + /** + * Convert an instance of UploadAttachmentBytesRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UploadAttachmentOptions.java b/src/main/java/com/mailslurp/models/UploadAttachmentOptions.java new file mode 100644 index 000000000..f17530aad --- /dev/null +++ b/src/main/java/com/mailslurp/models/UploadAttachmentOptions.java @@ -0,0 +1,295 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for uploading files for attachments. When sending emails with the API that require attachments first upload each attachment. Then use the returned attachment ID in your `SendEmailOptions` when sending an email. This way you can use attachments multiple times once they have been uploaded. + */ +@ApiModel(description = "Options for uploading files for attachments. When sending emails with the API that require attachments first upload each attachment. Then use the returned attachment ID in your `SendEmailOptions` when sending an email. This way you can use attachments multiple times once they have been uploaded.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UploadAttachmentOptions { + public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; + @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) + private String contentType; + + public static final String SERIALIZED_NAME_FILENAME = "filename"; + @SerializedName(SERIALIZED_NAME_FILENAME) + private String filename; + + public static final String SERIALIZED_NAME_BASE64_CONTENTS = "base64Contents"; + @SerializedName(SERIALIZED_NAME_BASE64_CONTENTS) + private String base64Contents; + + public UploadAttachmentOptions() { + } + + public UploadAttachmentOptions contentType(String contentType) { + + this.contentType = contentType; + return this; + } + + /** + * Optional contentType for file. For instance `application/pdf` + * @return contentType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional contentType for file. For instance `application/pdf`") + + public String getContentType() { + return contentType; + } + + + public void setContentType(String contentType) { + this.contentType = contentType; + } + + + public UploadAttachmentOptions filename(String filename) { + + this.filename = filename; + return this; + } + + /** + * Optional filename to save upload with. Will be the name that is shown in email clients + * @return filename + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional filename to save upload with. Will be the name that is shown in email clients") + + public String getFilename() { + return filename; + } + + + public void setFilename(String filename) { + this.filename = filename; + } + + + public UploadAttachmentOptions base64Contents(String base64Contents) { + + this.base64Contents = base64Contents; + return this; + } + + /** + * Base64 encoded string of file contents. Typically this means reading the bytes or string content of a file and then converting that to a base64 encoded string. For examples of how to do this see https://www.mailslurp.com/guides/base64-file-uploads/ + * @return base64Contents + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Base64 encoded string of file contents. Typically this means reading the bytes or string content of a file and then converting that to a base64 encoded string. For examples of how to do this see https://www.mailslurp.com/guides/base64-file-uploads/") + + public String getBase64Contents() { + return base64Contents; + } + + + public void setBase64Contents(String base64Contents) { + this.base64Contents = base64Contents; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UploadAttachmentOptions uploadAttachmentOptions = (UploadAttachmentOptions) o; + return Objects.equals(this.contentType, uploadAttachmentOptions.contentType) && + Objects.equals(this.filename, uploadAttachmentOptions.filename) && + Objects.equals(this.base64Contents, uploadAttachmentOptions.base64Contents); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(contentType, filename, base64Contents); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UploadAttachmentOptions {\n"); + sb.append(" contentType: ").append(toIndentedString(contentType)).append("\n"); + sb.append(" filename: ").append(toIndentedString(filename)).append("\n"); + sb.append(" base64Contents: ").append(toIndentedString(base64Contents)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("contentType"); + openapiFields.add("filename"); + openapiFields.add("base64Contents"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("base64Contents"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UploadAttachmentOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UploadAttachmentOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UploadAttachmentOptions is not found in the empty JSON string", UploadAttachmentOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UploadAttachmentOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UploadAttachmentOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : UploadAttachmentOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); + } + if ((jsonObj.get("filename") != null && !jsonObj.get("filename").isJsonNull()) && !jsonObj.get("filename").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `filename` to be a primitive type in the JSON string but got `%s`", jsonObj.get("filename").toString())); + } + if (!jsonObj.get("base64Contents").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `base64Contents` to be a primitive type in the JSON string but got `%s`", jsonObj.get("base64Contents").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UploadAttachmentOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UploadAttachmentOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UploadAttachmentOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UploadAttachmentOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UploadAttachmentOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UploadAttachmentOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of UploadAttachmentOptions + * @throws IOException if the JSON string is invalid with respect to UploadAttachmentOptions + */ + public static UploadAttachmentOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UploadAttachmentOptions.class); + } + + /** + * Convert an instance of UploadAttachmentOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UploadMultipartFormRequest.java b/src/main/java/com/mailslurp/models/UploadMultipartFormRequest.java new file mode 100644 index 000000000..5e1aab0c8 --- /dev/null +++ b/src/main/java/com/mailslurp/models/UploadMultipartFormRequest.java @@ -0,0 +1,247 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * UploadMultipartFormRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UploadMultipartFormRequest { + public static final String SERIALIZED_NAME_CONTENT_TYPE_HEADER = "contentTypeHeader"; + @SerializedName(SERIALIZED_NAME_CONTENT_TYPE_HEADER) + private String contentTypeHeader; + + public static final String SERIALIZED_NAME_FILE = "file"; + @SerializedName(SERIALIZED_NAME_FILE) + private File _file; + + public UploadMultipartFormRequest() { + } + + public UploadMultipartFormRequest contentTypeHeader(String contentTypeHeader) { + + this.contentTypeHeader = contentTypeHeader; + return this; + } + + /** + * Optional content type header of attachment + * @return contentTypeHeader + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Optional content type header of attachment") + + public String getContentTypeHeader() { + return contentTypeHeader; + } + + + public void setContentTypeHeader(String contentTypeHeader) { + this.contentTypeHeader = contentTypeHeader; + } + + + public UploadMultipartFormRequest _file(File _file) { + + this._file = _file; + return this; + } + + /** + * Get _file + * @return _file + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public File getFile() { + return _file; + } + + + public void setFile(File _file) { + this._file = _file; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UploadMultipartFormRequest uploadMultipartFormRequest = (UploadMultipartFormRequest) o; + return Objects.equals(this.contentTypeHeader, uploadMultipartFormRequest.contentTypeHeader) && + Objects.equals(this._file, uploadMultipartFormRequest._file); + } + + @Override + public int hashCode() { + return Objects.hash(contentTypeHeader, _file); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UploadMultipartFormRequest {\n"); + sb.append(" contentTypeHeader: ").append(toIndentedString(contentTypeHeader)).append("\n"); + sb.append(" _file: ").append(toIndentedString(_file)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("contentTypeHeader"); + openapiFields.add("file"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("file"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UploadMultipartFormRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UploadMultipartFormRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UploadMultipartFormRequest is not found in the empty JSON string", UploadMultipartFormRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UploadMultipartFormRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UploadMultipartFormRequest` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : UploadMultipartFormRequest.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("contentTypeHeader") != null && !jsonObj.get("contentTypeHeader").isJsonNull()) && !jsonObj.get("contentTypeHeader").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contentTypeHeader` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentTypeHeader").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UploadMultipartFormRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UploadMultipartFormRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UploadMultipartFormRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UploadMultipartFormRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UploadMultipartFormRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UploadMultipartFormRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of UploadMultipartFormRequest + * @throws IOException if the JSON string is invalid with respect to UploadMultipartFormRequest + */ + public static UploadMultipartFormRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UploadMultipartFormRequest.class); + } + + /** + * Convert an instance of UploadMultipartFormRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/UserInfoDto.java b/src/main/java/com/mailslurp/models/UserInfoDto.java new file mode 100644 index 000000000..398444e15 --- /dev/null +++ b/src/main/java/com/mailslurp/models/UserInfoDto.java @@ -0,0 +1,533 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * UserInfoDto + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class UserInfoDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + /** + * Gets or Sets accountState + */ + @JsonAdapter(AccountStateEnum.Adapter.class) + public enum AccountStateEnum { + FROZEN("FROZEN"), + + ACTIVE("ACTIVE"); + + private String value; + + AccountStateEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static AccountStateEnum fromValue(String value) { + for (AccountStateEnum b : AccountStateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final AccountStateEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public AccountStateEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return AccountStateEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_ACCOUNT_STATE = "accountState"; + @SerializedName(SERIALIZED_NAME_ACCOUNT_STATE) + private AccountStateEnum accountState; + + /** + * Gets or Sets subscriptionType + */ + @JsonAdapter(SubscriptionTypeEnum.Adapter.class) + public enum SubscriptionTypeEnum { + PRO_MONTHLY("PRO_MONTHLY"), + + STARTER("STARTER"), + + TEAM("TEAM"), + + ENTERPRISE("ENTERPRISE"); + + private String value; + + SubscriptionTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SubscriptionTypeEnum fromValue(String value) { + for (SubscriptionTypeEnum b : SubscriptionTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SubscriptionTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SubscriptionTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SubscriptionTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SUBSCRIPTION_TYPE = "subscriptionType"; + @SerializedName(SERIALIZED_NAME_SUBSCRIPTION_TYPE) + private SubscriptionTypeEnum subscriptionType; + + /** + * Gets or Sets accountType + */ + @JsonAdapter(AccountTypeEnum.Adapter.class) + public enum AccountTypeEnum { + SOLO("SOLO"), + + CHILD_SOLO("CHILD_SOLO"), + + CHILD_TEAM("CHILD_TEAM"), + + CHILD_ADMIN("CHILD_ADMIN"); + + private String value; + + AccountTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static AccountTypeEnum fromValue(String value) { + for (AccountTypeEnum b : AccountTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final AccountTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public AccountTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return AccountTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_ACCOUNT_TYPE = "accountType"; + @SerializedName(SERIALIZED_NAME_ACCOUNT_TYPE) + private AccountTypeEnum accountType; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public UserInfoDto() { + } + + public UserInfoDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public UserInfoDto emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public UserInfoDto accountState(AccountStateEnum accountState) { + + this.accountState = accountState; + return this; + } + + /** + * Get accountState + * @return accountState + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public AccountStateEnum getAccountState() { + return accountState; + } + + + public void setAccountState(AccountStateEnum accountState) { + this.accountState = accountState; + } + + + public UserInfoDto subscriptionType(SubscriptionTypeEnum subscriptionType) { + + this.subscriptionType = subscriptionType; + return this; + } + + /** + * Get subscriptionType + * @return subscriptionType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public SubscriptionTypeEnum getSubscriptionType() { + return subscriptionType; + } + + + public void setSubscriptionType(SubscriptionTypeEnum subscriptionType) { + this.subscriptionType = subscriptionType; + } + + + public UserInfoDto accountType(AccountTypeEnum accountType) { + + this.accountType = accountType; + return this; + } + + /** + * Get accountType + * @return accountType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public AccountTypeEnum getAccountType() { + return accountType; + } + + + public void setAccountType(AccountTypeEnum accountType) { + this.accountType = accountType; + } + + + public UserInfoDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UserInfoDto userInfoDto = (UserInfoDto) o; + return Objects.equals(this.id, userInfoDto.id) && + Objects.equals(this.emailAddress, userInfoDto.emailAddress) && + Objects.equals(this.accountState, userInfoDto.accountState) && + Objects.equals(this.subscriptionType, userInfoDto.subscriptionType) && + Objects.equals(this.accountType, userInfoDto.accountType) && + Objects.equals(this.createdAt, userInfoDto.createdAt); + } + + @Override + public int hashCode() { + return Objects.hash(id, emailAddress, accountState, subscriptionType, accountType, createdAt); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UserInfoDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" accountState: ").append(toIndentedString(accountState)).append("\n"); + sb.append(" subscriptionType: ").append(toIndentedString(subscriptionType)).append("\n"); + sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("emailAddress"); + openapiFields.add("accountState"); + openapiFields.add("subscriptionType"); + openapiFields.add("accountType"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("emailAddress"); + openapiRequiredFields.add("accountState"); + openapiRequiredFields.add("accountType"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to UserInfoDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!UserInfoDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UserInfoDto is not found in the empty JSON string", UserInfoDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!UserInfoDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UserInfoDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : UserInfoDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if (!jsonObj.get("accountState").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `accountState` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountState").toString())); + } + if ((jsonObj.get("subscriptionType") != null && !jsonObj.get("subscriptionType").isJsonNull()) && !jsonObj.get("subscriptionType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subscriptionType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subscriptionType").toString())); + } + if (!jsonObj.get("accountType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `accountType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UserInfoDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UserInfoDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UserInfoDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UserInfoDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UserInfoDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UserInfoDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of UserInfoDto + * @throws IOException if the JSON string is invalid with respect to UserInfoDto + */ + public static UserInfoDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UserInfoDto.class); + } + + /** + * Convert an instance of UserInfoDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ValidateEmailAddressListOptions.java b/src/main/java/com/mailslurp/models/ValidateEmailAddressListOptions.java new file mode 100644 index 000000000..a981bcb6e --- /dev/null +++ b/src/main/java/com/mailslurp/models/ValidateEmailAddressListOptions.java @@ -0,0 +1,227 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for validating a list of email addresses + */ +@ApiModel(description = "Options for validating a list of email addresses") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ValidateEmailAddressListOptions { + public static final String SERIALIZED_NAME_EMAIL_ADDRESS_LIST = "emailAddressList"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS_LIST) + private List emailAddressList = new ArrayList<>(); + + public ValidateEmailAddressListOptions() { + } + + public ValidateEmailAddressListOptions emailAddressList(List emailAddressList) { + + this.emailAddressList = emailAddressList; + return this; + } + + public ValidateEmailAddressListOptions addEmailAddressListItem(String emailAddressListItem) { + this.emailAddressList.add(emailAddressListItem); + return this; + } + + /** + * Get emailAddressList + * @return emailAddressList + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getEmailAddressList() { + return emailAddressList; + } + + + public void setEmailAddressList(List emailAddressList) { + this.emailAddressList = emailAddressList; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ValidateEmailAddressListOptions validateEmailAddressListOptions = (ValidateEmailAddressListOptions) o; + return Objects.equals(this.emailAddressList, validateEmailAddressListOptions.emailAddressList); + } + + @Override + public int hashCode() { + return Objects.hash(emailAddressList); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ValidateEmailAddressListOptions {\n"); + sb.append(" emailAddressList: ").append(toIndentedString(emailAddressList)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("emailAddressList"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("emailAddressList"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ValidateEmailAddressListOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ValidateEmailAddressListOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ValidateEmailAddressListOptions is not found in the empty JSON string", ValidateEmailAddressListOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ValidateEmailAddressListOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ValidateEmailAddressListOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ValidateEmailAddressListOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("emailAddressList") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("emailAddressList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddressList` to be an array in the JSON string but got `%s`", jsonObj.get("emailAddressList").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ValidateEmailAddressListOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ValidateEmailAddressListOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ValidateEmailAddressListOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ValidateEmailAddressListOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ValidateEmailAddressListOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ValidateEmailAddressListOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of ValidateEmailAddressListOptions + * @throws IOException if the JSON string is invalid with respect to ValidateEmailAddressListOptions + */ + public static ValidateEmailAddressListOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ValidateEmailAddressListOptions.class); + } + + /** + * Convert an instance of ValidateEmailAddressListOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ValidateEmailAddressListResult.java b/src/main/java/com/mailslurp/models/ValidateEmailAddressListResult.java new file mode 100644 index 000000000..a7de4a5c9 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ValidateEmailAddressListResult.java @@ -0,0 +1,307 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Result of validating a list of email addresses + */ +@ApiModel(description = "Result of validating a list of email addresses") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ValidateEmailAddressListResult { + public static final String SERIALIZED_NAME_VALID_EMAIL_ADDRESSES = "validEmailAddresses"; + @SerializedName(SERIALIZED_NAME_VALID_EMAIL_ADDRESSES) + private List validEmailAddresses = new ArrayList<>(); + + public static final String SERIALIZED_NAME_INVALID_EMAIL_ADDRESSES = "invalidEmailAddresses"; + @SerializedName(SERIALIZED_NAME_INVALID_EMAIL_ADDRESSES) + private List invalidEmailAddresses = new ArrayList<>(); + + public static final String SERIALIZED_NAME_RESULT_MAP_EMAIL_ADDRESS_IS_VALID = "resultMapEmailAddressIsValid"; + @SerializedName(SERIALIZED_NAME_RESULT_MAP_EMAIL_ADDRESS_IS_VALID) + private Map resultMapEmailAddressIsValid = new HashMap<>(); + + public ValidateEmailAddressListResult() { + } + + public ValidateEmailAddressListResult validEmailAddresses(List validEmailAddresses) { + + this.validEmailAddresses = validEmailAddresses; + return this; + } + + public ValidateEmailAddressListResult addValidEmailAddressesItem(String validEmailAddressesItem) { + this.validEmailAddresses.add(validEmailAddressesItem); + return this; + } + + /** + * Get validEmailAddresses + * @return validEmailAddresses + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getValidEmailAddresses() { + return validEmailAddresses; + } + + + public void setValidEmailAddresses(List validEmailAddresses) { + this.validEmailAddresses = validEmailAddresses; + } + + + public ValidateEmailAddressListResult invalidEmailAddresses(List invalidEmailAddresses) { + + this.invalidEmailAddresses = invalidEmailAddresses; + return this; + } + + public ValidateEmailAddressListResult addInvalidEmailAddressesItem(String invalidEmailAddressesItem) { + this.invalidEmailAddresses.add(invalidEmailAddressesItem); + return this; + } + + /** + * Get invalidEmailAddresses + * @return invalidEmailAddresses + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public List getInvalidEmailAddresses() { + return invalidEmailAddresses; + } + + + public void setInvalidEmailAddresses(List invalidEmailAddresses) { + this.invalidEmailAddresses = invalidEmailAddresses; + } + + + public ValidateEmailAddressListResult resultMapEmailAddressIsValid(Map resultMapEmailAddressIsValid) { + + this.resultMapEmailAddressIsValid = resultMapEmailAddressIsValid; + return this; + } + + public ValidateEmailAddressListResult putResultMapEmailAddressIsValidItem(String key, Boolean resultMapEmailAddressIsValidItem) { + this.resultMapEmailAddressIsValid.put(key, resultMapEmailAddressIsValidItem); + return this; + } + + /** + * Get resultMapEmailAddressIsValid + * @return resultMapEmailAddressIsValid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Map getResultMapEmailAddressIsValid() { + return resultMapEmailAddressIsValid; + } + + + public void setResultMapEmailAddressIsValid(Map resultMapEmailAddressIsValid) { + this.resultMapEmailAddressIsValid = resultMapEmailAddressIsValid; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ValidateEmailAddressListResult validateEmailAddressListResult = (ValidateEmailAddressListResult) o; + return Objects.equals(this.validEmailAddresses, validateEmailAddressListResult.validEmailAddresses) && + Objects.equals(this.invalidEmailAddresses, validateEmailAddressListResult.invalidEmailAddresses) && + Objects.equals(this.resultMapEmailAddressIsValid, validateEmailAddressListResult.resultMapEmailAddressIsValid); + } + + @Override + public int hashCode() { + return Objects.hash(validEmailAddresses, invalidEmailAddresses, resultMapEmailAddressIsValid); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ValidateEmailAddressListResult {\n"); + sb.append(" validEmailAddresses: ").append(toIndentedString(validEmailAddresses)).append("\n"); + sb.append(" invalidEmailAddresses: ").append(toIndentedString(invalidEmailAddresses)).append("\n"); + sb.append(" resultMapEmailAddressIsValid: ").append(toIndentedString(resultMapEmailAddressIsValid)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("validEmailAddresses"); + openapiFields.add("invalidEmailAddresses"); + openapiFields.add("resultMapEmailAddressIsValid"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("validEmailAddresses"); + openapiRequiredFields.add("invalidEmailAddresses"); + openapiRequiredFields.add("resultMapEmailAddressIsValid"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ValidateEmailAddressListResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ValidateEmailAddressListResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ValidateEmailAddressListResult is not found in the empty JSON string", ValidateEmailAddressListResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ValidateEmailAddressListResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ValidateEmailAddressListResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ValidateEmailAddressListResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the required json array is present + if (jsonObj.get("validEmailAddresses") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("validEmailAddresses").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `validEmailAddresses` to be an array in the JSON string but got `%s`", jsonObj.get("validEmailAddresses").toString())); + } + // ensure the required json array is present + if (jsonObj.get("invalidEmailAddresses") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("invalidEmailAddresses").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `invalidEmailAddresses` to be an array in the JSON string but got `%s`", jsonObj.get("invalidEmailAddresses").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ValidateEmailAddressListResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ValidateEmailAddressListResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ValidateEmailAddressListResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ValidateEmailAddressListResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ValidateEmailAddressListResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ValidateEmailAddressListResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of ValidateEmailAddressListResult + * @throws IOException if the JSON string is invalid with respect to ValidateEmailAddressListResult + */ + public static ValidateEmailAddressListResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ValidateEmailAddressListResult.class); + } + + /** + * Convert an instance of ValidateEmailAddressListResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ValidationDto.java b/src/main/java/com/mailslurp/models/ValidationDto.java new file mode 100644 index 000000000..1ee3392a2 --- /dev/null +++ b/src/main/java/com/mailslurp/models/ValidationDto.java @@ -0,0 +1,252 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.HTMLValidationResult; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Response object for email validation operation + */ +@ApiModel(description = "Response object for email validation operation") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ValidationDto { + public static final String SERIALIZED_NAME_EMAIL_ID = "emailId"; + @SerializedName(SERIALIZED_NAME_EMAIL_ID) + private UUID emailId; + + public static final String SERIALIZED_NAME_HTML = "html"; + @SerializedName(SERIALIZED_NAME_HTML) + private HTMLValidationResult html; + + public ValidationDto() { + } + + public ValidationDto emailId(UUID emailId) { + + this.emailId = emailId; + return this; + } + + /** + * ID of the email validated + * @return emailId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the email validated") + + public UUID getEmailId() { + return emailId; + } + + + public void setEmailId(UUID emailId) { + this.emailId = emailId; + } + + + public ValidationDto html(HTMLValidationResult html) { + + this.html = html; + return this; + } + + /** + * Get html + * @return html + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public HTMLValidationResult getHtml() { + return html; + } + + + public void setHtml(HTMLValidationResult html) { + this.html = html; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ValidationDto validationDto = (ValidationDto) o; + return Objects.equals(this.emailId, validationDto.emailId) && + Objects.equals(this.html, validationDto.html); + } + + @Override + public int hashCode() { + return Objects.hash(emailId, html); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ValidationDto {\n"); + sb.append(" emailId: ").append(toIndentedString(emailId)).append("\n"); + sb.append(" html: ").append(toIndentedString(html)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("emailId"); + openapiFields.add("html"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("emailId"); + openapiRequiredFields.add("html"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ValidationDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ValidationDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ValidationDto is not found in the empty JSON string", ValidationDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ValidationDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ValidationDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ValidationDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("emailId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailId").toString())); + } + // validate the required field `html` + HTMLValidationResult.validateJsonObject(jsonObj.getAsJsonObject("html")); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ValidationDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ValidationDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ValidationDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ValidationDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ValidationDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ValidationDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of ValidationDto + * @throws IOException if the JSON string is invalid with respect to ValidationDto + */ + public static ValidationDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ValidationDto.class); + } + + /** + * Convert an instance of ValidationDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/ValidationMessage.java b/src/main/java/com/mailslurp/models/ValidationMessage.java new file mode 100644 index 000000000..ee687770a --- /dev/null +++ b/src/main/java/com/mailslurp/models/ValidationMessage.java @@ -0,0 +1,247 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Optional warnings resulting from HTML validation + */ +@ApiModel(description = "Optional warnings resulting from HTML validation") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class ValidationMessage { + public static final String SERIALIZED_NAME_LINE_NUMBER = "lineNumber"; + @SerializedName(SERIALIZED_NAME_LINE_NUMBER) + private Integer lineNumber; + + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public ValidationMessage() { + } + + public ValidationMessage lineNumber(Integer lineNumber) { + + this.lineNumber = lineNumber; + return this; + } + + /** + * Get lineNumber + * @return lineNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Integer getLineNumber() { + return lineNumber; + } + + + public void setLineNumber(Integer lineNumber) { + this.lineNumber = lineNumber; + } + + + public ValidationMessage message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ValidationMessage validationMessage = (ValidationMessage) o; + return Objects.equals(this.lineNumber, validationMessage.lineNumber) && + Objects.equals(this.message, validationMessage.message); + } + + @Override + public int hashCode() { + return Objects.hash(lineNumber, message); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ValidationMessage {\n"); + sb.append(" lineNumber: ").append(toIndentedString(lineNumber)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("lineNumber"); + openapiFields.add("message"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("lineNumber"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ValidationMessage + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ValidationMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ValidationMessage is not found in the empty JSON string", ValidationMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!ValidationMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ValidationMessage` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ValidationMessage.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ValidationMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ValidationMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ValidationMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ValidationMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ValidationMessage read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ValidationMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of ValidationMessage + * @throws IOException if the JSON string is invalid with respect to ValidationMessage + */ + public static ValidationMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ValidationMessage.class); + } + + /** + * Convert an instance of ValidationMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/VerifyEmailAddressOptions.java b/src/main/java/com/mailslurp/models/VerifyEmailAddressOptions.java new file mode 100644 index 000000000..ef369cff0 --- /dev/null +++ b/src/main/java/com/mailslurp/models/VerifyEmailAddressOptions.java @@ -0,0 +1,325 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Options for verifying that an email address exists at a remote mail server. + */ +@ApiModel(description = "Options for verifying that an email address exists at a remote mail server.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class VerifyEmailAddressOptions { + public static final String SERIALIZED_NAME_MAIL_SERVER_DOMAIN = "mailServerDomain"; + @SerializedName(SERIALIZED_NAME_MAIL_SERVER_DOMAIN) + private String mailServerDomain; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "emailAddress"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + private String emailAddress; + + public static final String SERIALIZED_NAME_SENDER_EMAIL_ADDRESS = "senderEmailAddress"; + @SerializedName(SERIALIZED_NAME_SENDER_EMAIL_ADDRESS) + private String senderEmailAddress; + + public static final String SERIALIZED_NAME_PORT = "port"; + @SerializedName(SERIALIZED_NAME_PORT) + private Integer port; + + public VerifyEmailAddressOptions() { + } + + public VerifyEmailAddressOptions mailServerDomain(String mailServerDomain) { + + this.mailServerDomain = mailServerDomain; + return this; + } + + /** + * Get mailServerDomain + * @return mailServerDomain + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMailServerDomain() { + return mailServerDomain; + } + + + public void setMailServerDomain(String mailServerDomain) { + this.mailServerDomain = mailServerDomain; + } + + + public VerifyEmailAddressOptions emailAddress(String emailAddress) { + + this.emailAddress = emailAddress; + return this; + } + + /** + * Get emailAddress + * @return emailAddress + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getEmailAddress() { + return emailAddress; + } + + + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + + public VerifyEmailAddressOptions senderEmailAddress(String senderEmailAddress) { + + this.senderEmailAddress = senderEmailAddress; + return this; + } + + /** + * Get senderEmailAddress + * @return senderEmailAddress + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSenderEmailAddress() { + return senderEmailAddress; + } + + + public void setSenderEmailAddress(String senderEmailAddress) { + this.senderEmailAddress = senderEmailAddress; + } + + + public VerifyEmailAddressOptions port(Integer port) { + + this.port = port; + return this; + } + + /** + * Get port + * @return port + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getPort() { + return port; + } + + + public void setPort(Integer port) { + this.port = port; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VerifyEmailAddressOptions verifyEmailAddressOptions = (VerifyEmailAddressOptions) o; + return Objects.equals(this.mailServerDomain, verifyEmailAddressOptions.mailServerDomain) && + Objects.equals(this.emailAddress, verifyEmailAddressOptions.emailAddress) && + Objects.equals(this.senderEmailAddress, verifyEmailAddressOptions.senderEmailAddress) && + Objects.equals(this.port, verifyEmailAddressOptions.port); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(mailServerDomain, emailAddress, senderEmailAddress, port); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class VerifyEmailAddressOptions {\n"); + sb.append(" mailServerDomain: ").append(toIndentedString(mailServerDomain)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" senderEmailAddress: ").append(toIndentedString(senderEmailAddress)).append("\n"); + sb.append(" port: ").append(toIndentedString(port)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("mailServerDomain"); + openapiFields.add("emailAddress"); + openapiFields.add("senderEmailAddress"); + openapiFields.add("port"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("emailAddress"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to VerifyEmailAddressOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!VerifyEmailAddressOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in VerifyEmailAddressOptions is not found in the empty JSON string", VerifyEmailAddressOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!VerifyEmailAddressOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `VerifyEmailAddressOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : VerifyEmailAddressOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("mailServerDomain") != null && !jsonObj.get("mailServerDomain").isJsonNull()) && !jsonObj.get("mailServerDomain").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `mailServerDomain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("mailServerDomain").toString())); + } + if (!jsonObj.get("emailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailAddress").toString())); + } + if ((jsonObj.get("senderEmailAddress") != null && !jsonObj.get("senderEmailAddress").isJsonNull()) && !jsonObj.get("senderEmailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `senderEmailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("senderEmailAddress").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!VerifyEmailAddressOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'VerifyEmailAddressOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(VerifyEmailAddressOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, VerifyEmailAddressOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public VerifyEmailAddressOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of VerifyEmailAddressOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of VerifyEmailAddressOptions + * @throws IOException if the JSON string is invalid with respect to VerifyEmailAddressOptions + */ + public static VerifyEmailAddressOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, VerifyEmailAddressOptions.class); + } + + /** + * Convert an instance of VerifyEmailAddressOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/VerifyWebhookSignatureOptions.java b/src/main/java/com/mailslurp/models/VerifyWebhookSignatureOptions.java new file mode 100644 index 000000000..e30152656 --- /dev/null +++ b/src/main/java/com/mailslurp/models/VerifyWebhookSignatureOptions.java @@ -0,0 +1,250 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * VerifyWebhookSignatureOptions + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class VerifyWebhookSignatureOptions { + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_SIGNATURE = "signature"; + @SerializedName(SERIALIZED_NAME_SIGNATURE) + private String signature; + + public VerifyWebhookSignatureOptions() { + } + + public VerifyWebhookSignatureOptions messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Get messageId + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public VerifyWebhookSignatureOptions signature(String signature) { + + this.signature = signature; + return this; + } + + /** + * Get signature + * @return signature + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getSignature() { + return signature; + } + + + public void setSignature(String signature) { + this.signature = signature; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VerifyWebhookSignatureOptions verifyWebhookSignatureOptions = (VerifyWebhookSignatureOptions) o; + return Objects.equals(this.messageId, verifyWebhookSignatureOptions.messageId) && + Objects.equals(this.signature, verifyWebhookSignatureOptions.signature); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, signature); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class VerifyWebhookSignatureOptions {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" signature: ").append(toIndentedString(signature)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("messageId"); + openapiFields.add("signature"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("signature"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to VerifyWebhookSignatureOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!VerifyWebhookSignatureOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in VerifyWebhookSignatureOptions is not found in the empty JSON string", VerifyWebhookSignatureOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!VerifyWebhookSignatureOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `VerifyWebhookSignatureOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : VerifyWebhookSignatureOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if (!jsonObj.get("signature").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `signature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("signature").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!VerifyWebhookSignatureOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'VerifyWebhookSignatureOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(VerifyWebhookSignatureOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, VerifyWebhookSignatureOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public VerifyWebhookSignatureOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of VerifyWebhookSignatureOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of VerifyWebhookSignatureOptions + * @throws IOException if the JSON string is invalid with respect to VerifyWebhookSignatureOptions + */ + public static VerifyWebhookSignatureOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, VerifyWebhookSignatureOptions.class); + } + + /** + * Convert an instance of VerifyWebhookSignatureOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/VerifyWebhookSignatureResults.java b/src/main/java/com/mailslurp/models/VerifyWebhookSignatureResults.java new file mode 100644 index 000000000..9d7df06b8 --- /dev/null +++ b/src/main/java/com/mailslurp/models/VerifyWebhookSignatureResults.java @@ -0,0 +1,213 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * VerifyWebhookSignatureResults + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class VerifyWebhookSignatureResults { + public static final String SERIALIZED_NAME_IS_VALID = "isValid"; + @SerializedName(SERIALIZED_NAME_IS_VALID) + private Boolean isValid; + + public VerifyWebhookSignatureResults() { + } + + public VerifyWebhookSignatureResults isValid(Boolean isValid) { + + this.isValid = isValid; + return this; + } + + /** + * Get isValid + * @return isValid + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getIsValid() { + return isValid; + } + + + public void setIsValid(Boolean isValid) { + this.isValid = isValid; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VerifyWebhookSignatureResults verifyWebhookSignatureResults = (VerifyWebhookSignatureResults) o; + return Objects.equals(this.isValid, verifyWebhookSignatureResults.isValid); + } + + @Override + public int hashCode() { + return Objects.hash(isValid); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class VerifyWebhookSignatureResults {\n"); + sb.append(" isValid: ").append(toIndentedString(isValid)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("isValid"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("isValid"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to VerifyWebhookSignatureResults + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!VerifyWebhookSignatureResults.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in VerifyWebhookSignatureResults is not found in the empty JSON string", VerifyWebhookSignatureResults.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!VerifyWebhookSignatureResults.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `VerifyWebhookSignatureResults` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : VerifyWebhookSignatureResults.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!VerifyWebhookSignatureResults.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'VerifyWebhookSignatureResults' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(VerifyWebhookSignatureResults.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, VerifyWebhookSignatureResults value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public VerifyWebhookSignatureResults read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of VerifyWebhookSignatureResults given an JSON string + * + * @param jsonString JSON string + * @return An instance of VerifyWebhookSignatureResults + * @throws IOException if the JSON string is invalid with respect to VerifyWebhookSignatureResults + */ + public static VerifyWebhookSignatureResults fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, VerifyWebhookSignatureResults.class); + } + + /** + * Convert an instance of VerifyWebhookSignatureResults to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WaitForConditions.java b/src/main/java/com/mailslurp/models/WaitForConditions.java new file mode 100644 index 000000000..fa2a7f31a --- /dev/null +++ b/src/main/java/com/mailslurp/models/WaitForConditions.java @@ -0,0 +1,627 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.MatchOption; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Conditions to apply to emails that you are waiting for + */ +@ApiModel(description = "Conditions to apply to emails that you are waiting for") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WaitForConditions { + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_COUNT = "count"; + @SerializedName(SERIALIZED_NAME_COUNT) + private Integer count; + + public static final String SERIALIZED_NAME_DELAY_TIMEOUT = "delayTimeout"; + @SerializedName(SERIALIZED_NAME_DELAY_TIMEOUT) + private Long delayTimeout; + + public static final String SERIALIZED_NAME_TIMEOUT = "timeout"; + @SerializedName(SERIALIZED_NAME_TIMEOUT) + private Long timeout; + + public static final String SERIALIZED_NAME_UNREAD_ONLY = "unreadOnly"; + @SerializedName(SERIALIZED_NAME_UNREAD_ONLY) + private Boolean unreadOnly; + + /** + * How result size should be compared with the expected size. Exactly or at-least matching result? + */ + @JsonAdapter(CountTypeEnum.Adapter.class) + public enum CountTypeEnum { + EXACTLY("EXACTLY"), + + ATLEAST("ATLEAST"); + + private String value; + + CountTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CountTypeEnum fromValue(String value) { + for (CountTypeEnum b : CountTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CountTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CountTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CountTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_COUNT_TYPE = "countType"; + @SerializedName(SERIALIZED_NAME_COUNT_TYPE) + private CountTypeEnum countType; + + public static final String SERIALIZED_NAME_MATCHES = "matches"; + @SerializedName(SERIALIZED_NAME_MATCHES) + private List matches = null; + + /** + * Direction to sort matching emails by created time + */ + @JsonAdapter(SortDirectionEnum.Adapter.class) + public enum SortDirectionEnum { + ASC("ASC"), + + DESC("DESC"); + + private String value; + + SortDirectionEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SortDirectionEnum fromValue(String value) { + for (SortDirectionEnum b : SortDirectionEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SortDirectionEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SortDirectionEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SortDirectionEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SORT_DIRECTION = "sortDirection"; + @SerializedName(SERIALIZED_NAME_SORT_DIRECTION) + private SortDirectionEnum sortDirection; + + public static final String SERIALIZED_NAME_SINCE = "since"; + @SerializedName(SERIALIZED_NAME_SINCE) + private OffsetDateTime since; + + public static final String SERIALIZED_NAME_BEFORE = "before"; + @SerializedName(SERIALIZED_NAME_BEFORE) + private OffsetDateTime before; + + public WaitForConditions() { + } + + public WaitForConditions inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * ID of inbox to search within and apply conditions to. Essentially filtering the emails found to give a count. + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of inbox to search within and apply conditions to. Essentially filtering the emails found to give a count.") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public WaitForConditions count(Integer count) { + + this.count = count; + return this; + } + + /** + * Number of results that should match conditions. Either exactly or at least this amount based on the `countType`. If count condition is not met and the timeout has not been reached the `waitFor` method will retry the operation. + * @return count + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Number of results that should match conditions. Either exactly or at least this amount based on the `countType`. If count condition is not met and the timeout has not been reached the `waitFor` method will retry the operation.") + + public Integer getCount() { + return count; + } + + + public void setCount(Integer count) { + this.count = count; + } + + + public WaitForConditions delayTimeout(Long delayTimeout) { + + this.delayTimeout = delayTimeout; + return this; + } + + /** + * Max time in milliseconds to wait between retries if a `timeout` is specified. + * @return delayTimeout + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Max time in milliseconds to wait between retries if a `timeout` is specified.") + + public Long getDelayTimeout() { + return delayTimeout; + } + + + public void setDelayTimeout(Long delayTimeout) { + this.delayTimeout = delayTimeout; + } + + + public WaitForConditions timeout(Long timeout) { + + this.timeout = timeout; + return this; + } + + /** + * Max time in milliseconds to retry the `waitFor` operation until conditions are met. + * @return timeout + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Max time in milliseconds to retry the `waitFor` operation until conditions are met.") + + public Long getTimeout() { + return timeout; + } + + + public void setTimeout(Long timeout) { + this.timeout = timeout; + } + + + public WaitForConditions unreadOnly(Boolean unreadOnly) { + + this.unreadOnly = unreadOnly; + return this; + } + + /** + * Apply conditions only to **unread** emails. All emails begin with `read=false`. An email is marked `read=true` when an `EmailDto` representation of it has been returned to the user at least once. For example you have called `getEmail` or `waitForLatestEmail` etc., or you have viewed the email in the dashboard. + * @return unreadOnly + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Apply conditions only to **unread** emails. All emails begin with `read=false`. An email is marked `read=true` when an `EmailDto` representation of it has been returned to the user at least once. For example you have called `getEmail` or `waitForLatestEmail` etc., or you have viewed the email in the dashboard.") + + public Boolean getUnreadOnly() { + return unreadOnly; + } + + + public void setUnreadOnly(Boolean unreadOnly) { + this.unreadOnly = unreadOnly; + } + + + public WaitForConditions countType(CountTypeEnum countType) { + + this.countType = countType; + return this; + } + + /** + * How result size should be compared with the expected size. Exactly or at-least matching result? + * @return countType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "How result size should be compared with the expected size. Exactly or at-least matching result?") + + public CountTypeEnum getCountType() { + return countType; + } + + + public void setCountType(CountTypeEnum countType) { + this.countType = countType; + } + + + public WaitForConditions matches(List matches) { + + this.matches = matches; + return this; + } + + public WaitForConditions addMatchesItem(MatchOption matchesItem) { + if (this.matches == null) { + this.matches = new ArrayList<>(); + } + this.matches.add(matchesItem); + return this; + } + + /** + * Conditions that should be matched for an email to qualify for results. Each condition will be applied in order to each email within an inbox to filter a result list of matching emails you are waiting for. + * @return matches + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Conditions that should be matched for an email to qualify for results. Each condition will be applied in order to each email within an inbox to filter a result list of matching emails you are waiting for.") + + public List getMatches() { + return matches; + } + + + public void setMatches(List matches) { + this.matches = matches; + } + + + public WaitForConditions sortDirection(SortDirectionEnum sortDirection) { + + this.sortDirection = sortDirection; + return this; + } + + /** + * Direction to sort matching emails by created time + * @return sortDirection + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Direction to sort matching emails by created time") + + public SortDirectionEnum getSortDirection() { + return sortDirection; + } + + + public void setSortDirection(SortDirectionEnum sortDirection) { + this.sortDirection = sortDirection; + } + + + public WaitForConditions since(OffsetDateTime since) { + + this.since = since; + return this; + } + + /** + * ISO Date Time earliest time of email to consider. Filter for matching emails that were received after this date + * @return since + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ISO Date Time earliest time of email to consider. Filter for matching emails that were received after this date") + + public OffsetDateTime getSince() { + return since; + } + + + public void setSince(OffsetDateTime since) { + this.since = since; + } + + + public WaitForConditions before(OffsetDateTime before) { + + this.before = before; + return this; + } + + /** + * ISO Date Time latest time of email to consider. Filter for matching emails that were received before this date + * @return before + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ISO Date Time latest time of email to consider. Filter for matching emails that were received before this date") + + public OffsetDateTime getBefore() { + return before; + } + + + public void setBefore(OffsetDateTime before) { + this.before = before; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WaitForConditions waitForConditions = (WaitForConditions) o; + return Objects.equals(this.inboxId, waitForConditions.inboxId) && + Objects.equals(this.count, waitForConditions.count) && + Objects.equals(this.delayTimeout, waitForConditions.delayTimeout) && + Objects.equals(this.timeout, waitForConditions.timeout) && + Objects.equals(this.unreadOnly, waitForConditions.unreadOnly) && + Objects.equals(this.countType, waitForConditions.countType) && + Objects.equals(this.matches, waitForConditions.matches) && + Objects.equals(this.sortDirection, waitForConditions.sortDirection) && + Objects.equals(this.since, waitForConditions.since) && + Objects.equals(this.before, waitForConditions.before); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(inboxId, count, delayTimeout, timeout, unreadOnly, countType, matches, sortDirection, since, before); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WaitForConditions {\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" count: ").append(toIndentedString(count)).append("\n"); + sb.append(" delayTimeout: ").append(toIndentedString(delayTimeout)).append("\n"); + sb.append(" timeout: ").append(toIndentedString(timeout)).append("\n"); + sb.append(" unreadOnly: ").append(toIndentedString(unreadOnly)).append("\n"); + sb.append(" countType: ").append(toIndentedString(countType)).append("\n"); + sb.append(" matches: ").append(toIndentedString(matches)).append("\n"); + sb.append(" sortDirection: ").append(toIndentedString(sortDirection)).append("\n"); + sb.append(" since: ").append(toIndentedString(since)).append("\n"); + sb.append(" before: ").append(toIndentedString(before)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("inboxId"); + openapiFields.add("count"); + openapiFields.add("delayTimeout"); + openapiFields.add("timeout"); + openapiFields.add("unreadOnly"); + openapiFields.add("countType"); + openapiFields.add("matches"); + openapiFields.add("sortDirection"); + openapiFields.add("since"); + openapiFields.add("before"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("timeout"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WaitForConditions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WaitForConditions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WaitForConditions is not found in the empty JSON string", WaitForConditions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WaitForConditions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WaitForConditions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WaitForConditions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("countType") != null && !jsonObj.get("countType").isJsonNull()) && !jsonObj.get("countType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `countType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countType").toString())); + } + if (jsonObj.get("matches") != null && !jsonObj.get("matches").isJsonNull()) { + JsonArray jsonArraymatches = jsonObj.getAsJsonArray("matches"); + if (jsonArraymatches != null) { + // ensure the json data is an array + if (!jsonObj.get("matches").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `matches` to be an array in the JSON string but got `%s`", jsonObj.get("matches").toString())); + } + + // validate the optional field `matches` (array) + for (int i = 0; i < jsonArraymatches.size(); i++) { + MatchOption.validateJsonObject(jsonArraymatches.get(i).getAsJsonObject()); + }; + } + } + if ((jsonObj.get("sortDirection") != null && !jsonObj.get("sortDirection").isJsonNull()) && !jsonObj.get("sortDirection").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sortDirection` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sortDirection").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WaitForConditions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WaitForConditions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WaitForConditions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WaitForConditions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WaitForConditions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WaitForConditions given an JSON string + * + * @param jsonString JSON string + * @return An instance of WaitForConditions + * @throws IOException if the JSON string is invalid with respect to WaitForConditions + */ + public static WaitForConditions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WaitForConditions.class); + } + + /** + * Convert an instance of WaitForConditions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WaitForSingleSmsOptions.java b/src/main/java/com/mailslurp/models/WaitForSingleSmsOptions.java new file mode 100644 index 000000000..64c739f00 --- /dev/null +++ b/src/main/java/com/mailslurp/models/WaitForSingleSmsOptions.java @@ -0,0 +1,449 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * WaitForSingleSmsOptions + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WaitForSingleSmsOptions { + public static final String SERIALIZED_NAME_PHONE_NUMBER_ID = "phoneNumberId"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER_ID) + private UUID phoneNumberId; + + public static final String SERIALIZED_NAME_TIMEOUT = "timeout"; + @SerializedName(SERIALIZED_NAME_TIMEOUT) + private Long timeout; + + public static final String SERIALIZED_NAME_UNREAD_ONLY = "unreadOnly"; + @SerializedName(SERIALIZED_NAME_UNREAD_ONLY) + private Boolean unreadOnly; + + public static final String SERIALIZED_NAME_BEFORE = "before"; + @SerializedName(SERIALIZED_NAME_BEFORE) + private OffsetDateTime before; + + public static final String SERIALIZED_NAME_SINCE = "since"; + @SerializedName(SERIALIZED_NAME_SINCE) + private OffsetDateTime since; + + /** + * Gets or Sets sortDirection + */ + @JsonAdapter(SortDirectionEnum.Adapter.class) + public enum SortDirectionEnum { + ASC("ASC"), + + DESC("DESC"); + + private String value; + + SortDirectionEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SortDirectionEnum fromValue(String value) { + for (SortDirectionEnum b : SortDirectionEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SortDirectionEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SortDirectionEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SortDirectionEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SORT_DIRECTION = "sortDirection"; + @SerializedName(SERIALIZED_NAME_SORT_DIRECTION) + private SortDirectionEnum sortDirection; + + public static final String SERIALIZED_NAME_DELAY = "delay"; + @SerializedName(SERIALIZED_NAME_DELAY) + private Long delay; + + public WaitForSingleSmsOptions() { + } + + public WaitForSingleSmsOptions phoneNumberId(UUID phoneNumberId) { + + this.phoneNumberId = phoneNumberId; + return this; + } + + /** + * Get phoneNumberId + * @return phoneNumberId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getPhoneNumberId() { + return phoneNumberId; + } + + + public void setPhoneNumberId(UUID phoneNumberId) { + this.phoneNumberId = phoneNumberId; + } + + + public WaitForSingleSmsOptions timeout(Long timeout) { + + this.timeout = timeout; + return this; + } + + /** + * Get timeout + * @return timeout + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Long getTimeout() { + return timeout; + } + + + public void setTimeout(Long timeout) { + this.timeout = timeout; + } + + + public WaitForSingleSmsOptions unreadOnly(Boolean unreadOnly) { + + this.unreadOnly = unreadOnly; + return this; + } + + /** + * Get unreadOnly + * @return unreadOnly + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getUnreadOnly() { + return unreadOnly; + } + + + public void setUnreadOnly(Boolean unreadOnly) { + this.unreadOnly = unreadOnly; + } + + + public WaitForSingleSmsOptions before(OffsetDateTime before) { + + this.before = before; + return this; + } + + /** + * Get before + * @return before + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getBefore() { + return before; + } + + + public void setBefore(OffsetDateTime before) { + this.before = before; + } + + + public WaitForSingleSmsOptions since(OffsetDateTime since) { + + this.since = since; + return this; + } + + /** + * Get since + * @return since + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getSince() { + return since; + } + + + public void setSince(OffsetDateTime since) { + this.since = since; + } + + + public WaitForSingleSmsOptions sortDirection(SortDirectionEnum sortDirection) { + + this.sortDirection = sortDirection; + return this; + } + + /** + * Get sortDirection + * @return sortDirection + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public SortDirectionEnum getSortDirection() { + return sortDirection; + } + + + public void setSortDirection(SortDirectionEnum sortDirection) { + this.sortDirection = sortDirection; + } + + + public WaitForSingleSmsOptions delay(Long delay) { + + this.delay = delay; + return this; + } + + /** + * Get delay + * @return delay + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getDelay() { + return delay; + } + + + public void setDelay(Long delay) { + this.delay = delay; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WaitForSingleSmsOptions waitForSingleSmsOptions = (WaitForSingleSmsOptions) o; + return Objects.equals(this.phoneNumberId, waitForSingleSmsOptions.phoneNumberId) && + Objects.equals(this.timeout, waitForSingleSmsOptions.timeout) && + Objects.equals(this.unreadOnly, waitForSingleSmsOptions.unreadOnly) && + Objects.equals(this.before, waitForSingleSmsOptions.before) && + Objects.equals(this.since, waitForSingleSmsOptions.since) && + Objects.equals(this.sortDirection, waitForSingleSmsOptions.sortDirection) && + Objects.equals(this.delay, waitForSingleSmsOptions.delay); + } + + @Override + public int hashCode() { + return Objects.hash(phoneNumberId, timeout, unreadOnly, before, since, sortDirection, delay); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WaitForSingleSmsOptions {\n"); + sb.append(" phoneNumberId: ").append(toIndentedString(phoneNumberId)).append("\n"); + sb.append(" timeout: ").append(toIndentedString(timeout)).append("\n"); + sb.append(" unreadOnly: ").append(toIndentedString(unreadOnly)).append("\n"); + sb.append(" before: ").append(toIndentedString(before)).append("\n"); + sb.append(" since: ").append(toIndentedString(since)).append("\n"); + sb.append(" sortDirection: ").append(toIndentedString(sortDirection)).append("\n"); + sb.append(" delay: ").append(toIndentedString(delay)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("phoneNumberId"); + openapiFields.add("timeout"); + openapiFields.add("unreadOnly"); + openapiFields.add("before"); + openapiFields.add("since"); + openapiFields.add("sortDirection"); + openapiFields.add("delay"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("phoneNumberId"); + openapiRequiredFields.add("timeout"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WaitForSingleSmsOptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WaitForSingleSmsOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WaitForSingleSmsOptions is not found in the empty JSON string", WaitForSingleSmsOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WaitForSingleSmsOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WaitForSingleSmsOptions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WaitForSingleSmsOptions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("phoneNumberId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumberId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumberId").toString())); + } + if ((jsonObj.get("sortDirection") != null && !jsonObj.get("sortDirection").isJsonNull()) && !jsonObj.get("sortDirection").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sortDirection` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sortDirection").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WaitForSingleSmsOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WaitForSingleSmsOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WaitForSingleSmsOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WaitForSingleSmsOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WaitForSingleSmsOptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WaitForSingleSmsOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of WaitForSingleSmsOptions + * @throws IOException if the JSON string is invalid with respect to WaitForSingleSmsOptions + */ + public static WaitForSingleSmsOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WaitForSingleSmsOptions.class); + } + + /** + * Convert an instance of WaitForSingleSmsOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WaitForSmsConditions.java b/src/main/java/com/mailslurp/models/WaitForSmsConditions.java new file mode 100644 index 000000000..7af4c362a --- /dev/null +++ b/src/main/java/com/mailslurp/models/WaitForSmsConditions.java @@ -0,0 +1,658 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.SmsMatchOption; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Conditions to apply to emails that you are waiting for + */ +@ApiModel(description = "Conditions to apply to emails that you are waiting for") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WaitForSmsConditions { + public static final String SERIALIZED_NAME_PHONE_NUMBER_ID = "phoneNumberId"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER_ID) + private UUID phoneNumberId; + + public static final String SERIALIZED_NAME_LIMIT = "limit"; + @SerializedName(SERIALIZED_NAME_LIMIT) + private Integer limit; + + public static final String SERIALIZED_NAME_COUNT = "count"; + @SerializedName(SERIALIZED_NAME_COUNT) + private Long count; + + public static final String SERIALIZED_NAME_DELAY_TIMEOUT = "delayTimeout"; + @SerializedName(SERIALIZED_NAME_DELAY_TIMEOUT) + private Long delayTimeout; + + public static final String SERIALIZED_NAME_TIMEOUT = "timeout"; + @SerializedName(SERIALIZED_NAME_TIMEOUT) + private Long timeout; + + public static final String SERIALIZED_NAME_UNREAD_ONLY = "unreadOnly"; + @SerializedName(SERIALIZED_NAME_UNREAD_ONLY) + private Boolean unreadOnly; + + /** + * How result size should be compared with the expected size. Exactly or at-least matching result? + */ + @JsonAdapter(CountTypeEnum.Adapter.class) + public enum CountTypeEnum { + EXACTLY("EXACTLY"), + + ATLEAST("ATLEAST"); + + private String value; + + CountTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CountTypeEnum fromValue(String value) { + for (CountTypeEnum b : CountTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CountTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CountTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CountTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_COUNT_TYPE = "countType"; + @SerializedName(SERIALIZED_NAME_COUNT_TYPE) + private CountTypeEnum countType; + + public static final String SERIALIZED_NAME_MATCHES = "matches"; + @SerializedName(SERIALIZED_NAME_MATCHES) + private List matches = null; + + /** + * Direction to sort matching SMSs by created time + */ + @JsonAdapter(SortDirectionEnum.Adapter.class) + public enum SortDirectionEnum { + ASC("ASC"), + + DESC("DESC"); + + private String value; + + SortDirectionEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static SortDirectionEnum fromValue(String value) { + for (SortDirectionEnum b : SortDirectionEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final SortDirectionEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public SortDirectionEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return SortDirectionEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SORT_DIRECTION = "sortDirection"; + @SerializedName(SERIALIZED_NAME_SORT_DIRECTION) + private SortDirectionEnum sortDirection; + + public static final String SERIALIZED_NAME_SINCE = "since"; + @SerializedName(SERIALIZED_NAME_SINCE) + private OffsetDateTime since; + + public static final String SERIALIZED_NAME_BEFORE = "before"; + @SerializedName(SERIALIZED_NAME_BEFORE) + private OffsetDateTime before; + + public WaitForSmsConditions() { + } + + public WaitForSmsConditions phoneNumberId(UUID phoneNumberId) { + + this.phoneNumberId = phoneNumberId; + return this; + } + + /** + * ID of phone number to search within and apply conditions to. Essentially filtering the SMS found to give a count. + * @return phoneNumberId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of phone number to search within and apply conditions to. Essentially filtering the SMS found to give a count.") + + public UUID getPhoneNumberId() { + return phoneNumberId; + } + + + public void setPhoneNumberId(UUID phoneNumberId) { + this.phoneNumberId = phoneNumberId; + } + + + public WaitForSmsConditions limit(Integer limit) { + + this.limit = limit; + return this; + } + + /** + * Limit results + * @return limit + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Limit results") + + public Integer getLimit() { + return limit; + } + + + public void setLimit(Integer limit) { + this.limit = limit; + } + + + public WaitForSmsConditions count(Long count) { + + this.count = count; + return this; + } + + /** + * Number of results that should match conditions. Either exactly or at least this amount based on the `countType`. If count condition is not met and the timeout has not been reached the `waitFor` method will retry the operation. + * @return count + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Number of results that should match conditions. Either exactly or at least this amount based on the `countType`. If count condition is not met and the timeout has not been reached the `waitFor` method will retry the operation.") + + public Long getCount() { + return count; + } + + + public void setCount(Long count) { + this.count = count; + } + + + public WaitForSmsConditions delayTimeout(Long delayTimeout) { + + this.delayTimeout = delayTimeout; + return this; + } + + /** + * Max time in milliseconds to wait between retries if a `timeout` is specified. + * @return delayTimeout + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Max time in milliseconds to wait between retries if a `timeout` is specified.") + + public Long getDelayTimeout() { + return delayTimeout; + } + + + public void setDelayTimeout(Long delayTimeout) { + this.delayTimeout = delayTimeout; + } + + + public WaitForSmsConditions timeout(Long timeout) { + + this.timeout = timeout; + return this; + } + + /** + * Max time in milliseconds to retry the `waitFor` operation until conditions are met. + * @return timeout + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Max time in milliseconds to retry the `waitFor` operation until conditions are met.") + + public Long getTimeout() { + return timeout; + } + + + public void setTimeout(Long timeout) { + this.timeout = timeout; + } + + + public WaitForSmsConditions unreadOnly(Boolean unreadOnly) { + + this.unreadOnly = unreadOnly; + return this; + } + + /** + * Apply conditions only to **unread** SMS. All SMS messages begin with `read=false`. An SMS is marked `read=true` when an `SMS` has been returned to the user at least once. For example you have called `getSms` or `waitForSms` etc., or you have viewed the SMS in the dashboard. + * @return unreadOnly + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Apply conditions only to **unread** SMS. All SMS messages begin with `read=false`. An SMS is marked `read=true` when an `SMS` has been returned to the user at least once. For example you have called `getSms` or `waitForSms` etc., or you have viewed the SMS in the dashboard.") + + public Boolean getUnreadOnly() { + return unreadOnly; + } + + + public void setUnreadOnly(Boolean unreadOnly) { + this.unreadOnly = unreadOnly; + } + + + public WaitForSmsConditions countType(CountTypeEnum countType) { + + this.countType = countType; + return this; + } + + /** + * How result size should be compared with the expected size. Exactly or at-least matching result? + * @return countType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "How result size should be compared with the expected size. Exactly or at-least matching result?") + + public CountTypeEnum getCountType() { + return countType; + } + + + public void setCountType(CountTypeEnum countType) { + this.countType = countType; + } + + + public WaitForSmsConditions matches(List matches) { + + this.matches = matches; + return this; + } + + public WaitForSmsConditions addMatchesItem(SmsMatchOption matchesItem) { + if (this.matches == null) { + this.matches = new ArrayList<>(); + } + this.matches.add(matchesItem); + return this; + } + + /** + * Conditions that should be matched for an SMS to qualify for results. Each condition will be applied in order to each SMS within a phone number to filter a result list of matching SMSs you are waiting for. + * @return matches + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Conditions that should be matched for an SMS to qualify for results. Each condition will be applied in order to each SMS within a phone number to filter a result list of matching SMSs you are waiting for.") + + public List getMatches() { + return matches; + } + + + public void setMatches(List matches) { + this.matches = matches; + } + + + public WaitForSmsConditions sortDirection(SortDirectionEnum sortDirection) { + + this.sortDirection = sortDirection; + return this; + } + + /** + * Direction to sort matching SMSs by created time + * @return sortDirection + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Direction to sort matching SMSs by created time") + + public SortDirectionEnum getSortDirection() { + return sortDirection; + } + + + public void setSortDirection(SortDirectionEnum sortDirection) { + this.sortDirection = sortDirection; + } + + + public WaitForSmsConditions since(OffsetDateTime since) { + + this.since = since; + return this; + } + + /** + * ISO Date Time earliest time of SMS to consider. Filter for matching SMSs that were received after this date + * @return since + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ISO Date Time earliest time of SMS to consider. Filter for matching SMSs that were received after this date") + + public OffsetDateTime getSince() { + return since; + } + + + public void setSince(OffsetDateTime since) { + this.since = since; + } + + + public WaitForSmsConditions before(OffsetDateTime before) { + + this.before = before; + return this; + } + + /** + * ISO Date Time latest time of SMS to consider. Filter for matching SMSs that were received before this date + * @return before + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ISO Date Time latest time of SMS to consider. Filter for matching SMSs that were received before this date") + + public OffsetDateTime getBefore() { + return before; + } + + + public void setBefore(OffsetDateTime before) { + this.before = before; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WaitForSmsConditions waitForSmsConditions = (WaitForSmsConditions) o; + return Objects.equals(this.phoneNumberId, waitForSmsConditions.phoneNumberId) && + Objects.equals(this.limit, waitForSmsConditions.limit) && + Objects.equals(this.count, waitForSmsConditions.count) && + Objects.equals(this.delayTimeout, waitForSmsConditions.delayTimeout) && + Objects.equals(this.timeout, waitForSmsConditions.timeout) && + Objects.equals(this.unreadOnly, waitForSmsConditions.unreadOnly) && + Objects.equals(this.countType, waitForSmsConditions.countType) && + Objects.equals(this.matches, waitForSmsConditions.matches) && + Objects.equals(this.sortDirection, waitForSmsConditions.sortDirection) && + Objects.equals(this.since, waitForSmsConditions.since) && + Objects.equals(this.before, waitForSmsConditions.before); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(phoneNumberId, limit, count, delayTimeout, timeout, unreadOnly, countType, matches, sortDirection, since, before); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WaitForSmsConditions {\n"); + sb.append(" phoneNumberId: ").append(toIndentedString(phoneNumberId)).append("\n"); + sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + sb.append(" count: ").append(toIndentedString(count)).append("\n"); + sb.append(" delayTimeout: ").append(toIndentedString(delayTimeout)).append("\n"); + sb.append(" timeout: ").append(toIndentedString(timeout)).append("\n"); + sb.append(" unreadOnly: ").append(toIndentedString(unreadOnly)).append("\n"); + sb.append(" countType: ").append(toIndentedString(countType)).append("\n"); + sb.append(" matches: ").append(toIndentedString(matches)).append("\n"); + sb.append(" sortDirection: ").append(toIndentedString(sortDirection)).append("\n"); + sb.append(" since: ").append(toIndentedString(since)).append("\n"); + sb.append(" before: ").append(toIndentedString(before)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("phoneNumberId"); + openapiFields.add("limit"); + openapiFields.add("count"); + openapiFields.add("delayTimeout"); + openapiFields.add("timeout"); + openapiFields.add("unreadOnly"); + openapiFields.add("countType"); + openapiFields.add("matches"); + openapiFields.add("sortDirection"); + openapiFields.add("since"); + openapiFields.add("before"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("phoneNumberId"); + openapiRequiredFields.add("count"); + openapiRequiredFields.add("timeout"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WaitForSmsConditions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WaitForSmsConditions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WaitForSmsConditions is not found in the empty JSON string", WaitForSmsConditions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WaitForSmsConditions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WaitForSmsConditions` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WaitForSmsConditions.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("phoneNumberId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumberId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumberId").toString())); + } + if ((jsonObj.get("countType") != null && !jsonObj.get("countType").isJsonNull()) && !jsonObj.get("countType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `countType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countType").toString())); + } + if (jsonObj.get("matches") != null && !jsonObj.get("matches").isJsonNull()) { + JsonArray jsonArraymatches = jsonObj.getAsJsonArray("matches"); + if (jsonArraymatches != null) { + // ensure the json data is an array + if (!jsonObj.get("matches").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `matches` to be an array in the JSON string but got `%s`", jsonObj.get("matches").toString())); + } + + // validate the optional field `matches` (array) + for (int i = 0; i < jsonArraymatches.size(); i++) { + SmsMatchOption.validateJsonObject(jsonArraymatches.get(i).getAsJsonObject()); + }; + } + } + if ((jsonObj.get("sortDirection") != null && !jsonObj.get("sortDirection").isJsonNull()) && !jsonObj.get("sortDirection").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sortDirection` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sortDirection").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WaitForSmsConditions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WaitForSmsConditions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WaitForSmsConditions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WaitForSmsConditions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WaitForSmsConditions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WaitForSmsConditions given an JSON string + * + * @param jsonString JSON string + * @return An instance of WaitForSmsConditions + * @throws IOException if the JSON string is invalid with respect to WaitForSmsConditions + */ + public static WaitForSmsConditions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WaitForSmsConditions.class); + } + + /** + * Convert an instance of WaitForSmsConditions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookBouncePayload.java b/src/main/java/com/mailslurp/models/WebhookBouncePayload.java new file mode 100644 index 000000000..0762ee6fd --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookBouncePayload.java @@ -0,0 +1,548 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * BOUNCE webhook payload. Sent to your webhook url endpoint via HTTP POST when an email bounced or was rejected by a recipient. Save the recipients to a ban list on your server and avoid emailing them again. It is recommended you also listen to the BOUNCE_RECIPIENT payload. + */ +@ApiModel(description = "BOUNCE webhook payload. Sent to your webhook url endpoint via HTTP POST when an email bounced or was rejected by a recipient. Save the recipients to a ban list on your server and avoid emailing them again. It is recommended you also listen to the BOUNCE_RECIPIENT payload.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookBouncePayload { + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) + private UUID webhookId; + + /** + * Name of the event type webhook is being triggered for. + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_WEBHOOK_NAME = "webhookName"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_NAME) + private String webhookName; + + public static final String SERIALIZED_NAME_BOUNCE_ID = "bounceId"; + @SerializedName(SERIALIZED_NAME_BOUNCE_ID) + private UUID bounceId; + + public static final String SERIALIZED_NAME_SENT_TO_RECIPIENTS = "sentToRecipients"; + @SerializedName(SERIALIZED_NAME_SENT_TO_RECIPIENTS) + private List sentToRecipients = null; + + public static final String SERIALIZED_NAME_SENDER = "sender"; + @SerializedName(SERIALIZED_NAME_SENDER) + private String sender; + + public static final String SERIALIZED_NAME_BOUNCE_RECIPIENTS = "bounceRecipients"; + @SerializedName(SERIALIZED_NAME_BOUNCE_RECIPIENTS) + private List bounceRecipients = null; + + public WebhookBouncePayload() { + } + + public WebhookBouncePayload messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Idempotent message ID. Store this ID locally or in a database to prevent message duplication. + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Idempotent message ID. Store this ID locally or in a database to prevent message duplication.") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public WebhookBouncePayload webhookId(UUID webhookId) { + + this.webhookId = webhookId; + return this; + } + + /** + * ID of webhook entity being triggered + * @return webhookId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of webhook entity being triggered") + + public UUID getWebhookId() { + return webhookId; + } + + + public void setWebhookId(UUID webhookId) { + this.webhookId = webhookId; + } + + + public WebhookBouncePayload eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Name of the event type webhook is being triggered for. + * @return eventName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of the event type webhook is being triggered for.") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public WebhookBouncePayload webhookName(String webhookName) { + + this.webhookName = webhookName; + return this; + } + + /** + * Name of the webhook being triggered + * @return webhookName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the webhook being triggered") + + public String getWebhookName() { + return webhookName; + } + + + public void setWebhookName(String webhookName) { + this.webhookName = webhookName; + } + + + public WebhookBouncePayload bounceId(UUID bounceId) { + + this.bounceId = bounceId; + return this; + } + + /** + * ID of the bounce email record. Use the ID with the bounce controller to view more information + * @return bounceId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the bounce email record. Use the ID with the bounce controller to view more information") + + public UUID getBounceId() { + return bounceId; + } + + + public void setBounceId(UUID bounceId) { + this.bounceId = bounceId; + } + + + public WebhookBouncePayload sentToRecipients(List sentToRecipients) { + + this.sentToRecipients = sentToRecipients; + return this; + } + + public WebhookBouncePayload addSentToRecipientsItem(String sentToRecipientsItem) { + if (this.sentToRecipients == null) { + this.sentToRecipients = new ArrayList<>(); + } + this.sentToRecipients.add(sentToRecipientsItem); + return this; + } + + /** + * Email sent to recipients + * @return sentToRecipients + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Email sent to recipients") + + public List getSentToRecipients() { + return sentToRecipients; + } + + + public void setSentToRecipients(List sentToRecipients) { + this.sentToRecipients = sentToRecipients; + } + + + public WebhookBouncePayload sender(String sender) { + + this.sender = sender; + return this; + } + + /** + * Sender causing bounce + * @return sender + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Sender causing bounce") + + public String getSender() { + return sender; + } + + + public void setSender(String sender) { + this.sender = sender; + } + + + public WebhookBouncePayload bounceRecipients(List bounceRecipients) { + + this.bounceRecipients = bounceRecipients; + return this; + } + + public WebhookBouncePayload addBounceRecipientsItem(String bounceRecipientsItem) { + if (this.bounceRecipients == null) { + this.bounceRecipients = new ArrayList<>(); + } + this.bounceRecipients.add(bounceRecipientsItem); + return this; + } + + /** + * Email addresses that resulted in a bounce or email being rejected. Please save these recipients and avoid emailing them in the future to maintain your reputation. + * @return bounceRecipients + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Email addresses that resulted in a bounce or email being rejected. Please save these recipients and avoid emailing them in the future to maintain your reputation.") + + public List getBounceRecipients() { + return bounceRecipients; + } + + + public void setBounceRecipients(List bounceRecipients) { + this.bounceRecipients = bounceRecipients; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookBouncePayload webhookBouncePayload = (WebhookBouncePayload) o; + return Objects.equals(this.messageId, webhookBouncePayload.messageId) && + Objects.equals(this.webhookId, webhookBouncePayload.webhookId) && + Objects.equals(this.eventName, webhookBouncePayload.eventName) && + Objects.equals(this.webhookName, webhookBouncePayload.webhookName) && + Objects.equals(this.bounceId, webhookBouncePayload.bounceId) && + Objects.equals(this.sentToRecipients, webhookBouncePayload.sentToRecipients) && + Objects.equals(this.sender, webhookBouncePayload.sender) && + Objects.equals(this.bounceRecipients, webhookBouncePayload.bounceRecipients); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, webhookId, eventName, webhookName, bounceId, sentToRecipients, sender, bounceRecipients); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookBouncePayload {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" webhookName: ").append(toIndentedString(webhookName)).append("\n"); + sb.append(" bounceId: ").append(toIndentedString(bounceId)).append("\n"); + sb.append(" sentToRecipients: ").append(toIndentedString(sentToRecipients)).append("\n"); + sb.append(" sender: ").append(toIndentedString(sender)).append("\n"); + sb.append(" bounceRecipients: ").append(toIndentedString(bounceRecipients)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("messageId"); + openapiFields.add("webhookId"); + openapiFields.add("eventName"); + openapiFields.add("webhookName"); + openapiFields.add("bounceId"); + openapiFields.add("sentToRecipients"); + openapiFields.add("sender"); + openapiFields.add("bounceRecipients"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("webhookId"); + openapiRequiredFields.add("eventName"); + openapiRequiredFields.add("bounceId"); + openapiRequiredFields.add("sender"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookBouncePayload + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookBouncePayload.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookBouncePayload is not found in the empty JSON string", WebhookBouncePayload.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookBouncePayload.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookBouncePayload` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookBouncePayload.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if (!jsonObj.get("webhookId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); + } + if (!jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + if ((jsonObj.get("webhookName") != null && !jsonObj.get("webhookName").isJsonNull()) && !jsonObj.get("webhookName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookName").toString())); + } + if (!jsonObj.get("bounceId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bounceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bounceId").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("sentToRecipients") != null && !jsonObj.get("sentToRecipients").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `sentToRecipients` to be an array in the JSON string but got `%s`", jsonObj.get("sentToRecipients").toString())); + } + if (!jsonObj.get("sender").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sender` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sender").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bounceRecipients") != null && !jsonObj.get("bounceRecipients").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bounceRecipients` to be an array in the JSON string but got `%s`", jsonObj.get("bounceRecipients").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookBouncePayload.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookBouncePayload' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookBouncePayload.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookBouncePayload value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookBouncePayload read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookBouncePayload given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookBouncePayload + * @throws IOException if the JSON string is invalid with respect to WebhookBouncePayload + */ + public static WebhookBouncePayload fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookBouncePayload.class); + } + + /** + * Convert an instance of WebhookBouncePayload to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookBounceRecipientPayload.java b/src/main/java/com/mailslurp/models/WebhookBounceRecipientPayload.java new file mode 100644 index 000000000..9a9f9afa8 --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookBounceRecipientPayload.java @@ -0,0 +1,428 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * BOUNCE_RECIPIENT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email caused a bounce to occur for a recipient. Save the recipient to a ban list of your server and avoid email them again. + */ +@ApiModel(description = "BOUNCE_RECIPIENT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email caused a bounce to occur for a recipient. Save the recipient to a ban list of your server and avoid email them again.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookBounceRecipientPayload { + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) + private UUID webhookId; + + /** + * Name of the event type webhook is being triggered for. + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_WEBHOOK_NAME = "webhookName"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_NAME) + private String webhookName; + + public static final String SERIALIZED_NAME_RECIPIENT = "recipient"; + @SerializedName(SERIALIZED_NAME_RECIPIENT) + private String recipient; + + public WebhookBounceRecipientPayload() { + } + + public WebhookBounceRecipientPayload messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Idempotent message ID. Store this ID locally or in a database to prevent message duplication. + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Idempotent message ID. Store this ID locally or in a database to prevent message duplication.") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public WebhookBounceRecipientPayload webhookId(UUID webhookId) { + + this.webhookId = webhookId; + return this; + } + + /** + * ID of webhook entity being triggered + * @return webhookId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of webhook entity being triggered") + + public UUID getWebhookId() { + return webhookId; + } + + + public void setWebhookId(UUID webhookId) { + this.webhookId = webhookId; + } + + + public WebhookBounceRecipientPayload eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Name of the event type webhook is being triggered for. + * @return eventName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of the event type webhook is being triggered for.") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public WebhookBounceRecipientPayload webhookName(String webhookName) { + + this.webhookName = webhookName; + return this; + } + + /** + * Name of the webhook being triggered + * @return webhookName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the webhook being triggered") + + public String getWebhookName() { + return webhookName; + } + + + public void setWebhookName(String webhookName) { + this.webhookName = webhookName; + } + + + public WebhookBounceRecipientPayload recipient(String recipient) { + + this.recipient = recipient; + return this; + } + + /** + * Email address that caused a bounce. Make note of the address and try not to message it again to preserve your reputation. + * @return recipient + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Email address that caused a bounce. Make note of the address and try not to message it again to preserve your reputation.") + + public String getRecipient() { + return recipient; + } + + + public void setRecipient(String recipient) { + this.recipient = recipient; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookBounceRecipientPayload webhookBounceRecipientPayload = (WebhookBounceRecipientPayload) o; + return Objects.equals(this.messageId, webhookBounceRecipientPayload.messageId) && + Objects.equals(this.webhookId, webhookBounceRecipientPayload.webhookId) && + Objects.equals(this.eventName, webhookBounceRecipientPayload.eventName) && + Objects.equals(this.webhookName, webhookBounceRecipientPayload.webhookName) && + Objects.equals(this.recipient, webhookBounceRecipientPayload.recipient); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, webhookId, eventName, webhookName, recipient); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookBounceRecipientPayload {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" webhookName: ").append(toIndentedString(webhookName)).append("\n"); + sb.append(" recipient: ").append(toIndentedString(recipient)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("messageId"); + openapiFields.add("webhookId"); + openapiFields.add("eventName"); + openapiFields.add("webhookName"); + openapiFields.add("recipient"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("webhookId"); + openapiRequiredFields.add("eventName"); + openapiRequiredFields.add("recipient"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookBounceRecipientPayload + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookBounceRecipientPayload.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookBounceRecipientPayload is not found in the empty JSON string", WebhookBounceRecipientPayload.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookBounceRecipientPayload.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookBounceRecipientPayload` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookBounceRecipientPayload.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if (!jsonObj.get("webhookId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); + } + if (!jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + if ((jsonObj.get("webhookName") != null && !jsonObj.get("webhookName").isJsonNull()) && !jsonObj.get("webhookName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookName").toString())); + } + if (!jsonObj.get("recipient").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `recipient` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipient").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookBounceRecipientPayload.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookBounceRecipientPayload' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookBounceRecipientPayload.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookBounceRecipientPayload value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookBounceRecipientPayload read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookBounceRecipientPayload given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookBounceRecipientPayload + * @throws IOException if the JSON string is invalid with respect to WebhookBounceRecipientPayload + */ + public static WebhookBounceRecipientPayload fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookBounceRecipientPayload.class); + } + + /** + * Convert an instance of WebhookBounceRecipientPayload to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookDeliveryStatusPayload.java b/src/main/java/com/mailslurp/models/WebhookDeliveryStatusPayload.java new file mode 100644 index 000000000..9350f4972 --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookDeliveryStatusPayload.java @@ -0,0 +1,795 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * DELIVERY_STATUS webhook payload. Sent to your webhook url endpoint via HTTP POST when an email delivery status is created. This could be a successful delivery or a delivery failure. + */ +@ApiModel(description = "DELIVERY_STATUS webhook payload. Sent to your webhook url endpoint via HTTP POST when an email delivery status is created. This could be a successful delivery or a delivery failure.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookDeliveryStatusPayload { + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) + private UUID webhookId; + + /** + * Name of the event type webhook is being triggered for. + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_WEBHOOK_NAME = "webhookName"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_NAME) + private String webhookName; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_SENT_ID = "sentId"; + @SerializedName(SERIALIZED_NAME_SENT_ID) + private UUID sentId; + + public static final String SERIALIZED_NAME_REMOTE_MTA_IP = "remoteMtaIp"; + @SerializedName(SERIALIZED_NAME_REMOTE_MTA_IP) + private String remoteMtaIp; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_REPORTING_MTA = "reportingMta"; + @SerializedName(SERIALIZED_NAME_REPORTING_MTA) + private String reportingMta; + + public static final String SERIALIZED_NAME_RECIPIENTS = "recipients"; + @SerializedName(SERIALIZED_NAME_RECIPIENTS) + private List recipients = null; + + public static final String SERIALIZED_NAME_SMTP_RESPONSE = "smtpResponse"; + @SerializedName(SERIALIZED_NAME_SMTP_RESPONSE) + private String smtpResponse; + + public static final String SERIALIZED_NAME_SMTP_STATUS_CODE = "smtpStatusCode"; + @SerializedName(SERIALIZED_NAME_SMTP_STATUS_CODE) + private Integer smtpStatusCode; + + public static final String SERIALIZED_NAME_PROCESSING_TIME_MILLIS = "processingTimeMillis"; + @SerializedName(SERIALIZED_NAME_PROCESSING_TIME_MILLIS) + private Long processingTimeMillis; + + public static final String SERIALIZED_NAME_RECEIVED = "received"; + @SerializedName(SERIALIZED_NAME_RECEIVED) + private OffsetDateTime received; + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public WebhookDeliveryStatusPayload() { + } + + public WebhookDeliveryStatusPayload messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Idempotent message ID. Store this ID locally or in a database to prevent message duplication. + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Idempotent message ID. Store this ID locally or in a database to prevent message duplication.") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public WebhookDeliveryStatusPayload webhookId(UUID webhookId) { + + this.webhookId = webhookId; + return this; + } + + /** + * ID of webhook entity being triggered + * @return webhookId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of webhook entity being triggered") + + public UUID getWebhookId() { + return webhookId; + } + + + public void setWebhookId(UUID webhookId) { + this.webhookId = webhookId; + } + + + public WebhookDeliveryStatusPayload eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Name of the event type webhook is being triggered for. + * @return eventName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of the event type webhook is being triggered for.") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public WebhookDeliveryStatusPayload webhookName(String webhookName) { + + this.webhookName = webhookName; + return this; + } + + /** + * Name of the webhook being triggered + * @return webhookName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the webhook being triggered") + + public String getWebhookName() { + return webhookName; + } + + + public void setWebhookName(String webhookName) { + this.webhookName = webhookName; + } + + + public WebhookDeliveryStatusPayload id(UUID id) { + + this.id = id; + return this; + } + + /** + * ID of delivery status + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of delivery status") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public WebhookDeliveryStatusPayload userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * User ID of event + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "User ID of event") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public WebhookDeliveryStatusPayload sentId(UUID sentId) { + + this.sentId = sentId; + return this; + } + + /** + * ID of sent email + * @return sentId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "ID of sent email") + + public UUID getSentId() { + return sentId; + } + + + public void setSentId(UUID sentId) { + this.sentId = sentId; + } + + + public WebhookDeliveryStatusPayload remoteMtaIp(String remoteMtaIp) { + + this.remoteMtaIp = remoteMtaIp; + return this; + } + + /** + * IP address of the remote Mail Transfer Agent + * @return remoteMtaIp + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "IP address of the remote Mail Transfer Agent") + + public String getRemoteMtaIp() { + return remoteMtaIp; + } + + + public void setRemoteMtaIp(String remoteMtaIp) { + this.remoteMtaIp = remoteMtaIp; + } + + + public WebhookDeliveryStatusPayload inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Id of the inbox + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Id of the inbox") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public WebhookDeliveryStatusPayload reportingMta(String reportingMta) { + + this.reportingMta = reportingMta; + return this; + } + + /** + * Mail Transfer Agent reporting delivery status + * @return reportingMta + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Mail Transfer Agent reporting delivery status") + + public String getReportingMta() { + return reportingMta; + } + + + public void setReportingMta(String reportingMta) { + this.reportingMta = reportingMta; + } + + + public WebhookDeliveryStatusPayload recipients(List recipients) { + + this.recipients = recipients; + return this; + } + + public WebhookDeliveryStatusPayload addRecipientsItem(String recipientsItem) { + if (this.recipients == null) { + this.recipients = new ArrayList<>(); + } + this.recipients.add(recipientsItem); + return this; + } + + /** + * Recipients for delivery + * @return recipients + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Recipients for delivery") + + public List getRecipients() { + return recipients; + } + + + public void setRecipients(List recipients) { + this.recipients = recipients; + } + + + public WebhookDeliveryStatusPayload smtpResponse(String smtpResponse) { + + this.smtpResponse = smtpResponse; + return this; + } + + /** + * SMTP server response message + * @return smtpResponse + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "SMTP server response message") + + public String getSmtpResponse() { + return smtpResponse; + } + + + public void setSmtpResponse(String smtpResponse) { + this.smtpResponse = smtpResponse; + } + + + public WebhookDeliveryStatusPayload smtpStatusCode(Integer smtpStatusCode) { + + this.smtpStatusCode = smtpStatusCode; + return this; + } + + /** + * SMTP server status + * @return smtpStatusCode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "SMTP server status") + + public Integer getSmtpStatusCode() { + return smtpStatusCode; + } + + + public void setSmtpStatusCode(Integer smtpStatusCode) { + this.smtpStatusCode = smtpStatusCode; + } + + + public WebhookDeliveryStatusPayload processingTimeMillis(Long processingTimeMillis) { + + this.processingTimeMillis = processingTimeMillis; + return this; + } + + /** + * Time in milliseconds for delivery processing + * @return processingTimeMillis + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Time in milliseconds for delivery processing") + + public Long getProcessingTimeMillis() { + return processingTimeMillis; + } + + + public void setProcessingTimeMillis(Long processingTimeMillis) { + this.processingTimeMillis = processingTimeMillis; + } + + + public WebhookDeliveryStatusPayload received(OffsetDateTime received) { + + this.received = received; + return this; + } + + /** + * Time event was received + * @return received + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Time event was received") + + public OffsetDateTime getReceived() { + return received; + } + + + public void setReceived(OffsetDateTime received) { + this.received = received; + } + + + public WebhookDeliveryStatusPayload subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * Email subject + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Email subject") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookDeliveryStatusPayload webhookDeliveryStatusPayload = (WebhookDeliveryStatusPayload) o; + return Objects.equals(this.messageId, webhookDeliveryStatusPayload.messageId) && + Objects.equals(this.webhookId, webhookDeliveryStatusPayload.webhookId) && + Objects.equals(this.eventName, webhookDeliveryStatusPayload.eventName) && + Objects.equals(this.webhookName, webhookDeliveryStatusPayload.webhookName) && + Objects.equals(this.id, webhookDeliveryStatusPayload.id) && + Objects.equals(this.userId, webhookDeliveryStatusPayload.userId) && + Objects.equals(this.sentId, webhookDeliveryStatusPayload.sentId) && + Objects.equals(this.remoteMtaIp, webhookDeliveryStatusPayload.remoteMtaIp) && + Objects.equals(this.inboxId, webhookDeliveryStatusPayload.inboxId) && + Objects.equals(this.reportingMta, webhookDeliveryStatusPayload.reportingMta) && + Objects.equals(this.recipients, webhookDeliveryStatusPayload.recipients) && + Objects.equals(this.smtpResponse, webhookDeliveryStatusPayload.smtpResponse) && + Objects.equals(this.smtpStatusCode, webhookDeliveryStatusPayload.smtpStatusCode) && + Objects.equals(this.processingTimeMillis, webhookDeliveryStatusPayload.processingTimeMillis) && + Objects.equals(this.received, webhookDeliveryStatusPayload.received) && + Objects.equals(this.subject, webhookDeliveryStatusPayload.subject); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, webhookId, eventName, webhookName, id, userId, sentId, remoteMtaIp, inboxId, reportingMta, recipients, smtpResponse, smtpStatusCode, processingTimeMillis, received, subject); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookDeliveryStatusPayload {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" webhookName: ").append(toIndentedString(webhookName)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" sentId: ").append(toIndentedString(sentId)).append("\n"); + sb.append(" remoteMtaIp: ").append(toIndentedString(remoteMtaIp)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" reportingMta: ").append(toIndentedString(reportingMta)).append("\n"); + sb.append(" recipients: ").append(toIndentedString(recipients)).append("\n"); + sb.append(" smtpResponse: ").append(toIndentedString(smtpResponse)).append("\n"); + sb.append(" smtpStatusCode: ").append(toIndentedString(smtpStatusCode)).append("\n"); + sb.append(" processingTimeMillis: ").append(toIndentedString(processingTimeMillis)).append("\n"); + sb.append(" received: ").append(toIndentedString(received)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("messageId"); + openapiFields.add("webhookId"); + openapiFields.add("eventName"); + openapiFields.add("webhookName"); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("sentId"); + openapiFields.add("remoteMtaIp"); + openapiFields.add("inboxId"); + openapiFields.add("reportingMta"); + openapiFields.add("recipients"); + openapiFields.add("smtpResponse"); + openapiFields.add("smtpStatusCode"); + openapiFields.add("processingTimeMillis"); + openapiFields.add("received"); + openapiFields.add("subject"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("webhookId"); + openapiRequiredFields.add("eventName"); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookDeliveryStatusPayload + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookDeliveryStatusPayload.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookDeliveryStatusPayload is not found in the empty JSON string", WebhookDeliveryStatusPayload.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookDeliveryStatusPayload.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookDeliveryStatusPayload` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookDeliveryStatusPayload.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if (!jsonObj.get("webhookId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); + } + if (!jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + if ((jsonObj.get("webhookName") != null && !jsonObj.get("webhookName").isJsonNull()) && !jsonObj.get("webhookName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookName").toString())); + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("sentId") != null && !jsonObj.get("sentId").isJsonNull()) && !jsonObj.get("sentId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sentId").toString())); + } + if ((jsonObj.get("remoteMtaIp") != null && !jsonObj.get("remoteMtaIp").isJsonNull()) && !jsonObj.get("remoteMtaIp").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `remoteMtaIp` to be a primitive type in the JSON string but got `%s`", jsonObj.get("remoteMtaIp").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("reportingMta") != null && !jsonObj.get("reportingMta").isJsonNull()) && !jsonObj.get("reportingMta").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `reportingMta` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reportingMta").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("recipients") != null && !jsonObj.get("recipients").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `recipients` to be an array in the JSON string but got `%s`", jsonObj.get("recipients").toString())); + } + if ((jsonObj.get("smtpResponse") != null && !jsonObj.get("smtpResponse").isJsonNull()) && !jsonObj.get("smtpResponse").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `smtpResponse` to be a primitive type in the JSON string but got `%s`", jsonObj.get("smtpResponse").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookDeliveryStatusPayload.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookDeliveryStatusPayload' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookDeliveryStatusPayload.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookDeliveryStatusPayload value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookDeliveryStatusPayload read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookDeliveryStatusPayload given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookDeliveryStatusPayload + * @throws IOException if the JSON string is invalid with respect to WebhookDeliveryStatusPayload + */ + public static WebhookDeliveryStatusPayload fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookDeliveryStatusPayload.class); + } + + /** + * Convert an instance of WebhookDeliveryStatusPayload to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookDto.java b/src/main/java/com/mailslurp/models/WebhookDto.java new file mode 100644 index 000000000..c1274af7a --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookDto.java @@ -0,0 +1,842 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.WebhookHeaders; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Representation of a webhook for an inbox. The URL specified will be using by MailSlurp whenever an email is received by the attached inbox. A webhook entity should have a URL that points to your server. Your server should accept HTTP/S POST requests and return a success 200. MailSlurp will retry your webhooks if they fail. See https://java.api.mailslurp.com/schemas/webhook-payload for the payload schema. + */ +@ApiModel(description = "Representation of a webhook for an inbox. The URL specified will be using by MailSlurp whenever an email is received by the attached inbox. A webhook entity should have a URL that points to your server. Your server should accept HTTP/S POST requests and return a success 200. MailSlurp will retry your webhooks if they fail. See https://java.api.mailslurp.com/schemas/webhook-payload for the payload schema.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_BASIC_AUTH = "basicAuth"; + @SerializedName(SERIALIZED_NAME_BASIC_AUTH) + private Boolean basicAuth; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_PHONE_ID = "phoneId"; + @SerializedName(SERIALIZED_NAME_PHONE_ID) + private UUID phoneId; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_REQUEST_BODY_TEMPLATE = "requestBodyTemplate"; + @SerializedName(SERIALIZED_NAME_REQUEST_BODY_TEMPLATE) + private String requestBodyTemplate; + + public static final String SERIALIZED_NAME_URL = "url"; + @SerializedName(SERIALIZED_NAME_URL) + private String url; + + /** + * HTTP method that your server endpoint must listen for + */ + @JsonAdapter(MethodEnum.Adapter.class) + public enum MethodEnum { + GET("GET"), + + HEAD("HEAD"), + + POST("POST"), + + PUT("PUT"), + + PATCH("PATCH"), + + DELETE("DELETE"), + + OPTIONS("OPTIONS"), + + TRACE("TRACE"); + + private String value; + + MethodEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static MethodEnum fromValue(String value) { + for (MethodEnum b : MethodEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final MethodEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public MethodEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return MethodEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_METHOD = "method"; + @SerializedName(SERIALIZED_NAME_METHOD) + private MethodEnum method; + + public static final String SERIALIZED_NAME_PAYLOAD_JSON_SCHEMA = "payloadJsonSchema"; + @SerializedName(SERIALIZED_NAME_PAYLOAD_JSON_SCHEMA) + private String payloadJsonSchema; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + /** + * Webhook trigger event name + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_REQUEST_HEADERS = "requestHeaders"; + @SerializedName(SERIALIZED_NAME_REQUEST_HEADERS) + private WebhookHeaders requestHeaders; + + public static final String SERIALIZED_NAME_IGNORE_INSECURE_SSL_CERTIFICATES = "ignoreInsecureSslCertificates"; + @SerializedName(SERIALIZED_NAME_IGNORE_INSECURE_SSL_CERTIFICATES) + private Boolean ignoreInsecureSslCertificates; + + public static final String SERIALIZED_NAME_USE_STATIC_IP_RANGE = "useStaticIpRange"; + @SerializedName(SERIALIZED_NAME_USE_STATIC_IP_RANGE) + private Boolean useStaticIpRange; + + public WebhookDto() { + } + + public WebhookDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * ID of the Webhook + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the Webhook") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public WebhookDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * User ID of the Webhook + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "User ID of the Webhook") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public WebhookDto basicAuth(Boolean basicAuth) { + + this.basicAuth = basicAuth; + return this; + } + + /** + * Does webhook expect basic authentication? If true it means you created this webhook with a username and password. MailSlurp will use these in the URL to authenticate itself. + * @return basicAuth + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Does webhook expect basic authentication? If true it means you created this webhook with a username and password. MailSlurp will use these in the URL to authenticate itself.") + + public Boolean getBasicAuth() { + return basicAuth; + } + + + public void setBasicAuth(Boolean basicAuth) { + this.basicAuth = basicAuth; + } + + + public WebhookDto name(String name) { + + this.name = name; + return this; + } + + /** + * Name of the webhook + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the webhook") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public WebhookDto phoneId(UUID phoneId) { + + this.phoneId = phoneId; + return this; + } + + /** + * The phoneNumberId that the Webhook will be triggered by. If null then webhook triggered at account level or inbox level if inboxId set + * @return phoneId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The phoneNumberId that the Webhook will be triggered by. If null then webhook triggered at account level or inbox level if inboxId set") + + public UUID getPhoneId() { + return phoneId; + } + + + public void setPhoneId(UUID phoneId) { + this.phoneId = phoneId; + } + + + public WebhookDto inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * The inbox that the Webhook will be triggered by. If null then webhook triggered at account level or phone level if phoneId set + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The inbox that the Webhook will be triggered by. If null then webhook triggered at account level or phone level if phoneId set") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public WebhookDto requestBodyTemplate(String requestBodyTemplate) { + + this.requestBodyTemplate = requestBodyTemplate; + return this; + } + + /** + * Request body template for HTTP request that will be sent for the webhook. Use Moustache style template variables to insert values from the original event payload. + * @return requestBodyTemplate + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Request body template for HTTP request that will be sent for the webhook. Use Moustache style template variables to insert values from the original event payload.") + + public String getRequestBodyTemplate() { + return requestBodyTemplate; + } + + + public void setRequestBodyTemplate(String requestBodyTemplate) { + this.requestBodyTemplate = requestBodyTemplate; + } + + + public WebhookDto url(String url) { + + this.url = url; + return this; + } + + /** + * URL of your server that the webhook will be sent to. The schema of the JSON that is sent is described by the payloadJsonSchema. + * @return url + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "URL of your server that the webhook will be sent to. The schema of the JSON that is sent is described by the payloadJsonSchema.") + + public String getUrl() { + return url; + } + + + public void setUrl(String url) { + this.url = url; + } + + + public WebhookDto method(MethodEnum method) { + + this.method = method; + return this; + } + + /** + * HTTP method that your server endpoint must listen for + * @return method + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "HTTP method that your server endpoint must listen for") + + public MethodEnum getMethod() { + return method; + } + + + public void setMethod(MethodEnum method) { + this.method = method; + } + + + public WebhookDto payloadJsonSchema(String payloadJsonSchema) { + + this.payloadJsonSchema = payloadJsonSchema; + return this; + } + + /** + * Deprecated. Fetch JSON Schema for webhook using the getJsonSchemaForWebhookPayload method + * @return payloadJsonSchema + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Deprecated. Fetch JSON Schema for webhook using the getJsonSchemaForWebhookPayload method") + + public String getPayloadJsonSchema() { + return payloadJsonSchema; + } + + + public void setPayloadJsonSchema(String payloadJsonSchema) { + this.payloadJsonSchema = payloadJsonSchema; + } + + + public WebhookDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * When the webhook was created + * @return createdAt + **/ + @javax.annotation.Nullable + @ApiModelProperty(required = true, value = "When the webhook was created") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public WebhookDto updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public WebhookDto eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Webhook trigger event name + * @return eventName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Webhook trigger event name") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public WebhookDto requestHeaders(WebhookHeaders requestHeaders) { + + this.requestHeaders = requestHeaders; + return this; + } + + /** + * Get requestHeaders + * @return requestHeaders + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public WebhookHeaders getRequestHeaders() { + return requestHeaders; + } + + + public void setRequestHeaders(WebhookHeaders requestHeaders) { + this.requestHeaders = requestHeaders; + } + + + public WebhookDto ignoreInsecureSslCertificates(Boolean ignoreInsecureSslCertificates) { + + this.ignoreInsecureSslCertificates = ignoreInsecureSslCertificates; + return this; + } + + /** + * Should notifier ignore insecure SSL certificates + * @return ignoreInsecureSslCertificates + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Should notifier ignore insecure SSL certificates") + + public Boolean getIgnoreInsecureSslCertificates() { + return ignoreInsecureSslCertificates; + } + + + public void setIgnoreInsecureSslCertificates(Boolean ignoreInsecureSslCertificates) { + this.ignoreInsecureSslCertificates = ignoreInsecureSslCertificates; + } + + + public WebhookDto useStaticIpRange(Boolean useStaticIpRange) { + + this.useStaticIpRange = useStaticIpRange; + return this; + } + + /** + * Should notifier use static IP range when sending webhook payload + * @return useStaticIpRange + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Should notifier use static IP range when sending webhook payload") + + public Boolean getUseStaticIpRange() { + return useStaticIpRange; + } + + + public void setUseStaticIpRange(Boolean useStaticIpRange) { + this.useStaticIpRange = useStaticIpRange; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookDto webhookDto = (WebhookDto) o; + return Objects.equals(this.id, webhookDto.id) && + Objects.equals(this.userId, webhookDto.userId) && + Objects.equals(this.basicAuth, webhookDto.basicAuth) && + Objects.equals(this.name, webhookDto.name) && + Objects.equals(this.phoneId, webhookDto.phoneId) && + Objects.equals(this.inboxId, webhookDto.inboxId) && + Objects.equals(this.requestBodyTemplate, webhookDto.requestBodyTemplate) && + Objects.equals(this.url, webhookDto.url) && + Objects.equals(this.method, webhookDto.method) && + Objects.equals(this.payloadJsonSchema, webhookDto.payloadJsonSchema) && + Objects.equals(this.createdAt, webhookDto.createdAt) && + Objects.equals(this.updatedAt, webhookDto.updatedAt) && + Objects.equals(this.eventName, webhookDto.eventName) && + Objects.equals(this.requestHeaders, webhookDto.requestHeaders) && + Objects.equals(this.ignoreInsecureSslCertificates, webhookDto.ignoreInsecureSslCertificates) && + Objects.equals(this.useStaticIpRange, webhookDto.useStaticIpRange); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, basicAuth, name, phoneId, inboxId, requestBodyTemplate, url, method, payloadJsonSchema, createdAt, updatedAt, eventName, requestHeaders, ignoreInsecureSslCertificates, useStaticIpRange); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" basicAuth: ").append(toIndentedString(basicAuth)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" phoneId: ").append(toIndentedString(phoneId)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" requestBodyTemplate: ").append(toIndentedString(requestBodyTemplate)).append("\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" method: ").append(toIndentedString(method)).append("\n"); + sb.append(" payloadJsonSchema: ").append(toIndentedString(payloadJsonSchema)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" requestHeaders: ").append(toIndentedString(requestHeaders)).append("\n"); + sb.append(" ignoreInsecureSslCertificates: ").append(toIndentedString(ignoreInsecureSslCertificates)).append("\n"); + sb.append(" useStaticIpRange: ").append(toIndentedString(useStaticIpRange)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("basicAuth"); + openapiFields.add("name"); + openapiFields.add("phoneId"); + openapiFields.add("inboxId"); + openapiFields.add("requestBodyTemplate"); + openapiFields.add("url"); + openapiFields.add("method"); + openapiFields.add("payloadJsonSchema"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + openapiFields.add("eventName"); + openapiFields.add("requestHeaders"); + openapiFields.add("ignoreInsecureSslCertificates"); + openapiFields.add("useStaticIpRange"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("basicAuth"); + openapiRequiredFields.add("url"); + openapiRequiredFields.add("method"); + openapiRequiredFields.add("payloadJsonSchema"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookDto is not found in the empty JSON string", WebhookDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("phoneId") != null && !jsonObj.get("phoneId").isJsonNull()) && !jsonObj.get("phoneId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneId").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("requestBodyTemplate") != null && !jsonObj.get("requestBodyTemplate").isJsonNull()) && !jsonObj.get("requestBodyTemplate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `requestBodyTemplate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("requestBodyTemplate").toString())); + } + if (!jsonObj.get("url").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); + } + if (!jsonObj.get("method").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `method` to be a primitive type in the JSON string but got `%s`", jsonObj.get("method").toString())); + } + if (!jsonObj.get("payloadJsonSchema").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `payloadJsonSchema` to be a primitive type in the JSON string but got `%s`", jsonObj.get("payloadJsonSchema").toString())); + } + if ((jsonObj.get("eventName") != null && !jsonObj.get("eventName").isJsonNull()) && !jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + // validate the optional field `requestHeaders` + if (jsonObj.get("requestHeaders") != null && !jsonObj.get("requestHeaders").isJsonNull()) { + WebhookHeaders.validateJsonObject(jsonObj.getAsJsonObject("requestHeaders")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookDto + * @throws IOException if the JSON string is invalid with respect to WebhookDto + */ + public static WebhookDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookDto.class); + } + + /** + * Convert an instance of WebhookDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookEmailOpenedPayload.java b/src/main/java/com/mailslurp/models/WebhookEmailOpenedPayload.java new file mode 100644 index 000000000..c1a0f6b6b --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookEmailOpenedPayload.java @@ -0,0 +1,562 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * EMAIL_OPENED webhook payload. Sent to your webhook url endpoint via HTTP POST when an email containing a tracking pixel is opened and the pixel image is loaded by a reader. + */ +@ApiModel(description = "EMAIL_OPENED webhook payload. Sent to your webhook url endpoint via HTTP POST when an email containing a tracking pixel is opened and the pixel image is loaded by a reader.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookEmailOpenedPayload { + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) + private UUID webhookId; + + /** + * Name of the event type webhook is being triggered for. + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_WEBHOOK_NAME = "webhookName"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_NAME) + private String webhookName; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_PIXEL_ID = "pixelId"; + @SerializedName(SERIALIZED_NAME_PIXEL_ID) + private UUID pixelId; + + public static final String SERIALIZED_NAME_SENT_EMAIL_ID = "sentEmailId"; + @SerializedName(SERIALIZED_NAME_SENT_EMAIL_ID) + private UUID sentEmailId; + + public static final String SERIALIZED_NAME_RECIPIENT = "recipient"; + @SerializedName(SERIALIZED_NAME_RECIPIENT) + private String recipient; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public WebhookEmailOpenedPayload() { + } + + public WebhookEmailOpenedPayload messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Idempotent message ID. Store this ID locally or in a database to prevent message duplication. + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Idempotent message ID. Store this ID locally or in a database to prevent message duplication.") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public WebhookEmailOpenedPayload webhookId(UUID webhookId) { + + this.webhookId = webhookId; + return this; + } + + /** + * ID of webhook entity being triggered + * @return webhookId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of webhook entity being triggered") + + public UUID getWebhookId() { + return webhookId; + } + + + public void setWebhookId(UUID webhookId) { + this.webhookId = webhookId; + } + + + public WebhookEmailOpenedPayload eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Name of the event type webhook is being triggered for. + * @return eventName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of the event type webhook is being triggered for.") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public WebhookEmailOpenedPayload webhookName(String webhookName) { + + this.webhookName = webhookName; + return this; + } + + /** + * Name of the webhook being triggered + * @return webhookName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the webhook being triggered") + + public String getWebhookName() { + return webhookName; + } + + + public void setWebhookName(String webhookName) { + this.webhookName = webhookName; + } + + + public WebhookEmailOpenedPayload inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Id of the inbox + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Id of the inbox") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public WebhookEmailOpenedPayload pixelId(UUID pixelId) { + + this.pixelId = pixelId; + return this; + } + + /** + * ID of the tracking pixel + * @return pixelId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the tracking pixel") + + public UUID getPixelId() { + return pixelId; + } + + + public void setPixelId(UUID pixelId) { + this.pixelId = pixelId; + } + + + public WebhookEmailOpenedPayload sentEmailId(UUID sentEmailId) { + + this.sentEmailId = sentEmailId; + return this; + } + + /** + * ID of sent email + * @return sentEmailId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of sent email") + + public UUID getSentEmailId() { + return sentEmailId; + } + + + public void setSentEmailId(UUID sentEmailId) { + this.sentEmailId = sentEmailId; + } + + + public WebhookEmailOpenedPayload recipient(String recipient) { + + this.recipient = recipient; + return this; + } + + /** + * Email address for the recipient of the tracking pixel + * @return recipient + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Email address for the recipient of the tracking pixel") + + public String getRecipient() { + return recipient; + } + + + public void setRecipient(String recipient) { + this.recipient = recipient; + } + + + public WebhookEmailOpenedPayload createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Date time of event creation + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Date time of event creation") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookEmailOpenedPayload webhookEmailOpenedPayload = (WebhookEmailOpenedPayload) o; + return Objects.equals(this.messageId, webhookEmailOpenedPayload.messageId) && + Objects.equals(this.webhookId, webhookEmailOpenedPayload.webhookId) && + Objects.equals(this.eventName, webhookEmailOpenedPayload.eventName) && + Objects.equals(this.webhookName, webhookEmailOpenedPayload.webhookName) && + Objects.equals(this.inboxId, webhookEmailOpenedPayload.inboxId) && + Objects.equals(this.pixelId, webhookEmailOpenedPayload.pixelId) && + Objects.equals(this.sentEmailId, webhookEmailOpenedPayload.sentEmailId) && + Objects.equals(this.recipient, webhookEmailOpenedPayload.recipient) && + Objects.equals(this.createdAt, webhookEmailOpenedPayload.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, webhookId, eventName, webhookName, inboxId, pixelId, sentEmailId, recipient, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookEmailOpenedPayload {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" webhookName: ").append(toIndentedString(webhookName)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" pixelId: ").append(toIndentedString(pixelId)).append("\n"); + sb.append(" sentEmailId: ").append(toIndentedString(sentEmailId)).append("\n"); + sb.append(" recipient: ").append(toIndentedString(recipient)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("messageId"); + openapiFields.add("webhookId"); + openapiFields.add("eventName"); + openapiFields.add("webhookName"); + openapiFields.add("inboxId"); + openapiFields.add("pixelId"); + openapiFields.add("sentEmailId"); + openapiFields.add("recipient"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("webhookId"); + openapiRequiredFields.add("eventName"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("pixelId"); + openapiRequiredFields.add("sentEmailId"); + openapiRequiredFields.add("recipient"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookEmailOpenedPayload + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookEmailOpenedPayload.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookEmailOpenedPayload is not found in the empty JSON string", WebhookEmailOpenedPayload.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookEmailOpenedPayload.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookEmailOpenedPayload` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookEmailOpenedPayload.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if (!jsonObj.get("webhookId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); + } + if (!jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + if ((jsonObj.get("webhookName") != null && !jsonObj.get("webhookName").isJsonNull()) && !jsonObj.get("webhookName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookName").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("pixelId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `pixelId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pixelId").toString())); + } + if (!jsonObj.get("sentEmailId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sentEmailId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sentEmailId").toString())); + } + if (!jsonObj.get("recipient").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `recipient` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipient").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookEmailOpenedPayload.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookEmailOpenedPayload' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookEmailOpenedPayload.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookEmailOpenedPayload value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookEmailOpenedPayload read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookEmailOpenedPayload given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookEmailOpenedPayload + * @throws IOException if the JSON string is invalid with respect to WebhookEmailOpenedPayload + */ + public static WebhookEmailOpenedPayload fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookEmailOpenedPayload.class); + } + + /** + * Convert an instance of WebhookEmailOpenedPayload to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookEmailReadPayload.java b/src/main/java/com/mailslurp/models/WebhookEmailReadPayload.java new file mode 100644 index 000000000..505cc427d --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookEmailReadPayload.java @@ -0,0 +1,525 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * EMAIL_READ webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is read. This happens when an email is requested in full from the API or a user views the email in the dashboard. + */ +@ApiModel(description = "EMAIL_READ webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is read. This happens when an email is requested in full from the API or a user views the email in the dashboard.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookEmailReadPayload { + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) + private UUID webhookId; + + /** + * Name of the event type webhook is being triggered for. + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_WEBHOOK_NAME = "webhookName"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_NAME) + private String webhookName; + + public static final String SERIALIZED_NAME_EMAIL_ID = "emailId"; + @SerializedName(SERIALIZED_NAME_EMAIL_ID) + private UUID emailId; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_EMAIL_IS_READ = "emailIsRead"; + @SerializedName(SERIALIZED_NAME_EMAIL_IS_READ) + private Boolean emailIsRead; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public WebhookEmailReadPayload() { + } + + public WebhookEmailReadPayload messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Idempotent message ID. Store this ID locally or in a database to prevent message duplication. + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Idempotent message ID. Store this ID locally or in a database to prevent message duplication.") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public WebhookEmailReadPayload webhookId(UUID webhookId) { + + this.webhookId = webhookId; + return this; + } + + /** + * ID of webhook entity being triggered + * @return webhookId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of webhook entity being triggered") + + public UUID getWebhookId() { + return webhookId; + } + + + public void setWebhookId(UUID webhookId) { + this.webhookId = webhookId; + } + + + public WebhookEmailReadPayload eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Name of the event type webhook is being triggered for. + * @return eventName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of the event type webhook is being triggered for.") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public WebhookEmailReadPayload webhookName(String webhookName) { + + this.webhookName = webhookName; + return this; + } + + /** + * Name of the webhook being triggered + * @return webhookName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the webhook being triggered") + + public String getWebhookName() { + return webhookName; + } + + + public void setWebhookName(String webhookName) { + this.webhookName = webhookName; + } + + + public WebhookEmailReadPayload emailId(UUID emailId) { + + this.emailId = emailId; + return this; + } + + /** + * ID of the email that was received. Use this ID for fetching the email with the `EmailController`. + * @return emailId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the email that was received. Use this ID for fetching the email with the `EmailController`.") + + public UUID getEmailId() { + return emailId; + } + + + public void setEmailId(UUID emailId) { + this.emailId = emailId; + } + + + public WebhookEmailReadPayload inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Id of the inbox + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Id of the inbox") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public WebhookEmailReadPayload emailIsRead(Boolean emailIsRead) { + + this.emailIsRead = emailIsRead; + return this; + } + + /** + * Is the email read + * @return emailIsRead + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Is the email read") + + public Boolean getEmailIsRead() { + return emailIsRead; + } + + + public void setEmailIsRead(Boolean emailIsRead) { + this.emailIsRead = emailIsRead; + } + + + public WebhookEmailReadPayload createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Date time of event creation + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Date time of event creation") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookEmailReadPayload webhookEmailReadPayload = (WebhookEmailReadPayload) o; + return Objects.equals(this.messageId, webhookEmailReadPayload.messageId) && + Objects.equals(this.webhookId, webhookEmailReadPayload.webhookId) && + Objects.equals(this.eventName, webhookEmailReadPayload.eventName) && + Objects.equals(this.webhookName, webhookEmailReadPayload.webhookName) && + Objects.equals(this.emailId, webhookEmailReadPayload.emailId) && + Objects.equals(this.inboxId, webhookEmailReadPayload.inboxId) && + Objects.equals(this.emailIsRead, webhookEmailReadPayload.emailIsRead) && + Objects.equals(this.createdAt, webhookEmailReadPayload.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, webhookId, eventName, webhookName, emailId, inboxId, emailIsRead, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookEmailReadPayload {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" webhookName: ").append(toIndentedString(webhookName)).append("\n"); + sb.append(" emailId: ").append(toIndentedString(emailId)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" emailIsRead: ").append(toIndentedString(emailIsRead)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("messageId"); + openapiFields.add("webhookId"); + openapiFields.add("eventName"); + openapiFields.add("webhookName"); + openapiFields.add("emailId"); + openapiFields.add("inboxId"); + openapiFields.add("emailIsRead"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("webhookId"); + openapiRequiredFields.add("eventName"); + openapiRequiredFields.add("emailId"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("emailIsRead"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookEmailReadPayload + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookEmailReadPayload.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookEmailReadPayload is not found in the empty JSON string", WebhookEmailReadPayload.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookEmailReadPayload.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookEmailReadPayload` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookEmailReadPayload.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if (!jsonObj.get("webhookId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); + } + if (!jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + if ((jsonObj.get("webhookName") != null && !jsonObj.get("webhookName").isJsonNull()) && !jsonObj.get("webhookName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookName").toString())); + } + if (!jsonObj.get("emailId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailId").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookEmailReadPayload.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookEmailReadPayload' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookEmailReadPayload.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookEmailReadPayload value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookEmailReadPayload read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookEmailReadPayload given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookEmailReadPayload + * @throws IOException if the JSON string is invalid with respect to WebhookEmailReadPayload + */ + public static WebhookEmailReadPayload fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookEmailReadPayload.class); + } + + /** + * Convert an instance of WebhookEmailReadPayload to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookHeaderNameValue.java b/src/main/java/com/mailslurp/models/WebhookHeaderNameValue.java new file mode 100644 index 000000000..1ffb2411a --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookHeaderNameValue.java @@ -0,0 +1,251 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Name value pair for webhook header + */ +@ApiModel(description = "Name value pair for webhook header") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookHeaderNameValue { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_VALUE = "value"; + @SerializedName(SERIALIZED_NAME_VALUE) + private String value; + + public WebhookHeaderNameValue() { + } + + public WebhookHeaderNameValue name(String name) { + + this.name = name; + return this; + } + + /** + * Name of header + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of header") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public WebhookHeaderNameValue value(String value) { + + this.value = value; + return this; + } + + /** + * Value of header + * @return value + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Value of header") + + public String getValue() { + return value; + } + + + public void setValue(String value) { + this.value = value; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookHeaderNameValue webhookHeaderNameValue = (WebhookHeaderNameValue) o; + return Objects.equals(this.name, webhookHeaderNameValue.name) && + Objects.equals(this.value, webhookHeaderNameValue.value); + } + + @Override + public int hashCode() { + return Objects.hash(name, value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookHeaderNameValue {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("value"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("value"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookHeaderNameValue + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookHeaderNameValue.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookHeaderNameValue is not found in the empty JSON string", WebhookHeaderNameValue.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookHeaderNameValue.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookHeaderNameValue` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookHeaderNameValue.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("value").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookHeaderNameValue.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookHeaderNameValue' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookHeaderNameValue.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookHeaderNameValue value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookHeaderNameValue read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookHeaderNameValue given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookHeaderNameValue + * @throws IOException if the JSON string is invalid with respect to WebhookHeaderNameValue + */ + public static WebhookHeaderNameValue fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookHeaderNameValue.class); + } + + /** + * Convert an instance of WebhookHeaderNameValue to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookHeaders.java b/src/main/java/com/mailslurp/models/WebhookHeaders.java new file mode 100644 index 000000000..ba49ed712 --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookHeaders.java @@ -0,0 +1,232 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.WebhookHeaderNameValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Webhook HTTP headers to include with each request from MailSlurp to your server + */ +@ApiModel(description = "Webhook HTTP headers to include with each request from MailSlurp to your server") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookHeaders { + public static final String SERIALIZED_NAME_HEADERS = "headers"; + @SerializedName(SERIALIZED_NAME_HEADERS) + private List headers = new ArrayList<>(); + + public WebhookHeaders() { + } + + public WebhookHeaders headers(List headers) { + + this.headers = headers; + return this; + } + + public WebhookHeaders addHeadersItem(WebhookHeaderNameValue headersItem) { + this.headers.add(headersItem); + return this; + } + + /** + * List of header name value pairs to include with webhook requests + * @return headers + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of header name value pairs to include with webhook requests") + + public List getHeaders() { + return headers; + } + + + public void setHeaders(List headers) { + this.headers = headers; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookHeaders webhookHeaders = (WebhookHeaders) o; + return Objects.equals(this.headers, webhookHeaders.headers); + } + + @Override + public int hashCode() { + return Objects.hash(headers); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookHeaders {\n"); + sb.append(" headers: ").append(toIndentedString(headers)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("headers"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("headers"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookHeaders + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookHeaders.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookHeaders is not found in the empty JSON string", WebhookHeaders.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookHeaders.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookHeaders` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookHeaders.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + // ensure the json data is an array + if (!jsonObj.get("headers").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `headers` to be an array in the JSON string but got `%s`", jsonObj.get("headers").toString())); + } + + JsonArray jsonArrayheaders = jsonObj.getAsJsonArray("headers"); + // validate the required field `headers` (array) + for (int i = 0; i < jsonArrayheaders.size(); i++) { + WebhookHeaderNameValue.validateJsonObject(jsonArrayheaders.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookHeaders.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookHeaders' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookHeaders.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookHeaders value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookHeaders read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookHeaders given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookHeaders + * @throws IOException if the JSON string is invalid with respect to WebhookHeaders + */ + public static WebhookHeaders fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookHeaders.class); + } + + /** + * Convert an instance of WebhookHeaders to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookNewAttachmentPayload.java b/src/main/java/com/mailslurp/models/WebhookNewAttachmentPayload.java new file mode 100644 index 000000000..1a4e0d54c --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookNewAttachmentPayload.java @@ -0,0 +1,527 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * NEW_ATTACHMENT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains an attachment. You can use the attachmentId to download the attachment. + */ +@ApiModel(description = "NEW_ATTACHMENT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains an attachment. You can use the attachmentId to download the attachment.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookNewAttachmentPayload { + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) + private UUID webhookId; + + public static final String SERIALIZED_NAME_WEBHOOK_NAME = "webhookName"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_NAME) + private String webhookName; + + /** + * Name of the event type webhook is being triggered for. + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_ATTACHMENT_ID = "attachmentId"; + @SerializedName(SERIALIZED_NAME_ATTACHMENT_ID) + private String attachmentId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; + @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) + private String contentType; + + public static final String SERIALIZED_NAME_CONTENT_LENGTH = "contentLength"; + @SerializedName(SERIALIZED_NAME_CONTENT_LENGTH) + private Long contentLength; + + public WebhookNewAttachmentPayload() { + } + + public WebhookNewAttachmentPayload messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Idempotent message ID. Store this ID locally or in a database to prevent message duplication. + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Idempotent message ID. Store this ID locally or in a database to prevent message duplication.") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public WebhookNewAttachmentPayload webhookId(UUID webhookId) { + + this.webhookId = webhookId; + return this; + } + + /** + * ID of webhook entity being triggered + * @return webhookId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of webhook entity being triggered") + + public UUID getWebhookId() { + return webhookId; + } + + + public void setWebhookId(UUID webhookId) { + this.webhookId = webhookId; + } + + + public WebhookNewAttachmentPayload webhookName(String webhookName) { + + this.webhookName = webhookName; + return this; + } + + /** + * Name of the webhook being triggered + * @return webhookName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the webhook being triggered") + + public String getWebhookName() { + return webhookName; + } + + + public void setWebhookName(String webhookName) { + this.webhookName = webhookName; + } + + + public WebhookNewAttachmentPayload eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Name of the event type webhook is being triggered for. + * @return eventName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of the event type webhook is being triggered for.") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public WebhookNewAttachmentPayload attachmentId(String attachmentId) { + + this.attachmentId = attachmentId; + return this; + } + + /** + * ID of attachment. Use the `AttachmentController` to + * @return attachmentId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of attachment. Use the `AttachmentController` to") + + public String getAttachmentId() { + return attachmentId; + } + + + public void setAttachmentId(String attachmentId) { + this.attachmentId = attachmentId; + } + + + public WebhookNewAttachmentPayload name(String name) { + + this.name = name; + return this; + } + + /** + * Filename of the attachment if present + * @return name + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Filename of the attachment if present") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public WebhookNewAttachmentPayload contentType(String contentType) { + + this.contentType = contentType; + return this; + } + + /** + * Content type of attachment such as 'image/png' or 'application/pdf + * @return contentType + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Content type of attachment such as 'image/png' or 'application/pdf") + + public String getContentType() { + return contentType; + } + + + public void setContentType(String contentType) { + this.contentType = contentType; + } + + + public WebhookNewAttachmentPayload contentLength(Long contentLength) { + + this.contentLength = contentLength; + return this; + } + + /** + * Size of attachment in bytes + * @return contentLength + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Size of attachment in bytes") + + public Long getContentLength() { + return contentLength; + } + + + public void setContentLength(Long contentLength) { + this.contentLength = contentLength; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookNewAttachmentPayload webhookNewAttachmentPayload = (WebhookNewAttachmentPayload) o; + return Objects.equals(this.messageId, webhookNewAttachmentPayload.messageId) && + Objects.equals(this.webhookId, webhookNewAttachmentPayload.webhookId) && + Objects.equals(this.webhookName, webhookNewAttachmentPayload.webhookName) && + Objects.equals(this.eventName, webhookNewAttachmentPayload.eventName) && + Objects.equals(this.attachmentId, webhookNewAttachmentPayload.attachmentId) && + Objects.equals(this.name, webhookNewAttachmentPayload.name) && + Objects.equals(this.contentType, webhookNewAttachmentPayload.contentType) && + Objects.equals(this.contentLength, webhookNewAttachmentPayload.contentLength); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, webhookId, webhookName, eventName, attachmentId, name, contentType, contentLength); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookNewAttachmentPayload {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + sb.append(" webhookName: ").append(toIndentedString(webhookName)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" attachmentId: ").append(toIndentedString(attachmentId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" contentType: ").append(toIndentedString(contentType)).append("\n"); + sb.append(" contentLength: ").append(toIndentedString(contentLength)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("messageId"); + openapiFields.add("webhookId"); + openapiFields.add("webhookName"); + openapiFields.add("eventName"); + openapiFields.add("attachmentId"); + openapiFields.add("name"); + openapiFields.add("contentType"); + openapiFields.add("contentLength"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("webhookId"); + openapiRequiredFields.add("eventName"); + openapiRequiredFields.add("attachmentId"); + openapiRequiredFields.add("name"); + openapiRequiredFields.add("contentType"); + openapiRequiredFields.add("contentLength"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookNewAttachmentPayload + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookNewAttachmentPayload.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookNewAttachmentPayload is not found in the empty JSON string", WebhookNewAttachmentPayload.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookNewAttachmentPayload.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookNewAttachmentPayload` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookNewAttachmentPayload.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if (!jsonObj.get("webhookId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); + } + if ((jsonObj.get("webhookName") != null && !jsonObj.get("webhookName").isJsonNull()) && !jsonObj.get("webhookName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookName").toString())); + } + if (!jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + if (!jsonObj.get("attachmentId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `attachmentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attachmentId").toString())); + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("contentType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookNewAttachmentPayload.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookNewAttachmentPayload' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookNewAttachmentPayload.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookNewAttachmentPayload value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookNewAttachmentPayload read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookNewAttachmentPayload given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookNewAttachmentPayload + * @throws IOException if the JSON string is invalid with respect to WebhookNewAttachmentPayload + */ + public static WebhookNewAttachmentPayload fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookNewAttachmentPayload.class); + } + + /** + * Convert an instance of WebhookNewAttachmentPayload to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookNewContactPayload.java b/src/main/java/com/mailslurp/models/WebhookNewContactPayload.java new file mode 100644 index 000000000..0547c28d9 --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookNewContactPayload.java @@ -0,0 +1,772 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * NEW_CONTACT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains a recipient that has not been saved as a contact. + */ +@ApiModel(description = "NEW_CONTACT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains a recipient that has not been saved as a contact.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookNewContactPayload { + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) + private UUID webhookId; + + public static final String SERIALIZED_NAME_WEBHOOK_NAME = "webhookName"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_NAME) + private String webhookName; + + /** + * Name of the event type webhook is being triggered for. + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_CONTACT_ID = "contactId"; + @SerializedName(SERIALIZED_NAME_CONTACT_ID) + private UUID contactId; + + public static final String SERIALIZED_NAME_GROUP_ID = "groupId"; + @SerializedName(SERIALIZED_NAME_GROUP_ID) + private UUID groupId; + + public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; + @SerializedName(SERIALIZED_NAME_FIRST_NAME) + private String firstName; + + public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; + @SerializedName(SERIALIZED_NAME_LAST_NAME) + private String lastName; + + public static final String SERIALIZED_NAME_COMPANY = "company"; + @SerializedName(SERIALIZED_NAME_COMPANY) + private String company; + + public static final String SERIALIZED_NAME_PRIMARY_EMAIL_ADDRESS = "primaryEmailAddress"; + @SerializedName(SERIALIZED_NAME_PRIMARY_EMAIL_ADDRESS) + private String primaryEmailAddress; + + public static final String SERIALIZED_NAME_EMAIL_ADDRESSES = "emailAddresses"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESSES) + private List emailAddresses = new ArrayList<>(); + + public static final String SERIALIZED_NAME_TAGS = "tags"; + @SerializedName(SERIALIZED_NAME_TAGS) + private List tags = new ArrayList<>(); + + public static final String SERIALIZED_NAME_META_DATA = "metaData"; + @SerializedName(SERIALIZED_NAME_META_DATA) + private Object metaData; + + public static final String SERIALIZED_NAME_OPT_OUT = "optOut"; + @SerializedName(SERIALIZED_NAME_OPT_OUT) + private Boolean optOut; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public WebhookNewContactPayload() { + } + + public WebhookNewContactPayload messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Idempotent message ID. Store this ID locally or in a database to prevent message duplication. + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Idempotent message ID. Store this ID locally or in a database to prevent message duplication.") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public WebhookNewContactPayload webhookId(UUID webhookId) { + + this.webhookId = webhookId; + return this; + } + + /** + * ID of webhook entity being triggered + * @return webhookId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of webhook entity being triggered") + + public UUID getWebhookId() { + return webhookId; + } + + + public void setWebhookId(UUID webhookId) { + this.webhookId = webhookId; + } + + + public WebhookNewContactPayload webhookName(String webhookName) { + + this.webhookName = webhookName; + return this; + } + + /** + * Name of the webhook being triggered + * @return webhookName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the webhook being triggered") + + public String getWebhookName() { + return webhookName; + } + + + public void setWebhookName(String webhookName) { + this.webhookName = webhookName; + } + + + public WebhookNewContactPayload eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Name of the event type webhook is being triggered for. + * @return eventName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of the event type webhook is being triggered for.") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public WebhookNewContactPayload contactId(UUID contactId) { + + this.contactId = contactId; + return this; + } + + /** + * Contact ID + * @return contactId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Contact ID") + + public UUID getContactId() { + return contactId; + } + + + public void setContactId(UUID contactId) { + this.contactId = contactId; + } + + + public WebhookNewContactPayload groupId(UUID groupId) { + + this.groupId = groupId; + return this; + } + + /** + * Contact group ID + * @return groupId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Contact group ID") + + public UUID getGroupId() { + return groupId; + } + + + public void setGroupId(UUID groupId) { + this.groupId = groupId; + } + + + public WebhookNewContactPayload firstName(String firstName) { + + this.firstName = firstName; + return this; + } + + /** + * Contact first name + * @return firstName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Contact first name") + + public String getFirstName() { + return firstName; + } + + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + + public WebhookNewContactPayload lastName(String lastName) { + + this.lastName = lastName; + return this; + } + + /** + * Contact last name + * @return lastName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Contact last name") + + public String getLastName() { + return lastName; + } + + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + + public WebhookNewContactPayload company(String company) { + + this.company = company; + return this; + } + + /** + * Contact company name + * @return company + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Contact company name") + + public String getCompany() { + return company; + } + + + public void setCompany(String company) { + this.company = company; + } + + + public WebhookNewContactPayload primaryEmailAddress(String primaryEmailAddress) { + + this.primaryEmailAddress = primaryEmailAddress; + return this; + } + + /** + * Primary email address for contact + * @return primaryEmailAddress + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Primary email address for contact") + + public String getPrimaryEmailAddress() { + return primaryEmailAddress; + } + + + public void setPrimaryEmailAddress(String primaryEmailAddress) { + this.primaryEmailAddress = primaryEmailAddress; + } + + + public WebhookNewContactPayload emailAddresses(List emailAddresses) { + + this.emailAddresses = emailAddresses; + return this; + } + + public WebhookNewContactPayload addEmailAddressesItem(String emailAddressesItem) { + this.emailAddresses.add(emailAddressesItem); + return this; + } + + /** + * Email addresses for contact + * @return emailAddresses + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Email addresses for contact") + + public List getEmailAddresses() { + return emailAddresses; + } + + + public void setEmailAddresses(List emailAddresses) { + this.emailAddresses = emailAddresses; + } + + + public WebhookNewContactPayload tags(List tags) { + + this.tags = tags; + return this; + } + + public WebhookNewContactPayload addTagsItem(String tagsItem) { + this.tags.add(tagsItem); + return this; + } + + /** + * Tags for contact + * @return tags + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Tags for contact") + + public List getTags() { + return tags; + } + + + public void setTags(List tags) { + this.tags = tags; + } + + + public WebhookNewContactPayload metaData(Object metaData) { + + this.metaData = metaData; + return this; + } + + /** + * Get metaData + * @return metaData + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Object getMetaData() { + return metaData; + } + + + public void setMetaData(Object metaData) { + this.metaData = metaData; + } + + + public WebhookNewContactPayload optOut(Boolean optOut) { + + this.optOut = optOut; + return this; + } + + /** + * Has contact opted out of emails + * @return optOut + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Has contact opted out of emails") + + public Boolean getOptOut() { + return optOut; + } + + + public void setOptOut(Boolean optOut) { + this.optOut = optOut; + } + + + public WebhookNewContactPayload createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Date time of event creation + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Date time of event creation") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookNewContactPayload webhookNewContactPayload = (WebhookNewContactPayload) o; + return Objects.equals(this.messageId, webhookNewContactPayload.messageId) && + Objects.equals(this.webhookId, webhookNewContactPayload.webhookId) && + Objects.equals(this.webhookName, webhookNewContactPayload.webhookName) && + Objects.equals(this.eventName, webhookNewContactPayload.eventName) && + Objects.equals(this.contactId, webhookNewContactPayload.contactId) && + Objects.equals(this.groupId, webhookNewContactPayload.groupId) && + Objects.equals(this.firstName, webhookNewContactPayload.firstName) && + Objects.equals(this.lastName, webhookNewContactPayload.lastName) && + Objects.equals(this.company, webhookNewContactPayload.company) && + Objects.equals(this.primaryEmailAddress, webhookNewContactPayload.primaryEmailAddress) && + Objects.equals(this.emailAddresses, webhookNewContactPayload.emailAddresses) && + Objects.equals(this.tags, webhookNewContactPayload.tags) && + Objects.equals(this.metaData, webhookNewContactPayload.metaData) && + Objects.equals(this.optOut, webhookNewContactPayload.optOut) && + Objects.equals(this.createdAt, webhookNewContactPayload.createdAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, webhookId, webhookName, eventName, contactId, groupId, firstName, lastName, company, primaryEmailAddress, emailAddresses, tags, metaData, optOut, createdAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookNewContactPayload {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + sb.append(" webhookName: ").append(toIndentedString(webhookName)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" contactId: ").append(toIndentedString(contactId)).append("\n"); + sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n"); + sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n"); + sb.append(" company: ").append(toIndentedString(company)).append("\n"); + sb.append(" primaryEmailAddress: ").append(toIndentedString(primaryEmailAddress)).append("\n"); + sb.append(" emailAddresses: ").append(toIndentedString(emailAddresses)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append(" metaData: ").append(toIndentedString(metaData)).append("\n"); + sb.append(" optOut: ").append(toIndentedString(optOut)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("messageId"); + openapiFields.add("webhookId"); + openapiFields.add("webhookName"); + openapiFields.add("eventName"); + openapiFields.add("contactId"); + openapiFields.add("groupId"); + openapiFields.add("firstName"); + openapiFields.add("lastName"); + openapiFields.add("company"); + openapiFields.add("primaryEmailAddress"); + openapiFields.add("emailAddresses"); + openapiFields.add("tags"); + openapiFields.add("metaData"); + openapiFields.add("optOut"); + openapiFields.add("createdAt"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("webhookId"); + openapiRequiredFields.add("eventName"); + openapiRequiredFields.add("contactId"); + openapiRequiredFields.add("emailAddresses"); + openapiRequiredFields.add("tags"); + openapiRequiredFields.add("optOut"); + openapiRequiredFields.add("createdAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookNewContactPayload + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookNewContactPayload.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookNewContactPayload is not found in the empty JSON string", WebhookNewContactPayload.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookNewContactPayload.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookNewContactPayload` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookNewContactPayload.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if (!jsonObj.get("webhookId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); + } + if ((jsonObj.get("webhookName") != null && !jsonObj.get("webhookName").isJsonNull()) && !jsonObj.get("webhookName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookName").toString())); + } + if (!jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + if (!jsonObj.get("contactId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `contactId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contactId").toString())); + } + if ((jsonObj.get("groupId") != null && !jsonObj.get("groupId").isJsonNull()) && !jsonObj.get("groupId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `groupId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("groupId").toString())); + } + if ((jsonObj.get("firstName") != null && !jsonObj.get("firstName").isJsonNull()) && !jsonObj.get("firstName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `firstName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("firstName").toString())); + } + if ((jsonObj.get("lastName") != null && !jsonObj.get("lastName").isJsonNull()) && !jsonObj.get("lastName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `lastName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastName").toString())); + } + if ((jsonObj.get("company") != null && !jsonObj.get("company").isJsonNull()) && !jsonObj.get("company").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `company` to be a primitive type in the JSON string but got `%s`", jsonObj.get("company").toString())); + } + if ((jsonObj.get("primaryEmailAddress") != null && !jsonObj.get("primaryEmailAddress").isJsonNull()) && !jsonObj.get("primaryEmailAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `primaryEmailAddress` to be a primitive type in the JSON string but got `%s`", jsonObj.get("primaryEmailAddress").toString())); + } + // ensure the required json array is present + if (jsonObj.get("emailAddresses") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("emailAddresses").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `emailAddresses` to be an array in the JSON string but got `%s`", jsonObj.get("emailAddresses").toString())); + } + // ensure the required json array is present + if (jsonObj.get("tags") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("tags").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookNewContactPayload.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookNewContactPayload' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookNewContactPayload.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookNewContactPayload value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookNewContactPayload read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookNewContactPayload given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookNewContactPayload + * @throws IOException if the JSON string is invalid with respect to WebhookNewContactPayload + */ + public static WebhookNewContactPayload fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookNewContactPayload.class); + } + + /** + * Convert an instance of WebhookNewContactPayload to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookNewEmailPayload.java b/src/main/java/com/mailslurp/models/WebhookNewEmailPayload.java new file mode 100644 index 000000000..bf069f37c --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookNewEmailPayload.java @@ -0,0 +1,769 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.AttachmentMetaData; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * NEW_EMAIL webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to. Use the email ID to fetch the full email body or attachments. + */ +@ApiModel(description = "NEW_EMAIL webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to. Use the email ID to fetch the full email body or attachments.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookNewEmailPayload { + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) + private UUID webhookId; + + /** + * Name of the event type webhook is being triggered for. + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_WEBHOOK_NAME = "webhookName"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_NAME) + private String webhookName; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_DOMAIN_ID = "domainId"; + @SerializedName(SERIALIZED_NAME_DOMAIN_ID) + private UUID domainId; + + public static final String SERIALIZED_NAME_EMAIL_ID = "emailId"; + @SerializedName(SERIALIZED_NAME_EMAIL_ID) + private UUID emailId; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_TO = "to"; + @SerializedName(SERIALIZED_NAME_TO) + private List to = new ArrayList<>(); + + public static final String SERIALIZED_NAME_FROM = "from"; + @SerializedName(SERIALIZED_NAME_FROM) + private String from; + + public static final String SERIALIZED_NAME_CC = "cc"; + @SerializedName(SERIALIZED_NAME_CC) + private List cc = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BCC = "bcc"; + @SerializedName(SERIALIZED_NAME_BCC) + private List bcc = new ArrayList<>(); + + public static final String SERIALIZED_NAME_SUBJECT = "subject"; + @SerializedName(SERIALIZED_NAME_SUBJECT) + private String subject; + + public static final String SERIALIZED_NAME_ATTACHMENT_META_DATAS = "attachmentMetaDatas"; + @SerializedName(SERIALIZED_NAME_ATTACHMENT_META_DATAS) + private List attachmentMetaDatas = new ArrayList<>(); + + public WebhookNewEmailPayload() { + } + + public WebhookNewEmailPayload messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Idempotent message ID. Store this ID locally or in a database to prevent message duplication. + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Idempotent message ID. Store this ID locally or in a database to prevent message duplication.") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public WebhookNewEmailPayload webhookId(UUID webhookId) { + + this.webhookId = webhookId; + return this; + } + + /** + * ID of webhook entity being triggered + * @return webhookId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of webhook entity being triggered") + + public UUID getWebhookId() { + return webhookId; + } + + + public void setWebhookId(UUID webhookId) { + this.webhookId = webhookId; + } + + + public WebhookNewEmailPayload eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Name of the event type webhook is being triggered for. + * @return eventName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of the event type webhook is being triggered for.") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public WebhookNewEmailPayload webhookName(String webhookName) { + + this.webhookName = webhookName; + return this; + } + + /** + * Name of the webhook being triggered + * @return webhookName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the webhook being triggered") + + public String getWebhookName() { + return webhookName; + } + + + public void setWebhookName(String webhookName) { + this.webhookName = webhookName; + } + + + public WebhookNewEmailPayload inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Id of the inbox + * @return inboxId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Id of the inbox") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public WebhookNewEmailPayload domainId(UUID domainId) { + + this.domainId = domainId; + return this; + } + + /** + * Id of the domain that received an email + * @return domainId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Id of the domain that received an email") + + public UUID getDomainId() { + return domainId; + } + + + public void setDomainId(UUID domainId) { + this.domainId = domainId; + } + + + public WebhookNewEmailPayload emailId(UUID emailId) { + + this.emailId = emailId; + return this; + } + + /** + * ID of the email that was received. Use this ID for fetching the email with the `EmailController`. + * @return emailId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of the email that was received. Use this ID for fetching the email with the `EmailController`.") + + public UUID getEmailId() { + return emailId; + } + + + public void setEmailId(UUID emailId) { + this.emailId = emailId; + } + + + public WebhookNewEmailPayload createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Date time of event creation + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Date time of event creation") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public WebhookNewEmailPayload to(List to) { + + this.to = to; + return this; + } + + public WebhookNewEmailPayload addToItem(String toItem) { + this.to.add(toItem); + return this; + } + + /** + * List of `To` recipient email addresses that the email was addressed to. See recipients object for names. + * @return to + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of `To` recipient email addresses that the email was addressed to. See recipients object for names.") + + public List getTo() { + return to; + } + + + public void setTo(List to) { + this.to = to; + } + + + public WebhookNewEmailPayload from(String from) { + + this.from = from; + return this; + } + + /** + * Who the email was sent from. An email address - see fromName for the sender name. + * @return from + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Who the email was sent from. An email address - see fromName for the sender name.") + + public String getFrom() { + return from; + } + + + public void setFrom(String from) { + this.from = from; + } + + + public WebhookNewEmailPayload cc(List cc) { + + this.cc = cc; + return this; + } + + public WebhookNewEmailPayload addCcItem(String ccItem) { + this.cc.add(ccItem); + return this; + } + + /** + * List of `CC` recipients email addresses that the email was addressed to. See recipients object for names. + * @return cc + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of `CC` recipients email addresses that the email was addressed to. See recipients object for names.") + + public List getCc() { + return cc; + } + + + public void setCc(List cc) { + this.cc = cc; + } + + + public WebhookNewEmailPayload bcc(List bcc) { + + this.bcc = bcc; + return this; + } + + public WebhookNewEmailPayload addBccItem(String bccItem) { + this.bcc.add(bccItem); + return this; + } + + /** + * List of `BCC` recipients email addresses that the email was addressed to. See recipients object for names. + * @return bcc + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of `BCC` recipients email addresses that the email was addressed to. See recipients object for names.") + + public List getBcc() { + return bcc; + } + + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + + public WebhookNewEmailPayload subject(String subject) { + + this.subject = subject; + return this; + } + + /** + * The subject line of the email message as specified by SMTP subject header + * @return subject + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The subject line of the email message as specified by SMTP subject header") + + public String getSubject() { + return subject; + } + + + public void setSubject(String subject) { + this.subject = subject; + } + + + public WebhookNewEmailPayload attachmentMetaDatas(List attachmentMetaDatas) { + + this.attachmentMetaDatas = attachmentMetaDatas; + return this; + } + + public WebhookNewEmailPayload addAttachmentMetaDatasItem(AttachmentMetaData attachmentMetaDatasItem) { + this.attachmentMetaDatas.add(attachmentMetaDatasItem); + return this; + } + + /** + * List of attachment meta data objects if attachments present + * @return attachmentMetaDatas + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of attachment meta data objects if attachments present") + + public List getAttachmentMetaDatas() { + return attachmentMetaDatas; + } + + + public void setAttachmentMetaDatas(List attachmentMetaDatas) { + this.attachmentMetaDatas = attachmentMetaDatas; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookNewEmailPayload webhookNewEmailPayload = (WebhookNewEmailPayload) o; + return Objects.equals(this.messageId, webhookNewEmailPayload.messageId) && + Objects.equals(this.webhookId, webhookNewEmailPayload.webhookId) && + Objects.equals(this.eventName, webhookNewEmailPayload.eventName) && + Objects.equals(this.webhookName, webhookNewEmailPayload.webhookName) && + Objects.equals(this.inboxId, webhookNewEmailPayload.inboxId) && + Objects.equals(this.domainId, webhookNewEmailPayload.domainId) && + Objects.equals(this.emailId, webhookNewEmailPayload.emailId) && + Objects.equals(this.createdAt, webhookNewEmailPayload.createdAt) && + Objects.equals(this.to, webhookNewEmailPayload.to) && + Objects.equals(this.from, webhookNewEmailPayload.from) && + Objects.equals(this.cc, webhookNewEmailPayload.cc) && + Objects.equals(this.bcc, webhookNewEmailPayload.bcc) && + Objects.equals(this.subject, webhookNewEmailPayload.subject) && + Objects.equals(this.attachmentMetaDatas, webhookNewEmailPayload.attachmentMetaDatas); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, webhookId, eventName, webhookName, inboxId, domainId, emailId, createdAt, to, from, cc, bcc, subject, attachmentMetaDatas); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookNewEmailPayload {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" webhookName: ").append(toIndentedString(webhookName)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" domainId: ").append(toIndentedString(domainId)).append("\n"); + sb.append(" emailId: ").append(toIndentedString(emailId)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append(" attachmentMetaDatas: ").append(toIndentedString(attachmentMetaDatas)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("messageId"); + openapiFields.add("webhookId"); + openapiFields.add("eventName"); + openapiFields.add("webhookName"); + openapiFields.add("inboxId"); + openapiFields.add("domainId"); + openapiFields.add("emailId"); + openapiFields.add("createdAt"); + openapiFields.add("to"); + openapiFields.add("from"); + openapiFields.add("cc"); + openapiFields.add("bcc"); + openapiFields.add("subject"); + openapiFields.add("attachmentMetaDatas"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("webhookId"); + openapiRequiredFields.add("eventName"); + openapiRequiredFields.add("inboxId"); + openapiRequiredFields.add("emailId"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("to"); + openapiRequiredFields.add("from"); + openapiRequiredFields.add("cc"); + openapiRequiredFields.add("bcc"); + openapiRequiredFields.add("attachmentMetaDatas"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookNewEmailPayload + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookNewEmailPayload.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookNewEmailPayload is not found in the empty JSON string", WebhookNewEmailPayload.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookNewEmailPayload.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookNewEmailPayload` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookNewEmailPayload.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if (!jsonObj.get("webhookId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); + } + if (!jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + if ((jsonObj.get("webhookName") != null && !jsonObj.get("webhookName").isJsonNull()) && !jsonObj.get("webhookName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookName").toString())); + } + if (!jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("domainId") != null && !jsonObj.get("domainId").isJsonNull()) && !jsonObj.get("domainId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `domainId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("domainId").toString())); + } + if (!jsonObj.get("emailId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `emailId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailId").toString())); + } + // ensure the required json array is present + if (jsonObj.get("to") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("to").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `to` to be an array in the JSON string but got `%s`", jsonObj.get("to").toString())); + } + if (!jsonObj.get("from").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `from` to be a primitive type in the JSON string but got `%s`", jsonObj.get("from").toString())); + } + // ensure the required json array is present + if (jsonObj.get("cc") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("cc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `cc` to be an array in the JSON string but got `%s`", jsonObj.get("cc").toString())); + } + // ensure the required json array is present + if (jsonObj.get("bcc") == null) { + throw new IllegalArgumentException("Expected the field `linkedContent` to be an array in the JSON string but got `null`"); + } else if (!jsonObj.get("bcc").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bcc` to be an array in the JSON string but got `%s`", jsonObj.get("bcc").toString())); + } + if ((jsonObj.get("subject") != null && !jsonObj.get("subject").isJsonNull()) && !jsonObj.get("subject").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `subject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subject").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("attachmentMetaDatas").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `attachmentMetaDatas` to be an array in the JSON string but got `%s`", jsonObj.get("attachmentMetaDatas").toString())); + } + + JsonArray jsonArrayattachmentMetaDatas = jsonObj.getAsJsonArray("attachmentMetaDatas"); + // validate the required field `attachmentMetaDatas` (array) + for (int i = 0; i < jsonArrayattachmentMetaDatas.size(); i++) { + AttachmentMetaData.validateJsonObject(jsonArrayattachmentMetaDatas.get(i).getAsJsonObject()); + }; + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookNewEmailPayload.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookNewEmailPayload' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookNewEmailPayload.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookNewEmailPayload value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookNewEmailPayload read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookNewEmailPayload given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookNewEmailPayload + * @throws IOException if the JSON string is invalid with respect to WebhookNewEmailPayload + */ + public static WebhookNewEmailPayload fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookNewEmailPayload.class); + } + + /** + * Convert an instance of WebhookNewEmailPayload to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookNewSmsPayload.java b/src/main/java/com/mailslurp/models/WebhookNewSmsPayload.java new file mode 100644 index 000000000..b38f2fc20 --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookNewSmsPayload.java @@ -0,0 +1,629 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * NEW_SMS webhook payload. Sent to your webhook url endpoint via HTTP POST when an sms is received by the phone number that your webhook is attached to. Use the SMS ID to fetch the full SMS details. + */ +@ApiModel(description = "NEW_SMS webhook payload. Sent to your webhook url endpoint via HTTP POST when an sms is received by the phone number that your webhook is attached to. Use the SMS ID to fetch the full SMS details.") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookNewSmsPayload { + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) + private UUID webhookId; + + /** + * Name of the event type webhook is being triggered for. + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_WEBHOOK_NAME = "webhookName"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_NAME) + private String webhookName; + + public static final String SERIALIZED_NAME_SMS_ID = "smsId"; + @SerializedName(SERIALIZED_NAME_SMS_ID) + private UUID smsId; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_PHONE_NUMBER = "phoneNumber"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER) + private UUID phoneNumber; + + public static final String SERIALIZED_NAME_TO_NUMBER = "toNumber"; + @SerializedName(SERIALIZED_NAME_TO_NUMBER) + private String toNumber; + + public static final String SERIALIZED_NAME_FROM_NUMBER = "fromNumber"; + @SerializedName(SERIALIZED_NAME_FROM_NUMBER) + private String fromNumber; + + public static final String SERIALIZED_NAME_BODY = "body"; + @SerializedName(SERIALIZED_NAME_BODY) + private String body; + + public static final String SERIALIZED_NAME_READ = "read"; + @SerializedName(SERIALIZED_NAME_READ) + private Boolean read; + + public WebhookNewSmsPayload() { + } + + public WebhookNewSmsPayload messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Idempotent message ID. Store this ID locally or in a database to prevent message duplication. + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Idempotent message ID. Store this ID locally or in a database to prevent message duplication.") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public WebhookNewSmsPayload webhookId(UUID webhookId) { + + this.webhookId = webhookId; + return this; + } + + /** + * ID of webhook entity being triggered + * @return webhookId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of webhook entity being triggered") + + public UUID getWebhookId() { + return webhookId; + } + + + public void setWebhookId(UUID webhookId) { + this.webhookId = webhookId; + } + + + public WebhookNewSmsPayload eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Name of the event type webhook is being triggered for. + * @return eventName + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of the event type webhook is being triggered for.") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public WebhookNewSmsPayload webhookName(String webhookName) { + + this.webhookName = webhookName; + return this; + } + + /** + * Name of the webhook being triggered + * @return webhookName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Name of the webhook being triggered") + + public String getWebhookName() { + return webhookName; + } + + + public void setWebhookName(String webhookName) { + this.webhookName = webhookName; + } + + + public WebhookNewSmsPayload smsId(UUID smsId) { + + this.smsId = smsId; + return this; + } + + /** + * ID of SMS message + * @return smsId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of SMS message") + + public UUID getSmsId() { + return smsId; + } + + + public void setSmsId(UUID smsId) { + this.smsId = smsId; + } + + + public WebhookNewSmsPayload userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * User ID of event + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "User ID of event") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public WebhookNewSmsPayload phoneNumber(UUID phoneNumber) { + + this.phoneNumber = phoneNumber; + return this; + } + + /** + * ID of phone number receiving SMS + * @return phoneNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "ID of phone number receiving SMS") + + public UUID getPhoneNumber() { + return phoneNumber; + } + + + public void setPhoneNumber(UUID phoneNumber) { + this.phoneNumber = phoneNumber; + } + + + public WebhookNewSmsPayload toNumber(String toNumber) { + + this.toNumber = toNumber; + return this; + } + + /** + * Recipient phone number + * @return toNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Recipient phone number") + + public String getToNumber() { + return toNumber; + } + + + public void setToNumber(String toNumber) { + this.toNumber = toNumber; + } + + + public WebhookNewSmsPayload fromNumber(String fromNumber) { + + this.fromNumber = fromNumber; + return this; + } + + /** + * Sender phone number + * @return fromNumber + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "Sender phone number") + + public String getFromNumber() { + return fromNumber; + } + + + public void setFromNumber(String fromNumber) { + this.fromNumber = fromNumber; + } + + + public WebhookNewSmsPayload body(String body) { + + this.body = body; + return this; + } + + /** + * SMS message body + * @return body + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "SMS message body") + + public String getBody() { + return body; + } + + + public void setBody(String body) { + this.body = body; + } + + + public WebhookNewSmsPayload read(Boolean read) { + + this.read = read; + return this; + } + + /** + * SMS has been read + * @return read + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "SMS has been read") + + public Boolean getRead() { + return read; + } + + + public void setRead(Boolean read) { + this.read = read; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookNewSmsPayload webhookNewSmsPayload = (WebhookNewSmsPayload) o; + return Objects.equals(this.messageId, webhookNewSmsPayload.messageId) && + Objects.equals(this.webhookId, webhookNewSmsPayload.webhookId) && + Objects.equals(this.eventName, webhookNewSmsPayload.eventName) && + Objects.equals(this.webhookName, webhookNewSmsPayload.webhookName) && + Objects.equals(this.smsId, webhookNewSmsPayload.smsId) && + Objects.equals(this.userId, webhookNewSmsPayload.userId) && + Objects.equals(this.phoneNumber, webhookNewSmsPayload.phoneNumber) && + Objects.equals(this.toNumber, webhookNewSmsPayload.toNumber) && + Objects.equals(this.fromNumber, webhookNewSmsPayload.fromNumber) && + Objects.equals(this.body, webhookNewSmsPayload.body) && + Objects.equals(this.read, webhookNewSmsPayload.read); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, webhookId, eventName, webhookName, smsId, userId, phoneNumber, toNumber, fromNumber, body, read); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookNewSmsPayload {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" webhookName: ").append(toIndentedString(webhookName)).append("\n"); + sb.append(" smsId: ").append(toIndentedString(smsId)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); + sb.append(" toNumber: ").append(toIndentedString(toNumber)).append("\n"); + sb.append(" fromNumber: ").append(toIndentedString(fromNumber)).append("\n"); + sb.append(" body: ").append(toIndentedString(body)).append("\n"); + sb.append(" read: ").append(toIndentedString(read)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("messageId"); + openapiFields.add("webhookId"); + openapiFields.add("eventName"); + openapiFields.add("webhookName"); + openapiFields.add("smsId"); + openapiFields.add("userId"); + openapiFields.add("phoneNumber"); + openapiFields.add("toNumber"); + openapiFields.add("fromNumber"); + openapiFields.add("body"); + openapiFields.add("read"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("webhookId"); + openapiRequiredFields.add("eventName"); + openapiRequiredFields.add("smsId"); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("phoneNumber"); + openapiRequiredFields.add("toNumber"); + openapiRequiredFields.add("fromNumber"); + openapiRequiredFields.add("body"); + openapiRequiredFields.add("read"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookNewSmsPayload + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookNewSmsPayload.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookNewSmsPayload is not found in the empty JSON string", WebhookNewSmsPayload.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookNewSmsPayload.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookNewSmsPayload` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookNewSmsPayload.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if (!jsonObj.get("webhookId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); + } + if (!jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + if ((jsonObj.get("webhookName") != null && !jsonObj.get("webhookName").isJsonNull()) && !jsonObj.get("webhookName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookName").toString())); + } + if (!jsonObj.get("smsId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `smsId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("smsId").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if (!jsonObj.get("phoneNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); + } + if (!jsonObj.get("toNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `toNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("toNumber").toString())); + } + if (!jsonObj.get("fromNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `fromNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fromNumber").toString())); + } + if (!jsonObj.get("body").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `body` to be a primitive type in the JSON string but got `%s`", jsonObj.get("body").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookNewSmsPayload.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookNewSmsPayload' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookNewSmsPayload.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookNewSmsPayload value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookNewSmsPayload read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookNewSmsPayload given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookNewSmsPayload + * @throws IOException if the JSON string is invalid with respect to WebhookNewSmsPayload + */ + public static WebhookNewSmsPayload fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookNewSmsPayload.class); + } + + /** + * Convert an instance of WebhookNewSmsPayload to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookProjection.java b/src/main/java/com/mailslurp/models/WebhookProjection.java new file mode 100644 index 000000000..62084d1f6 --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookProjection.java @@ -0,0 +1,510 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Representation of a webhook + */ +@ApiModel(description = "Representation of a webhook") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookProjection { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_URL = "url"; + @SerializedName(SERIALIZED_NAME_URL) + private String url; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + /** + * Gets or Sets eventName + */ + @JsonAdapter(EventNameEnum.Adapter.class) + public enum EventNameEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + EventNameEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EventNameEnum fromValue(String value) { + for (EventNameEnum b : EventNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EventNameEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EventNameEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EventNameEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_EVENT_NAME = "eventName"; + @SerializedName(SERIALIZED_NAME_EVENT_NAME) + private EventNameEnum eventName; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_PHONE_NUMBER_ID = "phoneNumberId"; + @SerializedName(SERIALIZED_NAME_PHONE_NUMBER_ID) + private UUID phoneNumberId; + + public WebhookProjection() { + } + + public WebhookProjection name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public WebhookProjection id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public WebhookProjection url(String url) { + + this.url = url; + return this; + } + + /** + * Get url + * @return url + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getUrl() { + return url; + } + + + public void setUrl(String url) { + this.url = url; + } + + + public WebhookProjection inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public WebhookProjection eventName(EventNameEnum eventName) { + + this.eventName = eventName; + return this; + } + + /** + * Get eventName + * @return eventName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public EventNameEnum getEventName() { + return eventName; + } + + + public void setEventName(EventNameEnum eventName) { + this.eventName = eventName; + } + + + public WebhookProjection createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public WebhookProjection updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public WebhookProjection phoneNumberId(UUID phoneNumberId) { + + this.phoneNumberId = phoneNumberId; + return this; + } + + /** + * Get phoneNumberId + * @return phoneNumberId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getPhoneNumberId() { + return phoneNumberId; + } + + + public void setPhoneNumberId(UUID phoneNumberId) { + this.phoneNumberId = phoneNumberId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookProjection webhookProjection = (WebhookProjection) o; + return Objects.equals(this.name, webhookProjection.name) && + Objects.equals(this.id, webhookProjection.id) && + Objects.equals(this.url, webhookProjection.url) && + Objects.equals(this.inboxId, webhookProjection.inboxId) && + Objects.equals(this.eventName, webhookProjection.eventName) && + Objects.equals(this.createdAt, webhookProjection.createdAt) && + Objects.equals(this.updatedAt, webhookProjection.updatedAt) && + Objects.equals(this.phoneNumberId, webhookProjection.phoneNumberId); + } + + @Override + public int hashCode() { + return Objects.hash(name, id, url, inboxId, eventName, createdAt, updatedAt, phoneNumberId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookProjection {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" eventName: ").append(toIndentedString(eventName)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" phoneNumberId: ").append(toIndentedString(phoneNumberId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("id"); + openapiFields.add("url"); + openapiFields.add("inboxId"); + openapiFields.add("eventName"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + openapiFields.add("phoneNumberId"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("id"); + openapiRequiredFields.add("url"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookProjection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookProjection is not found in the empty JSON string", WebhookProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookProjection` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookProjection.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if (!jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("url").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if ((jsonObj.get("eventName") != null && !jsonObj.get("eventName").isJsonNull()) && !jsonObj.get("eventName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventName").toString())); + } + if ((jsonObj.get("phoneNumberId") != null && !jsonObj.get("phoneNumberId").isJsonNull()) && !jsonObj.get("phoneNumberId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `phoneNumberId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumberId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookProjection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookProjection + * @throws IOException if the JSON string is invalid with respect to WebhookProjection + */ + public static WebhookProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookProjection.class); + } + + /** + * Convert an instance of WebhookProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookRedriveResult.java b/src/main/java/com/mailslurp/models/WebhookRedriveResult.java new file mode 100644 index 000000000..8f59772d9 --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookRedriveResult.java @@ -0,0 +1,294 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Result of retrying webhook + */ +@ApiModel(description = "Result of retrying webhook") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookRedriveResult { + public static final String SERIALIZED_NAME_WEBHOOK_RESULT_ID = "webhookResultId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_RESULT_ID) + private UUID webhookResultId; + + public static final String SERIALIZED_NAME_SUCCESS = "success"; + @SerializedName(SERIALIZED_NAME_SUCCESS) + private Boolean success; + + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public WebhookRedriveResult() { + } + + public WebhookRedriveResult webhookResultId(UUID webhookResultId) { + + this.webhookResultId = webhookResultId; + return this; + } + + /** + * Get webhookResultId + * @return webhookResultId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getWebhookResultId() { + return webhookResultId; + } + + + public void setWebhookResultId(UUID webhookResultId) { + this.webhookResultId = webhookResultId; + } + + + public WebhookRedriveResult success(Boolean success) { + + this.success = success; + return this; + } + + /** + * Get success + * @return success + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getSuccess() { + return success; + } + + + public void setSuccess(Boolean success) { + this.success = success; + } + + + public WebhookRedriveResult message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookRedriveResult webhookRedriveResult = (WebhookRedriveResult) o; + return Objects.equals(this.webhookResultId, webhookRedriveResult.webhookResultId) && + Objects.equals(this.success, webhookRedriveResult.success) && + Objects.equals(this.message, webhookRedriveResult.message); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(webhookResultId, success, message); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookRedriveResult {\n"); + sb.append(" webhookResultId: ").append(toIndentedString(webhookResultId)).append("\n"); + sb.append(" success: ").append(toIndentedString(success)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("webhookResultId"); + openapiFields.add("success"); + openapiFields.add("message"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("webhookResultId"); + openapiRequiredFields.add("success"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookRedriveResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookRedriveResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookRedriveResult is not found in the empty JSON string", WebhookRedriveResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookRedriveResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookRedriveResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookRedriveResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("webhookResultId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookResultId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookResultId").toString())); + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookRedriveResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookRedriveResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookRedriveResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookRedriveResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookRedriveResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookRedriveResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookRedriveResult + * @throws IOException if the JSON string is invalid with respect to WebhookRedriveResult + */ + public static WebhookRedriveResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookRedriveResult.class); + } + + /** + * Convert an instance of WebhookRedriveResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookResultDto.java b/src/main/java/com/mailslurp/models/WebhookResultDto.java new file mode 100644 index 000000000..fa946e99e --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookResultDto.java @@ -0,0 +1,891 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Result of a webhook notification + */ +@ApiModel(description = "Result of a webhook notification") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookResultDto { + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private UUID id; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + private UUID userId; + + public static final String SERIALIZED_NAME_INBOX_ID = "inboxId"; + @SerializedName(SERIALIZED_NAME_INBOX_ID) + private UUID inboxId; + + public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) + private UUID webhookId; + + public static final String SERIALIZED_NAME_WEBHOOK_URL = "webhookUrl"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_URL) + private String webhookUrl; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + private String messageId; + + public static final String SERIALIZED_NAME_REDRIVE_ID = "redriveId"; + @SerializedName(SERIALIZED_NAME_REDRIVE_ID) + private UUID redriveId; + + /** + * Gets or Sets httpMethod + */ + @JsonAdapter(HttpMethodEnum.Adapter.class) + public enum HttpMethodEnum { + GET("GET"), + + HEAD("HEAD"), + + POST("POST"), + + PUT("PUT"), + + PATCH("PATCH"), + + DELETE("DELETE"), + + OPTIONS("OPTIONS"), + + TRACE("TRACE"); + + private String value; + + HttpMethodEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static HttpMethodEnum fromValue(String value) { + for (HttpMethodEnum b : HttpMethodEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final HttpMethodEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public HttpMethodEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return HttpMethodEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_HTTP_METHOD = "httpMethod"; + @SerializedName(SERIALIZED_NAME_HTTP_METHOD) + private HttpMethodEnum httpMethod; + + /** + * Gets or Sets webhookEvent + */ + @JsonAdapter(WebhookEventEnum.Adapter.class) + public enum WebhookEventEnum { + EMAIL_RECEIVED("EMAIL_RECEIVED"), + + NEW_EMAIL("NEW_EMAIL"), + + NEW_CONTACT("NEW_CONTACT"), + + NEW_ATTACHMENT("NEW_ATTACHMENT"), + + EMAIL_OPENED("EMAIL_OPENED"), + + EMAIL_READ("EMAIL_READ"), + + DELIVERY_STATUS("DELIVERY_STATUS"), + + BOUNCE("BOUNCE"), + + BOUNCE_RECIPIENT("BOUNCE_RECIPIENT"), + + NEW_SMS("NEW_SMS"); + + private String value; + + WebhookEventEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static WebhookEventEnum fromValue(String value) { + for (WebhookEventEnum b : WebhookEventEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final WebhookEventEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public WebhookEventEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return WebhookEventEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_WEBHOOK_EVENT = "webhookEvent"; + @SerializedName(SERIALIZED_NAME_WEBHOOK_EVENT) + private WebhookEventEnum webhookEvent; + + public static final String SERIALIZED_NAME_RESPONSE_STATUS = "responseStatus"; + @SerializedName(SERIALIZED_NAME_RESPONSE_STATUS) + private Integer responseStatus; + + public static final String SERIALIZED_NAME_RESPONSE_TIME_MILLIS = "responseTimeMillis"; + @SerializedName(SERIALIZED_NAME_RESPONSE_TIME_MILLIS) + private Long responseTimeMillis; + + public static final String SERIALIZED_NAME_RESPONSE_BODY_EXTRACT = "responseBodyExtract"; + @SerializedName(SERIALIZED_NAME_RESPONSE_BODY_EXTRACT) + private String responseBodyExtract; + + /** + * Gets or Sets resultType + */ + @JsonAdapter(ResultTypeEnum.Adapter.class) + public enum ResultTypeEnum { + BAD_RESPONSE("BAD_RESPONSE"), + + EXCEPTION("EXCEPTION"), + + SUCCESS("SUCCESS"); + + private String value; + + ResultTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ResultTypeEnum fromValue(String value) { + for (ResultTypeEnum b : ResultTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ResultTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ResultTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ResultTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_RESULT_TYPE = "resultType"; + @SerializedName(SERIALIZED_NAME_RESULT_TYPE) + private ResultTypeEnum resultType; + + public static final String SERIALIZED_NAME_CREATED_AT = "createdAt"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_SEEN = "seen"; + @SerializedName(SERIALIZED_NAME_SEEN) + private Boolean seen; + + public WebhookResultDto() { + } + + public WebhookResultDto id(UUID id) { + + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getId() { + return id; + } + + + public void setId(UUID id) { + this.id = id; + } + + + public WebhookResultDto userId(UUID userId) { + + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getUserId() { + return userId; + } + + + public void setUserId(UUID userId) { + this.userId = userId; + } + + + public WebhookResultDto inboxId(UUID inboxId) { + + this.inboxId = inboxId; + return this; + } + + /** + * Get inboxId + * @return inboxId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getInboxId() { + return inboxId; + } + + + public void setInboxId(UUID inboxId) { + this.inboxId = inboxId; + } + + + public WebhookResultDto webhookId(UUID webhookId) { + + this.webhookId = webhookId; + return this; + } + + /** + * Get webhookId + * @return webhookId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public UUID getWebhookId() { + return webhookId; + } + + + public void setWebhookId(UUID webhookId) { + this.webhookId = webhookId; + } + + + public WebhookResultDto webhookUrl(String webhookUrl) { + + this.webhookUrl = webhookUrl; + return this; + } + + /** + * Get webhookUrl + * @return webhookUrl + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getWebhookUrl() { + return webhookUrl; + } + + + public void setWebhookUrl(String webhookUrl) { + this.webhookUrl = webhookUrl; + } + + + public WebhookResultDto messageId(String messageId) { + + this.messageId = messageId; + return this; + } + + /** + * Get messageId + * @return messageId + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getMessageId() { + return messageId; + } + + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + + public WebhookResultDto redriveId(UUID redriveId) { + + this.redriveId = redriveId; + return this; + } + + /** + * Get redriveId + * @return redriveId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UUID getRedriveId() { + return redriveId; + } + + + public void setRedriveId(UUID redriveId) { + this.redriveId = redriveId; + } + + + public WebhookResultDto httpMethod(HttpMethodEnum httpMethod) { + + this.httpMethod = httpMethod; + return this; + } + + /** + * Get httpMethod + * @return httpMethod + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public HttpMethodEnum getHttpMethod() { + return httpMethod; + } + + + public void setHttpMethod(HttpMethodEnum httpMethod) { + this.httpMethod = httpMethod; + } + + + public WebhookResultDto webhookEvent(WebhookEventEnum webhookEvent) { + + this.webhookEvent = webhookEvent; + return this; + } + + /** + * Get webhookEvent + * @return webhookEvent + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public WebhookEventEnum getWebhookEvent() { + return webhookEvent; + } + + + public void setWebhookEvent(WebhookEventEnum webhookEvent) { + this.webhookEvent = webhookEvent; + } + + + public WebhookResultDto responseStatus(Integer responseStatus) { + + this.responseStatus = responseStatus; + return this; + } + + /** + * Get responseStatus + * @return responseStatus + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getResponseStatus() { + return responseStatus; + } + + + public void setResponseStatus(Integer responseStatus) { + this.responseStatus = responseStatus; + } + + + public WebhookResultDto responseTimeMillis(Long responseTimeMillis) { + + this.responseTimeMillis = responseTimeMillis; + return this; + } + + /** + * Get responseTimeMillis + * @return responseTimeMillis + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Long getResponseTimeMillis() { + return responseTimeMillis; + } + + + public void setResponseTimeMillis(Long responseTimeMillis) { + this.responseTimeMillis = responseTimeMillis; + } + + + public WebhookResultDto responseBodyExtract(String responseBodyExtract) { + + this.responseBodyExtract = responseBodyExtract; + return this; + } + + /** + * Get responseBodyExtract + * @return responseBodyExtract + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getResponseBodyExtract() { + return responseBodyExtract; + } + + + public void setResponseBodyExtract(String responseBodyExtract) { + this.responseBodyExtract = responseBodyExtract; + } + + + public WebhookResultDto resultType(ResultTypeEnum resultType) { + + this.resultType = resultType; + return this; + } + + /** + * Get resultType + * @return resultType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public ResultTypeEnum getResultType() { + return resultType; + } + + + public void setResultType(ResultTypeEnum resultType) { + this.resultType = resultType; + } + + + public WebhookResultDto createdAt(OffsetDateTime createdAt) { + + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public WebhookResultDto updatedAt(OffsetDateTime updatedAt) { + + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public WebhookResultDto seen(Boolean seen) { + + this.seen = seen; + return this; + } + + /** + * Get seen + * @return seen + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Boolean getSeen() { + return seen; + } + + + public void setSeen(Boolean seen) { + this.seen = seen; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookResultDto webhookResultDto = (WebhookResultDto) o; + return Objects.equals(this.id, webhookResultDto.id) && + Objects.equals(this.userId, webhookResultDto.userId) && + Objects.equals(this.inboxId, webhookResultDto.inboxId) && + Objects.equals(this.webhookId, webhookResultDto.webhookId) && + Objects.equals(this.webhookUrl, webhookResultDto.webhookUrl) && + Objects.equals(this.messageId, webhookResultDto.messageId) && + Objects.equals(this.redriveId, webhookResultDto.redriveId) && + Objects.equals(this.httpMethod, webhookResultDto.httpMethod) && + Objects.equals(this.webhookEvent, webhookResultDto.webhookEvent) && + Objects.equals(this.responseStatus, webhookResultDto.responseStatus) && + Objects.equals(this.responseTimeMillis, webhookResultDto.responseTimeMillis) && + Objects.equals(this.responseBodyExtract, webhookResultDto.responseBodyExtract) && + Objects.equals(this.resultType, webhookResultDto.resultType) && + Objects.equals(this.createdAt, webhookResultDto.createdAt) && + Objects.equals(this.updatedAt, webhookResultDto.updatedAt) && + Objects.equals(this.seen, webhookResultDto.seen); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(id, userId, inboxId, webhookId, webhookUrl, messageId, redriveId, httpMethod, webhookEvent, responseStatus, responseTimeMillis, responseBodyExtract, resultType, createdAt, updatedAt, seen); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookResultDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n"); + sb.append(" webhookId: ").append(toIndentedString(webhookId)).append("\n"); + sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" redriveId: ").append(toIndentedString(redriveId)).append("\n"); + sb.append(" httpMethod: ").append(toIndentedString(httpMethod)).append("\n"); + sb.append(" webhookEvent: ").append(toIndentedString(webhookEvent)).append("\n"); + sb.append(" responseStatus: ").append(toIndentedString(responseStatus)).append("\n"); + sb.append(" responseTimeMillis: ").append(toIndentedString(responseTimeMillis)).append("\n"); + sb.append(" responseBodyExtract: ").append(toIndentedString(responseBodyExtract)).append("\n"); + sb.append(" resultType: ").append(toIndentedString(resultType)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" seen: ").append(toIndentedString(seen)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("id"); + openapiFields.add("userId"); + openapiFields.add("inboxId"); + openapiFields.add("webhookId"); + openapiFields.add("webhookUrl"); + openapiFields.add("messageId"); + openapiFields.add("redriveId"); + openapiFields.add("httpMethod"); + openapiFields.add("webhookEvent"); + openapiFields.add("responseStatus"); + openapiFields.add("responseTimeMillis"); + openapiFields.add("responseBodyExtract"); + openapiFields.add("resultType"); + openapiFields.add("createdAt"); + openapiFields.add("updatedAt"); + openapiFields.add("seen"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("userId"); + openapiRequiredFields.add("webhookId"); + openapiRequiredFields.add("webhookUrl"); + openapiRequiredFields.add("messageId"); + openapiRequiredFields.add("httpMethod"); + openapiRequiredFields.add("webhookEvent"); + openapiRequiredFields.add("responseTimeMillis"); + openapiRequiredFields.add("createdAt"); + openapiRequiredFields.add("updatedAt"); + openapiRequiredFields.add("seen"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookResultDto + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookResultDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookResultDto is not found in the empty JSON string", WebhookResultDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookResultDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookResultDto` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookResultDto.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if (!jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); + } + if ((jsonObj.get("inboxId") != null && !jsonObj.get("inboxId").isJsonNull()) && !jsonObj.get("inboxId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `inboxId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("inboxId").toString())); + } + if (!jsonObj.get("webhookId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); + } + if (!jsonObj.get("webhookUrl").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookUrl").toString())); + } + if (!jsonObj.get("messageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `messageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageId").toString())); + } + if ((jsonObj.get("redriveId") != null && !jsonObj.get("redriveId").isJsonNull()) && !jsonObj.get("redriveId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `redriveId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("redriveId").toString())); + } + if (!jsonObj.get("httpMethod").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `httpMethod` to be a primitive type in the JSON string but got `%s`", jsonObj.get("httpMethod").toString())); + } + if (!jsonObj.get("webhookEvent").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `webhookEvent` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookEvent").toString())); + } + if ((jsonObj.get("responseBodyExtract") != null && !jsonObj.get("responseBodyExtract").isJsonNull()) && !jsonObj.get("responseBodyExtract").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `responseBodyExtract` to be a primitive type in the JSON string but got `%s`", jsonObj.get("responseBodyExtract").toString())); + } + if ((jsonObj.get("resultType") != null && !jsonObj.get("resultType").isJsonNull()) && !jsonObj.get("resultType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `resultType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("resultType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookResultDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookResultDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookResultDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookResultDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookResultDto read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookResultDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookResultDto + * @throws IOException if the JSON string is invalid with respect to WebhookResultDto + */ + public static WebhookResultDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookResultDto.class); + } + + /** + * Convert an instance of WebhookResultDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookTestRequest.java b/src/main/java/com/mailslurp/models/WebhookTestRequest.java new file mode 100644 index 000000000..a1a09f7dc --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookTestRequest.java @@ -0,0 +1,393 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Result of webhook test request + */ +@ApiModel(description = "Result of webhook test request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookTestRequest { + public static final String SERIALIZED_NAME_URL = "url"; + @SerializedName(SERIALIZED_NAME_URL) + private String url; + + /** + * Gets or Sets method + */ + @JsonAdapter(MethodEnum.Adapter.class) + public enum MethodEnum { + GET("GET"), + + HEAD("HEAD"), + + POST("POST"), + + PUT("PUT"), + + PATCH("PATCH"), + + DELETE("DELETE"), + + OPTIONS("OPTIONS"), + + TRACE("TRACE"); + + private String value; + + MethodEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static MethodEnum fromValue(String value) { + for (MethodEnum b : MethodEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final MethodEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public MethodEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return MethodEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_METHOD = "method"; + @SerializedName(SERIALIZED_NAME_METHOD) + private MethodEnum method; + + public static final String SERIALIZED_NAME_HEADERS = "headers"; + @SerializedName(SERIALIZED_NAME_HEADERS) + private Map headers = new HashMap<>(); + + public static final String SERIALIZED_NAME_PAYLOAD = "payload"; + @SerializedName(SERIALIZED_NAME_PAYLOAD) + private String payload; + + public WebhookTestRequest() { + } + + public WebhookTestRequest url(String url) { + + this.url = url; + return this; + } + + /** + * Get url + * @return url + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public String getUrl() { + return url; + } + + + public void setUrl(String url) { + this.url = url; + } + + + public WebhookTestRequest method(MethodEnum method) { + + this.method = method; + return this; + } + + /** + * Get method + * @return method + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public MethodEnum getMethod() { + return method; + } + + + public void setMethod(MethodEnum method) { + this.method = method; + } + + + public WebhookTestRequest headers(Map headers) { + + this.headers = headers; + return this; + } + + public WebhookTestRequest putHeadersItem(String key, String headersItem) { + this.headers.put(key, headersItem); + return this; + } + + /** + * Get headers + * @return headers + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public Map getHeaders() { + return headers; + } + + + public void setHeaders(Map headers) { + this.headers = headers; + } + + + public WebhookTestRequest payload(String payload) { + + this.payload = payload; + return this; + } + + /** + * Get payload + * @return payload + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getPayload() { + return payload; + } + + + public void setPayload(String payload) { + this.payload = payload; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookTestRequest webhookTestRequest = (WebhookTestRequest) o; + return Objects.equals(this.url, webhookTestRequest.url) && + Objects.equals(this.method, webhookTestRequest.method) && + Objects.equals(this.headers, webhookTestRequest.headers) && + Objects.equals(this.payload, webhookTestRequest.payload); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(url, method, headers, payload); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookTestRequest {\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append(" method: ").append(toIndentedString(method)).append("\n"); + sb.append(" headers: ").append(toIndentedString(headers)).append("\n"); + sb.append(" payload: ").append(toIndentedString(payload)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("url"); + openapiFields.add("method"); + openapiFields.add("headers"); + openapiFields.add("payload"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("url"); + openapiRequiredFields.add("method"); + openapiRequiredFields.add("headers"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookTestRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookTestRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookTestRequest is not found in the empty JSON string", WebhookTestRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookTestRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookTestRequest` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookTestRequest.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("url").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); + } + if (!jsonObj.get("method").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `method` to be a primitive type in the JSON string but got `%s`", jsonObj.get("method").toString())); + } + if ((jsonObj.get("payload") != null && !jsonObj.get("payload").isJsonNull()) && !jsonObj.get("payload").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `payload` to be a primitive type in the JSON string but got `%s`", jsonObj.get("payload").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookTestRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookTestRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookTestRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookTestRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookTestRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookTestRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookTestRequest + * @throws IOException if the JSON string is invalid with respect to WebhookTestRequest + */ + public static WebhookTestRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookTestRequest.class); + } + + /** + * Convert an instance of WebhookTestRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookTestResponse.java b/src/main/java/com/mailslurp/models/WebhookTestResponse.java new file mode 100644 index 000000000..60cfb3b26 --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookTestResponse.java @@ -0,0 +1,251 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Response from webhook test request + */ +@ApiModel(description = "Response from webhook test request") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookTestResponse { + public static final String SERIALIZED_NAME_STATUS_CODE = "statusCode"; + @SerializedName(SERIALIZED_NAME_STATUS_CODE) + private Integer statusCode; + + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public WebhookTestResponse() { + } + + public WebhookTestResponse statusCode(Integer statusCode) { + + this.statusCode = statusCode; + return this; + } + + /** + * Get statusCode + * @return statusCode + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Integer getStatusCode() { + return statusCode; + } + + + public void setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + } + + + public WebhookTestResponse message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookTestResponse webhookTestResponse = (WebhookTestResponse) o; + return Objects.equals(this.statusCode, webhookTestResponse.statusCode) && + Objects.equals(this.message, webhookTestResponse.message); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(statusCode, message); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookTestResponse {\n"); + sb.append(" statusCode: ").append(toIndentedString(statusCode)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("statusCode"); + openapiFields.add("message"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookTestResponse + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookTestResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookTestResponse is not found in the empty JSON string", WebhookTestResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookTestResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookTestResponse` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookTestResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookTestResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookTestResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookTestResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookTestResponse read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookTestResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookTestResponse + * @throws IOException if the JSON string is invalid with respect to WebhookTestResponse + */ + public static WebhookTestResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookTestResponse.class); + } + + /** + * Convert an instance of WebhookTestResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/mailslurp/models/WebhookTestResult.java b/src/main/java/com/mailslurp/models/WebhookTestResult.java new file mode 100644 index 000000000..022d5015c --- /dev/null +++ b/src/main/java/com/mailslurp/models/WebhookTestResult.java @@ -0,0 +1,296 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.WebhookTestRequest; +import com.mailslurp.models.WebhookTestResponse; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.mailslurp.clients.JSON; + +/** + * Results of testing a webhook + */ +@ApiModel(description = "Results of testing a webhook") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-12T23:33:57.654989Z[Etc/UTC]") +public class WebhookTestResult { + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + private String message; + + public static final String SERIALIZED_NAME_RESPONSE = "response"; + @SerializedName(SERIALIZED_NAME_RESPONSE) + private WebhookTestResponse response; + + public static final String SERIALIZED_NAME_REQUEST = "request"; + @SerializedName(SERIALIZED_NAME_REQUEST) + private WebhookTestRequest request; + + public WebhookTestResult() { + } + + public WebhookTestResult message(String message) { + + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getMessage() { + return message; + } + + + public void setMessage(String message) { + this.message = message; + } + + + public WebhookTestResult response(WebhookTestResponse response) { + + this.response = response; + return this; + } + + /** + * Get response + * @return response + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public WebhookTestResponse getResponse() { + return response; + } + + + public void setResponse(WebhookTestResponse response) { + this.response = response; + } + + + public WebhookTestResult request(WebhookTestRequest request) { + + this.request = request; + return this; + } + + /** + * Get request + * @return request + **/ + @javax.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + + public WebhookTestRequest getRequest() { + return request; + } + + + public void setRequest(WebhookTestRequest request) { + this.request = request; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WebhookTestResult webhookTestResult = (WebhookTestResult) o; + return Objects.equals(this.message, webhookTestResult.message) && + Objects.equals(this.response, webhookTestResult.response) && + Objects.equals(this.request, webhookTestResult.request); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(message, response, request); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WebhookTestResult {\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" response: ").append(toIndentedString(response)).append("\n"); + sb.append(" request: ").append(toIndentedString(request)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("message"); + openapiFields.add("response"); + openapiFields.add("request"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("response"); + openapiRequiredFields.add("request"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to WebhookTestResult + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!WebhookTestResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in WebhookTestResult is not found in the empty JSON string", WebhookTestResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonObj.entrySet(); + // check to see if the JSON string contains additional fields + for (Entry entry : entries) { + if (!WebhookTestResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `WebhookTestResult` properties. JSON: %s", entry.getKey(), jsonObj.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : WebhookTestResult.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); + } + // validate the required field `response` + WebhookTestResponse.validateJsonObject(jsonObj.getAsJsonObject("response")); + // validate the required field `request` + WebhookTestRequest.validateJsonObject(jsonObj.getAsJsonObject("request")); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebhookTestResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebhookTestResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(WebhookTestResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebhookTestResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public WebhookTestResult read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + return thisAdapter.fromJsonTree(jsonObj); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of WebhookTestResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebhookTestResult + * @throws IOException if the JSON string is invalid with respect to WebhookTestResult + */ + public static WebhookTestResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebhookTestResult.class); + } + + /** + * Convert an instance of WebhookTestResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/test/java/com/mailslurp/apis/AliasControllerApiTest.java b/src/test/java/com/mailslurp/apis/AliasControllerApiTest.java new file mode 100644 index 000000000..8413e90ac --- /dev/null +++ b/src/test/java/com/mailslurp/apis/AliasControllerApiTest.java @@ -0,0 +1,184 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.AliasDto; +import com.mailslurp.models.CreateAliasOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageAlias; +import com.mailslurp.models.PageEmailProjection; +import com.mailslurp.models.PageThreadProjection; +import com.mailslurp.models.ReplyToAliasEmailOptions; +import com.mailslurp.models.SendEmailOptions; +import com.mailslurp.models.SentEmailDto; +import java.util.UUID; +import com.mailslurp.models.UpdateAliasOptions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for AliasControllerApi + */ +@Disabled +public class AliasControllerApiTest { + + private final AliasControllerApi api = new AliasControllerApi(); + + /** + * Create an email alias. Must be verified by clicking link inside verification email that will be sent to the address. Once verified the alias will be active. + * + * Email aliases use a MailSlurp randomly generated email address (or a custom domain inbox that you provide) to mask or proxy a real email address. Emails sent to the alias address will be forwarded to the hidden email address it was created for. If you want to send a reply use the threadId attached + * + * @throws ApiException if the Api call fails + */ + @Test + public void createAliasTest() throws ApiException { + CreateAliasOptions createAliasOptions = null; + AliasDto response = api.createAlias(createAliasOptions); + // TODO: test validations + } + + /** + * Delete an email alias + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteAliasTest() throws ApiException { + UUID aliasId = null; + api.deleteAlias(aliasId); + // TODO: test validations + } + + /** + * Get an email alias + * + * Get an email alias by ID + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAliasTest() throws ApiException { + UUID aliasId = null; + AliasDto response = api.getAlias(aliasId); + // TODO: test validations + } + + /** + * Get emails for an alias + * + * Get paginated emails for an alias by ID + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAliasEmailsTest() throws ApiException { + UUID aliasId = null; + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageEmailProjection response = api.getAliasEmails(aliasId, page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get threads created for an alias + * + * Returns threads created for an email alias in paginated form + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAliasThreadsTest() throws ApiException { + UUID aliasId = null; + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageThreadProjection response = api.getAliasThreads(aliasId, page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get all email aliases you have created + * + * Get all email aliases in paginated form + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAliasesTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageAlias response = api.getAliases(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Reply to an email + * + * Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`. + * + * @throws ApiException if the Api call fails + */ + @Test + public void replyToAliasEmailTest() throws ApiException { + UUID aliasId = null; + UUID emailId = null; + ReplyToAliasEmailOptions replyToAliasEmailOptions = null; + SentEmailDto response = api.replyToAliasEmail(aliasId, emailId, replyToAliasEmailOptions); + // TODO: test validations + } + + /** + * Send an email from an alias inbox + * + * Send an email from an alias. Replies to the email will be forwarded to the alias masked email address + * + * @throws ApiException if the Api call fails + */ + @Test + public void sendAliasEmailTest() throws ApiException { + UUID aliasId = null; + SendEmailOptions sendEmailOptions = null; + SentEmailDto response = api.sendAliasEmail(aliasId, sendEmailOptions); + // TODO: test validations + } + + /** + * Update an email alias + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateAliasTest() throws ApiException { + UUID aliasId = null; + UpdateAliasOptions updateAliasOptions = null; + AliasDto response = api.updateAlias(aliasId, updateAliasOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/AttachmentControllerApiTest.java b/src/test/java/com/mailslurp/apis/AttachmentControllerApiTest.java new file mode 100644 index 000000000..1bba3e2d1 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/AttachmentControllerApiTest.java @@ -0,0 +1,178 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.AttachmentEntity; +import com.mailslurp.models.AttachmentMetaData; +import com.mailslurp.models.DownloadAttachmentDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageAttachmentEntity; +import com.mailslurp.models.UploadAttachmentBytesRequest; +import com.mailslurp.models.UploadAttachmentOptions; +import com.mailslurp.models.UploadMultipartFormRequest; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for AttachmentControllerApi + */ +@Disabled +public class AttachmentControllerApiTest { + + private final AttachmentControllerApi api = new AttachmentControllerApi(); + + /** + * Delete all attachments + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteAllAttachmentsTest() throws ApiException { + api.deleteAllAttachments(); + // TODO: test validations + } + + /** + * Delete an attachment + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteAttachmentTest() throws ApiException { + String attachmentId = null; + api.deleteAttachment(attachmentId); + // TODO: test validations + } + + /** + * Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents. + * + * Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses. + * + * @throws ApiException if the Api call fails + */ + @Test + public void downloadAttachmentAsBase64EncodedTest() throws ApiException { + String attachmentId = null; + DownloadAttachmentDto response = api.downloadAttachmentAsBase64Encoded(attachmentId); + // TODO: test validations + } + + /** + * Download attachments. Get email attachment bytes. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints. + * + * Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream. + * + * @throws ApiException if the Api call fails + */ + @Test + public void downloadAttachmentAsBytesTest() throws ApiException { + String attachmentId = null; + byte[] response = api.downloadAttachmentAsBytes(attachmentId); + // TODO: test validations + } + + /** + * Get an attachment entity + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAttachmentTest() throws ApiException { + String attachmentId = null; + AttachmentEntity response = api.getAttachment(attachmentId); + // TODO: test validations + } + + /** + * Get email attachment metadata information + * + * Returns the metadata for an attachment. It is saved separately to the content of the attachment. Contains properties `name` and `content-type` and `content-length` in bytes for a given attachment. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAttachmentInfoTest() throws ApiException { + String attachmentId = null; + AttachmentMetaData response = api.getAttachmentInfo(attachmentId); + // TODO: test validations + } + + /** + * Get email attachments + * + * Get all attachments in paginated response. Each entity contains meta data for the attachment such as `name` and `content-type`. Use the `attachmentId` and the download endpoints to get the file contents. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAttachmentsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + String fileNameFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageAttachmentEntity response = api.getAttachments(page, size, sort, fileNameFilter, since, before); + // TODO: test validations + } + + /** + * Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment. + * + * @throws ApiException if the Api call fails + */ + @Test + public void uploadAttachmentTest() throws ApiException { + UploadAttachmentOptions uploadAttachmentOptions = null; + List response = api.uploadAttachment(uploadAttachmentOptions); + // TODO: test validations + } + + /** + * Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment. + * + * @throws ApiException if the Api call fails + */ + @Test + public void uploadAttachmentBytesTest() throws ApiException { + UploadAttachmentBytesRequest uploadAttachmentBytesRequest = null; + String contentType = null; + String filename = null; + List response = api.uploadAttachmentBytes(uploadAttachmentBytesRequest, contentType, filename); + // TODO: test validations + } + + /** + * Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment. + * + * @throws ApiException if the Api call fails + */ + @Test + public void uploadMultipartFormTest() throws ApiException { + String contentType = null; + String filename = null; + String xFilename = null; + UploadMultipartFormRequest uploadMultipartFormRequest = null; + List response = api.uploadMultipartForm(contentType, filename, xFilename, uploadMultipartFormRequest); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/BounceControllerApiTest.java b/src/test/java/com/mailslurp/apis/BounceControllerApiTest.java new file mode 100644 index 000000000..d05e688c5 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/BounceControllerApiTest.java @@ -0,0 +1,156 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.BouncedEmailDto; +import com.mailslurp.models.BouncedRecipientDto; +import com.mailslurp.models.FilterBouncedRecipientsOptions; +import com.mailslurp.models.FilterBouncedRecipientsResult; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageBouncedEmail; +import com.mailslurp.models.PageBouncedRecipients; +import com.mailslurp.models.PageComplaint; +import com.mailslurp.models.PageListUnsubscribeRecipients; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for BounceControllerApi + */ +@Disabled +public class BounceControllerApiTest { + + private final BounceControllerApi api = new BounceControllerApi(); + + /** + * Filter a list of email recipients and remove those who have bounced + * + * Prevent email sending errors by remove recipients who have resulted in past email bounces or complaints + * + * @throws ApiException if the Api call fails + */ + @Test + public void filterBouncedRecipientTest() throws ApiException { + FilterBouncedRecipientsOptions filterBouncedRecipientsOptions = null; + FilterBouncedRecipientsResult response = api.filterBouncedRecipient(filterBouncedRecipientsOptions); + // TODO: test validations + } + + /** + * Get a bounced email. + * + * Bounced emails are email you have sent that were rejected by a recipient + * + * @throws ApiException if the Api call fails + */ + @Test + public void getBouncedEmailTest() throws ApiException { + UUID id = null; + BouncedEmailDto response = api.getBouncedEmail(id); + // TODO: test validations + } + + /** + * Get paginated list of bounced emails. + * + * Bounced emails are email you have sent that were rejected by a recipient + * + * @throws ApiException if the Api call fails + */ + @Test + public void getBouncedEmailsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageBouncedEmail response = api.getBouncedEmails(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get a bounced email. + * + * Bounced emails are email you have sent that were rejected by a recipient + * + * @throws ApiException if the Api call fails + */ + @Test + public void getBouncedRecipientTest() throws ApiException { + UUID id = null; + BouncedRecipientDto response = api.getBouncedRecipient(id); + // TODO: test validations + } + + /** + * Get paginated list of bounced recipients. + * + * Bounced recipients are email addresses that you have sent emails to that did not accept the sent email. Once a recipient is bounced you cannot send emails to that address. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getBouncedRecipientsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageBouncedRecipients response = api.getBouncedRecipients(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get paginated list of complaints. + * + * SMTP complaints made against your account + * + * @throws ApiException if the Api call fails + */ + @Test + public void getComplaintsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageComplaint response = api.getComplaints(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get paginated list of unsubscribed recipients. + * + * Unsubscribed recipient have unsubscribed from a mailing list for a user or domain and cannot be contacted again. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getListUnsubscribeRecipientsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + UUID domainId = null; + PageListUnsubscribeRecipients response = api.getListUnsubscribeRecipients(page, size, sort, domainId); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/BulkActionsControllerApiTest.java b/src/test/java/com/mailslurp/apis/BulkActionsControllerApiTest.java new file mode 100644 index 000000000..a3a2d3ab5 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/BulkActionsControllerApiTest.java @@ -0,0 +1,72 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.BulkSendEmailOptions; +import com.mailslurp.models.InboxDto; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for BulkActionsControllerApi + */ +@Disabled +public class BulkActionsControllerApiTest { + + private final BulkActionsControllerApi api = new BulkActionsControllerApi(); + + /** + * Bulk create Inboxes (email addresses) + * + * @throws ApiException if the Api call fails + */ + @Test + public void bulkCreateInboxesTest() throws ApiException { + Integer count = null; + List response = api.bulkCreateInboxes(count); + // TODO: test validations + } + + /** + * Bulk Delete Inboxes + * + * @throws ApiException if the Api call fails + */ + @Test + public void bulkDeleteInboxesTest() throws ApiException { + List UUID = null; + api.bulkDeleteInboxes(UUID); + // TODO: test validations + } + + /** + * Bulk Send Emails + * + * @throws ApiException if the Api call fails + */ + @Test + public void bulkSendEmailsTest() throws ApiException { + BulkSendEmailOptions bulkSendEmailOptions = null; + api.bulkSendEmails(bulkSendEmailOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/CommonActionsControllerApiTest.java b/src/test/java/com/mailslurp/apis/CommonActionsControllerApiTest.java new file mode 100644 index 000000000..e38e4dcc8 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/CommonActionsControllerApiTest.java @@ -0,0 +1,133 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.InboxDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.SimpleSendEmailOptions; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for CommonActionsControllerApi + */ +@Disabled +public class CommonActionsControllerApiTest { + + private final CommonActionsControllerApi api = new CommonActionsControllerApi(); + + /** + * Create new random inbox + * + * Returns an Inbox with an `id` and an `emailAddress` + * + * @throws ApiException if the Api call fails + */ + @Test + public void createNewEmailAddressTest() throws ApiException { + Boolean allowTeamAccess = null; + Boolean useDomainPool = null; + OffsetDateTime expiresAt = null; + Long expiresIn = null; + String emailAddress = null; + String inboxType = null; + String description = null; + String name = null; + List tags = null; + Boolean favourite = null; + Boolean virtualInbox = null; + Boolean useShortAddress = null; + String domainName = null; + UUID domainId = null; + InboxDto response = api.createNewEmailAddress(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId); + // TODO: test validations + } + + /** + * Create new random inbox + * + * Returns an Inbox with an `id` and an `emailAddress` + * + * @throws ApiException if the Api call fails + */ + @Test + public void createRandomInboxTest() throws ApiException { + Boolean allowTeamAccess = null; + Boolean useDomainPool = null; + OffsetDateTime expiresAt = null; + Long expiresIn = null; + String emailAddress = null; + String inboxType = null; + String description = null; + String name = null; + List tags = null; + Boolean favourite = null; + Boolean virtualInbox = null; + Boolean useShortAddress = null; + String domainName = null; + UUID domainId = null; + InboxDto response = api.createRandomInbox(allowTeamAccess, useDomainPool, expiresAt, expiresIn, emailAddress, inboxType, description, name, tags, favourite, virtualInbox, useShortAddress, domainName, domainId); + // TODO: test validations + } + + /** + * Delete inbox email address by inbox id + * + * Deletes inbox email address + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteEmailAddressTest() throws ApiException { + UUID inboxId = null; + api.deleteEmailAddress(inboxId); + // TODO: test validations + } + + /** + * Delete all emails in an inbox + * + * Deletes all emails + * + * @throws ApiException if the Api call fails + */ + @Test + public void emptyInboxTest() throws ApiException { + UUID inboxId = null; + api.emptyInbox(inboxId); + // TODO: test validations + } + + /** + * Send an email + * + * If no senderId or inboxId provided a random email address will be used to send from. + * + * @throws ApiException if the Api call fails + */ + @Test + public void sendEmailSimpleTest() throws ApiException { + SimpleSendEmailOptions simpleSendEmailOptions = null; + api.sendEmailSimple(simpleSendEmailOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/ConnectorControllerApiTest.java b/src/test/java/com/mailslurp/apis/ConnectorControllerApiTest.java new file mode 100644 index 000000000..f557a3009 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/ConnectorControllerApiTest.java @@ -0,0 +1,167 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.ConnectorDto; +import com.mailslurp.models.ConnectorSyncEventDto; +import com.mailslurp.models.ConnectorSyncRequestResult; +import com.mailslurp.models.CreateConnectorOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageConnector; +import com.mailslurp.models.PageConnectorSyncEvents; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for ConnectorControllerApi + */ +@Disabled +public class ConnectorControllerApiTest { + + private final ConnectorControllerApi api = new ConnectorControllerApi(); + + /** + * Create an inbox connector + * + * Sync emails between external mailboxes and MailSlurp inboxes + * + * @throws ApiException if the Api call fails + */ + @Test + public void createConnectorTest() throws ApiException { + CreateConnectorOptions createConnectorOptions = null; + ConnectorDto response = api.createConnector(createConnectorOptions); + // TODO: test validations + } + + /** + * Delete an inbox connector + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteConnectorTest() throws ApiException { + UUID id = null; + api.deleteConnector(id); + // TODO: test validations + } + + /** + * Get all inbox connector sync events + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllConnectorSyncEventsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageConnectorSyncEvents response = api.getAllConnectorSyncEvents(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get an inbox connector + * + * @throws ApiException if the Api call fails + */ + @Test + public void getConnectorTest() throws ApiException { + UUID id = null; + ConnectorDto response = api.getConnector(id); + // TODO: test validations + } + + /** + * Get an inbox connector sync event + * + * @throws ApiException if the Api call fails + */ + @Test + public void getConnectorSyncEventTest() throws ApiException { + UUID id = null; + ConnectorSyncEventDto response = api.getConnectorSyncEvent(id); + // TODO: test validations + } + + /** + * Get an inbox connector sync events + * + * @throws ApiException if the Api call fails + */ + @Test + public void getConnectorSyncEventsTest() throws ApiException { + UUID id = null; + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageConnectorSyncEvents response = api.getConnectorSyncEvents(id, page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get inbox connectors + * + * List inbox connectors that sync external emails to MailSlurp inboxes + * + * @throws ApiException if the Api call fails + */ + @Test + public void getConnectorsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageConnector response = api.getConnectors(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Sync an inbox connector + * + * @throws ApiException if the Api call fails + */ + @Test + public void syncConnectorTest() throws ApiException { + UUID id = null; + ConnectorSyncRequestResult response = api.syncConnector(id); + // TODO: test validations + } + + /** + * Update an inbox connector + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateConnectorTest() throws ApiException { + UUID id = null; + CreateConnectorOptions createConnectorOptions = null; + ConnectorDto response = api.updateConnector(id, createConnectorOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/ContactControllerApiTest.java b/src/test/java/com/mailslurp/apis/ContactControllerApiTest.java new file mode 100644 index 000000000..f425b6dbd --- /dev/null +++ b/src/test/java/com/mailslurp/apis/ContactControllerApiTest.java @@ -0,0 +1,114 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.ContactDto; +import com.mailslurp.models.ContactProjection; +import com.mailslurp.models.CreateContactOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageContactProjection; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for ContactControllerApi + */ +@Disabled +public class ContactControllerApiTest { + + private final ContactControllerApi api = new ContactControllerApi(); + + /** + * Create a contact + * + * @throws ApiException if the Api call fails + */ + @Test + public void createContactTest() throws ApiException { + CreateContactOptions createContactOptions = null; + ContactDto response = api.createContact(createContactOptions); + // TODO: test validations + } + + /** + * Delete contact + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteContactTest() throws ApiException { + UUID contactId = null; + api.deleteContact(contactId); + // TODO: test validations + } + + /** + * Get all contacts + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllContactsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageContactProjection response = api.getAllContacts(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get contact + * + * @throws ApiException if the Api call fails + */ + @Test + public void getContactTest() throws ApiException { + UUID contactId = null; + ContactDto response = api.getContact(contactId); + // TODO: test validations + } + + /** + * Get contact vCard vcf file + * + * @throws ApiException if the Api call fails + */ + @Test + public void getContactVCardTest() throws ApiException { + UUID contactId = null; + List response = api.getContactVCard(contactId); + // TODO: test validations + } + + /** + * Get all contacts + * + * @throws ApiException if the Api call fails + */ + @Test + public void getContactsTest() throws ApiException { + List response = api.getContacts(); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/DomainControllerApiTest.java b/src/test/java/com/mailslurp/apis/DomainControllerApiTest.java new file mode 100644 index 000000000..5c3b55999 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/DomainControllerApiTest.java @@ -0,0 +1,152 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.CreateDomainOptions; +import com.mailslurp.models.DomainDto; +import com.mailslurp.models.DomainIssuesDto; +import com.mailslurp.models.DomainPreview; +import com.mailslurp.models.InboxDto; +import java.util.UUID; +import com.mailslurp.models.UpdateDomainOptions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for DomainControllerApi + */ +@Disabled +public class DomainControllerApiTest { + + private final DomainControllerApi api = new DomainControllerApi(); + + /** + * Add catch all wild card inbox to domain + * + * Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated + * + * @throws ApiException if the Api call fails + */ + @Test + public void addDomainWildcardCatchAllTest() throws ApiException { + UUID id = null; + DomainDto response = api.addDomainWildcardCatchAll(id); + // TODO: test validations + } + + /** + * Create Domain + * + * Link a domain that you own with MailSlurp so you can create email addresses using it. Endpoint returns DNS records used for validation. You must add these verification records to your host provider's DNS setup to verify the domain. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createDomainTest() throws ApiException { + CreateDomainOptions createDomainOptions = null; + DomainDto response = api.createDomain(createDomainOptions); + // TODO: test validations + } + + /** + * Delete a domain + * + * Delete a domain. This will disable any existing inboxes that use this domain. + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteDomainTest() throws ApiException { + UUID id = null; + List response = api.deleteDomain(id); + // TODO: test validations + } + + /** + * Get a domain + * + * Returns domain verification status and tokens for a given domain + * + * @throws ApiException if the Api call fails + */ + @Test + public void getDomainTest() throws ApiException { + UUID id = null; + Boolean checkForErrors = null; + DomainDto response = api.getDomain(id, checkForErrors); + // TODO: test validations + } + + /** + * Get domain issues + * + * List domain issues for domains you have created + * + * @throws ApiException if the Api call fails + */ + @Test + public void getDomainIssuesTest() throws ApiException { + DomainIssuesDto response = api.getDomainIssues(); + // TODO: test validations + } + + /** + * Get catch all wild card inbox for domain + * + * Get the catch all inbox for a domain for missed emails + * + * @throws ApiException if the Api call fails + */ + @Test + public void getDomainWildcardCatchAllInboxTest() throws ApiException { + UUID id = null; + InboxDto response = api.getDomainWildcardCatchAllInbox(id); + // TODO: test validations + } + + /** + * Get domains + * + * List all custom domains you have created + * + * @throws ApiException if the Api call fails + */ + @Test + public void getDomainsTest() throws ApiException { + List response = api.getDomains(); + // TODO: test validations + } + + /** + * Update a domain + * + * Update values on a domain. Note you cannot change the domain name as it is immutable. Recreate the domain if you need to alter this. + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateDomainTest() throws ApiException { + UUID id = null; + UpdateDomainOptions updateDomainOptions = null; + DomainDto response = api.updateDomain(id, updateDomainOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/EmailControllerApiTest.java b/src/test/java/com/mailslurp/apis/EmailControllerApiTest.java new file mode 100644 index 000000000..054d9b2ad --- /dev/null +++ b/src/test/java/com/mailslurp/apis/EmailControllerApiTest.java @@ -0,0 +1,516 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.AttachmentMetaData; +import com.mailslurp.models.ContentMatchOptions; +import com.mailslurp.models.CountDto; +import com.mailslurp.models.DownloadAttachmentDto; +import com.mailslurp.models.Email; +import com.mailslurp.models.EmailContentMatchResult; +import com.mailslurp.models.EmailHtmlDto; +import com.mailslurp.models.EmailLinksResult; +import com.mailslurp.models.EmailPreview; +import com.mailslurp.models.EmailPreviewUrls; +import com.mailslurp.models.EmailTextLinesResult; +import com.mailslurp.models.ForwardEmailOptions; +import com.mailslurp.models.GravatarUrl; +import com.mailslurp.models.ImapFlagOperationOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageEmailProjection; +import com.mailslurp.models.RawEmailJson; +import com.mailslurp.models.ReplyToEmailOptions; +import com.mailslurp.models.SendEmailOptions; +import com.mailslurp.models.SentEmailDto; +import java.util.UUID; +import com.mailslurp.models.UnreadCount; +import com.mailslurp.models.ValidationDto; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for EmailControllerApi + */ +@Disabled +public class EmailControllerApiTest { + + private final EmailControllerApi api = new EmailControllerApi(); + + /** + * Set IMAP flags associated with a message. Only supports '\\Seen' flag. + * + * Apply RFC3501 section-2.3.2 IMAP flag operations on an email + * + * @throws ApiException if the Api call fails + */ + @Test + public void applyImapFlagOperationTest() throws ApiException { + UUID emailId = null; + ImapFlagOperationOptions imapFlagOperationOptions = null; + EmailPreview response = api.applyImapFlagOperation(emailId, imapFlagOperationOptions); + // TODO: test validations + } + + /** + * Delete all emails in all inboxes. + * + * Deletes all emails in your account. Be careful as emails cannot be recovered + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteAllEmailsTest() throws ApiException { + api.deleteAllEmails(); + // TODO: test validations + } + + /** + * Delete an email + * + * Deletes an email and removes it from the inbox. Deleted emails cannot be recovered. + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteEmailTest() throws ApiException { + UUID emailId = null; + api.deleteEmail(emailId); + // TODO: test validations + } + + /** + * Get email attachment bytes. Returned as `octet-stream` with content type header. If you have trouble with byte responses try the `downloadAttachmentBase64` response endpoints and convert the base 64 encoded content to a file or string. + * + * Returns the specified attachment for a given email as a stream / array of bytes. You can find attachment ids in email responses endpoint responses. The response type is application/octet-stream. + * + * @throws ApiException if the Api call fails + */ + @Test + public void downloadAttachmentTest() throws ApiException { + UUID emailId = null; + String attachmentId = null; + String apiKey = null; + byte[] response = api.downloadAttachment(emailId, attachmentId, apiKey); + // TODO: test validations + } + + /** + * Get email attachment as base64 encoded string as an alternative to binary responses. Decode the `base64FileContents` as a `utf-8` encoded string or array of bytes depending on the `contentType`. + * + * Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the `downloadAttachment` method but allows some clients to get around issues with binary responses. + * + * @throws ApiException if the Api call fails + */ + @Test + public void downloadAttachmentBase64Test() throws ApiException { + UUID emailId = null; + String attachmentId = null; + DownloadAttachmentDto response = api.downloadAttachmentBase64(emailId, attachmentId); + // TODO: test validations + } + + /** + * Get email body as string. Returned as `plain/text` with content type header. + * + * Returns the specified email body for a given email as a string + * + * @throws ApiException if the Api call fails + */ + @Test + public void downloadBodyTest() throws ApiException { + UUID emailId = null; + String response = api.downloadBody(emailId); + // TODO: test validations + } + + /** + * Get email body in bytes. Returned as `octet-stream` with content type header. + * + * Returns the specified email body for a given email as a stream / array of bytes. + * + * @throws ApiException if the Api call fails + */ + @Test + public void downloadBodyBytesTest() throws ApiException { + UUID emailId = null; + byte[] response = api.downloadBodyBytes(emailId); + // TODO: test validations + } + + /** + * Forward email to recipients + * + * Forward an existing email to new recipients. The sender of the email will be the inbox that received the email you are forwarding. You can override the sender with the `from` option. Note you must have access to the from address in MailSlurp to use the override. For more control consider fetching the email and sending it a new using the send email endpoints. + * + * @throws ApiException if the Api call fails + */ + @Test + public void forwardEmailTest() throws ApiException { + UUID emailId = null; + ForwardEmailOptions forwardEmailOptions = null; + SentEmailDto response = api.forwardEmail(emailId, forwardEmailOptions); + // TODO: test validations + } + + /** + * Get email attachment metadata. This is the `contentType` and `contentLength` of an attachment. To get the individual attachments use the `downloadAttachment` methods. + * + * Returns the metadata such as name and content-type for a given attachment and email. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAttachmentMetaDataTest() throws ApiException { + UUID emailId = null; + String attachmentId = null; + AttachmentMetaData response = api.getAttachmentMetaData(emailId, attachmentId); + // TODO: test validations + } + + /** + * Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController. + * + * Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailTest() throws ApiException { + UUID emailId = null; + Boolean decode = null; + Email response = api.getEmail(emailId, decode); + // TODO: test validations + } + + /** + * Get all email attachment metadata. Metadata includes name and size of attachments. + * + * Returns an array of attachment metadata such as name and content-type for a given email if present. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailAttachmentsTest() throws ApiException { + UUID emailId = null; + List response = api.getEmailAttachments(emailId); + // TODO: test validations + } + + /** + * Get email content regex pattern match results. Runs regex against email body and returns match groups. + * + * Return the matches for a given Java style regex pattern. Do not include the typical `/` at start or end of regex in some languages. Given an example `your code is: 12345` the pattern to extract match looks like `code is: (\\d{6})`. This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: `['code is: 123456', '123456']` See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailContentMatchTest() throws ApiException { + UUID emailId = null; + ContentMatchOptions contentMatchOptions = null; + EmailContentMatchResult response = api.getEmailContentMatch(emailId, contentMatchOptions); + // TODO: test validations + } + + /** + * Get email count + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailCountTest() throws ApiException { + CountDto response = api.getEmailCount(); + // TODO: test validations + } + + /** + * Get email content as HTML. For displaying emails in browser context. + * + * Retrieve email content as HTML response for viewing in browsers. Decodes quoted-printable entities and converts charset to UTF-8. Pass your API KEY as a request parameter when viewing in a browser: `?apiKey=xxx`. Returns content-type `text/html;charset=utf-8` so you must call expecting that content response not JSON. For JSON response see the `getEmailHTMLJson` method. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailHTMLTest() throws ApiException { + UUID emailId = null; + Boolean decode = null; + String response = api.getEmailHTML(emailId, decode); + // TODO: test validations + } + + /** + * Get email content as HTML in JSON wrapper. For fetching entity decoded HTML content + * + * Retrieve email content as HTML response. Decodes quoted-printable entities and converts charset to UTF-8. Returns content-type `application/json;charset=utf-8` so you must call expecting that content response not JSON. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailHTMLJsonTest() throws ApiException { + UUID emailId = null; + Boolean decode = null; + EmailHtmlDto response = api.getEmailHTMLJson(emailId, decode); + // TODO: test validations + } + + /** + * Parse and return text from an email, stripping HTML and decoding encoded characters + * + * Parse an email body and return the content as an array of text. HTML parsing uses JSoup which supports JQuery/CSS style selectors + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailHTMLQueryTest() throws ApiException { + UUID emailId = null; + String htmlSelector = null; + EmailTextLinesResult response = api.getEmailHTMLQuery(emailId, htmlSelector); + // TODO: test validations + } + + /** + * Parse and return list of links found in an email (only works for HTML content) + * + * HTML parsing uses JSoup and UNIX line separators. Searches content for href attributes + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailLinksTest() throws ApiException { + UUID emailId = null; + EmailLinksResult response = api.getEmailLinks(emailId); + // TODO: test validations + } + + /** + * Get email URLs for viewing in browser or downloading + * + * Get a list of URLs for email content as text/html or raw SMTP message for viewing the message in a browser. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailPreviewURLsTest() throws ApiException { + UUID emailId = null; + EmailPreviewUrls response = api.getEmailPreviewURLs(emailId); + // TODO: test validations + } + + /** + * Parse and return text from an email, stripping HTML and decoding encoded characters + * + * Parse an email body and return the content as an array of strings. HTML parsing uses JSoup and UNIX line separators. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailTextLinesTest() throws ApiException { + UUID emailId = null; + Boolean decodeHtmlEntities = null; + String lineSeparator = null; + EmailTextLinesResult response = api.getEmailTextLines(emailId, decodeHtmlEntities, lineSeparator); + // TODO: test validations + } + + /** + * Get all emails in all inboxes in paginated form. Email API list all. + * + * By default returns all emails across all inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailsPaginatedTest() throws ApiException { + List inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + Boolean unreadOnly = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageEmailProjection response = api.getEmailsPaginated(inboxId, page, size, sort, unreadOnly, searchFilter, since, before); + // TODO: test validations + } + + /** + * Get gravatar url for email address + * + * @throws ApiException if the Api call fails + */ + @Test + public void getGravatarUrlForEmailAddressTest() throws ApiException { + String emailAddress = null; + String size = null; + GravatarUrl response = api.getGravatarUrlForEmailAddress(emailAddress, size); + // TODO: test validations + } + + /** + * Get latest email in all inboxes. Most recently received. + * + * Get the newest email in all inboxes or in a passed set of inbox IDs + * + * @throws ApiException if the Api call fails + */ + @Test + public void getLatestEmailTest() throws ApiException { + List inboxIds = null; + Email response = api.getLatestEmail(inboxIds); + // TODO: test validations + } + + /** + * Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + * + * Get the newest email in all inboxes or in a passed set of inbox IDs + * + * @throws ApiException if the Api call fails + */ + @Test + public void getLatestEmailInInbox1Test() throws ApiException { + UUID inboxId = null; + Email response = api.getLatestEmailInInbox1(inboxId); + // TODO: test validations + } + + /** + * Get all organization emails. List team or shared test email accounts + * + * By default returns all emails across all team inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages + * + * @throws ApiException if the Api call fails + */ + @Test + public void getOrganizationEmailsPaginatedTest() throws ApiException { + List inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + Boolean unreadOnly = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageEmailProjection response = api.getOrganizationEmailsPaginated(inboxId, page, size, sort, unreadOnly, searchFilter, since, before); + // TODO: test validations + } + + /** + * Get raw email string. Returns unparsed raw SMTP message with headers and body. + * + * Returns a raw, unparsed, and unprocessed email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawEmailJson endpoint + * + * @throws ApiException if the Api call fails + */ + @Test + public void getRawEmailContentsTest() throws ApiException { + UUID emailId = null; + String response = api.getRawEmailContents(emailId); + // TODO: test validations + } + + /** + * Get raw email in JSON. Unparsed SMTP message in JSON wrapper format. + * + * Returns a raw, unparsed, and unprocessed email wrapped in a JSON response object for easier handling when compared with the getRawEmail text/plain response + * + * @throws ApiException if the Api call fails + */ + @Test + public void getRawEmailJsonTest() throws ApiException { + UUID emailId = null; + RawEmailJson response = api.getRawEmailJson(emailId); + // TODO: test validations + } + + /** + * Get unread email count + * + * Get number of emails unread. Unread means has not been viewed in dashboard or returned in an email API response + * + * @throws ApiException if the Api call fails + */ + @Test + public void getUnreadEmailCountTest() throws ApiException { + UnreadCount response = api.getUnreadEmailCount(); + // TODO: test validations + } + + /** + * Mark an email as read on unread + * + * Marks an email as read or unread. Pass boolean read flag to set value. This is useful if you want to read an email but keep it as unread + * + * @throws ApiException if the Api call fails + */ + @Test + public void markAsReadTest() throws ApiException { + UUID emailId = null; + Boolean read = null; + EmailPreview response = api.markAsRead(emailId, read); + // TODO: test validations + } + + /** + * Reply to an email + * + * Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`. + * + * @throws ApiException if the Api call fails + */ + @Test + public void replyToEmailTest() throws ApiException { + UUID emailId = null; + ReplyToEmailOptions replyToEmailOptions = null; + SentEmailDto response = api.replyToEmail(emailId, replyToEmailOptions); + // TODO: test validations + } + + /** + * Send email + * + * Alias for `InboxController.sendEmail` method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email. + * + * @throws ApiException if the Api call fails + */ + @Test + public void sendEmailSourceOptionalTest() throws ApiException { + SendEmailOptions sendEmailOptions = null; + UUID inboxId = null; + Boolean useDomainPool = null; + Boolean virtualSend = null; + api.sendEmailSourceOptional(sendEmailOptions, inboxId, useDomainPool, virtualSend); + // TODO: test validations + } + + /** + * Validate email HTML contents + * + * Validate the HTML content of email if HTML is found. Considered valid if no HTML is present. + * + * @throws ApiException if the Api call fails + */ + @Test + public void validateEmailTest() throws ApiException { + UUID emailId = null; + ValidationDto response = api.validateEmail(emailId); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/EmailVerificationControllerApiTest.java b/src/test/java/com/mailslurp/apis/EmailVerificationControllerApiTest.java new file mode 100644 index 000000000..735e732bd --- /dev/null +++ b/src/test/java/com/mailslurp/apis/EmailVerificationControllerApiTest.java @@ -0,0 +1,67 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageEmailValidationRequest; +import com.mailslurp.models.ValidateEmailAddressListOptions; +import com.mailslurp.models.ValidateEmailAddressListResult; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for EmailVerificationControllerApi + */ +@Disabled +public class EmailVerificationControllerApiTest { + + private final EmailVerificationControllerApi api = new EmailVerificationControllerApi(); + + /** + * Validate a list of email addresses. Per unit billing. See your plan for pricing. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getValidationRequestsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + Boolean isValid = null; + PageEmailValidationRequest response = api.getValidationRequests(page, size, sort, searchFilter, since, before, isValid); + // TODO: test validations + } + + /** + * Validate a list of email addresses. Per unit billing. See your plan for pricing. + * + * @throws ApiException if the Api call fails + */ + @Test + public void validateEmailAddressListTest() throws ApiException { + ValidateEmailAddressListOptions validateEmailAddressListOptions = null; + ValidateEmailAddressListResult response = api.validateEmailAddressList(validateEmailAddressListOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/ExpiredControllerApiTest.java b/src/test/java/com/mailslurp/apis/ExpiredControllerApiTest.java new file mode 100644 index 000000000..bb239feec --- /dev/null +++ b/src/test/java/com/mailslurp/apis/ExpiredControllerApiTest.java @@ -0,0 +1,97 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.ExpirationDefaults; +import com.mailslurp.models.ExpiredInboxDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageExpiredInboxRecordProjection; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for ExpiredControllerApi + */ +@Disabled +public class ExpiredControllerApiTest { + + private final ExpiredControllerApi api = new ExpiredControllerApi(); + + /** + * Get default expiration settings + * + * Return default times used for inbox expiration + * + * @throws ApiException if the Api call fails + */ + @Test + public void getExpirationDefaultsTest() throws ApiException { + ExpirationDefaults response = api.getExpirationDefaults(); + // TODO: test validations + } + + /** + * Get expired inbox record for a previously existing inbox + * + * Use the inboxId to return an ExpiredInboxRecord if an inbox has expired. Inboxes expire and are disabled if an expiration date is set or plan requires. Returns 404 if no expired inbox is found for the inboxId + * + * @throws ApiException if the Api call fails + */ + @Test + public void getExpiredInboxByInboxIdTest() throws ApiException { + UUID inboxId = null; + ExpiredInboxDto response = api.getExpiredInboxByInboxId(inboxId); + // TODO: test validations + } + + /** + * Get an expired inbox record + * + * Inboxes created with an expiration date will expire after the given date and be moved to an ExpiredInbox entity. You can still read emails in the inbox but it can no longer send or receive emails. Fetch the expired inboxes to view the old inboxes properties + * + * @throws ApiException if the Api call fails + */ + @Test + public void getExpiredInboxRecordTest() throws ApiException { + UUID expiredId = null; + ExpiredInboxDto response = api.getExpiredInboxRecord(expiredId); + // TODO: test validations + } + + /** + * List records of expired inboxes + * + * Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties + * + * @throws ApiException if the Api call fails + */ + @Test + public void getExpiredInboxesTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageExpiredInboxRecordProjection response = api.getExpiredInboxes(page, size, sort, since, before); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/ExportControllerApiTest.java b/src/test/java/com/mailslurp/apis/ExportControllerApiTest.java new file mode 100644 index 000000000..56cd9ca2a --- /dev/null +++ b/src/test/java/com/mailslurp/apis/ExportControllerApiTest.java @@ -0,0 +1,69 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.ExportLink; +import com.mailslurp.models.ExportOptions; +import java.time.OffsetDateTime; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for ExportControllerApi + */ +@Disabled +public class ExportControllerApiTest { + + private final ExportControllerApi api = new ExportControllerApi(); + + /** + * Export inboxes link callable via browser + * + * @throws ApiException if the Api call fails + */ + @Test + public void exportEntitiesTest() throws ApiException { + String exportType = null; + String apiKey = null; + String outputFormat = null; + String filter = null; + String listSeparatorToken = null; + Boolean excludePreviouslyExported = null; + OffsetDateTime createdEarliestTime = null; + OffsetDateTime createdOldestTime = null; + List response = api.exportEntities(exportType, apiKey, outputFormat, filter, listSeparatorToken, excludePreviouslyExported, createdEarliestTime, createdOldestTime); + // TODO: test validations + } + + /** + * Get export link + * + * @throws ApiException if the Api call fails + */ + @Test + public void getExportLinkTest() throws ApiException { + String exportType = null; + ExportOptions exportOptions = null; + String apiKey = null; + ExportLink response = api.getExportLink(exportType, exportOptions, apiKey); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/FormControllerApiTest.java b/src/test/java/com/mailslurp/apis/FormControllerApiTest.java new file mode 100644 index 000000000..a430054d9 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/FormControllerApiTest.java @@ -0,0 +1,53 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for FormControllerApi + */ +@Disabled +public class FormControllerApiTest { + + private final FormControllerApi api = new FormControllerApi(); + + /** + * Submit a form to be parsed and sent as an email to an address determined by the form fields + * + * This endpoint allows you to submit HTML forms and receive the field values and files via email. #### Parameters The endpoint looks for special meta parameters in the form fields OR in the URL request parameters. The meta parameters can be used to specify the behaviour of the email. You must provide at-least a `_to` email address to tell the endpoint where the form should be emailed. These can be submitted as hidden HTML input fields with the corresponding `name` attributes or as URL query parameters such as `?_to=test@example.com` The endpoint takes all other form fields that are named and includes them in the message body of the email. Files are sent as attachments. #### Submitting This endpoint accepts form submission via POST method. It accepts `application/x-www-form-urlencoded`, and `multipart/form-data` content-types. #### HTML Example ```html <form action=\"https://java.api.mailslurp.com/forms\" method=\"post\" > <input name=\"_to\" type=\"hidden\" value=\"test@example.com\"/> <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` #### URL Example ```html <form action=\"https://java.api.mailslurp.com/forms?_to=test@example.com\" method=\"post\" > <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` The email address is specified by a `_to` field OR is extracted from an email alias specified by a `_toAlias` field (see the alias controller for more information). Endpoint accepts . You can specify a content type in HTML forms using the `enctype` attribute, for instance: `<form enctype=\"multipart/form-data\">`. + * + * @throws ApiException if the Api call fails + */ + @Test + public void submitFormTest() throws ApiException { + String to = null; + String subject = null; + String redirectTo = null; + String emailAddress = null; + String successMessage = null; + String spamCheck = null; + String otherParameters = null; + String response = api.submitForm(to, subject, redirectTo, emailAddress, successMessage, spamCheck, otherParameters); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/GroupControllerApiTest.java b/src/test/java/com/mailslurp/apis/GroupControllerApiTest.java new file mode 100644 index 000000000..c6cd2ed63 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/GroupControllerApiTest.java @@ -0,0 +1,160 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.CreateGroupOptions; +import com.mailslurp.models.GroupContactsDto; +import com.mailslurp.models.GroupDto; +import com.mailslurp.models.GroupProjection; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageContactProjection; +import com.mailslurp.models.PageGroupProjection; +import java.util.UUID; +import com.mailslurp.models.UpdateGroupContacts; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for GroupControllerApi + */ +@Disabled +public class GroupControllerApiTest { + + private final GroupControllerApi api = new GroupControllerApi(); + + /** + * Add contacts to a group + * + * @throws ApiException if the Api call fails + */ + @Test + public void addContactsToGroupTest() throws ApiException { + UUID groupId = null; + UpdateGroupContacts updateGroupContacts = null; + GroupContactsDto response = api.addContactsToGroup(groupId, updateGroupContacts); + // TODO: test validations + } + + /** + * Create a group + * + * @throws ApiException if the Api call fails + */ + @Test + public void createGroupTest() throws ApiException { + CreateGroupOptions createGroupOptions = null; + GroupDto response = api.createGroup(createGroupOptions); + // TODO: test validations + } + + /** + * Delete group + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteGroupTest() throws ApiException { + UUID groupId = null; + api.deleteGroup(groupId); + // TODO: test validations + } + + /** + * Get all Contact Groups in paginated format + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllGroupsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageGroupProjection response = api.getAllGroups(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get group + * + * @throws ApiException if the Api call fails + */ + @Test + public void getGroupTest() throws ApiException { + UUID groupId = null; + GroupDto response = api.getGroup(groupId); + // TODO: test validations + } + + /** + * Get group and contacts belonging to it + * + * @throws ApiException if the Api call fails + */ + @Test + public void getGroupWithContactsTest() throws ApiException { + UUID groupId = null; + GroupContactsDto response = api.getGroupWithContacts(groupId); + // TODO: test validations + } + + /** + * Get group and paginated contacts belonging to it + * + * @throws ApiException if the Api call fails + */ + @Test + public void getGroupWithContactsPaginatedTest() throws ApiException { + UUID groupId = null; + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageContactProjection response = api.getGroupWithContactsPaginated(groupId, page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get all groups + * + * @throws ApiException if the Api call fails + */ + @Test + public void getGroupsTest() throws ApiException { + List response = api.getGroups(); + // TODO: test validations + } + + /** + * Remove contacts from a group + * + * @throws ApiException if the Api call fails + */ + @Test + public void removeContactsFromGroupTest() throws ApiException { + UUID groupId = null; + UpdateGroupContacts updateGroupContacts = null; + GroupContactsDto response = api.removeContactsFromGroup(groupId, updateGroupContacts); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/InboxControllerApiTest.java b/src/test/java/com/mailslurp/apis/InboxControllerApiTest.java new file mode 100644 index 000000000..8ee9cf774 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/InboxControllerApiTest.java @@ -0,0 +1,685 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.CountDto; +import com.mailslurp.models.CreateInboxDto; +import com.mailslurp.models.CreateInboxRulesetOptions; +import com.mailslurp.models.Email; +import com.mailslurp.models.EmailPreview; +import com.mailslurp.models.FlushExpiredInboxesResult; +import com.mailslurp.models.ImapSmtpAccessDetails; +import com.mailslurp.models.InboxByEmailAddressResult; +import com.mailslurp.models.InboxByNameResult; +import com.mailslurp.models.InboxDto; +import com.mailslurp.models.InboxExistsDto; +import com.mailslurp.models.InboxIdsResult; +import com.mailslurp.models.InboxRulesetDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageDeliveryStatus; +import com.mailslurp.models.PageEmailPreview; +import com.mailslurp.models.PageInboxProjection; +import com.mailslurp.models.PageInboxRulesetDto; +import com.mailslurp.models.PageOrganizationInboxProjection; +import com.mailslurp.models.PageScheduledJobs; +import com.mailslurp.models.PageSentEmailProjection; +import com.mailslurp.models.PageTrackingPixelProjection; +import com.mailslurp.models.ScheduledJobDto; +import com.mailslurp.models.SendEmailOptions; +import com.mailslurp.models.SendSMTPEnvelopeOptions; +import com.mailslurp.models.SentEmailDto; +import com.mailslurp.models.SetInboxFavouritedOptions; +import java.util.UUID; +import com.mailslurp.models.UpdateInboxOptions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for InboxControllerApi + */ +@Disabled +public class InboxControllerApiTest { + + private final InboxControllerApi api = new InboxControllerApi(); + + /** + * Cancel a scheduled email job + * + * Get a scheduled email job and cancel it. Will fail if status of job is already cancelled, failed, or complete. + * + * @throws ApiException if the Api call fails + */ + @Test + public void cancelScheduledJobTest() throws ApiException { + UUID jobId = null; + ScheduledJobDto response = api.cancelScheduledJob(jobId); + // TODO: test validations + } + + /** + * Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes. + * + * Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createInboxTest() throws ApiException { + String emailAddress = null; + List tags = null; + String name = null; + String description = null; + Boolean useDomainPool = null; + Boolean favourite = null; + OffsetDateTime expiresAt = null; + Long expiresIn = null; + Boolean allowTeamAccess = null; + String inboxType = null; + Boolean virtualInbox = null; + Boolean useShortAddress = null; + UUID domainId = null; + String domainName = null; + InboxDto response = api.createInbox(emailAddress, tags, name, description, useDomainPool, favourite, expiresAt, expiresIn, allowTeamAccess, inboxType, virtualInbox, useShortAddress, domainId, domainName); + // TODO: test validations + } + + /** + * Create an inbox ruleset + * + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * + * @throws ApiException if the Api call fails + */ + @Test + public void createInboxRulesetTest() throws ApiException { + UUID inboxId = null; + CreateInboxRulesetOptions createInboxRulesetOptions = null; + InboxRulesetDto response = api.createInboxRuleset(inboxId, createInboxRulesetOptions); + // TODO: test validations + } + + /** + * Create an inbox with default options. Uses MailSlurp domain pool address and is private. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createInboxWithDefaultsTest() throws ApiException { + InboxDto response = api.createInboxWithDefaults(); + // TODO: test validations + } + + /** + * Create an inbox with options. Extended options for inbox creation. + * + * Additional endpoint that allows inbox creation with request body options. Can be more flexible that other methods for some clients. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createInboxWithOptionsTest() throws ApiException { + CreateInboxDto createInboxDto = null; + InboxDto response = api.createInboxWithOptions(createInboxDto); + // TODO: test validations + } + + /** + * Delete all emails in a given inboxes. + * + * Deletes all emails in an inbox. Be careful as emails cannot be recovered + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteAllInboxEmailsTest() throws ApiException { + UUID inboxId = null; + api.deleteAllInboxEmails(inboxId); + // TODO: test validations + } + + /** + * Delete all inboxes + * + * Permanently delete all inboxes and associated email addresses. This will also delete all emails within the inboxes. Be careful as inboxes cannot be recovered once deleted. Note: deleting inboxes will not impact your usage limits. Monthly inbox creation limits are based on how many inboxes were created in the last 30 days, not how many inboxes you currently have. + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteAllInboxesTest() throws ApiException { + api.deleteAllInboxes(); + // TODO: test validations + } + + /** + * Delete inbox + * + * Permanently delete an inbox and associated email address as well as all emails within the given inbox. This action cannot be undone. Note: deleting an inbox will not affect your account usage. Monthly inbox usage is based on how many inboxes you create within 30 days, not how many exist at time of request. + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteInboxTest() throws ApiException { + UUID inboxId = null; + api.deleteInbox(inboxId); + // TODO: test validations + } + + /** + * Does inbox exist + * + * Check if inboxes exist by email address. Useful if you are sending emails to mailslurp addresses + * + * @throws ApiException if the Api call fails + */ + @Test + public void doesInboxExistTest() throws ApiException { + String emailAddress = null; + Boolean allowCatchAll = null; + InboxExistsDto response = api.doesInboxExist(emailAddress, allowCatchAll); + // TODO: test validations + } + + /** + * Remove expired inboxes + * + * Remove any expired inboxes for your account (instead of waiting for scheduled removal on server) + * + * @throws ApiException if the Api call fails + */ + @Test + public void flushExpiredTest() throws ApiException { + OffsetDateTime before = null; + FlushExpiredInboxesResult response = api.flushExpired(before); + // TODO: test validations + } + + /** + * List All Inboxes Paginated + * + * List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllInboxesTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + Boolean favourite = null; + String search = null; + String tag = null; + Boolean teamAccess = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + String inboxType = null; + UUID domainId = null; + PageInboxProjection response = api.getAllInboxes(page, size, sort, favourite, search, tag, teamAccess, since, before, inboxType, domainId); + // TODO: test validations + } + + /** + * Get all scheduled email sending jobs for account + * + * Schedule sending of emails using scheduled jobs. These can be inbox or account level. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllScheduledJobsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageScheduledJobs response = api.getAllScheduledJobs(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get all email delivery statuses for an inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void getDeliveryStatusesByInboxIdTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageDeliveryStatus response = api.getDeliveryStatusesByInboxId(inboxId, page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead. + * + * List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmailsTest() throws ApiException { + UUID inboxId = null; + Integer size = null; + Integer limit = null; + String sort = null; + Long retryTimeout = null; + Long delayTimeout = null; + Long minCount = null; + Boolean unreadOnly = null; + OffsetDateTime before = null; + OffsetDateTime since = null; + List response = api.getEmails(inboxId, size, limit, sort, retryTimeout, delayTimeout, minCount, unreadOnly, before, since); + // TODO: test validations + } + + /** + * Get IMAP and SMTP access usernames and passwords + * + * @throws ApiException if the Api call fails + */ + @Test + public void getImapSmtpAccessTest() throws ApiException { + UUID inboxId = null; + ImapSmtpAccessDetails response = api.getImapSmtpAccess(inboxId); + // TODO: test validations + } + + /** + * Get Inbox. Returns properties of an inbox. + * + * Returns an inbox's properties, including its email address and ID. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxTest() throws ApiException { + UUID inboxId = null; + InboxDto response = api.getInbox(inboxId); + // TODO: test validations + } + + /** + * Search for an inbox with the provided email address + * + * Get a inbox result by email address + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxByEmailAddressTest() throws ApiException { + String emailAddress = null; + InboxByEmailAddressResult response = api.getInboxByEmailAddress(emailAddress); + // TODO: test validations + } + + /** + * Search for an inbox with the given name + * + * Get a inbox result by name + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxByNameTest() throws ApiException { + String name = null; + InboxByNameResult response = api.getInboxByName(name); + // TODO: test validations + } + + /** + * Get total inbox count + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxCountTest() throws ApiException { + CountDto response = api.getInboxCount(); + // TODO: test validations + } + + /** + * Get email count in inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxEmailCountTest() throws ApiException { + UUID inboxId = null; + CountDto response = api.getInboxEmailCount(inboxId); + // TODO: test validations + } + + /** + * Get inbox emails paginated + * + * Get a paginated list of emails in an inbox. Does not hold connections open. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxEmailsPaginatedTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageEmailPreview response = api.getInboxEmailsPaginated(inboxId, page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get all inbox IDs + * + * Get list of inbox IDs + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxIdsTest() throws ApiException { + InboxIdsResult response = api.getInboxIds(); + // TODO: test validations + } + + /** + * Get Inbox Sent Emails + * + * Returns an inbox's sent email receipts. Call individual sent email endpoints for more details. Note for privacy reasons the full body of sent emails is never stored. An MD5 hash hex is available for comparison instead. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxSentEmailsTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageSentEmailProjection response = api.getInboxSentEmails(inboxId, page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * Get inbox tags + * + * Get all inbox tags + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxTagsTest() throws ApiException { + List response = api.getInboxTags(); + // TODO: test validations + } + + /** + * List Inboxes and email addresses + * + * List the inboxes you have created. Note use of the more advanced `getAllInboxes` is recommended and allows paginated access using a limit and sort parameter. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxesTest() throws ApiException { + Integer size = null; + String sort = null; + OffsetDateTime since = null; + Boolean excludeCatchAllInboxes = null; + OffsetDateTime before = null; + List response = api.getInboxes(size, sort, since, excludeCatchAllInboxes, before); + // TODO: test validations + } + + /** + * Get latest email in an inbox. Use `WaitForController` to get emails that may not have arrived yet. + * + * Get the newest email in an inbox or wait for one to arrive + * + * @throws ApiException if the Api call fails + */ + @Test + public void getLatestEmailInInboxTest() throws ApiException { + UUID inboxId = null; + Long timeoutMillis = null; + Email response = api.getLatestEmailInInbox(inboxId, timeoutMillis); + // TODO: test validations + } + + /** + * List Organization Inboxes Paginated + * + * List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). + * + * @throws ApiException if the Api call fails + */ + @Test + public void getOrganizationInboxesTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageOrganizationInboxProjection response = api.getOrganizationInboxes(page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * Get a scheduled email job + * + * Get a scheduled email job details. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getScheduledJobTest() throws ApiException { + UUID jobId = null; + ScheduledJobDto response = api.getScheduledJob(jobId); + // TODO: test validations + } + + /** + * Get all scheduled email sending jobs for the inbox + * + * Schedule sending of emails using scheduled jobs. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getScheduledJobsByInboxIdTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageScheduledJobs response = api.getScheduledJobsByInboxId(inboxId, page, size, sort, since, before); + // TODO: test validations + } + + /** + * List inbox rulesets + * + * List all rulesets attached to an inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void listInboxRulesetsTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageInboxRulesetDto response = api.listInboxRulesets(inboxId, page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * List inbox tracking pixels + * + * List all tracking pixels sent from an inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void listInboxTrackingPixelsTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageTrackingPixelProjection response = api.listInboxTrackingPixels(inboxId, page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * Send Email + * + * Send an email from an inbox's email address. The request body should contain the `SendEmailOptions` that include recipients, attachments, body etc. See `SendEmailOptions` for all available properties. Note the `inboxId` refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method `sendEmailAndConfirm`. + * + * @throws ApiException if the Api call fails + */ + @Test + public void sendEmailTest() throws ApiException { + UUID inboxId = null; + SendEmailOptions sendEmailOptions = null; + api.sendEmail(inboxId, sendEmailOptions); + // TODO: test validations + } + + /** + * Send email and return sent confirmation + * + * Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it. + * + * @throws ApiException if the Api call fails + */ + @Test + public void sendEmailAndConfirmTest() throws ApiException { + UUID inboxId = null; + SendEmailOptions sendEmailOptions = null; + SentEmailDto response = api.sendEmailAndConfirm(inboxId, sendEmailOptions); + // TODO: test validations + } + + /** + * Send email with queue + * + * Send an email using a queue. Will place the email onto a queue that will then be processed and sent. Use this queue method to enable any failed email sending to be recovered. This will prevent lost emails when sending if your account encounters a block or payment issue. + * + * @throws ApiException if the Api call fails + */ + @Test + public void sendEmailWithQueueTest() throws ApiException { + UUID inboxId = null; + Boolean validateBeforeEnqueue = null; + SendEmailOptions sendEmailOptions = null; + api.sendEmailWithQueue(inboxId, validateBeforeEnqueue, sendEmailOptions); + // TODO: test validations + } + + /** + * Send email using an SMTP mail envelope and message body and return sent confirmation + * + * Send email using an SMTP envelope containing RCPT TO, MAIL FROM, and a SMTP BODY. + * + * @throws ApiException if the Api call fails + */ + @Test + public void sendSmtpEnvelopeTest() throws ApiException { + UUID inboxId = null; + SendSMTPEnvelopeOptions sendSMTPEnvelopeOptions = null; + SentEmailDto response = api.sendSmtpEnvelope(inboxId, sendSMTPEnvelopeOptions); + // TODO: test validations + } + + /** + * Send a test email to inbox + * + * Send an inbox a test email to test email receiving is working + * + * @throws ApiException if the Api call fails + */ + @Test + public void sendTestEmailTest() throws ApiException { + UUID inboxId = null; + api.sendTestEmail(inboxId); + // TODO: test validations + } + + /** + * Send email with with delay or schedule + * + * Send an email using a delay. Will place the email onto a scheduler that will then be processed and sent. Use delays to schedule email sending. + * + * @throws ApiException if the Api call fails + */ + @Test + public void sendWithScheduleTest() throws ApiException { + UUID inboxId = null; + SendEmailOptions sendEmailOptions = null; + OffsetDateTime sendAtTimestamp = null; + Long sendAtNowPlusSeconds = null; + Boolean validateBeforeEnqueue = null; + ScheduledJobDto response = api.sendWithSchedule(inboxId, sendEmailOptions, sendAtTimestamp, sendAtNowPlusSeconds, validateBeforeEnqueue); + // TODO: test validations + } + + /** + * Set inbox favourited state + * + * Set and return new favourite state for an inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void setInboxFavouritedTest() throws ApiException { + UUID inboxId = null; + SetInboxFavouritedOptions setInboxFavouritedOptions = null; + InboxDto response = api.setInboxFavourited(inboxId, setInboxFavouritedOptions); + // TODO: test validations + } + + /** + * Update Inbox. Change name and description. Email address is not editable. + * + * Update editable fields on an inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateInboxTest() throws ApiException { + UUID inboxId = null; + UpdateInboxOptions updateInboxOptions = null; + InboxDto response = api.updateInbox(inboxId, updateInboxOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/InboxForwarderControllerApiTest.java b/src/test/java/com/mailslurp/apis/InboxForwarderControllerApiTest.java new file mode 100644 index 000000000..49d1ba9a0 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/InboxForwarderControllerApiTest.java @@ -0,0 +1,195 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.CreateInboxForwarderOptions; +import com.mailslurp.models.InboxForwarderDto; +import com.mailslurp.models.InboxForwarderTestOptions; +import com.mailslurp.models.InboxForwarderTestResult; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageInboxForwarderDto; +import com.mailslurp.models.PageInboxForwarderEvents; +import com.mailslurp.models.TestNewInboxForwarderOptions; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for InboxForwarderControllerApi + */ +@Disabled +public class InboxForwarderControllerApiTest { + + private final InboxForwarderControllerApi api = new InboxForwarderControllerApi(); + + /** + * Create an inbox forwarder + * + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * + * @throws ApiException if the Api call fails + */ + @Test + public void createNewInboxForwarderTest() throws ApiException { + UUID inboxId = null; + CreateInboxForwarderOptions createInboxForwarderOptions = null; + InboxForwarderDto response = api.createNewInboxForwarder(inboxId, createInboxForwarderOptions); + // TODO: test validations + } + + /** + * Delete an inbox forwarder + * + * Delete inbox forwarder + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteInboxForwarderTest() throws ApiException { + UUID id = null; + api.deleteInboxForwarder(id); + // TODO: test validations + } + + /** + * Delete inbox forwarders + * + * Delete inbox forwarders. Accepts optional inboxId filter. + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteInboxForwardersTest() throws ApiException { + UUID inboxId = null; + api.deleteInboxForwarders(inboxId); + // TODO: test validations + } + + /** + * Get an inbox forwarder + * + * Get inbox ruleset + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxForwarderTest() throws ApiException { + UUID id = null; + InboxForwarderDto response = api.getInboxForwarder(id); + // TODO: test validations + } + + /** + * Get an inbox forwarder event list + * + * Get inbox ruleset events + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxForwarderEventsTest() throws ApiException { + UUID id = null; + Integer page = null; + Integer size = null; + String sort = null; + PageInboxForwarderEvents response = api.getInboxForwarderEvents(id, page, size, sort); + // TODO: test validations + } + + /** + * List inbox forwarders + * + * List all forwarders attached to an inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxForwardersTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageInboxForwarderDto response = api.getInboxForwarders(inboxId, page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * Test an inbox forwarder + * + * Test an inbox forwarder + * + * @throws ApiException if the Api call fails + */ + @Test + public void testInboxForwarderTest() throws ApiException { + UUID id = null; + InboxForwarderTestOptions inboxForwarderTestOptions = null; + InboxForwarderTestResult response = api.testInboxForwarder(id, inboxForwarderTestOptions); + // TODO: test validations + } + + /** + * Test inbox forwarders for inbox + * + * Test inbox forwarders for inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void testInboxForwardersForInboxTest() throws ApiException { + UUID inboxId = null; + InboxForwarderTestOptions inboxForwarderTestOptions = null; + InboxForwarderTestResult response = api.testInboxForwardersForInbox(inboxId, inboxForwarderTestOptions); + // TODO: test validations + } + + /** + * Test new inbox forwarder + * + * Test new inbox forwarder + * + * @throws ApiException if the Api call fails + */ + @Test + public void testNewInboxForwarderTest() throws ApiException { + TestNewInboxForwarderOptions testNewInboxForwarderOptions = null; + InboxForwarderTestResult response = api.testNewInboxForwarder(testNewInboxForwarderOptions); + // TODO: test validations + } + + /** + * Update an inbox forwarder + * + * Update inbox ruleset + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateInboxForwarderTest() throws ApiException { + UUID id = null; + CreateInboxForwarderOptions createInboxForwarderOptions = null; + InboxForwarderDto response = api.updateInboxForwarder(id, createInboxForwarderOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/InboxReplierControllerApiTest.java b/src/test/java/com/mailslurp/apis/InboxReplierControllerApiTest.java new file mode 100644 index 000000000..ab468faef --- /dev/null +++ b/src/test/java/com/mailslurp/apis/InboxReplierControllerApiTest.java @@ -0,0 +1,147 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.CreateInboxReplierOptions; +import com.mailslurp.models.InboxReplierDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageInboxReplierDto; +import com.mailslurp.models.PageInboxReplierEvents; +import java.util.UUID; +import com.mailslurp.models.UpdateInboxReplierOptions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for InboxReplierControllerApi + */ +@Disabled +public class InboxReplierControllerApiTest { + + private final InboxReplierControllerApi api = new InboxReplierControllerApi(); + + /** + * Create an inbox replier + * + * Create a new inbox rule for reply toing, blocking, and allowing emails when sending and receiving + * + * @throws ApiException if the Api call fails + */ + @Test + public void createNewInboxReplierTest() throws ApiException { + CreateInboxReplierOptions createInboxReplierOptions = null; + InboxReplierDto response = api.createNewInboxReplier(createInboxReplierOptions); + // TODO: test validations + } + + /** + * Delete an inbox replier + * + * Delete inbox replier + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteInboxReplierTest() throws ApiException { + UUID id = null; + api.deleteInboxReplier(id); + // TODO: test validations + } + + /** + * Delete inbox repliers + * + * Delete inbox repliers. Accepts optional inboxId filter. + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteInboxRepliersTest() throws ApiException { + UUID inboxId = null; + api.deleteInboxRepliers(inboxId); + // TODO: test validations + } + + /** + * Get an inbox replier + * + * Get inbox ruleset + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxReplierTest() throws ApiException { + UUID id = null; + InboxReplierDto response = api.getInboxReplier(id); + // TODO: test validations + } + + /** + * Get an inbox replier event list + * + * Get inbox ruleset events + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxReplierEventsTest() throws ApiException { + UUID id = null; + Integer page = null; + Integer size = null; + String sort = null; + PageInboxReplierEvents response = api.getInboxReplierEvents(id, page, size, sort); + // TODO: test validations + } + + /** + * List inbox repliers + * + * List all repliers attached to an inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxRepliersTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageInboxReplierDto response = api.getInboxRepliers(inboxId, page, size, sort, since, before); + // TODO: test validations + } + + /** + * Update an inbox replier + * + * Update inbox ruleset + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateInboxReplierTest() throws ApiException { + UUID id = null; + UpdateInboxReplierOptions updateInboxReplierOptions = null; + InboxReplierDto response = api.updateInboxReplier(id, updateInboxReplierOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/InboxRulesetControllerApiTest.java b/src/test/java/com/mailslurp/apis/InboxRulesetControllerApiTest.java new file mode 100644 index 000000000..5da9625f6 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/InboxRulesetControllerApiTest.java @@ -0,0 +1,162 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.CreateInboxRulesetOptions; +import com.mailslurp.models.InboxRulesetDto; +import com.mailslurp.models.InboxRulesetTestOptions; +import com.mailslurp.models.InboxRulesetTestResult; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageInboxRulesetDto; +import com.mailslurp.models.TestNewInboxRulesetOptions; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for InboxRulesetControllerApi + */ +@Disabled +public class InboxRulesetControllerApiTest { + + private final InboxRulesetControllerApi api = new InboxRulesetControllerApi(); + + /** + * Create an inbox ruleset + * + * Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving + * + * @throws ApiException if the Api call fails + */ + @Test + public void createNewInboxRulesetTest() throws ApiException { + CreateInboxRulesetOptions createInboxRulesetOptions = null; + UUID inboxId = null; + InboxRulesetDto response = api.createNewInboxRuleset(createInboxRulesetOptions, inboxId); + // TODO: test validations + } + + /** + * Delete an inbox ruleset + * + * Delete inbox ruleset + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteInboxRulesetTest() throws ApiException { + UUID id = null; + api.deleteInboxRuleset(id); + // TODO: test validations + } + + /** + * Delete inbox rulesets + * + * Delete inbox rulesets. Accepts optional inboxId filter. + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteInboxRulesetsTest() throws ApiException { + UUID inboxId = null; + api.deleteInboxRulesets(inboxId); + // TODO: test validations + } + + /** + * Get an inbox ruleset + * + * Get inbox ruleset + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxRulesetTest() throws ApiException { + UUID id = null; + InboxRulesetDto response = api.getInboxRuleset(id); + // TODO: test validations + } + + /** + * List inbox rulesets + * + * List all rulesets attached to an inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxRulesetsTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageInboxRulesetDto response = api.getInboxRulesets(inboxId, page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * Test an inbox ruleset + * + * Test an inbox ruleset + * + * @throws ApiException if the Api call fails + */ + @Test + public void testInboxRulesetTest() throws ApiException { + UUID id = null; + InboxRulesetTestOptions inboxRulesetTestOptions = null; + InboxRulesetTestResult response = api.testInboxRuleset(id, inboxRulesetTestOptions); + // TODO: test validations + } + + /** + * Test inbox rulesets for inbox + * + * Test inbox rulesets for inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void testInboxRulesetsForInboxTest() throws ApiException { + UUID inboxId = null; + InboxRulesetTestOptions inboxRulesetTestOptions = null; + InboxRulesetTestResult response = api.testInboxRulesetsForInbox(inboxId, inboxRulesetTestOptions); + // TODO: test validations + } + + /** + * Test new inbox ruleset + * + * Test new inbox ruleset + * + * @throws ApiException if the Api call fails + */ + @Test + public void testNewInboxRulesetTest() throws ApiException { + TestNewInboxRulesetOptions testNewInboxRulesetOptions = null; + InboxRulesetTestResult response = api.testNewInboxRuleset(testNewInboxRulesetOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/MailServerControllerApiTest.java b/src/test/java/com/mailslurp/apis/MailServerControllerApiTest.java new file mode 100644 index 000000000..1a9b6eb3c --- /dev/null +++ b/src/test/java/com/mailslurp/apis/MailServerControllerApiTest.java @@ -0,0 +1,88 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.DNSLookupOptions; +import com.mailslurp.models.DNSLookupResults; +import com.mailslurp.models.DescribeDomainOptions; +import com.mailslurp.models.DescribeMailServerDomainResult; +import com.mailslurp.models.EmailVerificationResult; +import com.mailslurp.models.IPAddressResult; +import com.mailslurp.models.VerifyEmailAddressOptions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for MailServerControllerApi + */ +@Disabled +public class MailServerControllerApiTest { + + private final MailServerControllerApi api = new MailServerControllerApi(); + + /** + * Get DNS Mail Server records for a domain + * + * @throws ApiException if the Api call fails + */ + @Test + public void describeMailServerDomainTest() throws ApiException { + DescribeDomainOptions describeDomainOptions = null; + DescribeMailServerDomainResult response = api.describeMailServerDomain(describeDomainOptions); + // TODO: test validations + } + + /** + * Lookup DNS records for a domain + * + * @throws ApiException if the Api call fails + */ + @Test + public void getDnsLookupTest() throws ApiException { + DNSLookupOptions dnSLookupOptions = null; + DNSLookupResults response = api.getDnsLookup(dnSLookupOptions); + // TODO: test validations + } + + /** + * Get IP address for a domain + * + * @throws ApiException if the Api call fails + */ + @Test + public void getIpAddressTest() throws ApiException { + String name = null; + IPAddressResult response = api.getIpAddress(name); + // TODO: test validations + } + + /** + * Deprecated. Use the EmailVerificationController methods for more accurate and reliable functionality. Verify the existence of an email address at a given mail server. + * + * @throws ApiException if the Api call fails + */ + @Test + public void verifyEmailAddressTest() throws ApiException { + VerifyEmailAddressOptions verifyEmailAddressOptions = null; + EmailVerificationResult response = api.verifyEmailAddress(verifyEmailAddressOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/MissedEmailControllerApiTest.java b/src/test/java/com/mailslurp/apis/MissedEmailControllerApiTest.java new file mode 100644 index 000000000..17b98f998 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/MissedEmailControllerApiTest.java @@ -0,0 +1,121 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.MissedEmailDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageMissedEmailProjection; +import com.mailslurp.models.PageUnknownMissedEmailProjection; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for MissedEmailControllerApi + */ +@Disabled +public class MissedEmailControllerApiTest { + + private final MissedEmailControllerApi api = new MissedEmailControllerApi(); + + /** + * Get all MissedEmails in paginated format + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllMissedEmailsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + UUID inboxId = null; + PageMissedEmailProjection response = api.getAllMissedEmails(page, size, sort, searchFilter, since, before, inboxId); + // TODO: test validations + } + + /** + * Get all unknown missed emails in paginated format + * + * Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllUnknownMissedEmailsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + UUID inboxId = null; + PageUnknownMissedEmailProjection response = api.getAllUnknownMissedEmails(page, size, sort, searchFilter, since, before, inboxId); + // TODO: test validations + } + + /** + * Get MissedEmail + * + * List emails that were missed due to plan limits. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getMissedEmailTest() throws ApiException { + UUID missedEmailId = null; + MissedEmailDto response = api.getMissedEmail(missedEmailId); + // TODO: test validations + } + + /** + * Restore missed emails + * + * If emails were missed due to a plan limit they are saved as missed emails. If support team enables the canRestore flag these emails can be reload into your account using this method. + * + * @throws ApiException if the Api call fails + */ + @Test + public void restoreMissedEmailsTest() throws ApiException { + api.restoreMissedEmails(); + // TODO: test validations + } + + /** + * Wait for Nth missed email + * + * Wait for 0 based index missed email + * + * @throws ApiException if the Api call fails + */ + @Test + public void waitForNthMissedEmailTest() throws ApiException { + Integer index = null; + UUID inboxId = null; + Long timeout = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + MissedEmailDto response = api.waitForNthMissedEmail(index, inboxId, timeout, since, before); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/PhoneControllerApiTest.java b/src/test/java/com/mailslurp/apis/PhoneControllerApiTest.java new file mode 100644 index 000000000..23008f116 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/PhoneControllerApiTest.java @@ -0,0 +1,138 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.CreateEmergencyAddressOptions; +import com.mailslurp.models.EmergencyAddress; +import com.mailslurp.models.EmergencyAddressDto; +import com.mailslurp.models.EmptyResponseDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PagePhoneNumberProjection; +import com.mailslurp.models.PhoneNumberDto; +import com.mailslurp.models.PhonePlanDto; +import com.mailslurp.models.TestPhoneNumberOptions; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for PhoneControllerApi + */ +@Disabled +public class PhoneControllerApiTest { + + private final PhoneControllerApi api = new PhoneControllerApi(); + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void createEmergencyAddressTest() throws ApiException { + CreateEmergencyAddressOptions createEmergencyAddressOptions = null; + EmergencyAddress response = api.createEmergencyAddress(createEmergencyAddressOptions); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void deleteEmergencyAddressTest() throws ApiException { + UUID addressId = null; + EmptyResponseDto response = api.deleteEmergencyAddress(addressId); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void deletePhoneNumberTest() throws ApiException { + UUID phoneNumberId = null; + api.deletePhoneNumber(phoneNumberId); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void getEmergencyAddressTest() throws ApiException { + UUID addressId = null; + EmergencyAddress response = api.getEmergencyAddress(addressId); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void getEmergencyAddressesTest() throws ApiException { + List response = api.getEmergencyAddresses(); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void getPhoneNumberTest() throws ApiException { + UUID phoneNumberId = null; + PhoneNumberDto response = api.getPhoneNumber(phoneNumberId); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void getPhoneNumbersTest() throws ApiException { + String phoneCountry = null; + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PagePhoneNumberProjection response = api.getPhoneNumbers(phoneCountry, page, size, sort, since, before); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void getPhonePlansTest() throws ApiException { + List response = api.getPhonePlans(); + // TODO: test validations + } + + /** + * @throws ApiException if the Api call fails + */ + @Test + public void testPhoneNumberSendSmsTest() throws ApiException { + UUID phoneNumberId = null; + TestPhoneNumberOptions testPhoneNumberOptions = null; + String xTestId = null; + api.testPhoneNumberSendSms(phoneNumberId, testPhoneNumberOptions, xTestId); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/SentEmailsControllerApiTest.java b/src/test/java/com/mailslurp/apis/SentEmailsControllerApiTest.java new file mode 100644 index 000000000..2b3e50be1 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/SentEmailsControllerApiTest.java @@ -0,0 +1,281 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.DeliveryStatusDto; +import com.mailslurp.models.EmailPreviewUrls; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageDeliveryStatus; +import com.mailslurp.models.PageSentEmailProjection; +import com.mailslurp.models.PageSentEmailWithQueueProjection; +import com.mailslurp.models.PageTrackingPixelProjection; +import com.mailslurp.models.RawEmailJson; +import com.mailslurp.models.SentEmailDto; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for SentEmailsControllerApi + */ +@Disabled +public class SentEmailsControllerApiTest { + + private final SentEmailsControllerApi api = new SentEmailsControllerApi(); + + /** + * Delete all sent email receipts + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteAllSentEmailsTest() throws ApiException { + api.deleteAllSentEmails(); + // TODO: test validations + } + + /** + * Delete sent email receipt + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteSentEmailTest() throws ApiException { + UUID id = null; + api.deleteSentEmail(id); + // TODO: test validations + } + + /** + * Get all sent email tracking pixels in paginated form + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllSentTrackingPixelsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageTrackingPixelProjection response = api.getAllSentTrackingPixels(page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * Get raw sent email string. Returns unparsed raw SMTP message with headers and body. + * + * Returns a raw, unparsed, and unprocessed sent email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawSentEmailJson endpoint + * + * @throws ApiException if the Api call fails + */ + @Test + public void getRawSentEmailContentsTest() throws ApiException { + UUID emailId = null; + String response = api.getRawSentEmailContents(emailId); + // TODO: test validations + } + + /** + * Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format. + * + * Returns a raw, unparsed, and unprocessed sent email wrapped in a JSON response object for easier handling when compared with the getRawSentEmail text/plain response + * + * @throws ApiException if the Api call fails + */ + @Test + public void getRawSentEmailJsonTest() throws ApiException { + UUID emailId = null; + RawEmailJson response = api.getRawSentEmailJson(emailId); + // TODO: test validations + } + + /** + * Get a sent email delivery status + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSentDeliveryStatusTest() throws ApiException { + UUID deliveryId = null; + DeliveryStatusDto response = api.getSentDeliveryStatus(deliveryId); + // TODO: test validations + } + + /** + * Get all sent email delivery statuses + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSentDeliveryStatusesTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageDeliveryStatus response = api.getSentDeliveryStatuses(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get all sent email delivery statuses + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSentDeliveryStatusesBySentIdTest() throws ApiException { + UUID sentId = null; + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageDeliveryStatus response = api.getSentDeliveryStatusesBySentId(sentId, page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get sent email receipt + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSentEmailTest() throws ApiException { + UUID id = null; + SentEmailDto response = api.getSentEmail(id); + // TODO: test validations + } + + /** + * Get sent email HTML content + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSentEmailHTMLContentTest() throws ApiException { + UUID id = null; + String response = api.getSentEmailHTMLContent(id); + // TODO: test validations + } + + /** + * Get sent email URL for viewing in browser or downloading + * + * Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSentEmailPreviewURLsTest() throws ApiException { + UUID id = null; + EmailPreviewUrls response = api.getSentEmailPreviewURLs(id); + // TODO: test validations + } + + /** + * Get all tracking pixels for a sent email in paginated form + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSentEmailTrackingPixelsTest() throws ApiException { + UUID id = null; + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageTrackingPixelProjection response = api.getSentEmailTrackingPixels(id, page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * Get all sent emails in paginated form + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSentEmailsTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageSentEmailProjection response = api.getSentEmails(inboxId, page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * Get results of email sent with queues in paginated form + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSentEmailsWithQueueResultsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageSentEmailWithQueueProjection response = api.getSentEmailsWithQueueResults(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get all sent organization emails in paginated form + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSentOrganizationEmailsTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageSentEmailProjection response = api.getSentOrganizationEmails(inboxId, page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * Wait for delivery statuses + * + * @throws ApiException if the Api call fails + */ + @Test + public void waitForDeliveryStatusesTest() throws ApiException { + UUID sentId = null; + UUID inboxId = null; + Long timeout = null; + Integer index = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + DeliveryStatusDto response = api.waitForDeliveryStatuses(sentId, inboxId, timeout, index, since, before); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/SmsControllerApiTest.java b/src/test/java/com/mailslurp/apis/SmsControllerApiTest.java new file mode 100644 index 000000000..0f05df2b8 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/SmsControllerApiTest.java @@ -0,0 +1,113 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageSmsProjection; +import com.mailslurp.models.SmsDto; +import java.util.UUID; +import com.mailslurp.models.UnreadCount; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for SmsControllerApi + */ +@Disabled +public class SmsControllerApiTest { + + private final SmsControllerApi api = new SmsControllerApi(); + + /** + * Delete SMS message. + * + * Delete an SMS message + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteSmsMessageTest() throws ApiException { + UUID smsId = null; + api.deleteSmsMessage(smsId); + // TODO: test validations + } + + /** + * Delete all SMS messages + * + * Delete all SMS messages or all messages for a given phone number + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteSmsMessagesTest() throws ApiException { + UUID phoneNumberId = null; + api.deleteSmsMessages(phoneNumberId); + // TODO: test validations + } + + /** + * Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController. + * + * Returns a SMS summary object with content. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSmsMessageTest() throws ApiException { + UUID smsId = null; + SmsDto response = api.getSmsMessage(smsId); + // TODO: test validations + } + + /** + * Get all SMS messages in all phone numbers in paginated form. . + * + * By default returns all SMS messages across all phone numbers sorted by ascending created at date. Responses are paginated. You can restrict results to a list of phone number IDs. You can also filter out read messages + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSmsMessagesPaginatedTest() throws ApiException { + UUID phoneNumber = null; + Integer page = null; + Integer size = null; + String sort = null; + Boolean unreadOnly = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageSmsProjection response = api.getSmsMessagesPaginated(phoneNumber, page, size, sort, unreadOnly, since, before); + // TODO: test validations + } + + /** + * Get unread SMS count + * + * Get number of SMS unread. Unread means has not been viewed in dashboard or returned in an email API response + * + * @throws ApiException if the Api call fails + */ + @Test + public void getUnreadSmsCountTest() throws ApiException { + UnreadCount response = api.getUnreadSmsCount(); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/TemplateControllerApiTest.java b/src/test/java/com/mailslurp/apis/TemplateControllerApiTest.java new file mode 100644 index 000000000..f9e12f6f9 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/TemplateControllerApiTest.java @@ -0,0 +1,156 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.CreateTemplateOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageTemplateProjection; +import com.mailslurp.models.TemplateDto; +import com.mailslurp.models.TemplatePreview; +import com.mailslurp.models.TemplateProjection; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for TemplateControllerApi + */ +@Disabled +public class TemplateControllerApiTest { + + private final TemplateControllerApi api = new TemplateControllerApi(); + + /** + * Create a Template + * + * Create an email template with variables for use with templated transactional emails. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createTemplateTest() throws ApiException { + CreateTemplateOptions createTemplateOptions = null; + TemplateDto response = api.createTemplate(createTemplateOptions); + // TODO: test validations + } + + /** + * Delete email template + * + * Delete template + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteTemplateTest() throws ApiException { + UUID templateId = null; + api.deleteTemplate(templateId); + // TODO: test validations + } + + /** + * List templates + * + * Get all templates in paginated format + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllTemplatesTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageTemplateProjection response = api.getAllTemplates(page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get template + * + * Get email template + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTemplateTest() throws ApiException { + UUID templateId = null; + TemplateDto response = api.getTemplate(templateId); + // TODO: test validations + } + + /** + * Get template preview HTML + * + * Get email template preview with passed template variables in HTML format for browsers. Pass template variables as query params. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTemplatePreviewHtmlTest() throws ApiException { + UUID templateId = null; + String response = api.getTemplatePreviewHtml(templateId); + // TODO: test validations + } + + /** + * Get template preview Json + * + * Get email template preview with passed template variables in JSON format. Pass template variables as query params. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTemplatePreviewJsonTest() throws ApiException { + UUID templateId = null; + TemplatePreview response = api.getTemplatePreviewJson(templateId); + // TODO: test validations + } + + /** + * List templates + * + * Get all templates + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTemplatesTest() throws ApiException { + List response = api.getTemplates(); + // TODO: test validations + } + + /** + * Update template + * + * Update email template + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateTemplateTest() throws ApiException { + UUID templateId = null; + CreateTemplateOptions createTemplateOptions = null; + TemplateDto response = api.updateTemplate(templateId, createTemplateOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/TrackingControllerApiTest.java b/src/test/java/com/mailslurp/apis/TrackingControllerApiTest.java new file mode 100644 index 000000000..1ae52fdea --- /dev/null +++ b/src/test/java/com/mailslurp/apis/TrackingControllerApiTest.java @@ -0,0 +1,83 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.CreateTrackingPixelOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageTrackingPixelProjection; +import com.mailslurp.models.TrackingPixelDto; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for TrackingControllerApi + */ +@Disabled +public class TrackingControllerApiTest { + + private final TrackingControllerApi api = new TrackingControllerApi(); + + /** + * Create tracking pixel + * + * Create a tracking pixel. A tracking pixel is an image that can be embedded in an email. When the email is viewed and the image is seen MailSlurp will mark the pixel as seen. Use tracking pixels to monitor email open events. You can receive open notifications via webhook or by fetching the pixel. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createTrackingPixelTest() throws ApiException { + CreateTrackingPixelOptions createTrackingPixelOptions = null; + TrackingPixelDto response = api.createTrackingPixel(createTrackingPixelOptions); + // TODO: test validations + } + + /** + * Get tracking pixels + * + * List tracking pixels in paginated form + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllTrackingPixelsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageTrackingPixelProjection response = api.getAllTrackingPixels(page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * Get pixel + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTrackingPixelTest() throws ApiException { + UUID id = null; + TrackingPixelDto response = api.getTrackingPixel(id); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/UserControllerApiTest.java b/src/test/java/com/mailslurp/apis/UserControllerApiTest.java new file mode 100644 index 000000000..8e2557382 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/UserControllerApiTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.UserInfoDto; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for UserControllerApi + */ +@Disabled +public class UserControllerApiTest { + + private final UserControllerApi api = new UserControllerApi(); + + /** + * Utility function to extract properties from JSON objects in language where this is cumbersome. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getJsonPropertyAsStringTest() throws ApiException { + String property = null; + Object body = null; + String response = api.getJsonPropertyAsString(property, body); + // TODO: test validations + } + + /** + * Get account information for your user + * + * @throws ApiException if the Api call fails + */ + @Test + public void getUserInfoTest() throws ApiException { + UserInfoDto response = api.getUserInfo(); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/WaitForControllerApiTest.java b/src/test/java/com/mailslurp/apis/WaitForControllerApiTest.java new file mode 100644 index 000000000..aa55eead2 --- /dev/null +++ b/src/test/java/com/mailslurp/apis/WaitForControllerApiTest.java @@ -0,0 +1,190 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.Email; +import com.mailslurp.models.EmailPreview; +import com.mailslurp.models.MatchOptions; +import java.time.OffsetDateTime; +import com.mailslurp.models.SmsDto; +import com.mailslurp.models.SmsPreview; +import java.util.UUID; +import com.mailslurp.models.WaitForConditions; +import com.mailslurp.models.WaitForSingleSmsOptions; +import com.mailslurp.models.WaitForSmsConditions; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for WaitForControllerApi + */ +@Disabled +public class WaitForControllerApiTest { + + private final WaitForControllerApi api = new WaitForControllerApi(); + + /** + * Wait for an email to match the provided filter conditions such as subject contains keyword. + * + * Generic waitFor method that will wait until an inbox meets given conditions or return immediately if already met + * + * @throws ApiException if the Api call fails + */ + @Test + public void waitForTest() throws ApiException { + WaitForConditions waitForConditions = null; + List response = api.waitFor(waitForConditions); + // TODO: test validations + } + + /** + * Wait for and return count number of emails. Hold connection until inbox count matches expected or timeout occurs + * + * If inbox contains count or more emails at time of request then return count worth of emails. If not wait until the count is reached and return those or return an error if timeout is exceeded. + * + * @throws ApiException if the Api call fails + */ + @Test + public void waitForEmailCountTest() throws ApiException { + UUID inboxId = null; + Integer count = null; + Long timeout = null; + Boolean unreadOnly = null; + OffsetDateTime before = null; + OffsetDateTime since = null; + String sort = null; + Long delay = null; + List response = api.waitForEmailCount(inboxId, count, timeout, unreadOnly, before, since, sort, delay); + // TODO: test validations + } + + /** + * Fetch inbox's latest email or if empty wait for an email to arrive + * + * Will return either the last received email or wait for an email to arrive and return that. If you need to wait for an email for a non-empty inbox set `unreadOnly=true` or see the other receive methods such as `waitForNthEmail` or `waitForEmailCount`. + * + * @throws ApiException if the Api call fails + */ + @Test + public void waitForLatestEmailTest() throws ApiException { + UUID inboxId = null; + Long timeout = null; + Boolean unreadOnly = null; + OffsetDateTime before = null; + OffsetDateTime since = null; + String sort = null; + Long delay = null; + Email response = api.waitForLatestEmail(inboxId, timeout, unreadOnly, before, since, sort, delay); + // TODO: test validations + } + + /** + * Wait for the latest SMS message to match the provided filter conditions such as body contains keyword. + * + * Wait until a phone number meets given conditions or return immediately if already met + * + * @throws ApiException if the Api call fails + */ + @Test + public void waitForLatestSmsTest() throws ApiException { + WaitForSingleSmsOptions waitForSingleSmsOptions = null; + SmsDto response = api.waitForLatestSms(waitForSingleSmsOptions); + // TODO: test validations + } + + /** + * Wait or return list of emails that match simple matching patterns + * + * Perform a search of emails in an inbox with the given patterns. If results match expected count then return or else retry the search until results are found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method. + * + * @throws ApiException if the Api call fails + */ + @Test + public void waitForMatchingEmailsTest() throws ApiException { + UUID inboxId = null; + Integer count = null; + MatchOptions matchOptions = null; + OffsetDateTime before = null; + OffsetDateTime since = null; + String sort = null; + Long delay = null; + Long timeout = null; + Boolean unreadOnly = null; + List response = api.waitForMatchingEmails(inboxId, count, matchOptions, before, since, sort, delay, timeout, unreadOnly); + // TODO: test validations + } + + /** + * Wait for or return the first email that matches provided MatchOptions array + * + * Perform a search of emails in an inbox with the given patterns. If a result if found then return or else retry the search until a result is found or timeout is reached. Match options allow simple CONTAINS or EQUALS filtering on SUBJECT, TO, BCC, CC, and FROM. See the `MatchOptions` object for options. An example payload is `{ matches: [{field: 'SUBJECT',should:'CONTAIN',value:'needle'}] }`. You can use an array of matches and they will be applied sequentially to filter out emails. If you want to perform matches and extractions of content using Regex patterns see the EmailController `getEmailContentMatch` method. + * + * @throws ApiException if the Api call fails + */ + @Test + public void waitForMatchingFirstEmailTest() throws ApiException { + UUID inboxId = null; + MatchOptions matchOptions = null; + Long timeout = null; + Boolean unreadOnly = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + String sort = null; + Long delay = null; + Email response = api.waitForMatchingFirstEmail(inboxId, matchOptions, timeout, unreadOnly, since, before, sort, delay); + // TODO: test validations + } + + /** + * Wait for or fetch the email with a given index in the inbox specified. If index doesn't exist waits for it to exist or timeout to occur. + * + * If nth email is already present in inbox then return it. If not hold the connection open until timeout expires or the nth email is received and returned. + * + * @throws ApiException if the Api call fails + */ + @Test + public void waitForNthEmailTest() throws ApiException { + UUID inboxId = null; + Integer index = null; + Long timeout = null; + Boolean unreadOnly = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + String sort = null; + Long delay = null; + Email response = api.waitForNthEmail(inboxId, index, timeout, unreadOnly, since, before, sort, delay); + // TODO: test validations + } + + /** + * Wait for an SMS message to match the provided filter conditions such as body contains keyword. + * + * Generic waitFor method that will wait until a phone number meets given conditions or return immediately if already met + * + * @throws ApiException if the Api call fails + */ + @Test + public void waitForSmsTest() throws ApiException { + WaitForSmsConditions waitForSmsConditions = null; + List response = api.waitForSms(waitForSmsConditions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/apis/WebhookControllerApiTest.java b/src/test/java/com/mailslurp/apis/WebhookControllerApiTest.java new file mode 100644 index 000000000..1fe88199f --- /dev/null +++ b/src/test/java/com/mailslurp/apis/WebhookControllerApiTest.java @@ -0,0 +1,497 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.apis; + +import com.mailslurp.clients.ApiException; +import com.mailslurp.models.AbstractWebhookPayload; +import com.mailslurp.models.CreateWebhookOptions; +import com.mailslurp.models.JSONSchemaDto; +import java.time.OffsetDateTime; +import com.mailslurp.models.PageWebhookProjection; +import com.mailslurp.models.PageWebhookResult; +import java.util.UUID; +import com.mailslurp.models.UnseenErrorCountDto; +import com.mailslurp.models.VerifyWebhookSignatureOptions; +import com.mailslurp.models.VerifyWebhookSignatureResults; +import com.mailslurp.models.WebhookBouncePayload; +import com.mailslurp.models.WebhookBounceRecipientPayload; +import com.mailslurp.models.WebhookDeliveryStatusPayload; +import com.mailslurp.models.WebhookDto; +import com.mailslurp.models.WebhookEmailOpenedPayload; +import com.mailslurp.models.WebhookEmailReadPayload; +import com.mailslurp.models.WebhookHeaders; +import com.mailslurp.models.WebhookNewAttachmentPayload; +import com.mailslurp.models.WebhookNewContactPayload; +import com.mailslurp.models.WebhookNewEmailPayload; +import com.mailslurp.models.WebhookNewSmsPayload; +import com.mailslurp.models.WebhookRedriveResult; +import com.mailslurp.models.WebhookResultDto; +import com.mailslurp.models.WebhookTestResult; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for WebhookControllerApi + */ +@Disabled +public class WebhookControllerApiTest { + + private final WebhookControllerApi api = new WebhookControllerApi(); + + /** + * Attach a WebHook URL to an inbox + * + * Get notified of account level events such as bounce and bounce recipient. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createAccountWebhookTest() throws ApiException { + CreateWebhookOptions createWebhookOptions = null; + WebhookDto response = api.createAccountWebhook(createWebhookOptions); + // TODO: test validations + } + + /** + * Attach a WebHook URL to an inbox + * + * Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createWebhookTest() throws ApiException { + UUID inboxId = null; + CreateWebhookOptions createWebhookOptions = null; + WebhookDto response = api.createWebhook(inboxId, createWebhookOptions); + // TODO: test validations + } + + /** + * Attach a WebHook URL to a phone number + * + * Get notified whenever a phone number receives an SMS via a WebHook URL. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createWebhookForPhoneNumberTest() throws ApiException { + UUID phoneNumberId = null; + CreateWebhookOptions createWebhookOptions = null; + WebhookDto response = api.createWebhookForPhoneNumber(phoneNumberId, createWebhookOptions); + // TODO: test validations + } + + /** + * Delete all webhooks + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteAllWebhooksTest() throws ApiException { + OffsetDateTime before = null; + api.deleteAllWebhooks(before); + // TODO: test validations + } + + /** + * Delete and disable a Webhook for an Inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteWebhookTest() throws ApiException { + UUID inboxId = null; + UUID webhookId = null; + api.deleteWebhook(inboxId, webhookId); + // TODO: test validations + } + + /** + * Delete a webhook + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteWebhookByIdTest() throws ApiException { + UUID webhookId = null; + api.deleteWebhookById(webhookId); + // TODO: test validations + } + + /** + * List account webhooks Paginated + * + * List account webhooks in paginated form. Allows for page index, page size, and sort direction. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllAccountWebhooksTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + String eventType = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageWebhookProjection response = api.getAllAccountWebhooks(page, size, sort, eventType, since, before); + // TODO: test validations + } + + /** + * Get results for all webhooks + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllWebhookResultsTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + Boolean unseenOnly = null; + PageWebhookResult response = api.getAllWebhookResults(page, size, sort, searchFilter, since, before, unseenOnly); + // TODO: test validations + } + + /** + * List Webhooks Paginated + * + * List webhooks in paginated form. Allows for page index, page size, and sort direction. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllWebhooksTest() throws ApiException { + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + UUID inboxId = null; + UUID phoneId = null; + OffsetDateTime before = null; + PageWebhookProjection response = api.getAllWebhooks(page, size, sort, searchFilter, since, inboxId, phoneId, before); + // TODO: test validations + } + + /** + * Get paginated webhooks for an Inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void getInboxWebhooksPaginatedTest() throws ApiException { + UUID inboxId = null; + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageWebhookProjection response = api.getInboxWebhooksPaginated(inboxId, page, size, sort, searchFilter, since, before); + // TODO: test validations + } + + /** + * Get JSON Schema definition for webhook payload by event + * + * @throws ApiException if the Api call fails + */ + @Test + public void getJsonSchemaForWebhookEventTest() throws ApiException { + String event = null; + JSONSchemaDto response = api.getJsonSchemaForWebhookEvent(event); + // TODO: test validations + } + + /** + * Get JSON Schema definition for webhook payload + * + * @throws ApiException if the Api call fails + */ + @Test + public void getJsonSchemaForWebhookPayloadTest() throws ApiException { + UUID webhookId = null; + JSONSchemaDto response = api.getJsonSchemaForWebhookPayload(webhookId); + // TODO: test validations + } + + /** + * Get paginated webhooks for a phone number + * + * @throws ApiException if the Api call fails + */ + @Test + public void getPhoneNumberWebhooksPaginatedTest() throws ApiException { + UUID phoneId = null; + Integer page = null; + Integer size = null; + String sort = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + PageWebhookProjection response = api.getPhoneNumberWebhooksPaginated(phoneId, page, size, sort, since, before); + // TODO: test validations + } + + /** + * Get test webhook payload example. Response content depends on eventName passed. Uses `EMAIL_RECEIVED` as default. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTestWebhookPayloadTest() throws ApiException { + String eventName = null; + AbstractWebhookPayload response = api.getTestWebhookPayload(eventName); + // TODO: test validations + } + + /** + * Get webhook test payload for bounce + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTestWebhookPayloadBounceTest() throws ApiException { + WebhookBouncePayload response = api.getTestWebhookPayloadBounce(); + // TODO: test validations + } + + /** + * Get webhook test payload for bounce recipient + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTestWebhookPayloadBounceRecipientTest() throws ApiException { + WebhookBounceRecipientPayload response = api.getTestWebhookPayloadBounceRecipient(); + // TODO: test validations + } + + /** + * Get webhook test payload for delivery status event + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTestWebhookPayloadDeliveryStatusTest() throws ApiException { + WebhookDeliveryStatusPayload response = api.getTestWebhookPayloadDeliveryStatus(); + // TODO: test validations + } + + /** + * Get webhook test payload for email opened event + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTestWebhookPayloadEmailOpenedTest() throws ApiException { + WebhookEmailOpenedPayload response = api.getTestWebhookPayloadEmailOpened(); + // TODO: test validations + } + + /** + * Get webhook test payload for email opened event + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTestWebhookPayloadEmailReadTest() throws ApiException { + WebhookEmailReadPayload response = api.getTestWebhookPayloadEmailRead(); + // TODO: test validations + } + + /** + * Get example payload for webhook + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTestWebhookPayloadForWebhookTest() throws ApiException { + UUID webhookId = null; + AbstractWebhookPayload response = api.getTestWebhookPayloadForWebhook(webhookId); + // TODO: test validations + } + + /** + * Get webhook test payload for new attachment event + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTestWebhookPayloadNewAttachmentTest() throws ApiException { + WebhookNewAttachmentPayload response = api.getTestWebhookPayloadNewAttachment(); + // TODO: test validations + } + + /** + * Get webhook test payload for new contact event + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTestWebhookPayloadNewContactTest() throws ApiException { + WebhookNewContactPayload response = api.getTestWebhookPayloadNewContact(); + // TODO: test validations + } + + /** + * Get webhook test payload for new email event + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTestWebhookPayloadNewEmailTest() throws ApiException { + WebhookNewEmailPayload response = api.getTestWebhookPayloadNewEmail(); + // TODO: test validations + } + + /** + * Get webhook test payload for new sms event + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTestWebhookPayloadNewSmsTest() throws ApiException { + WebhookNewSmsPayload response = api.getTestWebhookPayloadNewSms(); + // TODO: test validations + } + + /** + * Get a webhook + * + * @throws ApiException if the Api call fails + */ + @Test + public void getWebhookTest() throws ApiException { + UUID webhookId = null; + WebhookDto response = api.getWebhook(webhookId); + // TODO: test validations + } + + /** + * Get a webhook result for a webhook + * + * @throws ApiException if the Api call fails + */ + @Test + public void getWebhookResultTest() throws ApiException { + UUID webhookResultId = null; + WebhookResultDto response = api.getWebhookResult(webhookResultId); + // TODO: test validations + } + + /** + * Get a webhook results for a webhook + * + * @throws ApiException if the Api call fails + */ + @Test + public void getWebhookResultsTest() throws ApiException { + UUID webhookId = null; + Integer page = null; + Integer size = null; + String sort = null; + String searchFilter = null; + OffsetDateTime since = null; + OffsetDateTime before = null; + Boolean unseenOnly = null; + PageWebhookResult response = api.getWebhookResults(webhookId, page, size, sort, searchFilter, since, before, unseenOnly); + // TODO: test validations + } + + /** + * Get count of unseen webhook results with error status + * + * @throws ApiException if the Api call fails + */ + @Test + public void getWebhookResultsUnseenErrorCountTest() throws ApiException { + UnseenErrorCountDto response = api.getWebhookResultsUnseenErrorCount(); + // TODO: test validations + } + + /** + * Get all webhooks for an Inbox + * + * @throws ApiException if the Api call fails + */ + @Test + public void getWebhooksTest() throws ApiException { + UUID inboxId = null; + List response = api.getWebhooks(inboxId); + // TODO: test validations + } + + /** + * Get a webhook result and try to resend the original webhook payload + * + * Allows you to resend a webhook payload that was already sent. Webhooks that fail are retried automatically for 24 hours and then put in a dead letter queue. You can retry results manually using this method. + * + * @throws ApiException if the Api call fails + */ + @Test + public void redriveWebhookResultTest() throws ApiException { + UUID webhookResultId = null; + WebhookRedriveResult response = api.redriveWebhookResult(webhookResultId); + // TODO: test validations + } + + /** + * Send webhook test data + * + * @throws ApiException if the Api call fails + */ + @Test + public void sendTestDataTest() throws ApiException { + UUID webhookId = null; + WebhookTestResult response = api.sendTestData(webhookId); + // TODO: test validations + } + + /** + * Update a webhook request headers + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateWebhookHeadersTest() throws ApiException { + UUID webhookId = null; + WebhookHeaders webhookHeaders = null; + WebhookDto response = api.updateWebhookHeaders(webhookId, webhookHeaders); + // TODO: test validations + } + + /** + * Verify a webhook payload signature + * + * Verify a webhook payload using the messageId and signature. This allows you to be sure that MailSlurp sent the payload and not another server. + * + * @throws ApiException if the Api call fails + */ + @Test + public void verifyWebhookSignatureTest() throws ApiException { + VerifyWebhookSignatureOptions verifyWebhookSignatureOptions = null; + VerifyWebhookSignatureResults response = api.verifyWebhookSignature(verifyWebhookSignatureOptions); + // TODO: test validations + } + +} diff --git a/src/test/java/com/mailslurp/models/AbstractWebhookPayloadTest.java b/src/test/java/com/mailslurp/models/AbstractWebhookPayloadTest.java new file mode 100644 index 000000000..a3f0f8940 --- /dev/null +++ b/src/test/java/com/mailslurp/models/AbstractWebhookPayloadTest.java @@ -0,0 +1,75 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for AbstractWebhookPayload + */ +public class AbstractWebhookPayloadTest { + private final AbstractWebhookPayload model = new AbstractWebhookPayload(); + + /** + * Model tests for AbstractWebhookPayload + */ + @Test + public void testAbstractWebhookPayload() { + // TODO: test AbstractWebhookPayload + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'webhookId' + */ + @Test + public void webhookIdTest() { + // TODO: test webhookId + } + + /** + * Test the property 'webhookName' + */ + @Test + public void webhookNameTest() { + // TODO: test webhookName + } + +} diff --git a/src/test/java/com/mailslurp/models/AliasDtoTest.java b/src/test/java/com/mailslurp/models/AliasDtoTest.java new file mode 100644 index 000000000..f1e2e5afa --- /dev/null +++ b/src/test/java/com/mailslurp/models/AliasDtoTest.java @@ -0,0 +1,125 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for AliasDto + */ +public class AliasDtoTest { + private final AliasDto model = new AliasDto(); + + /** + * Model tests for AliasDto + */ + @Test + public void testAliasDto() { + // TODO: test AliasDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'maskedEmailAddress' + */ + @Test + public void maskedEmailAddressTest() { + // TODO: test maskedEmailAddress + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'useThreads' + */ + @Test + public void useThreadsTest() { + // TODO: test useThreads + } + + /** + * Test the property 'isVerified' + */ + @Test + public void isVerifiedTest() { + // TODO: test isVerified + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/AliasProjectionTest.java b/src/test/java/com/mailslurp/models/AliasProjectionTest.java new file mode 100644 index 000000000..b8ec111e3 --- /dev/null +++ b/src/test/java/com/mailslurp/models/AliasProjectionTest.java @@ -0,0 +1,108 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for AliasProjection + */ +public class AliasProjectionTest { + private final AliasProjection model = new AliasProjection(); + + /** + * Model tests for AliasProjection + */ + @Test + public void testAliasProjection() { + // TODO: test AliasProjection + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'useThreads' + */ + @Test + public void useThreadsTest() { + // TODO: test useThreads + } + +} diff --git a/src/test/java/com/mailslurp/models/AttachmentEntityTest.java b/src/test/java/com/mailslurp/models/AttachmentEntityTest.java new file mode 100644 index 000000000..00404a09b --- /dev/null +++ b/src/test/java/com/mailslurp/models/AttachmentEntityTest.java @@ -0,0 +1,116 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for AttachmentEntity + */ +public class AttachmentEntityTest { + private final AttachmentEntity model = new AttachmentEntity(); + + /** + * Model tests for AttachmentEntity + */ + @Test + public void testAttachmentEntity() { + // TODO: test AttachmentEntity + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'attachmentId' + */ + @Test + public void attachmentIdTest() { + // TODO: test attachmentId + } + + /** + * Test the property 'bucket' + */ + @Test + public void bucketTest() { + // TODO: test bucket + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'contentType' + */ + @Test + public void contentTypeTest() { + // TODO: test contentType + } + + /** + * Test the property 'contentLength' + */ + @Test + public void contentLengthTest() { + // TODO: test contentLength + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/AttachmentMetaDataTest.java b/src/test/java/com/mailslurp/models/AttachmentMetaDataTest.java new file mode 100644 index 000000000..dab3519eb --- /dev/null +++ b/src/test/java/com/mailslurp/models/AttachmentMetaDataTest.java @@ -0,0 +1,74 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for AttachmentMetaData + */ +public class AttachmentMetaDataTest { + private final AttachmentMetaData model = new AttachmentMetaData(); + + /** + * Model tests for AttachmentMetaData + */ + @Test + public void testAttachmentMetaData() { + // TODO: test AttachmentMetaData + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'contentType' + */ + @Test + public void contentTypeTest() { + // TODO: test contentType + } + + /** + * Test the property 'contentLength' + */ + @Test + public void contentLengthTest() { + // TODO: test contentLength + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + +} diff --git a/src/test/java/com/mailslurp/models/AttachmentProjectionTest.java b/src/test/java/com/mailslurp/models/AttachmentProjectionTest.java new file mode 100644 index 000000000..108a5b6cf --- /dev/null +++ b/src/test/java/com/mailslurp/models/AttachmentProjectionTest.java @@ -0,0 +1,101 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for AttachmentProjection + */ +public class AttachmentProjectionTest { + private final AttachmentProjection model = new AttachmentProjection(); + + /** + * Model tests for AttachmentProjection + */ + @Test + public void testAttachmentProjection() { + // TODO: test AttachmentProjection + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'contentLength' + */ + @Test + public void contentLengthTest() { + // TODO: test contentLength + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'attachmentId' + */ + @Test + public void attachmentIdTest() { + // TODO: test attachmentId + } + + /** + * Test the property 'contentType' + */ + @Test + public void contentTypeTest() { + // TODO: test contentType + } + +} diff --git a/src/test/java/com/mailslurp/models/BasicAuthOptionsTest.java b/src/test/java/com/mailslurp/models/BasicAuthOptionsTest.java new file mode 100644 index 000000000..b80066517 --- /dev/null +++ b/src/test/java/com/mailslurp/models/BasicAuthOptionsTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for BasicAuthOptions + */ +public class BasicAuthOptionsTest { + private final BasicAuthOptions model = new BasicAuthOptions(); + + /** + * Model tests for BasicAuthOptions + */ + @Test + public void testBasicAuthOptions() { + // TODO: test BasicAuthOptions + } + + /** + * Test the property 'username' + */ + @Test + public void usernameTest() { + // TODO: test username + } + + /** + * Test the property 'password' + */ + @Test + public void passwordTest() { + // TODO: test password + } + +} diff --git a/src/test/java/com/mailslurp/models/BounceProjectionTest.java b/src/test/java/com/mailslurp/models/BounceProjectionTest.java new file mode 100644 index 000000000..73ad3fd4b --- /dev/null +++ b/src/test/java/com/mailslurp/models/BounceProjectionTest.java @@ -0,0 +1,93 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for BounceProjection + */ +public class BounceProjectionTest { + private final BounceProjection model = new BounceProjection(); + + /** + * Model tests for BounceProjection + */ + @Test + public void testBounceProjection() { + // TODO: test BounceProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'sender' + */ + @Test + public void senderTest() { + // TODO: test sender + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'bounceType' + */ + @Test + public void bounceTypeTest() { + // TODO: test bounceType + } + + /** + * Test the property 'bounceMta' + */ + @Test + public void bounceMtaTest() { + // TODO: test bounceMta + } + +} diff --git a/src/test/java/com/mailslurp/models/BounceRecipientProjectionTest.java b/src/test/java/com/mailslurp/models/BounceRecipientProjectionTest.java new file mode 100644 index 000000000..26fcead8a --- /dev/null +++ b/src/test/java/com/mailslurp/models/BounceRecipientProjectionTest.java @@ -0,0 +1,93 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for BounceRecipientProjection + */ +public class BounceRecipientProjectionTest { + private final BounceRecipientProjection model = new BounceRecipientProjection(); + + /** + * Model tests for BounceRecipientProjection + */ + @Test + public void testBounceRecipientProjection() { + // TODO: test BounceRecipientProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } + + /** + * Test the property 'sentEmailId' + */ + @Test + public void sentEmailIdTest() { + // TODO: test sentEmailId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'recipient' + */ + @Test + public void recipientTest() { + // TODO: test recipient + } + + /** + * Test the property 'action' + */ + @Test + public void actionTest() { + // TODO: test action + } + +} diff --git a/src/test/java/com/mailslurp/models/BouncedEmailDtoTest.java b/src/test/java/com/mailslurp/models/BouncedEmailDtoTest.java new file mode 100644 index 000000000..b02638fd9 --- /dev/null +++ b/src/test/java/com/mailslurp/models/BouncedEmailDtoTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for BouncedEmailDto + */ +public class BouncedEmailDtoTest { + private final BouncedEmailDto model = new BouncedEmailDto(); + + /** + * Model tests for BouncedEmailDto + */ + @Test + public void testBouncedEmailDto() { + // TODO: test BouncedEmailDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'notificationType' + */ + @Test + public void notificationTypeTest() { + // TODO: test notificationType + } + + /** + * Test the property 'sentToRecipients' + */ + @Test + public void sentToRecipientsTest() { + // TODO: test sentToRecipients + } + + /** + * Test the property 'sender' + */ + @Test + public void senderTest() { + // TODO: test sender + } + + /** + * Test the property 'bounceMta' + */ + @Test + public void bounceMtaTest() { + // TODO: test bounceMta + } + + /** + * Test the property 'bounceType' + */ + @Test + public void bounceTypeTest() { + // TODO: test bounceType + } + + /** + * Test the property 'bounceRecipients' + */ + @Test + public void bounceRecipientsTest() { + // TODO: test bounceRecipients + } + + /** + * Test the property 'bounceSubType' + */ + @Test + public void bounceSubTypeTest() { + // TODO: test bounceSubType + } + + /** + * Test the property 'sentEmailId' + */ + @Test + public void sentEmailIdTest() { + // TODO: test sentEmailId + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/BouncedRecipientDtoTest.java b/src/test/java/com/mailslurp/models/BouncedRecipientDtoTest.java new file mode 100644 index 000000000..3dffb8fa9 --- /dev/null +++ b/src/test/java/com/mailslurp/models/BouncedRecipientDtoTest.java @@ -0,0 +1,109 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for BouncedRecipientDto + */ +public class BouncedRecipientDtoTest { + private final BouncedRecipientDto model = new BouncedRecipientDto(); + + /** + * Model tests for BouncedRecipientDto + */ + @Test + public void testBouncedRecipientDto() { + // TODO: test BouncedRecipientDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'sentEmailId' + */ + @Test + public void sentEmailIdTest() { + // TODO: test sentEmailId + } + + /** + * Test the property 'recipient' + */ + @Test + public void recipientTest() { + // TODO: test recipient + } + + /** + * Test the property 'diagnosticCode' + */ + @Test + public void diagnosticCodeTest() { + // TODO: test diagnosticCode + } + + /** + * Test the property 'action' + */ + @Test + public void actionTest() { + // TODO: test action + } + + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/BulkSendEmailOptionsTest.java b/src/test/java/com/mailslurp/models/BulkSendEmailOptionsTest.java new file mode 100644 index 000000000..ab3dd114a --- /dev/null +++ b/src/test/java/com/mailslurp/models/BulkSendEmailOptionsTest.java @@ -0,0 +1,62 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.SendEmailOptions; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for BulkSendEmailOptions + */ +public class BulkSendEmailOptionsTest { + private final BulkSendEmailOptions model = new BulkSendEmailOptions(); + + /** + * Model tests for BulkSendEmailOptions + */ + @Test + public void testBulkSendEmailOptions() { + // TODO: test BulkSendEmailOptions + } + + /** + * Test the property 'inboxIds' + */ + @Test + public void inboxIdsTest() { + // TODO: test inboxIds + } + + /** + * Test the property 'sendEmailOptions' + */ + @Test + public void sendEmailOptionsTest() { + // TODO: test sendEmailOptions + } + +} diff --git a/src/test/java/com/mailslurp/models/ComplaintTest.java b/src/test/java/com/mailslurp/models/ComplaintTest.java new file mode 100644 index 000000000..27963f2c9 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ComplaintTest.java @@ -0,0 +1,108 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for Complaint + */ +public class ComplaintTest { + private final Complaint model = new Complaint(); + + /** + * Model tests for Complaint + */ + @Test + public void testComplaint() { + // TODO: test Complaint + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'eventType' + */ + @Test + public void eventTypeTest() { + // TODO: test eventType + } + + /** + * Test the property 'mailSource' + */ + @Test + public void mailSourceTest() { + // TODO: test mailSource + } + + /** + * Test the property 'mailMessageId' + */ + @Test + public void mailMessageIdTest() { + // TODO: test mailMessageId + } + + /** + * Test the property 'complaintRecipient' + */ + @Test + public void complaintRecipientTest() { + // TODO: test complaintRecipient + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/ConditionOptionTest.java b/src/test/java/com/mailslurp/models/ConditionOptionTest.java new file mode 100644 index 000000000..2b88c1c27 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ConditionOptionTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ConditionOption + */ +public class ConditionOptionTest { + private final ConditionOption model = new ConditionOption(); + + /** + * Model tests for ConditionOption + */ + @Test + public void testConditionOption() { + // TODO: test ConditionOption + } + + /** + * Test the property 'condition' + */ + @Test + public void conditionTest() { + // TODO: test condition + } + + /** + * Test the property 'value' + */ + @Test + public void valueTest() { + // TODO: test value + } + +} diff --git a/src/test/java/com/mailslurp/models/ConnectorDtoTest.java b/src/test/java/com/mailslurp/models/ConnectorDtoTest.java new file mode 100644 index 000000000..32f0df239 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ConnectorDtoTest.java @@ -0,0 +1,148 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ConnectorDto + */ +public class ConnectorDtoTest { + private final ConnectorDto model = new ConnectorDto(); + + /** + * Model tests for ConnectorDto + */ + @Test + public void testConnectorDto() { + // TODO: test ConnectorDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'connectorType' + */ + @Test + public void connectorTypeTest() { + // TODO: test connectorType + } + + /** + * Test the property 'connectorAuthType' + */ + @Test + public void connectorAuthTypeTest() { + // TODO: test connectorAuthType + } + + /** + * Test the property 'syncEnabled' + */ + @Test + public void syncEnabledTest() { + // TODO: test syncEnabled + } + + /** + * Test the property 'syncScheduleType' + */ + @Test + public void syncScheduleTypeTest() { + // TODO: test syncScheduleType + } + + /** + * Test the property 'syncInterval' + */ + @Test + public void syncIntervalTest() { + // TODO: test syncInterval + } + + /** + * Test the property 'imapHost' + */ + @Test + public void imapHostTest() { + // TODO: test imapHost + } + + /** + * Test the property 'imapPort' + */ + @Test + public void imapPortTest() { + // TODO: test imapPort + } + + /** + * Test the property 'imapUsername' + */ + @Test + public void imapUsernameTest() { + // TODO: test imapUsername + } + + /** + * Test the property 'imapPassword' + */ + @Test + public void imapPasswordTest() { + // TODO: test imapPassword + } + + /** + * Test the property 'imapSsl' + */ + @Test + public void imapSslTest() { + // TODO: test imapSsl + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/ConnectorProjectionTest.java b/src/test/java/com/mailslurp/models/ConnectorProjectionTest.java new file mode 100644 index 000000000..3ec3dc45f --- /dev/null +++ b/src/test/java/com/mailslurp/models/ConnectorProjectionTest.java @@ -0,0 +1,108 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ConnectorProjection + */ +public class ConnectorProjectionTest { + private final ConnectorProjection model = new ConnectorProjection(); + + /** + * Model tests for ConnectorProjection + */ + @Test + public void testConnectorProjection() { + // TODO: test ConnectorProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'connectorType' + */ + @Test + public void connectorTypeTest() { + // TODO: test connectorType + } + + /** + * Test the property 'syncScheduleType' + */ + @Test + public void syncScheduleTypeTest() { + // TODO: test syncScheduleType + } + + /** + * Test the property 'syncInterval' + */ + @Test + public void syncIntervalTest() { + // TODO: test syncInterval + } + + /** + * Test the property 'syncEnabled' + */ + @Test + public void syncEnabledTest() { + // TODO: test syncEnabled + } + +} diff --git a/src/test/java/com/mailslurp/models/ConnectorSyncEventDtoTest.java b/src/test/java/com/mailslurp/models/ConnectorSyncEventDtoTest.java new file mode 100644 index 000000000..1065204ab --- /dev/null +++ b/src/test/java/com/mailslurp/models/ConnectorSyncEventDtoTest.java @@ -0,0 +1,92 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ConnectorSyncEventDto + */ +public class ConnectorSyncEventDtoTest { + private final ConnectorSyncEventDto model = new ConnectorSyncEventDto(); + + /** + * Model tests for ConnectorSyncEventDto + */ + @Test + public void testConnectorSyncEventDto() { + // TODO: test ConnectorSyncEventDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'connectorId' + */ + @Test + public void connectorIdTest() { + // TODO: test connectorId + } + + /** + * Test the property 'syncStatus' + */ + @Test + public void syncStatusTest() { + // TODO: test syncStatus + } + + /** + * Test the property 'syncCount' + */ + @Test + public void syncCountTest() { + // TODO: test syncCount + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/ConnectorSyncEventProjectionTest.java b/src/test/java/com/mailslurp/models/ConnectorSyncEventProjectionTest.java new file mode 100644 index 000000000..0589c7a39 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ConnectorSyncEventProjectionTest.java @@ -0,0 +1,92 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ConnectorSyncEventProjection + */ +public class ConnectorSyncEventProjectionTest { + private final ConnectorSyncEventProjection model = new ConnectorSyncEventProjection(); + + /** + * Model tests for ConnectorSyncEventProjection + */ + @Test + public void testConnectorSyncEventProjection() { + // TODO: test ConnectorSyncEventProjection + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'connectorId' + */ + @Test + public void connectorIdTest() { + // TODO: test connectorId + } + + /** + * Test the property 'syncCount' + */ + @Test + public void syncCountTest() { + // TODO: test syncCount + } + + /** + * Test the property 'syncStatus' + */ + @Test + public void syncStatusTest() { + // TODO: test syncStatus + } + +} diff --git a/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInnerTest.java b/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInnerTest.java new file mode 100644 index 000000000..c4912a6b9 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseStackTraceInnerTest.java @@ -0,0 +1,106 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ConnectorSyncRequestResultExceptionCauseStackTraceInner + */ +public class ConnectorSyncRequestResultExceptionCauseStackTraceInnerTest { + private final ConnectorSyncRequestResultExceptionCauseStackTraceInner model = new ConnectorSyncRequestResultExceptionCauseStackTraceInner(); + + /** + * Model tests for ConnectorSyncRequestResultExceptionCauseStackTraceInner + */ + @Test + public void testConnectorSyncRequestResultExceptionCauseStackTraceInner() { + // TODO: test ConnectorSyncRequestResultExceptionCauseStackTraceInner + } + + /** + * Test the property 'classLoaderName' + */ + @Test + public void classLoaderNameTest() { + // TODO: test classLoaderName + } + + /** + * Test the property 'moduleName' + */ + @Test + public void moduleNameTest() { + // TODO: test moduleName + } + + /** + * Test the property 'moduleVersion' + */ + @Test + public void moduleVersionTest() { + // TODO: test moduleVersion + } + + /** + * Test the property 'methodName' + */ + @Test + public void methodNameTest() { + // TODO: test methodName + } + + /** + * Test the property 'fileName' + */ + @Test + public void fileNameTest() { + // TODO: test fileName + } + + /** + * Test the property 'lineNumber' + */ + @Test + public void lineNumberTest() { + // TODO: test lineNumber + } + + /** + * Test the property 'nativeMethod' + */ + @Test + public void nativeMethodTest() { + // TODO: test nativeMethod + } + + /** + * Test the property 'className' + */ + @Test + public void classNameTest() { + // TODO: test className + } + +} diff --git a/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInnerTest.java b/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInnerTest.java new file mode 100644 index 000000000..a287a2a6b --- /dev/null +++ b/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseSuppressedInnerTest.java @@ -0,0 +1,69 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ConnectorSyncRequestResultExceptionCauseSuppressedInner + */ +public class ConnectorSyncRequestResultExceptionCauseSuppressedInnerTest { + private final ConnectorSyncRequestResultExceptionCauseSuppressedInner model = new ConnectorSyncRequestResultExceptionCauseSuppressedInner(); + + /** + * Model tests for ConnectorSyncRequestResultExceptionCauseSuppressedInner + */ + @Test + public void testConnectorSyncRequestResultExceptionCauseSuppressedInner() { + // TODO: test ConnectorSyncRequestResultExceptionCauseSuppressedInner + } + + /** + * Test the property 'stackTrace' + */ + @Test + public void stackTraceTest() { + // TODO: test stackTrace + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'localizedMessage' + */ + @Test + public void localizedMessageTest() { + // TODO: test localizedMessage + } + +} diff --git a/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseTest.java b/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseTest.java new file mode 100644 index 000000000..0ead258d3 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionCauseTest.java @@ -0,0 +1,78 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ConnectorSyncRequestResultExceptionCause + */ +public class ConnectorSyncRequestResultExceptionCauseTest { + private final ConnectorSyncRequestResultExceptionCause model = new ConnectorSyncRequestResultExceptionCause(); + + /** + * Model tests for ConnectorSyncRequestResultExceptionCause + */ + @Test + public void testConnectorSyncRequestResultExceptionCause() { + // TODO: test ConnectorSyncRequestResultExceptionCause + } + + /** + * Test the property 'stackTrace' + */ + @Test + public void stackTraceTest() { + // TODO: test stackTrace + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'suppressed' + */ + @Test + public void suppressedTest() { + // TODO: test suppressed + } + + /** + * Test the property 'localizedMessage' + */ + @Test + public void localizedMessageTest() { + // TODO: test localizedMessage + } + +} diff --git a/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionTest.java b/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionTest.java new file mode 100644 index 000000000..9f5eded36 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultExceptionTest.java @@ -0,0 +1,87 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCause; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseStackTraceInner; +import com.mailslurp.models.ConnectorSyncRequestResultExceptionCauseSuppressedInner; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ConnectorSyncRequestResultException + */ +public class ConnectorSyncRequestResultExceptionTest { + private final ConnectorSyncRequestResultException model = new ConnectorSyncRequestResultException(); + + /** + * Model tests for ConnectorSyncRequestResultException + */ + @Test + public void testConnectorSyncRequestResultException() { + // TODO: test ConnectorSyncRequestResultException + } + + /** + * Test the property 'cause' + */ + @Test + public void causeTest() { + // TODO: test cause + } + + /** + * Test the property 'stackTrace' + */ + @Test + public void stackTraceTest() { + // TODO: test stackTrace + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'suppressed' + */ + @Test + public void suppressedTest() { + // TODO: test suppressed + } + + /** + * Test the property 'localizedMessage' + */ + @Test + public void localizedMessageTest() { + // TODO: test localizedMessage + } + +} diff --git a/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultTest.java b/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultTest.java new file mode 100644 index 000000000..bceb5cf62 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ConnectorSyncRequestResultTest.java @@ -0,0 +1,69 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorSyncRequestResultException; +import com.mailslurp.models.ConnectorSyncResult; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ConnectorSyncRequestResult + */ +public class ConnectorSyncRequestResultTest { + private final ConnectorSyncRequestResult model = new ConnectorSyncRequestResult(); + + /** + * Model tests for ConnectorSyncRequestResult + */ + @Test + public void testConnectorSyncRequestResult() { + // TODO: test ConnectorSyncRequestResult + } + + /** + * Test the property 'syncResult' + */ + @Test + public void syncResultTest() { + // TODO: test syncResult + } + + /** + * Test the property 'exception' + */ + @Test + public void exceptionTest() { + // TODO: test exception + } + + /** + * Test the property 'eventId' + */ + @Test + public void eventIdTest() { + // TODO: test eventId + } + +} diff --git a/src/test/java/com/mailslurp/models/ConnectorSyncResultTest.java b/src/test/java/com/mailslurp/models/ConnectorSyncResultTest.java new file mode 100644 index 000000000..ae1677e10 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ConnectorSyncResultTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ConnectorSyncResult + */ +public class ConnectorSyncResultTest { + private final ConnectorSyncResult model = new ConnectorSyncResult(); + + /** + * Model tests for ConnectorSyncResult + */ + @Test + public void testConnectorSyncResult() { + // TODO: test ConnectorSyncResult + } + + /** + * Test the property 'emailSyncCount' + */ + @Test + public void emailSyncCountTest() { + // TODO: test emailSyncCount + } + + /** + * Test the property 'logLines' + */ + @Test + public void logLinesTest() { + // TODO: test logLines + } + +} diff --git a/src/test/java/com/mailslurp/models/ContactDtoTest.java b/src/test/java/com/mailslurp/models/ContactDtoTest.java new file mode 100644 index 000000000..9a50985fb --- /dev/null +++ b/src/test/java/com/mailslurp/models/ContactDtoTest.java @@ -0,0 +1,135 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ContactDto + */ +public class ContactDtoTest { + private final ContactDto model = new ContactDto(); + + /** + * Model tests for ContactDto + */ + @Test + public void testContactDto() { + // TODO: test ContactDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'groupId' + */ + @Test + public void groupIdTest() { + // TODO: test groupId + } + + /** + * Test the property 'firstName' + */ + @Test + public void firstNameTest() { + // TODO: test firstName + } + + /** + * Test the property 'lastName' + */ + @Test + public void lastNameTest() { + // TODO: test lastName + } + + /** + * Test the property 'company' + */ + @Test + public void companyTest() { + // TODO: test company + } + + /** + * Test the property 'emailAddresses' + */ + @Test + public void emailAddressesTest() { + // TODO: test emailAddresses + } + + /** + * Test the property 'primaryEmailAddress' + */ + @Test + public void primaryEmailAddressTest() { + // TODO: test primaryEmailAddress + } + + /** + * Test the property 'tags' + */ + @Test + public void tagsTest() { + // TODO: test tags + } + + /** + * Test the property 'metaData' + */ + @Test + public void metaDataTest() { + // TODO: test metaData + } + + /** + * Test the property 'optOut' + */ + @Test + public void optOutTest() { + // TODO: test optOut + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/ContactProjectionTest.java b/src/test/java/com/mailslurp/models/ContactProjectionTest.java new file mode 100644 index 000000000..81e89ab70 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ContactProjectionTest.java @@ -0,0 +1,119 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ContactProjection + */ +public class ContactProjectionTest { + private final ContactProjection model = new ContactProjection(); + + /** + * Model tests for ContactProjection + */ + @Test + public void testContactProjection() { + // TODO: test ContactProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'groupId' + */ + @Test + public void groupIdTest() { + // TODO: test groupId + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'firstName' + */ + @Test + public void firstNameTest() { + // TODO: test firstName + } + + /** + * Test the property 'lastName' + */ + @Test + public void lastNameTest() { + // TODO: test lastName + } + + /** + * Test the property 'company' + */ + @Test + public void companyTest() { + // TODO: test company + } + + /** + * Test the property 'emailAddresses' + */ + @Test + public void emailAddressesTest() { + // TODO: test emailAddresses + } + + /** + * Test the property 'optOut' + */ + @Test + public void optOutTest() { + // TODO: test optOut + } + +} diff --git a/src/test/java/com/mailslurp/models/ContentMatchOptionsTest.java b/src/test/java/com/mailslurp/models/ContentMatchOptionsTest.java new file mode 100644 index 000000000..9e163d6a4 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ContentMatchOptionsTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ContentMatchOptions + */ +public class ContentMatchOptionsTest { + private final ContentMatchOptions model = new ContentMatchOptions(); + + /** + * Model tests for ContentMatchOptions + */ + @Test + public void testContentMatchOptions() { + // TODO: test ContentMatchOptions + } + + /** + * Test the property 'pattern' + */ + @Test + public void patternTest() { + // TODO: test pattern + } + +} diff --git a/src/test/java/com/mailslurp/models/CountDtoTest.java b/src/test/java/com/mailslurp/models/CountDtoTest.java new file mode 100644 index 000000000..426d1536b --- /dev/null +++ b/src/test/java/com/mailslurp/models/CountDtoTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CountDto + */ +public class CountDtoTest { + private final CountDto model = new CountDto(); + + /** + * Model tests for CountDto + */ + @Test + public void testCountDto() { + // TODO: test CountDto + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateAliasOptionsTest.java b/src/test/java/com/mailslurp/models/CreateAliasOptionsTest.java new file mode 100644 index 000000000..15fbc399a --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateAliasOptionsTest.java @@ -0,0 +1,76 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateAliasOptions + */ +public class CreateAliasOptionsTest { + private final CreateAliasOptions model = new CreateAliasOptions(); + + /** + * Model tests for CreateAliasOptions + */ + @Test + public void testCreateAliasOptions() { + // TODO: test CreateAliasOptions + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'useThreads' + */ + @Test + public void useThreadsTest() { + // TODO: test useThreads + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateConnectorImapOptionsTest.java b/src/test/java/com/mailslurp/models/CreateConnectorImapOptionsTest.java new file mode 100644 index 000000000..ab03d49d7 --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateConnectorImapOptionsTest.java @@ -0,0 +1,82 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateConnectorImapOptions + */ +public class CreateConnectorImapOptionsTest { + private final CreateConnectorImapOptions model = new CreateConnectorImapOptions(); + + /** + * Model tests for CreateConnectorImapOptions + */ + @Test + public void testCreateConnectorImapOptions() { + // TODO: test CreateConnectorImapOptions + } + + /** + * Test the property 'host' + */ + @Test + public void hostTest() { + // TODO: test host + } + + /** + * Test the property 'port' + */ + @Test + public void portTest() { + // TODO: test port + } + + /** + * Test the property 'username' + */ + @Test + public void usernameTest() { + // TODO: test username + } + + /** + * Test the property 'password' + */ + @Test + public void passwordTest() { + // TODO: test password + } + + /** + * Test the property 'useSSL' + */ + @Test + public void useSSLTest() { + // TODO: test useSSL + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateConnectorOptionsTest.java b/src/test/java/com/mailslurp/models/CreateConnectorOptionsTest.java new file mode 100644 index 000000000..fa13c6359 --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateConnectorOptionsTest.java @@ -0,0 +1,100 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.CreateConnectorImapOptions; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateConnectorOptions + */ +public class CreateConnectorOptionsTest { + private final CreateConnectorOptions model = new CreateConnectorOptions(); + + /** + * Model tests for CreateConnectorOptions + */ + @Test + public void testCreateConnectorOptions() { + // TODO: test CreateConnectorOptions + } + + /** + * Test the property 'connectorType' + */ + @Test + public void connectorTypeTest() { + // TODO: test connectorType + } + + /** + * Test the property 'connectorAuthType' + */ + @Test + public void connectorAuthTypeTest() { + // TODO: test connectorAuthType + } + + /** + * Test the property 'imapSettings' + */ + @Test + public void imapSettingsTest() { + // TODO: test imapSettings + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'syncEnabled' + */ + @Test + public void syncEnabledTest() { + // TODO: test syncEnabled + } + + /** + * Test the property 'syncScheduleType' + */ + @Test + public void syncScheduleTypeTest() { + // TODO: test syncScheduleType + } + + /** + * Test the property 'syncInterval' + */ + @Test + public void syncIntervalTest() { + // TODO: test syncInterval + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateContactOptionsTest.java b/src/test/java/com/mailslurp/models/CreateContactOptionsTest.java new file mode 100644 index 000000000..c2beca5d1 --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateContactOptionsTest.java @@ -0,0 +1,110 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateContactOptions + */ +public class CreateContactOptionsTest { + private final CreateContactOptions model = new CreateContactOptions(); + + /** + * Model tests for CreateContactOptions + */ + @Test + public void testCreateContactOptions() { + // TODO: test CreateContactOptions + } + + /** + * Test the property 'firstName' + */ + @Test + public void firstNameTest() { + // TODO: test firstName + } + + /** + * Test the property 'lastName' + */ + @Test + public void lastNameTest() { + // TODO: test lastName + } + + /** + * Test the property 'company' + */ + @Test + public void companyTest() { + // TODO: test company + } + + /** + * Test the property 'emailAddresses' + */ + @Test + public void emailAddressesTest() { + // TODO: test emailAddresses + } + + /** + * Test the property 'tags' + */ + @Test + public void tagsTest() { + // TODO: test tags + } + + /** + * Test the property 'metaData' + */ + @Test + public void metaDataTest() { + // TODO: test metaData + } + + /** + * Test the property 'optOut' + */ + @Test + public void optOutTest() { + // TODO: test optOut + } + + /** + * Test the property 'groupId' + */ + @Test + public void groupIdTest() { + // TODO: test groupId + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateDomainOptionsTest.java b/src/test/java/com/mailslurp/models/CreateDomainOptionsTest.java new file mode 100644 index 000000000..77bcc63ef --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateDomainOptionsTest.java @@ -0,0 +1,75 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateDomainOptions + */ +public class CreateDomainOptionsTest { + private final CreateDomainOptions model = new CreateDomainOptions(); + + /** + * Model tests for CreateDomainOptions + */ + @Test + public void testCreateDomainOptions() { + // TODO: test CreateDomainOptions + } + + /** + * Test the property 'domain' + */ + @Test + public void domainTest() { + // TODO: test domain + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + + /** + * Test the property 'createdCatchAllInbox' + */ + @Test + public void createdCatchAllInboxTest() { + // TODO: test createdCatchAllInbox + } + + /** + * Test the property 'domainType' + */ + @Test + public void domainTypeTest() { + // TODO: test domainType + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateEmergencyAddressOptionsTest.java b/src/test/java/com/mailslurp/models/CreateEmergencyAddressOptionsTest.java new file mode 100644 index 000000000..d58717fa1 --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateEmergencyAddressOptionsTest.java @@ -0,0 +1,98 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateEmergencyAddressOptions + */ +public class CreateEmergencyAddressOptionsTest { + private final CreateEmergencyAddressOptions model = new CreateEmergencyAddressOptions(); + + /** + * Model tests for CreateEmergencyAddressOptions + */ + @Test + public void testCreateEmergencyAddressOptions() { + // TODO: test CreateEmergencyAddressOptions + } + + /** + * Test the property 'customerName' + */ + @Test + public void customerNameTest() { + // TODO: test customerName + } + + /** + * Test the property 'address1' + */ + @Test + public void address1Test() { + // TODO: test address1 + } + + /** + * Test the property 'city' + */ + @Test + public void cityTest() { + // TODO: test city + } + + /** + * Test the property 'region' + */ + @Test + public void regionTest() { + // TODO: test region + } + + /** + * Test the property 'postalCode' + */ + @Test + public void postalCodeTest() { + // TODO: test postalCode + } + + /** + * Test the property 'isoCountryCode' + */ + @Test + public void isoCountryCodeTest() { + // TODO: test isoCountryCode + } + + /** + * Test the property 'displayName' + */ + @Test + public void displayNameTest() { + // TODO: test displayName + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateGroupOptionsTest.java b/src/test/java/com/mailslurp/models/CreateGroupOptionsTest.java new file mode 100644 index 000000000..a7245cbe0 --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateGroupOptionsTest.java @@ -0,0 +1,59 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateGroupOptions + */ +public class CreateGroupOptionsTest { + private final CreateGroupOptions model = new CreateGroupOptions(); + + /** + * Model tests for CreateGroupOptions + */ + @Test + public void testCreateGroupOptions() { + // TODO: test CreateGroupOptions + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateInboxDtoTest.java b/src/test/java/com/mailslurp/models/CreateInboxDtoTest.java new file mode 100644 index 000000000..55a722f80 --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateInboxDtoTest.java @@ -0,0 +1,159 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateInboxDto + */ +public class CreateInboxDtoTest { + private final CreateInboxDto model = new CreateInboxDto(); + + /** + * Model tests for CreateInboxDto + */ + @Test + public void testCreateInboxDto() { + // TODO: test CreateInboxDto + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'domainName' + */ + @Test + public void domainNameTest() { + // TODO: test domainName + } + + /** + * Test the property 'domainId' + */ + @Test + public void domainIdTest() { + // TODO: test domainId + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + + /** + * Test the property 'useDomainPool' + */ + @Test + public void useDomainPoolTest() { + // TODO: test useDomainPool + } + + /** + * Test the property 'tags' + */ + @Test + public void tagsTest() { + // TODO: test tags + } + + /** + * Test the property 'expiresAt' + */ + @Test + public void expiresAtTest() { + // TODO: test expiresAt + } + + /** + * Test the property 'favourite' + */ + @Test + public void favouriteTest() { + // TODO: test favourite + } + + /** + * Test the property 'expiresIn' + */ + @Test + public void expiresInTest() { + // TODO: test expiresIn + } + + /** + * Test the property 'allowTeamAccess' + */ + @Test + public void allowTeamAccessTest() { + // TODO: test allowTeamAccess + } + + /** + * Test the property 'inboxType' + */ + @Test + public void inboxTypeTest() { + // TODO: test inboxType + } + + /** + * Test the property 'virtualInbox' + */ + @Test + public void virtualInboxTest() { + // TODO: test virtualInbox + } + + /** + * Test the property 'useShortAddress' + */ + @Test + public void useShortAddressTest() { + // TODO: test useShortAddress + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateInboxForwarderOptionsTest.java b/src/test/java/com/mailslurp/models/CreateInboxForwarderOptionsTest.java new file mode 100644 index 000000000..d409a3931 --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateInboxForwarderOptionsTest.java @@ -0,0 +1,68 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateInboxForwarderOptions + */ +public class CreateInboxForwarderOptionsTest { + private final CreateInboxForwarderOptions model = new CreateInboxForwarderOptions(); + + /** + * Model tests for CreateInboxForwarderOptions + */ + @Test + public void testCreateInboxForwarderOptions() { + // TODO: test CreateInboxForwarderOptions + } + + /** + * Test the property 'field' + */ + @Test + public void fieldTest() { + // TODO: test field + } + + /** + * Test the property 'match' + */ + @Test + public void matchTest() { + // TODO: test match + } + + /** + * Test the property 'forwardToRecipients' + */ + @Test + public void forwardToRecipientsTest() { + // TODO: test forwardToRecipients + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateInboxReplierOptionsTest.java b/src/test/java/com/mailslurp/models/CreateInboxReplierOptionsTest.java new file mode 100644 index 000000000..4c3484a97 --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateInboxReplierOptionsTest.java @@ -0,0 +1,150 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateInboxReplierOptions + */ +public class CreateInboxReplierOptionsTest { + private final CreateInboxReplierOptions model = new CreateInboxReplierOptions(); + + /** + * Model tests for CreateInboxReplierOptions + */ + @Test + public void testCreateInboxReplierOptions() { + // TODO: test CreateInboxReplierOptions + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'field' + */ + @Test + public void fieldTest() { + // TODO: test field + } + + /** + * Test the property 'match' + */ + @Test + public void matchTest() { + // TODO: test match + } + + /** + * Test the property 'replyTo' + */ + @Test + public void replyToTest() { + // TODO: test replyTo + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'charset' + */ + @Test + public void charsetTest() { + // TODO: test charset + } + + /** + * Test the property 'ignoreReplyTo' + */ + @Test + public void ignoreReplyToTest() { + // TODO: test ignoreReplyTo + } + + /** + * Test the property 'isHTML' + */ + @Test + public void isHTMLTest() { + // TODO: test isHTML + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'templateId' + */ + @Test + public void templateIdTest() { + // TODO: test templateId + } + + /** + * Test the property 'templateVariables' + */ + @Test + public void templateVariablesTest() { + // TODO: test templateVariables + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateInboxRulesetOptionsTest.java b/src/test/java/com/mailslurp/models/CreateInboxRulesetOptionsTest.java new file mode 100644 index 000000000..e3fe0ab3e --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateInboxRulesetOptionsTest.java @@ -0,0 +1,66 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateInboxRulesetOptions + */ +public class CreateInboxRulesetOptionsTest { + private final CreateInboxRulesetOptions model = new CreateInboxRulesetOptions(); + + /** + * Model tests for CreateInboxRulesetOptions + */ + @Test + public void testCreateInboxRulesetOptions() { + // TODO: test CreateInboxRulesetOptions + } + + /** + * Test the property 'scope' + */ + @Test + public void scopeTest() { + // TODO: test scope + } + + /** + * Test the property 'action' + */ + @Test + public void actionTest() { + // TODO: test action + } + + /** + * Test the property 'target' + */ + @Test + public void targetTest() { + // TODO: test target + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateTemplateOptionsTest.java b/src/test/java/com/mailslurp/models/CreateTemplateOptionsTest.java new file mode 100644 index 000000000..d3e212cd1 --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateTemplateOptionsTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateTemplateOptions + */ +public class CreateTemplateOptionsTest { + private final CreateTemplateOptions model = new CreateTemplateOptions(); + + /** + * Model tests for CreateTemplateOptions + */ + @Test + public void testCreateTemplateOptions() { + // TODO: test CreateTemplateOptions + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateTrackingPixelOptionsTest.java b/src/test/java/com/mailslurp/models/CreateTrackingPixelOptionsTest.java new file mode 100644 index 000000000..27e262785 --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateTrackingPixelOptionsTest.java @@ -0,0 +1,59 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateTrackingPixelOptions + */ +public class CreateTrackingPixelOptionsTest { + private final CreateTrackingPixelOptions model = new CreateTrackingPixelOptions(); + + /** + * Model tests for CreateTrackingPixelOptions + */ + @Test + public void testCreateTrackingPixelOptions() { + // TODO: test CreateTrackingPixelOptions + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'recipient' + */ + @Test + public void recipientTest() { + // TODO: test recipient + } + +} diff --git a/src/test/java/com/mailslurp/models/CreateWebhookOptionsTest.java b/src/test/java/com/mailslurp/models/CreateWebhookOptionsTest.java new file mode 100644 index 000000000..5af9e4b1e --- /dev/null +++ b/src/test/java/com/mailslurp/models/CreateWebhookOptionsTest.java @@ -0,0 +1,109 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.BasicAuthOptions; +import com.mailslurp.models.WebhookHeaders; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for CreateWebhookOptions + */ +public class CreateWebhookOptionsTest { + private final CreateWebhookOptions model = new CreateWebhookOptions(); + + /** + * Model tests for CreateWebhookOptions + */ + @Test + public void testCreateWebhookOptions() { + // TODO: test CreateWebhookOptions + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + + /** + * Test the property 'basicAuth' + */ + @Test + public void basicAuthTest() { + // TODO: test basicAuth + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'includeHeaders' + */ + @Test + public void includeHeadersTest() { + // TODO: test includeHeaders + } + + /** + * Test the property 'requestBodyTemplate' + */ + @Test + public void requestBodyTemplateTest() { + // TODO: test requestBodyTemplate + } + + /** + * Test the property 'useStaticIpRange' + */ + @Test + public void useStaticIpRangeTest() { + // TODO: test useStaticIpRange + } + + /** + * Test the property 'ignoreInsecureSslCertificates' + */ + @Test + public void ignoreInsecureSslCertificatesTest() { + // TODO: test ignoreInsecureSslCertificates + } + +} diff --git a/src/test/java/com/mailslurp/models/DNSLookupOptionsTest.java b/src/test/java/com/mailslurp/models/DNSLookupOptionsTest.java new file mode 100644 index 000000000..6a481aa99 --- /dev/null +++ b/src/test/java/com/mailslurp/models/DNSLookupOptionsTest.java @@ -0,0 +1,68 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for DNSLookupOptions + */ +public class DNSLookupOptionsTest { + private final DNSLookupOptions model = new DNSLookupOptions(); + + /** + * Model tests for DNSLookupOptions + */ + @Test + public void testDNSLookupOptions() { + // TODO: test DNSLookupOptions + } + + /** + * Test the property 'hostname' + */ + @Test + public void hostnameTest() { + // TODO: test hostname + } + + /** + * Test the property 'recordTypes' + */ + @Test + public void recordTypesTest() { + // TODO: test recordTypes + } + + /** + * Test the property 'omitFinalDNSDot' + */ + @Test + public void omitFinalDNSDotTest() { + // TODO: test omitFinalDNSDot + } + +} diff --git a/src/test/java/com/mailslurp/models/DNSLookupResultTest.java b/src/test/java/com/mailslurp/models/DNSLookupResultTest.java new file mode 100644 index 000000000..346871451 --- /dev/null +++ b/src/test/java/com/mailslurp/models/DNSLookupResultTest.java @@ -0,0 +1,76 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for DNSLookupResult + */ +public class DNSLookupResultTest { + private final DNSLookupResult model = new DNSLookupResult(); + + /** + * Model tests for DNSLookupResult + */ + @Test + public void testDNSLookupResult() { + // TODO: test DNSLookupResult + } + + /** + * Test the property 'recordType' + */ + @Test + public void recordTypeTest() { + // TODO: test recordType + } + + /** + * Test the property 'ttl' + */ + @Test + public void ttlTest() { + // TODO: test ttl + } + + /** + * Test the property 'recordEntries' + */ + @Test + public void recordEntriesTest() { + // TODO: test recordEntries + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + +} diff --git a/src/test/java/com/mailslurp/models/DNSLookupResultsTest.java b/src/test/java/com/mailslurp/models/DNSLookupResultsTest.java new file mode 100644 index 000000000..7c08977a7 --- /dev/null +++ b/src/test/java/com/mailslurp/models/DNSLookupResultsTest.java @@ -0,0 +1,53 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.DNSLookupResult; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for DNSLookupResults + */ +public class DNSLookupResultsTest { + private final DNSLookupResults model = new DNSLookupResults(); + + /** + * Model tests for DNSLookupResults + */ + @Test + public void testDNSLookupResults() { + // TODO: test DNSLookupResults + } + + /** + * Test the property 'results' + */ + @Test + public void resultsTest() { + // TODO: test results + } + +} diff --git a/src/test/java/com/mailslurp/models/DeliveryStatusDtoTest.java b/src/test/java/com/mailslurp/models/DeliveryStatusDtoTest.java new file mode 100644 index 000000000..2ab50cad7 --- /dev/null +++ b/src/test/java/com/mailslurp/models/DeliveryStatusDtoTest.java @@ -0,0 +1,158 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for DeliveryStatusDto + */ +public class DeliveryStatusDtoTest { + private final DeliveryStatusDto model = new DeliveryStatusDto(); + + /** + * Model tests for DeliveryStatusDto + */ + @Test + public void testDeliveryStatusDto() { + // TODO: test DeliveryStatusDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'sentId' + */ + @Test + public void sentIdTest() { + // TODO: test sentId + } + + /** + * Test the property 'remoteMtaIp' + */ + @Test + public void remoteMtaIpTest() { + // TODO: test remoteMtaIp + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'reportingMta' + */ + @Test + public void reportingMtaTest() { + // TODO: test reportingMta + } + + /** + * Test the property 'recipients' + */ + @Test + public void recipientsTest() { + // TODO: test recipients + } + + /** + * Test the property 'smtpResponse' + */ + @Test + public void smtpResponseTest() { + // TODO: test smtpResponse + } + + /** + * Test the property 'smtpStatusCode' + */ + @Test + public void smtpStatusCodeTest() { + // TODO: test smtpStatusCode + } + + /** + * Test the property 'processingTimeMillis' + */ + @Test + public void processingTimeMillisTest() { + // TODO: test processingTimeMillis + } + + /** + * Test the property 'received' + */ + @Test + public void receivedTest() { + // TODO: test received + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/DescribeDomainOptionsTest.java b/src/test/java/com/mailslurp/models/DescribeDomainOptionsTest.java new file mode 100644 index 000000000..fab350a5e --- /dev/null +++ b/src/test/java/com/mailslurp/models/DescribeDomainOptionsTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for DescribeDomainOptions + */ +public class DescribeDomainOptionsTest { + private final DescribeDomainOptions model = new DescribeDomainOptions(); + + /** + * Model tests for DescribeDomainOptions + */ + @Test + public void testDescribeDomainOptions() { + // TODO: test DescribeDomainOptions + } + + /** + * Test the property 'domain' + */ + @Test + public void domainTest() { + // TODO: test domain + } + +} diff --git a/src/test/java/com/mailslurp/models/DescribeMailServerDomainResultTest.java b/src/test/java/com/mailslurp/models/DescribeMailServerDomainResultTest.java new file mode 100644 index 000000000..771314734 --- /dev/null +++ b/src/test/java/com/mailslurp/models/DescribeMailServerDomainResultTest.java @@ -0,0 +1,70 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.NameServerRecord; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for DescribeMailServerDomainResult + */ +public class DescribeMailServerDomainResultTest { + private final DescribeMailServerDomainResult model = new DescribeMailServerDomainResult(); + + /** + * Model tests for DescribeMailServerDomainResult + */ + @Test + public void testDescribeMailServerDomainResult() { + // TODO: test DescribeMailServerDomainResult + } + + /** + * Test the property 'mxRecords' + */ + @Test + public void mxRecordsTest() { + // TODO: test mxRecords + } + + /** + * Test the property 'domain' + */ + @Test + public void domainTest() { + // TODO: test domain + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + +} diff --git a/src/test/java/com/mailslurp/models/DomainDtoTest.java b/src/test/java/com/mailslurp/models/DomainDtoTest.java new file mode 100644 index 000000000..903693897 --- /dev/null +++ b/src/test/java/com/mailslurp/models/DomainDtoTest.java @@ -0,0 +1,152 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.DomainNameRecord; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for DomainDto + */ +public class DomainDtoTest { + private final DomainDto model = new DomainDto(); + + /** + * Model tests for DomainDto + */ + @Test + public void testDomainDto() { + // TODO: test DomainDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'domain' + */ + @Test + public void domainTest() { + // TODO: test domain + } + + /** + * Test the property 'verificationToken' + */ + @Test + public void verificationTokenTest() { + // TODO: test verificationToken + } + + /** + * Test the property 'dkimTokens' + */ + @Test + public void dkimTokensTest() { + // TODO: test dkimTokens + } + + /** + * Test the property 'missingRecordsMessage' + */ + @Test + public void missingRecordsMessageTest() { + // TODO: test missingRecordsMessage + } + + /** + * Test the property 'hasMissingRecords' + */ + @Test + public void hasMissingRecordsTest() { + // TODO: test hasMissingRecords + } + + /** + * Test the property 'isVerified' + */ + @Test + public void isVerifiedTest() { + // TODO: test isVerified + } + + /** + * Test the property 'domainNameRecords' + */ + @Test + public void domainNameRecordsTest() { + // TODO: test domainNameRecords + } + + /** + * Test the property 'catchAllInboxId' + */ + @Test + public void catchAllInboxIdTest() { + // TODO: test catchAllInboxId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'domainType' + */ + @Test + public void domainTypeTest() { + // TODO: test domainType + } + +} diff --git a/src/test/java/com/mailslurp/models/DomainIssuesDtoTest.java b/src/test/java/com/mailslurp/models/DomainIssuesDtoTest.java new file mode 100644 index 000000000..e46f110e2 --- /dev/null +++ b/src/test/java/com/mailslurp/models/DomainIssuesDtoTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for DomainIssuesDto + */ +public class DomainIssuesDtoTest { + private final DomainIssuesDto model = new DomainIssuesDto(); + + /** + * Model tests for DomainIssuesDto + */ + @Test + public void testDomainIssuesDto() { + // TODO: test DomainIssuesDto + } + + /** + * Test the property 'hasIssues' + */ + @Test + public void hasIssuesTest() { + // TODO: test hasIssues + } + +} diff --git a/src/test/java/com/mailslurp/models/DomainNameRecordTest.java b/src/test/java/com/mailslurp/models/DomainNameRecordTest.java new file mode 100644 index 000000000..bdf2f6df6 --- /dev/null +++ b/src/test/java/com/mailslurp/models/DomainNameRecordTest.java @@ -0,0 +1,92 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for DomainNameRecord + */ +public class DomainNameRecordTest { + private final DomainNameRecord model = new DomainNameRecord(); + + /** + * Model tests for DomainNameRecord + */ + @Test + public void testDomainNameRecord() { + // TODO: test DomainNameRecord + } + + /** + * Test the property 'label' + */ + @Test + public void labelTest() { + // TODO: test label + } + + /** + * Test the property 'required' + */ + @Test + public void requiredTest() { + // TODO: test required + } + + /** + * Test the property 'recordType' + */ + @Test + public void recordTypeTest() { + // TODO: test recordType + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'recordEntries' + */ + @Test + public void recordEntriesTest() { + // TODO: test recordEntries + } + + /** + * Test the property 'ttl' + */ + @Test + public void ttlTest() { + // TODO: test ttl + } + +} diff --git a/src/test/java/com/mailslurp/models/DomainPreviewTest.java b/src/test/java/com/mailslurp/models/DomainPreviewTest.java new file mode 100644 index 000000000..0b4485324 --- /dev/null +++ b/src/test/java/com/mailslurp/models/DomainPreviewTest.java @@ -0,0 +1,101 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for DomainPreview + */ +public class DomainPreviewTest { + private final DomainPreview model = new DomainPreview(); + + /** + * Model tests for DomainPreview + */ + @Test + public void testDomainPreview() { + // TODO: test DomainPreview + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'domain' + */ + @Test + public void domainTest() { + // TODO: test domain + } + + /** + * Test the property 'catchAllInboxId' + */ + @Test + public void catchAllInboxIdTest() { + // TODO: test catchAllInboxId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'domainType' + */ + @Test + public void domainTypeTest() { + // TODO: test domainType + } + + /** + * Test the property 'isVerified' + */ + @Test + public void isVerifiedTest() { + // TODO: test isVerified + } + + /** + * Test the property 'hasMissingRecords' + */ + @Test + public void hasMissingRecordsTest() { + // TODO: test hasMissingRecords + } + +} diff --git a/src/test/java/com/mailslurp/models/DownloadAttachmentDtoTest.java b/src/test/java/com/mailslurp/models/DownloadAttachmentDtoTest.java new file mode 100644 index 000000000..5153d1118 --- /dev/null +++ b/src/test/java/com/mailslurp/models/DownloadAttachmentDtoTest.java @@ -0,0 +1,66 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for DownloadAttachmentDto + */ +public class DownloadAttachmentDtoTest { + private final DownloadAttachmentDto model = new DownloadAttachmentDto(); + + /** + * Model tests for DownloadAttachmentDto + */ + @Test + public void testDownloadAttachmentDto() { + // TODO: test DownloadAttachmentDto + } + + /** + * Test the property 'base64FileContents' + */ + @Test + public void base64FileContentsTest() { + // TODO: test base64FileContents + } + + /** + * Test the property 'contentType' + */ + @Test + public void contentTypeTest() { + // TODO: test contentType + } + + /** + * Test the property 'sizeBytes' + */ + @Test + public void sizeBytesTest() { + // TODO: test sizeBytes + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailAnalysisTest.java b/src/test/java/com/mailslurp/models/EmailAnalysisTest.java new file mode 100644 index 000000000..b2989f532 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailAnalysisTest.java @@ -0,0 +1,83 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmailAnalysis + */ +public class EmailAnalysisTest { + private final EmailAnalysis model = new EmailAnalysis(); + + /** + * Model tests for EmailAnalysis + */ + @Test + public void testEmailAnalysis() { + // TODO: test EmailAnalysis + } + + /** + * Test the property 'spamVerdict' + */ + @Test + public void spamVerdictTest() { + // TODO: test spamVerdict + } + + /** + * Test the property 'virusVerdict' + */ + @Test + public void virusVerdictTest() { + // TODO: test virusVerdict + } + + /** + * Test the property 'spfVerdict' + */ + @Test + public void spfVerdictTest() { + // TODO: test spfVerdict + } + + /** + * Test the property 'dkimVerdict' + */ + @Test + public void dkimVerdictTest() { + // TODO: test dkimVerdict + } + + /** + * Test the property 'dmarcVerdict' + */ + @Test + public void dmarcVerdictTest() { + // TODO: test dmarcVerdict + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailContentMatchResultTest.java b/src/test/java/com/mailslurp/models/EmailContentMatchResultTest.java new file mode 100644 index 000000000..c9808d310 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailContentMatchResultTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmailContentMatchResult + */ +public class EmailContentMatchResultTest { + private final EmailContentMatchResult model = new EmailContentMatchResult(); + + /** + * Model tests for EmailContentMatchResult + */ + @Test + public void testEmailContentMatchResult() { + // TODO: test EmailContentMatchResult + } + + /** + * Test the property 'pattern' + */ + @Test + public void patternTest() { + // TODO: test pattern + } + + /** + * Test the property 'matches' + */ + @Test + public void matchesTest() { + // TODO: test matches + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailHtmlDtoTest.java b/src/test/java/com/mailslurp/models/EmailHtmlDtoTest.java new file mode 100644 index 000000000..20d1e87e7 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailHtmlDtoTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmailHtmlDto + */ +public class EmailHtmlDtoTest { + private final EmailHtmlDto model = new EmailHtmlDto(); + + /** + * Model tests for EmailHtmlDto + */ + @Test + public void testEmailHtmlDto() { + // TODO: test EmailHtmlDto + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailLinksResultTest.java b/src/test/java/com/mailslurp/models/EmailLinksResultTest.java new file mode 100644 index 000000000..c39cf9cd7 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailLinksResultTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmailLinksResult + */ +public class EmailLinksResultTest { + private final EmailLinksResult model = new EmailLinksResult(); + + /** + * Model tests for EmailLinksResult + */ + @Test + public void testEmailLinksResult() { + // TODO: test EmailLinksResult + } + + /** + * Test the property 'links' + */ + @Test + public void linksTest() { + // TODO: test links + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailPreviewTest.java b/src/test/java/com/mailslurp/models/EmailPreviewTest.java new file mode 100644 index 000000000..3de175d9f --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailPreviewTest.java @@ -0,0 +1,127 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmailPreview + */ +public class EmailPreviewTest { + private final EmailPreview model = new EmailPreview(); + + /** + * Model tests for EmailPreview + */ + @Test + public void testEmailPreview() { + // TODO: test EmailPreview + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'domainId' + */ + @Test + public void domainIdTest() { + // TODO: test domainId + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'bcc' + */ + @Test + public void bccTest() { + // TODO: test bcc + } + + /** + * Test the property 'cc' + */ + @Test + public void ccTest() { + // TODO: test cc + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'read' + */ + @Test + public void readTest() { + // TODO: test read + } + + /** + * Test the property 'attachments' + */ + @Test + public void attachmentsTest() { + // TODO: test attachments + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailPreviewUrlsTest.java b/src/test/java/com/mailslurp/models/EmailPreviewUrlsTest.java new file mode 100644 index 000000000..33a32cf93 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailPreviewUrlsTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmailPreviewUrls + */ +public class EmailPreviewUrlsTest { + private final EmailPreviewUrls model = new EmailPreviewUrls(); + + /** + * Model tests for EmailPreviewUrls + */ + @Test + public void testEmailPreviewUrls() { + // TODO: test EmailPreviewUrls + } + + /** + * Test the property 'rawSmtpMessageUrl' + */ + @Test + public void rawSmtpMessageUrlTest() { + // TODO: test rawSmtpMessageUrl + } + + /** + * Test the property 'plainHtmlBodyUrl' + */ + @Test + public void plainHtmlBodyUrlTest() { + // TODO: test plainHtmlBodyUrl + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailProjectionTest.java b/src/test/java/com/mailslurp/models/EmailProjectionTest.java new file mode 100644 index 000000000..afc5efc11 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailProjectionTest.java @@ -0,0 +1,159 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmailProjection + */ +public class EmailProjectionTest { + private final EmailProjection model = new EmailProjection(); + + /** + * Model tests for EmailProjection + */ + @Test + public void testEmailProjection() { + // TODO: test EmailProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'attachments' + */ + @Test + public void attachmentsTest() { + // TODO: test attachments + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'bcc' + */ + @Test + public void bccTest() { + // TODO: test bcc + } + + /** + * Test the property 'cc' + */ + @Test + public void ccTest() { + // TODO: test cc + } + + /** + * Test the property 'read' + */ + @Test + public void readTest() { + // TODO: test read + } + + /** + * Test the property 'domainId' + */ + @Test + public void domainIdTest() { + // TODO: test domainId + } + + /** + * Test the property 'bodyExcerpt' + */ + @Test + public void bodyExcerptTest() { + // TODO: test bodyExcerpt + } + + /** + * Test the property 'teamAccess' + */ + @Test + public void teamAccessTest() { + // TODO: test teamAccess + } + + /** + * Test the property 'bodyMD5Hash' + */ + @Test + public void bodyMD5HashTest() { + // TODO: test bodyMD5Hash + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailRecipientsTest.java b/src/test/java/com/mailslurp/models/EmailRecipientsTest.java new file mode 100644 index 000000000..241a26409 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailRecipientsTest.java @@ -0,0 +1,69 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.Recipient; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmailRecipients + */ +public class EmailRecipientsTest { + private final EmailRecipients model = new EmailRecipients(); + + /** + * Model tests for EmailRecipients + */ + @Test + public void testEmailRecipients() { + // TODO: test EmailRecipients + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'cc' + */ + @Test + public void ccTest() { + // TODO: test cc + } + + /** + * Test the property 'bcc' + */ + @Test + public void bccTest() { + // TODO: test bcc + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailTest.java b/src/test/java/com/mailslurp/models/EmailTest.java new file mode 100644 index 000000000..a3fe85782 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailTest.java @@ -0,0 +1,260 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.EmailAnalysis; +import com.mailslurp.models.EmailRecipients; +import com.mailslurp.models.Sender; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for Email + */ +public class EmailTest { + private final Email model = new Email(); + + /** + * Model tests for Email + */ + @Test + public void testEmail() { + // TODO: test Email + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'domainId' + */ + @Test + public void domainIdTest() { + // TODO: test domainId + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'sender' + */ + @Test + public void senderTest() { + // TODO: test sender + } + + /** + * Test the property 'recipients' + */ + @Test + public void recipientsTest() { + // TODO: test recipients + } + + /** + * Test the property 'replyTo' + */ + @Test + public void replyToTest() { + // TODO: test replyTo + } + + /** + * Test the property 'cc' + */ + @Test + public void ccTest() { + // TODO: test cc + } + + /** + * Test the property 'bcc' + */ + @Test + public void bccTest() { + // TODO: test bcc + } + + /** + * Test the property 'headers' + */ + @Test + public void headersTest() { + // TODO: test headers + } + + /** + * Test the property 'headersMap' + */ + @Test + public void headersMapTest() { + // TODO: test headersMap + } + + /** + * Test the property 'attachments' + */ + @Test + public void attachmentsTest() { + // TODO: test attachments + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'bodyExcerpt' + */ + @Test + public void bodyExcerptTest() { + // TODO: test bodyExcerpt + } + + /** + * Test the property 'bodyMD5Hash' + */ + @Test + public void bodyMD5HashTest() { + // TODO: test bodyMD5Hash + } + + /** + * Test the property 'isHTML' + */ + @Test + public void isHTMLTest() { + // TODO: test isHTML + } + + /** + * Test the property 'charset' + */ + @Test + public void charsetTest() { + // TODO: test charset + } + + /** + * Test the property 'analysis' + */ + @Test + public void analysisTest() { + // TODO: test analysis + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'read' + */ + @Test + public void readTest() { + // TODO: test read + } + + /** + * Test the property 'teamAccess' + */ + @Test + public void teamAccessTest() { + // TODO: test teamAccess + } + + /** + * Test the property 'html' + */ + @Test + public void htmlTest() { + // TODO: test html + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailTextLinesResultTest.java b/src/test/java/com/mailslurp/models/EmailTextLinesResultTest.java new file mode 100644 index 000000000..c596fa050 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailTextLinesResultTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmailTextLinesResult + */ +public class EmailTextLinesResultTest { + private final EmailTextLinesResult model = new EmailTextLinesResult(); + + /** + * Model tests for EmailTextLinesResult + */ + @Test + public void testEmailTextLinesResult() { + // TODO: test EmailTextLinesResult + } + + /** + * Test the property 'lines' + */ + @Test + public void linesTest() { + // TODO: test lines + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailValidationRequestDtoTest.java b/src/test/java/com/mailslurp/models/EmailValidationRequestDtoTest.java new file mode 100644 index 000000000..8238be268 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailValidationRequestDtoTest.java @@ -0,0 +1,92 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmailValidationRequestDto + */ +public class EmailValidationRequestDtoTest { + private final EmailValidationRequestDto model = new EmailValidationRequestDto(); + + /** + * Model tests for EmailValidationRequestDto + */ + @Test + public void testEmailValidationRequestDto() { + // TODO: test EmailValidationRequestDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'isValid' + */ + @Test + public void isValidTest() { + // TODO: test isValid + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/EmailVerificationResultTest.java b/src/test/java/com/mailslurp/models/EmailVerificationResultTest.java new file mode 100644 index 000000000..97a60d3db --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmailVerificationResultTest.java @@ -0,0 +1,83 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmailVerificationResult + */ +public class EmailVerificationResultTest { + private final EmailVerificationResult model = new EmailVerificationResult(); + + /** + * Model tests for EmailVerificationResult + */ + @Test + public void testEmailVerificationResult() { + // TODO: test EmailVerificationResult + } + + /** + * Test the property 'domainName' + */ + @Test + public void domainNameTest() { + // TODO: test domainName + } + + /** + * Test the property 'port' + */ + @Test + public void portTest() { + // TODO: test port + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'isValid' + */ + @Test + public void isValidTest() { + // TODO: test isValid + } + + /** + * Test the property 'error' + */ + @Test + public void errorTest() { + // TODO: test error + } + +} diff --git a/src/test/java/com/mailslurp/models/EmergencyAddressDtoTest.java b/src/test/java/com/mailslurp/models/EmergencyAddressDtoTest.java new file mode 100644 index 000000000..7d0c69357 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmergencyAddressDtoTest.java @@ -0,0 +1,67 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmergencyAddressDto + */ +public class EmergencyAddressDtoTest { + private final EmergencyAddressDto model = new EmergencyAddressDto(); + + /** + * Model tests for EmergencyAddressDto + */ + @Test + public void testEmergencyAddressDto() { + // TODO: test EmergencyAddressDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'address1' + */ + @Test + public void address1Test() { + // TODO: test address1 + } + + /** + * Test the property 'phoneCountry' + */ + @Test + public void phoneCountryTest() { + // TODO: test phoneCountry + } + +} diff --git a/src/test/java/com/mailslurp/models/EmergencyAddressTest.java b/src/test/java/com/mailslurp/models/EmergencyAddressTest.java new file mode 100644 index 000000000..e5b70314e --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmergencyAddressTest.java @@ -0,0 +1,148 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmergencyAddress + */ +public class EmergencyAddressTest { + private final EmergencyAddress model = new EmergencyAddress(); + + /** + * Model tests for EmergencyAddress + */ + @Test + public void testEmergencyAddress() { + // TODO: test EmergencyAddress + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'sid' + */ + @Test + public void sidTest() { + // TODO: test sid + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'displayName' + */ + @Test + public void displayNameTest() { + // TODO: test displayName + } + + /** + * Test the property 'customerName' + */ + @Test + public void customerNameTest() { + // TODO: test customerName + } + + /** + * Test the property 'address1' + */ + @Test + public void address1Test() { + // TODO: test address1 + } + + /** + * Test the property 'city' + */ + @Test + public void cityTest() { + // TODO: test city + } + + /** + * Test the property 'region' + */ + @Test + public void regionTest() { + // TODO: test region + } + + /** + * Test the property 'postalCode' + */ + @Test + public void postalCodeTest() { + // TODO: test postalCode + } + + /** + * Test the property 'phoneCountry' + */ + @Test + public void phoneCountryTest() { + // TODO: test phoneCountry + } + + /** + * Test the property 'accountSid' + */ + @Test + public void accountSidTest() { + // TODO: test accountSid + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/EmptyResponseDtoTest.java b/src/test/java/com/mailslurp/models/EmptyResponseDtoTest.java new file mode 100644 index 000000000..ef33bc176 --- /dev/null +++ b/src/test/java/com/mailslurp/models/EmptyResponseDtoTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for EmptyResponseDto + */ +public class EmptyResponseDtoTest { + private final EmptyResponseDto model = new EmptyResponseDto(); + + /** + * Model tests for EmptyResponseDto + */ + @Test + public void testEmptyResponseDto() { + // TODO: test EmptyResponseDto + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + +} diff --git a/src/test/java/com/mailslurp/models/ExpirationDefaultsTest.java b/src/test/java/com/mailslurp/models/ExpirationDefaultsTest.java new file mode 100644 index 000000000..ef5f401b3 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ExpirationDefaultsTest.java @@ -0,0 +1,84 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ExpirationDefaults + */ +public class ExpirationDefaultsTest { + private final ExpirationDefaults model = new ExpirationDefaults(); + + /** + * Model tests for ExpirationDefaults + */ + @Test + public void testExpirationDefaults() { + // TODO: test ExpirationDefaults + } + + /** + * Test the property 'defaultExpirationMillis' + */ + @Test + public void defaultExpirationMillisTest() { + // TODO: test defaultExpirationMillis + } + + /** + * Test the property 'maxExpirationMillis' + */ + @Test + public void maxExpirationMillisTest() { + // TODO: test maxExpirationMillis + } + + /** + * Test the property 'defaultExpiresAt' + */ + @Test + public void defaultExpiresAtTest() { + // TODO: test defaultExpiresAt + } + + /** + * Test the property 'canPermanentInbox' + */ + @Test + public void canPermanentInboxTest() { + // TODO: test canPermanentInbox + } + + /** + * Test the property 'nextInboxAllowsPermanent' + */ + @Test + public void nextInboxAllowsPermanentTest() { + // TODO: test nextInboxAllowsPermanent + } + +} diff --git a/src/test/java/com/mailslurp/models/ExpiredInboxDtoTest.java b/src/test/java/com/mailslurp/models/ExpiredInboxDtoTest.java new file mode 100644 index 000000000..5502bff0d --- /dev/null +++ b/src/test/java/com/mailslurp/models/ExpiredInboxDtoTest.java @@ -0,0 +1,67 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ExpiredInboxDto + */ +public class ExpiredInboxDtoTest { + private final ExpiredInboxDto model = new ExpiredInboxDto(); + + /** + * Model tests for ExpiredInboxDto + */ + @Test + public void testExpiredInboxDto() { + // TODO: test ExpiredInboxDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + +} diff --git a/src/test/java/com/mailslurp/models/ExpiredInboxRecordProjectionTest.java b/src/test/java/com/mailslurp/models/ExpiredInboxRecordProjectionTest.java new file mode 100644 index 000000000..9785f803f --- /dev/null +++ b/src/test/java/com/mailslurp/models/ExpiredInboxRecordProjectionTest.java @@ -0,0 +1,76 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ExpiredInboxRecordProjection + */ +public class ExpiredInboxRecordProjectionTest { + private final ExpiredInboxRecordProjection model = new ExpiredInboxRecordProjection(); + + /** + * Model tests for ExpiredInboxRecordProjection + */ + @Test + public void testExpiredInboxRecordProjection() { + // TODO: test ExpiredInboxRecordProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/ExportLinkTest.java b/src/test/java/com/mailslurp/models/ExportLinkTest.java new file mode 100644 index 000000000..0509a5b97 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ExportLinkTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ExportLink + */ +public class ExportLinkTest { + private final ExportLink model = new ExportLink(); + + /** + * Model tests for ExportLink + */ + @Test + public void testExportLink() { + // TODO: test ExportLink + } + + /** + * Test the property 'downloadLink' + */ + @Test + public void downloadLinkTest() { + // TODO: test downloadLink + } + +} diff --git a/src/test/java/com/mailslurp/models/ExportOptionsTest.java b/src/test/java/com/mailslurp/models/ExportOptionsTest.java new file mode 100644 index 000000000..1fa5cb676 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ExportOptionsTest.java @@ -0,0 +1,92 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ExportOptions + */ +public class ExportOptionsTest { + private final ExportOptions model = new ExportOptions(); + + /** + * Model tests for ExportOptions + */ + @Test + public void testExportOptions() { + // TODO: test ExportOptions + } + + /** + * Test the property 'outputFormat' + */ + @Test + public void outputFormatTest() { + // TODO: test outputFormat + } + + /** + * Test the property 'excludePreviouslyExported' + */ + @Test + public void excludePreviouslyExportedTest() { + // TODO: test excludePreviouslyExported + } + + /** + * Test the property 'createdEarliestTime' + */ + @Test + public void createdEarliestTimeTest() { + // TODO: test createdEarliestTime + } + + /** + * Test the property 'createdOldestTime' + */ + @Test + public void createdOldestTimeTest() { + // TODO: test createdOldestTime + } + + /** + * Test the property 'filter' + */ + @Test + public void filterTest() { + // TODO: test filter + } + + /** + * Test the property 'listSeparatorToken' + */ + @Test + public void listSeparatorTokenTest() { + // TODO: test listSeparatorToken + } + +} diff --git a/src/test/java/com/mailslurp/models/FilterBouncedRecipientsOptionsTest.java b/src/test/java/com/mailslurp/models/FilterBouncedRecipientsOptionsTest.java new file mode 100644 index 000000000..8af6fbff5 --- /dev/null +++ b/src/test/java/com/mailslurp/models/FilterBouncedRecipientsOptionsTest.java @@ -0,0 +1,52 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for FilterBouncedRecipientsOptions + */ +public class FilterBouncedRecipientsOptionsTest { + private final FilterBouncedRecipientsOptions model = new FilterBouncedRecipientsOptions(); + + /** + * Model tests for FilterBouncedRecipientsOptions + */ + @Test + public void testFilterBouncedRecipientsOptions() { + // TODO: test FilterBouncedRecipientsOptions + } + + /** + * Test the property 'emailRecipients' + */ + @Test + public void emailRecipientsTest() { + // TODO: test emailRecipients + } + +} diff --git a/src/test/java/com/mailslurp/models/FilterBouncedRecipientsResultTest.java b/src/test/java/com/mailslurp/models/FilterBouncedRecipientsResultTest.java new file mode 100644 index 000000000..90902c7d6 --- /dev/null +++ b/src/test/java/com/mailslurp/models/FilterBouncedRecipientsResultTest.java @@ -0,0 +1,52 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for FilterBouncedRecipientsResult + */ +public class FilterBouncedRecipientsResultTest { + private final FilterBouncedRecipientsResult model = new FilterBouncedRecipientsResult(); + + /** + * Model tests for FilterBouncedRecipientsResult + */ + @Test + public void testFilterBouncedRecipientsResult() { + // TODO: test FilterBouncedRecipientsResult + } + + /** + * Test the property 'filteredRecipients' + */ + @Test + public void filteredRecipientsTest() { + // TODO: test filteredRecipients + } + +} diff --git a/src/test/java/com/mailslurp/models/FlushExpiredInboxesResultTest.java b/src/test/java/com/mailslurp/models/FlushExpiredInboxesResultTest.java new file mode 100644 index 000000000..834f924e7 --- /dev/null +++ b/src/test/java/com/mailslurp/models/FlushExpiredInboxesResultTest.java @@ -0,0 +1,62 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for FlushExpiredInboxesResult + */ +public class FlushExpiredInboxesResultTest { + private final FlushExpiredInboxesResult model = new FlushExpiredInboxesResult(); + + /** + * Model tests for FlushExpiredInboxesResult + */ + @Test + public void testFlushExpiredInboxesResult() { + // TODO: test FlushExpiredInboxesResult + } + + /** + * Test the property 'inboxIds' + */ + @Test + public void inboxIdsTest() { + // TODO: test inboxIds + } + + /** + * Test the property 'expireBefore' + */ + @Test + public void expireBeforeTest() { + // TODO: test expireBefore + } + +} diff --git a/src/test/java/com/mailslurp/models/ForwardEmailOptionsTest.java b/src/test/java/com/mailslurp/models/ForwardEmailOptionsTest.java new file mode 100644 index 000000000..b68f8d1e7 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ForwardEmailOptionsTest.java @@ -0,0 +1,101 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ForwardEmailOptions + */ +public class ForwardEmailOptionsTest { + private final ForwardEmailOptions model = new ForwardEmailOptions(); + + /** + * Model tests for ForwardEmailOptions + */ + @Test + public void testForwardEmailOptions() { + // TODO: test ForwardEmailOptions + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'cc' + */ + @Test + public void ccTest() { + // TODO: test cc + } + + /** + * Test the property 'bcc' + */ + @Test + public void bccTest() { + // TODO: test bcc + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'useInboxName' + */ + @Test + public void useInboxNameTest() { + // TODO: test useInboxName + } + + /** + * Test the property 'filterBouncedRecipients' + */ + @Test + public void filterBouncedRecipientsTest() { + // TODO: test filterBouncedRecipients + } + +} diff --git a/src/test/java/com/mailslurp/models/GravatarUrlTest.java b/src/test/java/com/mailslurp/models/GravatarUrlTest.java new file mode 100644 index 000000000..0142cdc56 --- /dev/null +++ b/src/test/java/com/mailslurp/models/GravatarUrlTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for GravatarUrl + */ +public class GravatarUrlTest { + private final GravatarUrl model = new GravatarUrl(); + + /** + * Model tests for GravatarUrl + */ + @Test + public void testGravatarUrl() { + // TODO: test GravatarUrl + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + + /** + * Test the property 'hash' + */ + @Test + public void hashTest() { + // TODO: test hash + } + +} diff --git a/src/test/java/com/mailslurp/models/GroupContactsDtoTest.java b/src/test/java/com/mailslurp/models/GroupContactsDtoTest.java new file mode 100644 index 000000000..fc01ef18a --- /dev/null +++ b/src/test/java/com/mailslurp/models/GroupContactsDtoTest.java @@ -0,0 +1,62 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ContactDto; +import com.mailslurp.models.GroupDto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for GroupContactsDto + */ +public class GroupContactsDtoTest { + private final GroupContactsDto model = new GroupContactsDto(); + + /** + * Model tests for GroupContactsDto + */ + @Test + public void testGroupContactsDto() { + // TODO: test GroupContactsDto + } + + /** + * Test the property 'group' + */ + @Test + public void groupTest() { + // TODO: test group + } + + /** + * Test the property 'contacts' + */ + @Test + public void contactsTest() { + // TODO: test contacts + } + +} diff --git a/src/test/java/com/mailslurp/models/GroupDtoTest.java b/src/test/java/com/mailslurp/models/GroupDtoTest.java new file mode 100644 index 000000000..cc28de9f3 --- /dev/null +++ b/src/test/java/com/mailslurp/models/GroupDtoTest.java @@ -0,0 +1,77 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for GroupDto + */ +public class GroupDtoTest { + private final GroupDto model = new GroupDto(); + + /** + * Model tests for GroupDto + */ + @Test + public void testGroupDto() { + // TODO: test GroupDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/GroupProjectionTest.java b/src/test/java/com/mailslurp/models/GroupProjectionTest.java new file mode 100644 index 000000000..fe5d92314 --- /dev/null +++ b/src/test/java/com/mailslurp/models/GroupProjectionTest.java @@ -0,0 +1,77 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for GroupProjection + */ +public class GroupProjectionTest { + private final GroupProjection model = new GroupProjection(); + + /** + * Model tests for GroupProjection + */ + @Test + public void testGroupProjection() { + // TODO: test GroupProjection + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/HTMLValidationResultTest.java b/src/test/java/com/mailslurp/models/HTMLValidationResultTest.java new file mode 100644 index 000000000..711d5dd31 --- /dev/null +++ b/src/test/java/com/mailslurp/models/HTMLValidationResultTest.java @@ -0,0 +1,69 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ValidationMessage; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for HTMLValidationResult + */ +public class HTMLValidationResultTest { + private final HTMLValidationResult model = new HTMLValidationResult(); + + /** + * Model tests for HTMLValidationResult + */ + @Test + public void testHTMLValidationResult() { + // TODO: test HTMLValidationResult + } + + /** + * Test the property 'isValid' + */ + @Test + public void isValidTest() { + // TODO: test isValid + } + + /** + * Test the property 'errors' + */ + @Test + public void errorsTest() { + // TODO: test errors + } + + /** + * Test the property 'warnings' + */ + @Test + public void warningsTest() { + // TODO: test warnings + } + +} diff --git a/src/test/java/com/mailslurp/models/IPAddressResultTest.java b/src/test/java/com/mailslurp/models/IPAddressResultTest.java new file mode 100644 index 000000000..c3d83421f --- /dev/null +++ b/src/test/java/com/mailslurp/models/IPAddressResultTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for IPAddressResult + */ +public class IPAddressResultTest { + private final IPAddressResult model = new IPAddressResult(); + + /** + * Model tests for IPAddressResult + */ + @Test + public void testIPAddressResult() { + // TODO: test IPAddressResult + } + + /** + * Test the property 'address' + */ + @Test + public void addressTest() { + // TODO: test address + } + + /** + * Test the property 'hostname' + */ + @Test + public void hostnameTest() { + // TODO: test hostname + } + +} diff --git a/src/test/java/com/mailslurp/models/ImapFlagOperationOptionsTest.java b/src/test/java/com/mailslurp/models/ImapFlagOperationOptionsTest.java new file mode 100644 index 000000000..f0d9d116c --- /dev/null +++ b/src/test/java/com/mailslurp/models/ImapFlagOperationOptionsTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ImapFlagOperationOptions + */ +public class ImapFlagOperationOptionsTest { + private final ImapFlagOperationOptions model = new ImapFlagOperationOptions(); + + /** + * Model tests for ImapFlagOperationOptions + */ + @Test + public void testImapFlagOperationOptions() { + // TODO: test ImapFlagOperationOptions + } + + /** + * Test the property 'flagOperation' + */ + @Test + public void flagOperationTest() { + // TODO: test flagOperation + } + + /** + * Test the property 'flags' + */ + @Test + public void flagsTest() { + // TODO: test flags + } + +} diff --git a/src/test/java/com/mailslurp/models/ImapSmtpAccessDetailsTest.java b/src/test/java/com/mailslurp/models/ImapSmtpAccessDetailsTest.java new file mode 100644 index 000000000..1d4e330ea --- /dev/null +++ b/src/test/java/com/mailslurp/models/ImapSmtpAccessDetailsTest.java @@ -0,0 +1,138 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ImapSmtpAccessDetails + */ +public class ImapSmtpAccessDetailsTest { + private final ImapSmtpAccessDetails model = new ImapSmtpAccessDetails(); + + /** + * Model tests for ImapSmtpAccessDetails + */ + @Test + public void testImapSmtpAccessDetails() { + // TODO: test ImapSmtpAccessDetails + } + + /** + * Test the property 'secureSmtpServerHost' + */ + @Test + public void secureSmtpServerHostTest() { + // TODO: test secureSmtpServerHost + } + + /** + * Test the property 'secureSmtpServerPort' + */ + @Test + public void secureSmtpServerPortTest() { + // TODO: test secureSmtpServerPort + } + + /** + * Test the property 'secureSmtpUsername' + */ + @Test + public void secureSmtpUsernameTest() { + // TODO: test secureSmtpUsername + } + + /** + * Test the property 'secureSmtpPassword' + */ + @Test + public void secureSmtpPasswordTest() { + // TODO: test secureSmtpPassword + } + + /** + * Test the property 'smtpServerHost' + */ + @Test + public void smtpServerHostTest() { + // TODO: test smtpServerHost + } + + /** + * Test the property 'smtpServerPort' + */ + @Test + public void smtpServerPortTest() { + // TODO: test smtpServerPort + } + + /** + * Test the property 'smtpUsername' + */ + @Test + public void smtpUsernameTest() { + // TODO: test smtpUsername + } + + /** + * Test the property 'smtpPassword' + */ + @Test + public void smtpPasswordTest() { + // TODO: test smtpPassword + } + + /** + * Test the property 'imapServerHost' + */ + @Test + public void imapServerHostTest() { + // TODO: test imapServerHost + } + + /** + * Test the property 'imapServerPort' + */ + @Test + public void imapServerPortTest() { + // TODO: test imapServerPort + } + + /** + * Test the property 'imapUsername' + */ + @Test + public void imapUsernameTest() { + // TODO: test imapUsername + } + + /** + * Test the property 'imapPassword' + */ + @Test + public void imapPasswordTest() { + // TODO: test imapPassword + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxByEmailAddressResultTest.java b/src/test/java/com/mailslurp/models/InboxByEmailAddressResultTest.java new file mode 100644 index 000000000..4e32e6441 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxByEmailAddressResultTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxByEmailAddressResult + */ +public class InboxByEmailAddressResultTest { + private final InboxByEmailAddressResult model = new InboxByEmailAddressResult(); + + /** + * Model tests for InboxByEmailAddressResult + */ + @Test + public void testInboxByEmailAddressResult() { + // TODO: test InboxByEmailAddressResult + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'exists' + */ + @Test + public void existsTest() { + // TODO: test exists + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxByNameResultTest.java b/src/test/java/com/mailslurp/models/InboxByNameResultTest.java new file mode 100644 index 000000000..6cda5fbe6 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxByNameResultTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxByNameResult + */ +public class InboxByNameResultTest { + private final InboxByNameResult model = new InboxByNameResult(); + + /** + * Model tests for InboxByNameResult + */ + @Test + public void testInboxByNameResult() { + // TODO: test InboxByNameResult + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'exists' + */ + @Test + public void existsTest() { + // TODO: test exists + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxDtoTest.java b/src/test/java/com/mailslurp/models/InboxDtoTest.java new file mode 100644 index 000000000..256590cc1 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxDtoTest.java @@ -0,0 +1,151 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxDto + */ +public class InboxDtoTest { + private final InboxDto model = new InboxDto(); + + /** + * Model tests for InboxDto + */ + @Test + public void testInboxDto() { + // TODO: test InboxDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'domainId' + */ + @Test + public void domainIdTest() { + // TODO: test domainId + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'expiresAt' + */ + @Test + public void expiresAtTest() { + // TODO: test expiresAt + } + + /** + * Test the property 'favourite' + */ + @Test + public void favouriteTest() { + // TODO: test favourite + } + + /** + * Test the property 'tags' + */ + @Test + public void tagsTest() { + // TODO: test tags + } + + /** + * Test the property 'inboxType' + */ + @Test + public void inboxTypeTest() { + // TODO: test inboxType + } + + /** + * Test the property 'readOnly' + */ + @Test + public void readOnlyTest() { + // TODO: test readOnly + } + + /** + * Test the property 'virtualInbox' + */ + @Test + public void virtualInboxTest() { + // TODO: test virtualInbox + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxExistsDtoTest.java b/src/test/java/com/mailslurp/models/InboxExistsDtoTest.java new file mode 100644 index 000000000..8e661e571 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxExistsDtoTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxExistsDto + */ +public class InboxExistsDtoTest { + private final InboxExistsDto model = new InboxExistsDto(); + + /** + * Model tests for InboxExistsDto + */ + @Test + public void testInboxExistsDto() { + // TODO: test InboxExistsDto + } + + /** + * Test the property 'exists' + */ + @Test + public void existsTest() { + // TODO: test exists + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxForwarderDtoTest.java b/src/test/java/com/mailslurp/models/InboxForwarderDtoTest.java new file mode 100644 index 000000000..7361d301b --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxForwarderDtoTest.java @@ -0,0 +1,103 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxForwarderDto + */ +public class InboxForwarderDtoTest { + private final InboxForwarderDto model = new InboxForwarderDto(); + + /** + * Model tests for InboxForwarderDto + */ + @Test + public void testInboxForwarderDto() { + // TODO: test InboxForwarderDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'field' + */ + @Test + public void fieldTest() { + // TODO: test field + } + + /** + * Test the property 'match' + */ + @Test + public void matchTest() { + // TODO: test match + } + + /** + * Test the property 'forwardToRecipients' + */ + @Test + public void forwardToRecipientsTest() { + // TODO: test forwardToRecipients + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxForwarderEventProjectionTest.java b/src/test/java/com/mailslurp/models/InboxForwarderEventProjectionTest.java new file mode 100644 index 000000000..e408d2542 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxForwarderEventProjectionTest.java @@ -0,0 +1,109 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxForwarderEventProjection + */ +public class InboxForwarderEventProjectionTest { + private final InboxForwarderEventProjection model = new InboxForwarderEventProjection(); + + /** + * Model tests for InboxForwarderEventProjection + */ + @Test + public void testInboxForwarderEventProjection() { + // TODO: test InboxForwarderEventProjection + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } + + /** + * Test the property 'emailId' + */ + @Test + public void emailIdTest() { + // TODO: test emailId + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'forwarderId' + */ + @Test + public void forwarderIdTest() { + // TODO: test forwarderId + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxForwarderTestOptionsTest.java b/src/test/java/com/mailslurp/models/InboxForwarderTestOptionsTest.java new file mode 100644 index 000000000..ed09c37a3 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxForwarderTestOptionsTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxForwarderTestOptions + */ +public class InboxForwarderTestOptionsTest { + private final InboxForwarderTestOptions model = new InboxForwarderTestOptions(); + + /** + * Model tests for InboxForwarderTestOptions + */ + @Test + public void testInboxForwarderTestOptions() { + // TODO: test InboxForwarderTestOptions + } + + /** + * Test the property 'testValue' + */ + @Test + public void testValueTest() { + // TODO: test testValue + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxForwarderTestResultTest.java b/src/test/java/com/mailslurp/models/InboxForwarderTestResultTest.java new file mode 100644 index 000000000..3929d597b --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxForwarderTestResultTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxForwarderTestResult + */ +public class InboxForwarderTestResultTest { + private final InboxForwarderTestResult model = new InboxForwarderTestResult(); + + /** + * Model tests for InboxForwarderTestResult + */ + @Test + public void testInboxForwarderTestResult() { + // TODO: test InboxForwarderTestResult + } + + /** + * Test the property 'matches' + */ + @Test + public void matchesTest() { + // TODO: test matches + } + + /** + * Test the property 'doesMatch' + */ + @Test + public void doesMatchTest() { + // TODO: test doesMatch + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxIdItemTest.java b/src/test/java/com/mailslurp/models/InboxIdItemTest.java new file mode 100644 index 000000000..f8bbdade3 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxIdItemTest.java @@ -0,0 +1,59 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxIdItem + */ +public class InboxIdItemTest { + private final InboxIdItem model = new InboxIdItem(); + + /** + * Model tests for InboxIdItem + */ + @Test + public void testInboxIdItem() { + // TODO: test InboxIdItem + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxIdsResultTest.java b/src/test/java/com/mailslurp/models/InboxIdsResultTest.java new file mode 100644 index 000000000..8b2e92b14 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxIdsResultTest.java @@ -0,0 +1,53 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxIdItem; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxIdsResult + */ +public class InboxIdsResultTest { + private final InboxIdsResult model = new InboxIdsResult(); + + /** + * Model tests for InboxIdsResult + */ + @Test + public void testInboxIdsResult() { + // TODO: test InboxIdsResult + } + + /** + * Test the property 'inboxIds' + */ + @Test + public void inboxIdsTest() { + // TODO: test inboxIds + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxPreviewTest.java b/src/test/java/com/mailslurp/models/InboxPreviewTest.java new file mode 100644 index 000000000..4fd9cb46f --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxPreviewTest.java @@ -0,0 +1,135 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxPreview + */ +public class InboxPreviewTest { + private final InboxPreview model = new InboxPreview(); + + /** + * Model tests for InboxPreview + */ + @Test + public void testInboxPreview() { + // TODO: test InboxPreview + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'domainId' + */ + @Test + public void domainIdTest() { + // TODO: test domainId + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'favourite' + */ + @Test + public void favouriteTest() { + // TODO: test favourite + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'tags' + */ + @Test + public void tagsTest() { + // TODO: test tags + } + + /** + * Test the property 'teamAccess' + */ + @Test + public void teamAccessTest() { + // TODO: test teamAccess + } + + /** + * Test the property 'inboxType' + */ + @Test + public void inboxTypeTest() { + // TODO: test inboxType + } + + /** + * Test the property 'virtualInbox' + */ + @Test + public void virtualInboxTest() { + // TODO: test virtualInbox + } + + /** + * Test the property 'expiresAt' + */ + @Test + public void expiresAtTest() { + // TODO: test expiresAt + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxReplierDtoTest.java b/src/test/java/com/mailslurp/models/InboxReplierDtoTest.java new file mode 100644 index 000000000..5d38aeb85 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxReplierDtoTest.java @@ -0,0 +1,159 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxReplierDto + */ +public class InboxReplierDtoTest { + private final InboxReplierDto model = new InboxReplierDto(); + + /** + * Model tests for InboxReplierDto + */ + @Test + public void testInboxReplierDto() { + // TODO: test InboxReplierDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'field' + */ + @Test + public void fieldTest() { + // TODO: test field + } + + /** + * Test the property 'match' + */ + @Test + public void matchTest() { + // TODO: test match + } + + /** + * Test the property 'replyTo' + */ + @Test + public void replyToTest() { + // TODO: test replyTo + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'charset' + */ + @Test + public void charsetTest() { + // TODO: test charset + } + + /** + * Test the property 'isHTML' + */ + @Test + public void isHTMLTest() { + // TODO: test isHTML + } + + /** + * Test the property 'templateId' + */ + @Test + public void templateIdTest() { + // TODO: test templateId + } + + /** + * Test the property 'templateVariables' + */ + @Test + public void templateVariablesTest() { + // TODO: test templateVariables + } + + /** + * Test the property 'ignoreReplyTo' + */ + @Test + public void ignoreReplyToTest() { + // TODO: test ignoreReplyTo + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxReplierEventProjectionTest.java b/src/test/java/com/mailslurp/models/InboxReplierEventProjectionTest.java new file mode 100644 index 000000000..a7c086f90 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxReplierEventProjectionTest.java @@ -0,0 +1,127 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxReplierEventProjection + */ +public class InboxReplierEventProjectionTest { + private final InboxReplierEventProjection model = new InboxReplierEventProjection(); + + /** + * Model tests for InboxReplierEventProjection + */ + @Test + public void testInboxReplierEventProjection() { + // TODO: test InboxReplierEventProjection + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } + + /** + * Test the property 'recipients' + */ + @Test + public void recipientsTest() { + // TODO: test recipients + } + + /** + * Test the property 'emailId' + */ + @Test + public void emailIdTest() { + // TODO: test emailId + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'sentId' + */ + @Test + public void sentIdTest() { + // TODO: test sentId + } + + /** + * Test the property 'replierId' + */ + @Test + public void replierIdTest() { + // TODO: test replierId + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxRulesetDtoTest.java b/src/test/java/com/mailslurp/models/InboxRulesetDtoTest.java new file mode 100644 index 000000000..22fb1de30 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxRulesetDtoTest.java @@ -0,0 +1,101 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxRulesetDto + */ +public class InboxRulesetDtoTest { + private final InboxRulesetDto model = new InboxRulesetDto(); + + /** + * Model tests for InboxRulesetDto + */ + @Test + public void testInboxRulesetDto() { + // TODO: test InboxRulesetDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'scope' + */ + @Test + public void scopeTest() { + // TODO: test scope + } + + /** + * Test the property 'action' + */ + @Test + public void actionTest() { + // TODO: test action + } + + /** + * Test the property 'target' + */ + @Test + public void targetTest() { + // TODO: test target + } + + /** + * Test the property 'handler' + */ + @Test + public void handlerTest() { + // TODO: test handler + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxRulesetTestOptionsTest.java b/src/test/java/com/mailslurp/models/InboxRulesetTestOptionsTest.java new file mode 100644 index 000000000..536a5a150 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxRulesetTestOptionsTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxRulesetTestOptions + */ +public class InboxRulesetTestOptionsTest { + private final InboxRulesetTestOptions model = new InboxRulesetTestOptions(); + + /** + * Model tests for InboxRulesetTestOptions + */ + @Test + public void testInboxRulesetTestOptions() { + // TODO: test InboxRulesetTestOptions + } + + /** + * Test the property 'testTarget' + */ + @Test + public void testTargetTest() { + // TODO: test testTarget + } + +} diff --git a/src/test/java/com/mailslurp/models/InboxRulesetTestResultTest.java b/src/test/java/com/mailslurp/models/InboxRulesetTestResultTest.java new file mode 100644 index 000000000..a30bdcab3 --- /dev/null +++ b/src/test/java/com/mailslurp/models/InboxRulesetTestResultTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for InboxRulesetTestResult + */ +public class InboxRulesetTestResultTest { + private final InboxRulesetTestResult model = new InboxRulesetTestResult(); + + /** + * Model tests for InboxRulesetTestResult + */ + @Test + public void testInboxRulesetTestResult() { + // TODO: test InboxRulesetTestResult + } + + /** + * Test the property 'rulesetMatches' + */ + @Test + public void rulesetMatchesTest() { + // TODO: test rulesetMatches + } + + /** + * Test the property 'matches' + */ + @Test + public void matchesTest() { + // TODO: test matches + } + +} diff --git a/src/test/java/com/mailslurp/models/JSONSchemaDtoTest.java b/src/test/java/com/mailslurp/models/JSONSchemaDtoTest.java new file mode 100644 index 000000000..44ec7dbbf --- /dev/null +++ b/src/test/java/com/mailslurp/models/JSONSchemaDtoTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for JSONSchemaDto + */ +public class JSONSchemaDtoTest { + private final JSONSchemaDto model = new JSONSchemaDto(); + + /** + * Model tests for JSONSchemaDto + */ + @Test + public void testJSONSchemaDto() { + // TODO: test JSONSchemaDto + } + + /** + * Test the property 'value' + */ + @Test + public void valueTest() { + // TODO: test value + } + +} diff --git a/src/test/java/com/mailslurp/models/ListUnsubscribeRecipientProjectionTest.java b/src/test/java/com/mailslurp/models/ListUnsubscribeRecipientProjectionTest.java new file mode 100644 index 000000000..8094a46c8 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ListUnsubscribeRecipientProjectionTest.java @@ -0,0 +1,77 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ListUnsubscribeRecipientProjection + */ +public class ListUnsubscribeRecipientProjectionTest { + private final ListUnsubscribeRecipientProjection model = new ListUnsubscribeRecipientProjection(); + + /** + * Model tests for ListUnsubscribeRecipientProjection + */ + @Test + public void testListUnsubscribeRecipientProjection() { + // TODO: test ListUnsubscribeRecipientProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'domainId' + */ + @Test + public void domainIdTest() { + // TODO: test domainId + } + +} diff --git a/src/test/java/com/mailslurp/models/MatchOptionTest.java b/src/test/java/com/mailslurp/models/MatchOptionTest.java new file mode 100644 index 000000000..98aeb68fc --- /dev/null +++ b/src/test/java/com/mailslurp/models/MatchOptionTest.java @@ -0,0 +1,66 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for MatchOption + */ +public class MatchOptionTest { + private final MatchOption model = new MatchOption(); + + /** + * Model tests for MatchOption + */ + @Test + public void testMatchOption() { + // TODO: test MatchOption + } + + /** + * Test the property 'field' + */ + @Test + public void fieldTest() { + // TODO: test field + } + + /** + * Test the property 'should' + */ + @Test + public void shouldTest() { + // TODO: test should + } + + /** + * Test the property 'value' + */ + @Test + public void valueTest() { + // TODO: test value + } + +} diff --git a/src/test/java/com/mailslurp/models/MatchOptionsTest.java b/src/test/java/com/mailslurp/models/MatchOptionsTest.java new file mode 100644 index 000000000..4a1246914 --- /dev/null +++ b/src/test/java/com/mailslurp/models/MatchOptionsTest.java @@ -0,0 +1,63 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConditionOption; +import com.mailslurp.models.MatchOption; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for MatchOptions + */ +public class MatchOptionsTest { + private final MatchOptions model = new MatchOptions(); + + /** + * Model tests for MatchOptions + */ + @Test + public void testMatchOptions() { + // TODO: test MatchOptions + } + + /** + * Test the property 'matches' + */ + @Test + public void matchesTest() { + // TODO: test matches + } + + /** + * Test the property 'conditions' + */ + @Test + public void conditionsTest() { + // TODO: test conditions + } + +} diff --git a/src/test/java/com/mailslurp/models/MissedEmailDtoTest.java b/src/test/java/com/mailslurp/models/MissedEmailDtoTest.java new file mode 100644 index 000000000..fa919eca9 --- /dev/null +++ b/src/test/java/com/mailslurp/models/MissedEmailDtoTest.java @@ -0,0 +1,175 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for MissedEmailDto + */ +public class MissedEmailDtoTest { + private final MissedEmailDto model = new MissedEmailDto(); + + /** + * Model tests for MissedEmailDto + */ + @Test + public void testMissedEmailDto() { + // TODO: test MissedEmailDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'bodyExcerpt' + */ + @Test + public void bodyExcerptTest() { + // TODO: test bodyExcerpt + } + + /** + * Test the property 'attachmentCount' + */ + @Test + public void attachmentCountTest() { + // TODO: test attachmentCount + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'rawUrl' + */ + @Test + public void rawUrlTest() { + // TODO: test rawUrl + } + + /** + * Test the property 'rawKey' + */ + @Test + public void rawKeyTest() { + // TODO: test rawKey + } + + /** + * Test the property 'rawBucket' + */ + @Test + public void rawBucketTest() { + // TODO: test rawBucket + } + + /** + * Test the property 'canRestore' + */ + @Test + public void canRestoreTest() { + // TODO: test canRestore + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'cc' + */ + @Test + public void ccTest() { + // TODO: test cc + } + + /** + * Test the property 'bcc' + */ + @Test + public void bccTest() { + // TODO: test bcc + } + + /** + * Test the property 'inboxIds' + */ + @Test + public void inboxIdsTest() { + // TODO: test inboxIds + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/MissedEmailProjectionTest.java b/src/test/java/com/mailslurp/models/MissedEmailProjectionTest.java new file mode 100644 index 000000000..8f8708236 --- /dev/null +++ b/src/test/java/com/mailslurp/models/MissedEmailProjectionTest.java @@ -0,0 +1,85 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for MissedEmailProjection + */ +public class MissedEmailProjectionTest { + private final MissedEmailProjection model = new MissedEmailProjection(); + + /** + * Model tests for MissedEmailProjection + */ + @Test + public void testMissedEmailProjection() { + // TODO: test MissedEmailProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/NameServerRecordTest.java b/src/test/java/com/mailslurp/models/NameServerRecordTest.java new file mode 100644 index 000000000..3739f826a --- /dev/null +++ b/src/test/java/com/mailslurp/models/NameServerRecordTest.java @@ -0,0 +1,74 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for NameServerRecord + */ +public class NameServerRecordTest { + private final NameServerRecord model = new NameServerRecord(); + + /** + * Model tests for NameServerRecord + */ + @Test + public void testNameServerRecord() { + // TODO: test NameServerRecord + } + + /** + * Test the property 'raw' + */ + @Test + public void rawTest() { + // TODO: test raw + } + + /** + * Test the property 'recordType' + */ + @Test + public void recordTypeTest() { + // TODO: test recordType + } + + /** + * Test the property 'priority' + */ + @Test + public void priorityTest() { + // TODO: test priority + } + + /** + * Test the property 'value' + */ + @Test + public void valueTest() { + // TODO: test value + } + +} diff --git a/src/test/java/com/mailslurp/models/OrganizationInboxProjectionTest.java b/src/test/java/com/mailslurp/models/OrganizationInboxProjectionTest.java new file mode 100644 index 000000000..a139c2b3f --- /dev/null +++ b/src/test/java/com/mailslurp/models/OrganizationInboxProjectionTest.java @@ -0,0 +1,135 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for OrganizationInboxProjection + */ +public class OrganizationInboxProjectionTest { + private final OrganizationInboxProjection model = new OrganizationInboxProjection(); + + /** + * Model tests for OrganizationInboxProjection + */ + @Test + public void testOrganizationInboxProjection() { + // TODO: test OrganizationInboxProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'domainId' + */ + @Test + public void domainIdTest() { + // TODO: test domainId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'favourite' + */ + @Test + public void favouriteTest() { + // TODO: test favourite + } + + /** + * Test the property 'tags' + */ + @Test + public void tagsTest() { + // TODO: test tags + } + + /** + * Test the property 'teamAccess' + */ + @Test + public void teamAccessTest() { + // TODO: test teamAccess + } + + /** + * Test the property 'inboxType' + */ + @Test + public void inboxTypeTest() { + // TODO: test inboxType + } + + /** + * Test the property 'readOnly' + */ + @Test + public void readOnlyTest() { + // TODO: test readOnly + } + + /** + * Test the property 'virtualInbox' + */ + @Test + public void virtualInboxTest() { + // TODO: test virtualInbox + } + +} diff --git a/src/test/java/com/mailslurp/models/PageAliasTest.java b/src/test/java/com/mailslurp/models/PageAliasTest.java new file mode 100644 index 000000000..8b5112e35 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageAliasTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.AliasProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageAlias + */ +public class PageAliasTest { + private final PageAlias model = new PageAlias(); + + /** + * Model tests for PageAlias + */ + @Test + public void testPageAlias() { + // TODO: test PageAlias + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageAttachmentEntityTest.java b/src/test/java/com/mailslurp/models/PageAttachmentEntityTest.java new file mode 100644 index 000000000..32f0fcc79 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageAttachmentEntityTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.AttachmentProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageAttachmentEntity + */ +public class PageAttachmentEntityTest { + private final PageAttachmentEntity model = new PageAttachmentEntity(); + + /** + * Model tests for PageAttachmentEntity + */ + @Test + public void testPageAttachmentEntity() { + // TODO: test PageAttachmentEntity + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageBouncedEmailTest.java b/src/test/java/com/mailslurp/models/PageBouncedEmailTest.java new file mode 100644 index 000000000..4960d6f50 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageBouncedEmailTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.BounceProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageBouncedEmail + */ +public class PageBouncedEmailTest { + private final PageBouncedEmail model = new PageBouncedEmail(); + + /** + * Model tests for PageBouncedEmail + */ + @Test + public void testPageBouncedEmail() { + // TODO: test PageBouncedEmail + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageBouncedRecipientsTest.java b/src/test/java/com/mailslurp/models/PageBouncedRecipientsTest.java new file mode 100644 index 000000000..f9cbad211 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageBouncedRecipientsTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.BounceRecipientProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageBouncedRecipients + */ +public class PageBouncedRecipientsTest { + private final PageBouncedRecipients model = new PageBouncedRecipients(); + + /** + * Model tests for PageBouncedRecipients + */ + @Test + public void testPageBouncedRecipients() { + // TODO: test PageBouncedRecipients + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageComplaintTest.java b/src/test/java/com/mailslurp/models/PageComplaintTest.java new file mode 100644 index 000000000..18a35fd97 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageComplaintTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.Complaint; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageComplaint + */ +public class PageComplaintTest { + private final PageComplaint model = new PageComplaint(); + + /** + * Model tests for PageComplaint + */ + @Test + public void testPageComplaint() { + // TODO: test PageComplaint + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageConnectorSyncEventsTest.java b/src/test/java/com/mailslurp/models/PageConnectorSyncEventsTest.java new file mode 100644 index 000000000..0972e93d0 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageConnectorSyncEventsTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorSyncEventProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageConnectorSyncEvents + */ +public class PageConnectorSyncEventsTest { + private final PageConnectorSyncEvents model = new PageConnectorSyncEvents(); + + /** + * Model tests for PageConnectorSyncEvents + */ + @Test + public void testPageConnectorSyncEvents() { + // TODO: test PageConnectorSyncEvents + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageConnectorTest.java b/src/test/java/com/mailslurp/models/PageConnectorTest.java new file mode 100644 index 000000000..8bd20518d --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageConnectorTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ConnectorProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageConnector + */ +public class PageConnectorTest { + private final PageConnector model = new PageConnector(); + + /** + * Model tests for PageConnector + */ + @Test + public void testPageConnector() { + // TODO: test PageConnector + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageContactProjectionTest.java b/src/test/java/com/mailslurp/models/PageContactProjectionTest.java new file mode 100644 index 000000000..23ca37ba2 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageContactProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ContactProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageContactProjection + */ +public class PageContactProjectionTest { + private final PageContactProjection model = new PageContactProjection(); + + /** + * Model tests for PageContactProjection + */ + @Test + public void testPageContactProjection() { + // TODO: test PageContactProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageDeliveryStatusTest.java b/src/test/java/com/mailslurp/models/PageDeliveryStatusTest.java new file mode 100644 index 000000000..cc2b3a705 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageDeliveryStatusTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.DeliveryStatusDto; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageDeliveryStatus + */ +public class PageDeliveryStatusTest { + private final PageDeliveryStatus model = new PageDeliveryStatus(); + + /** + * Model tests for PageDeliveryStatus + */ + @Test + public void testPageDeliveryStatus() { + // TODO: test PageDeliveryStatus + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageEmailPreviewTest.java b/src/test/java/com/mailslurp/models/PageEmailPreviewTest.java new file mode 100644 index 000000000..3e9c95036 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageEmailPreviewTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.EmailPreview; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageEmailPreview + */ +public class PageEmailPreviewTest { + private final PageEmailPreview model = new PageEmailPreview(); + + /** + * Model tests for PageEmailPreview + */ + @Test + public void testPageEmailPreview() { + // TODO: test PageEmailPreview + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageEmailProjectionTest.java b/src/test/java/com/mailslurp/models/PageEmailProjectionTest.java new file mode 100644 index 000000000..c9680bc10 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageEmailProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.EmailProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageEmailProjection + */ +public class PageEmailProjectionTest { + private final PageEmailProjection model = new PageEmailProjection(); + + /** + * Model tests for PageEmailProjection + */ + @Test + public void testPageEmailProjection() { + // TODO: test PageEmailProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageEmailValidationRequestTest.java b/src/test/java/com/mailslurp/models/PageEmailValidationRequestTest.java new file mode 100644 index 000000000..9e2f27507 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageEmailValidationRequestTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.EmailValidationRequestDto; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageEmailValidationRequest + */ +public class PageEmailValidationRequestTest { + private final PageEmailValidationRequest model = new PageEmailValidationRequest(); + + /** + * Model tests for PageEmailValidationRequest + */ + @Test + public void testPageEmailValidationRequest() { + // TODO: test PageEmailValidationRequest + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageExpiredInboxRecordProjectionTest.java b/src/test/java/com/mailslurp/models/PageExpiredInboxRecordProjectionTest.java new file mode 100644 index 000000000..9a766094d --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageExpiredInboxRecordProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ExpiredInboxRecordProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageExpiredInboxRecordProjection + */ +public class PageExpiredInboxRecordProjectionTest { + private final PageExpiredInboxRecordProjection model = new PageExpiredInboxRecordProjection(); + + /** + * Model tests for PageExpiredInboxRecordProjection + */ + @Test + public void testPageExpiredInboxRecordProjection() { + // TODO: test PageExpiredInboxRecordProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageGroupProjectionTest.java b/src/test/java/com/mailslurp/models/PageGroupProjectionTest.java new file mode 100644 index 000000000..a9e83080b --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageGroupProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.GroupProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageGroupProjection + */ +public class PageGroupProjectionTest { + private final PageGroupProjection model = new PageGroupProjection(); + + /** + * Model tests for PageGroupProjection + */ + @Test + public void testPageGroupProjection() { + // TODO: test PageGroupProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageInboxForwarderDtoTest.java b/src/test/java/com/mailslurp/models/PageInboxForwarderDtoTest.java new file mode 100644 index 000000000..87da049e9 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageInboxForwarderDtoTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxForwarderDto; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageInboxForwarderDto + */ +public class PageInboxForwarderDtoTest { + private final PageInboxForwarderDto model = new PageInboxForwarderDto(); + + /** + * Model tests for PageInboxForwarderDto + */ + @Test + public void testPageInboxForwarderDto() { + // TODO: test PageInboxForwarderDto + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageInboxForwarderEventsTest.java b/src/test/java/com/mailslurp/models/PageInboxForwarderEventsTest.java new file mode 100644 index 000000000..302ace65c --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageInboxForwarderEventsTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxForwarderEventProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageInboxForwarderEvents + */ +public class PageInboxForwarderEventsTest { + private final PageInboxForwarderEvents model = new PageInboxForwarderEvents(); + + /** + * Model tests for PageInboxForwarderEvents + */ + @Test + public void testPageInboxForwarderEvents() { + // TODO: test PageInboxForwarderEvents + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageInboxProjectionTest.java b/src/test/java/com/mailslurp/models/PageInboxProjectionTest.java new file mode 100644 index 000000000..9873f8325 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageInboxProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxPreview; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageInboxProjection + */ +public class PageInboxProjectionTest { + private final PageInboxProjection model = new PageInboxProjection(); + + /** + * Model tests for PageInboxProjection + */ + @Test + public void testPageInboxProjection() { + // TODO: test PageInboxProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageInboxReplierDtoTest.java b/src/test/java/com/mailslurp/models/PageInboxReplierDtoTest.java new file mode 100644 index 000000000..d73d2d1d4 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageInboxReplierDtoTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxReplierDto; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageInboxReplierDto + */ +public class PageInboxReplierDtoTest { + private final PageInboxReplierDto model = new PageInboxReplierDto(); + + /** + * Model tests for PageInboxReplierDto + */ + @Test + public void testPageInboxReplierDto() { + // TODO: test PageInboxReplierDto + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageInboxReplierEventsTest.java b/src/test/java/com/mailslurp/models/PageInboxReplierEventsTest.java new file mode 100644 index 000000000..a08028ac1 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageInboxReplierEventsTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxReplierEventProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageInboxReplierEvents + */ +public class PageInboxReplierEventsTest { + private final PageInboxReplierEvents model = new PageInboxReplierEvents(); + + /** + * Model tests for PageInboxReplierEvents + */ + @Test + public void testPageInboxReplierEvents() { + // TODO: test PageInboxReplierEvents + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageInboxRulesetDtoTest.java b/src/test/java/com/mailslurp/models/PageInboxRulesetDtoTest.java new file mode 100644 index 000000000..611c7c8d9 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageInboxRulesetDtoTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.InboxRulesetDto; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageInboxRulesetDto + */ +public class PageInboxRulesetDtoTest { + private final PageInboxRulesetDto model = new PageInboxRulesetDto(); + + /** + * Model tests for PageInboxRulesetDto + */ + @Test + public void testPageInboxRulesetDto() { + // TODO: test PageInboxRulesetDto + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageListUnsubscribeRecipientsTest.java b/src/test/java/com/mailslurp/models/PageListUnsubscribeRecipientsTest.java new file mode 100644 index 000000000..3e3b9a688 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageListUnsubscribeRecipientsTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.ListUnsubscribeRecipientProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageListUnsubscribeRecipients + */ +public class PageListUnsubscribeRecipientsTest { + private final PageListUnsubscribeRecipients model = new PageListUnsubscribeRecipients(); + + /** + * Model tests for PageListUnsubscribeRecipients + */ + @Test + public void testPageListUnsubscribeRecipients() { + // TODO: test PageListUnsubscribeRecipients + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageMissedEmailProjectionTest.java b/src/test/java/com/mailslurp/models/PageMissedEmailProjectionTest.java new file mode 100644 index 000000000..bf1d074e3 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageMissedEmailProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.MissedEmailProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageMissedEmailProjection + */ +public class PageMissedEmailProjectionTest { + private final PageMissedEmailProjection model = new PageMissedEmailProjection(); + + /** + * Model tests for PageMissedEmailProjection + */ + @Test + public void testPageMissedEmailProjection() { + // TODO: test PageMissedEmailProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageOrganizationInboxProjectionTest.java b/src/test/java/com/mailslurp/models/PageOrganizationInboxProjectionTest.java new file mode 100644 index 000000000..f6e321d33 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageOrganizationInboxProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.OrganizationInboxProjection; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageOrganizationInboxProjection + */ +public class PageOrganizationInboxProjectionTest { + private final PageOrganizationInboxProjection model = new PageOrganizationInboxProjection(); + + /** + * Model tests for PageOrganizationInboxProjection + */ + @Test + public void testPageOrganizationInboxProjection() { + // TODO: test PageOrganizationInboxProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PagePhoneNumberProjectionTest.java b/src/test/java/com/mailslurp/models/PagePhoneNumberProjectionTest.java new file mode 100644 index 000000000..8516854c2 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PagePhoneNumberProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.PhoneNumberProjection; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PagePhoneNumberProjection + */ +public class PagePhoneNumberProjectionTest { + private final PagePhoneNumberProjection model = new PagePhoneNumberProjection(); + + /** + * Model tests for PagePhoneNumberProjection + */ + @Test + public void testPagePhoneNumberProjection() { + // TODO: test PagePhoneNumberProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageScheduledJobsTest.java b/src/test/java/com/mailslurp/models/PageScheduledJobsTest.java new file mode 100644 index 000000000..78cdc617e --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageScheduledJobsTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.ScheduledJob; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageScheduledJobs + */ +public class PageScheduledJobsTest { + private final PageScheduledJobs model = new PageScheduledJobs(); + + /** + * Model tests for PageScheduledJobs + */ + @Test + public void testPageScheduledJobs() { + // TODO: test PageScheduledJobs + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageSentEmailProjectionTest.java b/src/test/java/com/mailslurp/models/PageSentEmailProjectionTest.java new file mode 100644 index 000000000..74c6ca0ae --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageSentEmailProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.SentEmailProjection; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageSentEmailProjection + */ +public class PageSentEmailProjectionTest { + private final PageSentEmailProjection model = new PageSentEmailProjection(); + + /** + * Model tests for PageSentEmailProjection + */ + @Test + public void testPageSentEmailProjection() { + // TODO: test PageSentEmailProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageSentEmailWithQueueProjectionTest.java b/src/test/java/com/mailslurp/models/PageSentEmailWithQueueProjectionTest.java new file mode 100644 index 000000000..bcac5de08 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageSentEmailWithQueueProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.SendWithQueueResult; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageSentEmailWithQueueProjection + */ +public class PageSentEmailWithQueueProjectionTest { + private final PageSentEmailWithQueueProjection model = new PageSentEmailWithQueueProjection(); + + /** + * Model tests for PageSentEmailWithQueueProjection + */ + @Test + public void testPageSentEmailWithQueueProjection() { + // TODO: test PageSentEmailWithQueueProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageSmsProjectionTest.java b/src/test/java/com/mailslurp/models/PageSmsProjectionTest.java new file mode 100644 index 000000000..fc4268ed7 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageSmsProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.SmsProjection; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageSmsProjection + */ +public class PageSmsProjectionTest { + private final PageSmsProjection model = new PageSmsProjection(); + + /** + * Model tests for PageSmsProjection + */ + @Test + public void testPageSmsProjection() { + // TODO: test PageSmsProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageTemplateProjectionTest.java b/src/test/java/com/mailslurp/models/PageTemplateProjectionTest.java new file mode 100644 index 000000000..40b727216 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageTemplateProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.TemplateProjection; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageTemplateProjection + */ +public class PageTemplateProjectionTest { + private final PageTemplateProjection model = new PageTemplateProjection(); + + /** + * Model tests for PageTemplateProjection + */ + @Test + public void testPageTemplateProjection() { + // TODO: test PageTemplateProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageThreadProjectionTest.java b/src/test/java/com/mailslurp/models/PageThreadProjectionTest.java new file mode 100644 index 000000000..c5bb31b50 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageThreadProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.ThreadProjection; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageThreadProjection + */ +public class PageThreadProjectionTest { + private final PageThreadProjection model = new PageThreadProjection(); + + /** + * Model tests for PageThreadProjection + */ + @Test + public void testPageThreadProjection() { + // TODO: test PageThreadProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageTrackingPixelProjectionTest.java b/src/test/java/com/mailslurp/models/PageTrackingPixelProjectionTest.java new file mode 100644 index 000000000..7b25d3171 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageTrackingPixelProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.TrackingPixelProjection; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageTrackingPixelProjection + */ +public class PageTrackingPixelProjectionTest { + private final PageTrackingPixelProjection model = new PageTrackingPixelProjection(); + + /** + * Model tests for PageTrackingPixelProjection + */ + @Test + public void testPageTrackingPixelProjection() { + // TODO: test PageTrackingPixelProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageUnknownMissedEmailProjectionTest.java b/src/test/java/com/mailslurp/models/PageUnknownMissedEmailProjectionTest.java new file mode 100644 index 000000000..788b7cd78 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageUnknownMissedEmailProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.UnknownMissedEmailProjection; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageUnknownMissedEmailProjection + */ +public class PageUnknownMissedEmailProjectionTest { + private final PageUnknownMissedEmailProjection model = new PageUnknownMissedEmailProjection(); + + /** + * Model tests for PageUnknownMissedEmailProjection + */ + @Test + public void testPageUnknownMissedEmailProjection() { + // TODO: test PageUnknownMissedEmailProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageWebhookProjectionTest.java b/src/test/java/com/mailslurp/models/PageWebhookProjectionTest.java new file mode 100644 index 000000000..541674886 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageWebhookProjectionTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.WebhookProjection; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageWebhookProjection + */ +public class PageWebhookProjectionTest { + private final PageWebhookProjection model = new PageWebhookProjection(); + + /** + * Model tests for PageWebhookProjection + */ + @Test + public void testPageWebhookProjection() { + // TODO: test PageWebhookProjection + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageWebhookResultTest.java b/src/test/java/com/mailslurp/models/PageWebhookResultTest.java new file mode 100644 index 000000000..676fade83 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageWebhookResultTest.java @@ -0,0 +1,143 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.PageableObject; +import com.mailslurp.models.Sort; +import com.mailslurp.models.WebhookResultDto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageWebhookResult + */ +public class PageWebhookResultTest { + private final PageWebhookResult model = new PageWebhookResult(); + + /** + * Model tests for PageWebhookResult + */ + @Test + public void testPageWebhookResult() { + // TODO: test PageWebhookResult + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'pageable' + */ + @Test + public void pageableTest() { + // TODO: test pageable + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'totalElements' + */ + @Test + public void totalElementsTest() { + // TODO: test totalElements + } + + /** + * Test the property 'totalPages' + */ + @Test + public void totalPagesTest() { + // TODO: test totalPages + } + + /** + * Test the property 'last' + */ + @Test + public void lastTest() { + // TODO: test last + } + + /** + * Test the property 'size' + */ + @Test + public void sizeTest() { + // TODO: test size + } + + /** + * Test the property 'number' + */ + @Test + public void numberTest() { + // TODO: test number + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'numberOfElements' + */ + @Test + public void numberOfElementsTest() { + // TODO: test numberOfElements + } + + /** + * Test the property 'first' + */ + @Test + public void firstTest() { + // TODO: test first + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + +} diff --git a/src/test/java/com/mailslurp/models/PageableObjectTest.java b/src/test/java/com/mailslurp/models/PageableObjectTest.java new file mode 100644 index 000000000..ae0e66fb5 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PageableObjectTest.java @@ -0,0 +1,91 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.Sort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PageableObject + */ +public class PageableObjectTest { + private final PageableObject model = new PageableObject(); + + /** + * Model tests for PageableObject + */ + @Test + public void testPageableObject() { + // TODO: test PageableObject + } + + /** + * Test the property 'offset' + */ + @Test + public void offsetTest() { + // TODO: test offset + } + + /** + * Test the property 'sort' + */ + @Test + public void sortTest() { + // TODO: test sort + } + + /** + * Test the property 'pageNumber' + */ + @Test + public void pageNumberTest() { + // TODO: test pageNumber + } + + /** + * Test the property 'pageSize' + */ + @Test + public void pageSizeTest() { + // TODO: test pageSize + } + + /** + * Test the property 'paged' + */ + @Test + public void pagedTest() { + // TODO: test paged + } + + /** + * Test the property 'unpaged' + */ + @Test + public void unpagedTest() { + // TODO: test unpaged + } + +} diff --git a/src/test/java/com/mailslurp/models/PhoneNumberDtoTest.java b/src/test/java/com/mailslurp/models/PhoneNumberDtoTest.java new file mode 100644 index 000000000..a0a90c564 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PhoneNumberDtoTest.java @@ -0,0 +1,116 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PhoneNumberDto + */ +public class PhoneNumberDtoTest { + private final PhoneNumberDto model = new PhoneNumberDto(); + + /** + * Model tests for PhoneNumberDto + */ + @Test + public void testPhoneNumberDto() { + // TODO: test PhoneNumberDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'complianceAddress' + */ + @Test + public void complianceAddressTest() { + // TODO: test complianceAddress + } + + /** + * Test the property 'emergencyAddress' + */ + @Test + public void emergencyAddressTest() { + // TODO: test emergencyAddress + } + + /** + * Test the property 'phoneNumber' + */ + @Test + public void phoneNumberTest() { + // TODO: test phoneNumber + } + + /** + * Test the property 'phoneCountry' + */ + @Test + public void phoneCountryTest() { + // TODO: test phoneCountry + } + + /** + * Test the property 'phonePlan' + */ + @Test + public void phonePlanTest() { + // TODO: test phonePlan + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/PhoneNumberProjectionTest.java b/src/test/java/com/mailslurp/models/PhoneNumberProjectionTest.java new file mode 100644 index 000000000..01d1109d1 --- /dev/null +++ b/src/test/java/com/mailslurp/models/PhoneNumberProjectionTest.java @@ -0,0 +1,84 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PhoneNumberProjection + */ +public class PhoneNumberProjectionTest { + private final PhoneNumberProjection model = new PhoneNumberProjection(); + + /** + * Model tests for PhoneNumberProjection + */ + @Test + public void testPhoneNumberProjection() { + // TODO: test PhoneNumberProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'phoneNumber' + */ + @Test + public void phoneNumberTest() { + // TODO: test phoneNumber + } + + /** + * Test the property 'phoneCountry' + */ + @Test + public void phoneCountryTest() { + // TODO: test phoneCountry + } + +} diff --git a/src/test/java/com/mailslurp/models/PhonePlanDtoTest.java b/src/test/java/com/mailslurp/models/PhonePlanDtoTest.java new file mode 100644 index 000000000..6e96a69da --- /dev/null +++ b/src/test/java/com/mailslurp/models/PhonePlanDtoTest.java @@ -0,0 +1,76 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for PhonePlanDto + */ +public class PhonePlanDtoTest { + private final PhonePlanDto model = new PhonePlanDto(); + + /** + * Model tests for PhonePlanDto + */ + @Test + public void testPhonePlanDto() { + // TODO: test PhonePlanDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'phoneCountry' + */ + @Test + public void phoneCountryTest() { + // TODO: test phoneCountry + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/RawEmailJsonTest.java b/src/test/java/com/mailslurp/models/RawEmailJsonTest.java new file mode 100644 index 000000000..6559dcf3b --- /dev/null +++ b/src/test/java/com/mailslurp/models/RawEmailJsonTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for RawEmailJson + */ +public class RawEmailJsonTest { + private final RawEmailJson model = new RawEmailJson(); + + /** + * Model tests for RawEmailJson + */ + @Test + public void testRawEmailJson() { + // TODO: test RawEmailJson + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + +} diff --git a/src/test/java/com/mailslurp/models/RecipientTest.java b/src/test/java/com/mailslurp/models/RecipientTest.java new file mode 100644 index 000000000..5b2883326 --- /dev/null +++ b/src/test/java/com/mailslurp/models/RecipientTest.java @@ -0,0 +1,67 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for Recipient + */ +public class RecipientTest { + private final Recipient model = new Recipient(); + + /** + * Model tests for Recipient + */ + @Test + public void testRecipient() { + // TODO: test Recipient + } + + /** + * Test the property 'rawValue' + */ + @Test + public void rawValueTest() { + // TODO: test rawValue + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + +} diff --git a/src/test/java/com/mailslurp/models/ReplyToAliasEmailOptionsTest.java b/src/test/java/com/mailslurp/models/ReplyToAliasEmailOptionsTest.java new file mode 100644 index 000000000..b038db823 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ReplyToAliasEmailOptionsTest.java @@ -0,0 +1,120 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ReplyToAliasEmailOptions + */ +public class ReplyToAliasEmailOptionsTest { + private final ReplyToAliasEmailOptions model = new ReplyToAliasEmailOptions(); + + /** + * Model tests for ReplyToAliasEmailOptions + */ + @Test + public void testReplyToAliasEmailOptions() { + // TODO: test ReplyToAliasEmailOptions + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'isHTML' + */ + @Test + public void isHTMLTest() { + // TODO: test isHTML + } + + /** + * Test the property 'charset' + */ + @Test + public void charsetTest() { + // TODO: test charset + } + + /** + * Test the property 'attachments' + */ + @Test + public void attachmentsTest() { + // TODO: test attachments + } + + /** + * Test the property 'templateVariables' + */ + @Test + public void templateVariablesTest() { + // TODO: test templateVariables + } + + /** + * Test the property 'template' + */ + @Test + public void templateTest() { + // TODO: test template + } + + /** + * Test the property 'sendStrategy' + */ + @Test + public void sendStrategyTest() { + // TODO: test sendStrategy + } + + /** + * Test the property 'useInboxName' + */ + @Test + public void useInboxNameTest() { + // TODO: test useInboxName + } + + /** + * Test the property 'html' + */ + @Test + public void htmlTest() { + // TODO: test html + } + +} diff --git a/src/test/java/com/mailslurp/models/ReplyToEmailOptionsTest.java b/src/test/java/com/mailslurp/models/ReplyToEmailOptionsTest.java new file mode 100644 index 000000000..1fa4b2db9 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ReplyToEmailOptionsTest.java @@ -0,0 +1,136 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ReplyToEmailOptions + */ +public class ReplyToEmailOptionsTest { + private final ReplyToEmailOptions model = new ReplyToEmailOptions(); + + /** + * Model tests for ReplyToEmailOptions + */ + @Test + public void testReplyToEmailOptions() { + // TODO: test ReplyToEmailOptions + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'isHTML' + */ + @Test + public void isHTMLTest() { + // TODO: test isHTML + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'replyTo' + */ + @Test + public void replyToTest() { + // TODO: test replyTo + } + + /** + * Test the property 'charset' + */ + @Test + public void charsetTest() { + // TODO: test charset + } + + /** + * Test the property 'attachments' + */ + @Test + public void attachmentsTest() { + // TODO: test attachments + } + + /** + * Test the property 'templateVariables' + */ + @Test + public void templateVariablesTest() { + // TODO: test templateVariables + } + + /** + * Test the property 'template' + */ + @Test + public void templateTest() { + // TODO: test template + } + + /** + * Test the property 'sendStrategy' + */ + @Test + public void sendStrategyTest() { + // TODO: test sendStrategy + } + + /** + * Test the property 'useInboxName' + */ + @Test + public void useInboxNameTest() { + // TODO: test useInboxName + } + + /** + * Test the property 'html' + */ + @Test + public void htmlTest() { + // TODO: test html + } + +} diff --git a/src/test/java/com/mailslurp/models/ScheduledJobDtoTest.java b/src/test/java/com/mailslurp/models/ScheduledJobDtoTest.java new file mode 100644 index 000000000..cc51cafd3 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ScheduledJobDtoTest.java @@ -0,0 +1,124 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ScheduledJobDto + */ +public class ScheduledJobDtoTest { + private final ScheduledJobDto model = new ScheduledJobDto(); + + /** + * Model tests for ScheduledJobDto + */ + @Test + public void testScheduledJobDto() { + // TODO: test ScheduledJobDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'jobId' + */ + @Test + public void jobIdTest() { + // TODO: test jobId + } + + /** + * Test the property 'groupId' + */ + @Test + public void groupIdTest() { + // TODO: test groupId + } + + /** + * Test the property 'triggerId' + */ + @Test + public void triggerIdTest() { + // TODO: test triggerId + } + + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } + + /** + * Test the property 'sendAtTimestamp' + */ + @Test + public void sendAtTimestampTest() { + // TODO: test sendAtTimestamp + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/ScheduledJobTest.java b/src/test/java/com/mailslurp/models/ScheduledJobTest.java new file mode 100644 index 000000000..1c0e139ed --- /dev/null +++ b/src/test/java/com/mailslurp/models/ScheduledJobTest.java @@ -0,0 +1,124 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ScheduledJob + */ +public class ScheduledJobTest { + private final ScheduledJob model = new ScheduledJob(); + + /** + * Model tests for ScheduledJob + */ + @Test + public void testScheduledJob() { + // TODO: test ScheduledJob + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'jobId' + */ + @Test + public void jobIdTest() { + // TODO: test jobId + } + + /** + * Test the property 'groupId' + */ + @Test + public void groupIdTest() { + // TODO: test groupId + } + + /** + * Test the property 'triggerId' + */ + @Test + public void triggerIdTest() { + // TODO: test triggerId + } + + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } + + /** + * Test the property 'sendAtTimestamp' + */ + @Test + public void sendAtTimestampTest() { + // TODO: test sendAtTimestamp + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/SendEmailOptionsTest.java b/src/test/java/com/mailslurp/models/SendEmailOptionsTest.java new file mode 100644 index 000000000..be2ab1125 --- /dev/null +++ b/src/test/java/com/mailslurp/models/SendEmailOptionsTest.java @@ -0,0 +1,208 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for SendEmailOptions + */ +public class SendEmailOptionsTest { + private final SendEmailOptions model = new SendEmailOptions(); + + /** + * Model tests for SendEmailOptions + */ + @Test + public void testSendEmailOptions() { + // TODO: test SendEmailOptions + } + + /** + * Test the property 'toContacts' + */ + @Test + public void toContactsTest() { + // TODO: test toContacts + } + + /** + * Test the property 'toGroup' + */ + @Test + public void toGroupTest() { + // TODO: test toGroup + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'cc' + */ + @Test + public void ccTest() { + // TODO: test cc + } + + /** + * Test the property 'bcc' + */ + @Test + public void bccTest() { + // TODO: test bcc + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'replyTo' + */ + @Test + public void replyToTest() { + // TODO: test replyTo + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'html' + */ + @Test + public void htmlTest() { + // TODO: test html + } + + /** + * Test the property 'isHTML' + */ + @Test + public void isHTMLTest() { + // TODO: test isHTML + } + + /** + * Test the property 'charset' + */ + @Test + public void charsetTest() { + // TODO: test charset + } + + /** + * Test the property 'attachments' + */ + @Test + public void attachmentsTest() { + // TODO: test attachments + } + + /** + * Test the property 'templateVariables' + */ + @Test + public void templateVariablesTest() { + // TODO: test templateVariables + } + + /** + * Test the property 'template' + */ + @Test + public void templateTest() { + // TODO: test template + } + + /** + * Test the property 'sendStrategy' + */ + @Test + public void sendStrategyTest() { + // TODO: test sendStrategy + } + + /** + * Test the property 'useInboxName' + */ + @Test + public void useInboxNameTest() { + // TODO: test useInboxName + } + + /** + * Test the property 'addTrackingPixel' + */ + @Test + public void addTrackingPixelTest() { + // TODO: test addTrackingPixel + } + + /** + * Test the property 'filterBouncedRecipients' + */ + @Test + public void filterBouncedRecipientsTest() { + // TODO: test filterBouncedRecipients + } + + /** + * Test the property 'validateEmailAddresses' + */ + @Test + public void validateEmailAddressesTest() { + // TODO: test validateEmailAddresses + } + +} diff --git a/src/test/java/com/mailslurp/models/SendSMTPEnvelopeOptionsTest.java b/src/test/java/com/mailslurp/models/SendSMTPEnvelopeOptionsTest.java new file mode 100644 index 000000000..df1ea5f1e --- /dev/null +++ b/src/test/java/com/mailslurp/models/SendSMTPEnvelopeOptionsTest.java @@ -0,0 +1,68 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for SendSMTPEnvelopeOptions + */ +public class SendSMTPEnvelopeOptionsTest { + private final SendSMTPEnvelopeOptions model = new SendSMTPEnvelopeOptions(); + + /** + * Model tests for SendSMTPEnvelopeOptions + */ + @Test + public void testSendSMTPEnvelopeOptions() { + // TODO: test SendSMTPEnvelopeOptions + } + + /** + * Test the property 'rcptTo' + */ + @Test + public void rcptToTest() { + // TODO: test rcptTo + } + + /** + * Test the property 'mailFrom' + */ + @Test + public void mailFromTest() { + // TODO: test mailFrom + } + + /** + * Test the property 'data' + */ + @Test + public void dataTest() { + // TODO: test data + } + +} diff --git a/src/test/java/com/mailslurp/models/SendWithQueueResultTest.java b/src/test/java/com/mailslurp/models/SendWithQueueResultTest.java new file mode 100644 index 000000000..6cb58fb49 --- /dev/null +++ b/src/test/java/com/mailslurp/models/SendWithQueueResultTest.java @@ -0,0 +1,124 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for SendWithQueueResult + */ +public class SendWithQueueResultTest { + private final SendWithQueueResult model = new SendWithQueueResult(); + + /** + * Model tests for SendWithQueueResult + */ + @Test + public void testSendWithQueueResult() { + // TODO: test SendWithQueueResult + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'headerId' + */ + @Test + public void headerIdTest() { + // TODO: test headerId + } + + /** + * Test the property 'delivered' + */ + @Test + public void deliveredTest() { + // TODO: test delivered + } + + /** + * Test the property 'exceptionName' + */ + @Test + public void exceptionNameTest() { + // TODO: test exceptionName + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/SenderTest.java b/src/test/java/com/mailslurp/models/SenderTest.java new file mode 100644 index 000000000..ee0756724 --- /dev/null +++ b/src/test/java/com/mailslurp/models/SenderTest.java @@ -0,0 +1,66 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for Sender + */ +public class SenderTest { + private final Sender model = new Sender(); + + /** + * Model tests for Sender + */ + @Test + public void testSender() { + // TODO: test Sender + } + + /** + * Test the property 'rawValue' + */ + @Test + public void rawValueTest() { + // TODO: test rawValue + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + +} diff --git a/src/test/java/com/mailslurp/models/SentEmailDtoTest.java b/src/test/java/com/mailslurp/models/SentEmailDtoTest.java new file mode 100644 index 000000000..7caf93d74 --- /dev/null +++ b/src/test/java/com/mailslurp/models/SentEmailDtoTest.java @@ -0,0 +1,249 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for SentEmailDto + */ +public class SentEmailDtoTest { + private final SentEmailDto model = new SentEmailDto(); + + /** + * Model tests for SentEmailDto + */ + @Test + public void testSentEmailDto() { + // TODO: test SentEmailDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'domainId' + */ + @Test + public void domainIdTest() { + // TODO: test domainId + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'replyTo' + */ + @Test + public void replyToTest() { + // TODO: test replyTo + } + + /** + * Test the property 'cc' + */ + @Test + public void ccTest() { + // TODO: test cc + } + + /** + * Test the property 'bcc' + */ + @Test + public void bccTest() { + // TODO: test bcc + } + + /** + * Test the property 'attachments' + */ + @Test + public void attachmentsTest() { + // TODO: test attachments + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'bodyMD5Hash' + */ + @Test + public void bodyMD5HashTest() { + // TODO: test bodyMD5Hash + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'toContacts' + */ + @Test + public void toContactsTest() { + // TODO: test toContacts + } + + /** + * Test the property 'toGroup' + */ + @Test + public void toGroupTest() { + // TODO: test toGroup + } + + /** + * Test the property 'charset' + */ + @Test + public void charsetTest() { + // TODO: test charset + } + + /** + * Test the property 'isHTML' + */ + @Test + public void isHTMLTest() { + // TODO: test isHTML + } + + /** + * Test the property 'sentAt' + */ + @Test + public void sentAtTest() { + // TODO: test sentAt + } + + /** + * Test the property 'pixelIds' + */ + @Test + public void pixelIdsTest() { + // TODO: test pixelIds + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'messageIds' + */ + @Test + public void messageIdsTest() { + // TODO: test messageIds + } + + /** + * Test the property 'virtualSend' + */ + @Test + public void virtualSendTest() { + // TODO: test virtualSend + } + + /** + * Test the property 'templateId' + */ + @Test + public void templateIdTest() { + // TODO: test templateId + } + + /** + * Test the property 'templateVariables' + */ + @Test + public void templateVariablesTest() { + // TODO: test templateVariables + } + + /** + * Test the property 'html' + */ + @Test + public void htmlTest() { + // TODO: test html + } + +} diff --git a/src/test/java/com/mailslurp/models/SentEmailProjectionTest.java b/src/test/java/com/mailslurp/models/SentEmailProjectionTest.java new file mode 100644 index 000000000..03854cc4f --- /dev/null +++ b/src/test/java/com/mailslurp/models/SentEmailProjectionTest.java @@ -0,0 +1,142 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for SentEmailProjection + */ +public class SentEmailProjectionTest { + private final SentEmailProjection model = new SentEmailProjection(); + + /** + * Model tests for SentEmailProjection + */ + @Test + public void testSentEmailProjection() { + // TODO: test SentEmailProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'attachments' + */ + @Test + public void attachmentsTest() { + // TODO: test attachments + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'bcc' + */ + @Test + public void bccTest() { + // TODO: test bcc + } + + /** + * Test the property 'cc' + */ + @Test + public void ccTest() { + // TODO: test cc + } + + /** + * Test the property 'bodyMD5Hash' + */ + @Test + public void bodyMD5HashTest() { + // TODO: test bodyMD5Hash + } + + /** + * Test the property 'virtualSend' + */ + @Test + public void virtualSendTest() { + // TODO: test virtualSend + } + +} diff --git a/src/test/java/com/mailslurp/models/SetInboxFavouritedOptionsTest.java b/src/test/java/com/mailslurp/models/SetInboxFavouritedOptionsTest.java new file mode 100644 index 000000000..756a9d517 --- /dev/null +++ b/src/test/java/com/mailslurp/models/SetInboxFavouritedOptionsTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for SetInboxFavouritedOptions + */ +public class SetInboxFavouritedOptionsTest { + private final SetInboxFavouritedOptions model = new SetInboxFavouritedOptions(); + + /** + * Model tests for SetInboxFavouritedOptions + */ + @Test + public void testSetInboxFavouritedOptions() { + // TODO: test SetInboxFavouritedOptions + } + + /** + * Test the property 'state' + */ + @Test + public void stateTest() { + // TODO: test state + } + +} diff --git a/src/test/java/com/mailslurp/models/SimpleSendEmailOptionsTest.java b/src/test/java/com/mailslurp/models/SimpleSendEmailOptionsTest.java new file mode 100644 index 000000000..77b6e2942 --- /dev/null +++ b/src/test/java/com/mailslurp/models/SimpleSendEmailOptionsTest.java @@ -0,0 +1,76 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for SimpleSendEmailOptions + */ +public class SimpleSendEmailOptionsTest { + private final SimpleSendEmailOptions model = new SimpleSendEmailOptions(); + + /** + * Model tests for SimpleSendEmailOptions + */ + @Test + public void testSimpleSendEmailOptions() { + // TODO: test SimpleSendEmailOptions + } + + /** + * Test the property 'senderId' + */ + @Test + public void senderIdTest() { + // TODO: test senderId + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + +} diff --git a/src/test/java/com/mailslurp/models/SmsDtoTest.java b/src/test/java/com/mailslurp/models/SmsDtoTest.java new file mode 100644 index 000000000..c098caf45 --- /dev/null +++ b/src/test/java/com/mailslurp/models/SmsDtoTest.java @@ -0,0 +1,108 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for SmsDto + */ +public class SmsDtoTest { + private final SmsDto model = new SmsDto(); + + /** + * Model tests for SmsDto + */ + @Test + public void testSmsDto() { + // TODO: test SmsDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'phoneNumber' + */ + @Test + public void phoneNumberTest() { + // TODO: test phoneNumber + } + + /** + * Test the property 'fromNumber' + */ + @Test + public void fromNumberTest() { + // TODO: test fromNumber + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'read' + */ + @Test + public void readTest() { + // TODO: test read + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/src/test/java/com/mailslurp/models/SmsMatchOptionTest.java b/src/test/java/com/mailslurp/models/SmsMatchOptionTest.java new file mode 100644 index 000000000..2d114cfa3 --- /dev/null +++ b/src/test/java/com/mailslurp/models/SmsMatchOptionTest.java @@ -0,0 +1,66 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for SmsMatchOption + */ +public class SmsMatchOptionTest { + private final SmsMatchOption model = new SmsMatchOption(); + + /** + * Model tests for SmsMatchOption + */ + @Test + public void testSmsMatchOption() { + // TODO: test SmsMatchOption + } + + /** + * Test the property 'field' + */ + @Test + public void fieldTest() { + // TODO: test field + } + + /** + * Test the property 'should' + */ + @Test + public void shouldTest() { + // TODO: test should + } + + /** + * Test the property 'value' + */ + @Test + public void valueTest() { + // TODO: test value + } + +} diff --git a/src/test/java/com/mailslurp/models/SmsPreviewTest.java b/src/test/java/com/mailslurp/models/SmsPreviewTest.java new file mode 100644 index 000000000..bd96bb9d1 --- /dev/null +++ b/src/test/java/com/mailslurp/models/SmsPreviewTest.java @@ -0,0 +1,92 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for SmsPreview + */ +public class SmsPreviewTest { + private final SmsPreview model = new SmsPreview(); + + /** + * Model tests for SmsPreview + */ + @Test + public void testSmsPreview() { + // TODO: test SmsPreview + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'phoneNumber' + */ + @Test + public void phoneNumberTest() { + // TODO: test phoneNumber + } + + /** + * Test the property 'fromNumber' + */ + @Test + public void fromNumberTest() { + // TODO: test fromNumber + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/SmsProjectionTest.java b/src/test/java/com/mailslurp/models/SmsProjectionTest.java new file mode 100644 index 000000000..b09bc1c7e --- /dev/null +++ b/src/test/java/com/mailslurp/models/SmsProjectionTest.java @@ -0,0 +1,100 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for SmsProjection + */ +public class SmsProjectionTest { + private final SmsProjection model = new SmsProjection(); + + /** + * Model tests for SmsProjection + */ + @Test + public void testSmsProjection() { + // TODO: test SmsProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'phoneNumber' + */ + @Test + public void phoneNumberTest() { + // TODO: test phoneNumber + } + + /** + * Test the property 'fromNumber' + */ + @Test + public void fromNumberTest() { + // TODO: test fromNumber + } + + /** + * Test the property 'read' + */ + @Test + public void readTest() { + // TODO: test read + } + +} diff --git a/src/test/java/com/mailslurp/models/SortTest.java b/src/test/java/com/mailslurp/models/SortTest.java new file mode 100644 index 000000000..9d37ff8f7 --- /dev/null +++ b/src/test/java/com/mailslurp/models/SortTest.java @@ -0,0 +1,66 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for Sort + */ +public class SortTest { + private final Sort model = new Sort(); + + /** + * Model tests for Sort + */ + @Test + public void testSort() { + // TODO: test Sort + } + + /** + * Test the property 'empty' + */ + @Test + public void emptyTest() { + // TODO: test empty + } + + /** + * Test the property 'sorted' + */ + @Test + public void sortedTest() { + // TODO: test sorted + } + + /** + * Test the property 'unsorted' + */ + @Test + public void unsortedTest() { + // TODO: test unsorted + } + +} diff --git a/src/test/java/com/mailslurp/models/TemplateDtoTest.java b/src/test/java/com/mailslurp/models/TemplateDtoTest.java new file mode 100644 index 000000000..68ec36ca8 --- /dev/null +++ b/src/test/java/com/mailslurp/models/TemplateDtoTest.java @@ -0,0 +1,87 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.TemplateVariable; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for TemplateDto + */ +public class TemplateDtoTest { + private final TemplateDto model = new TemplateDto(); + + /** + * Model tests for TemplateDto + */ + @Test + public void testTemplateDto() { + // TODO: test TemplateDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'variables' + */ + @Test + public void variablesTest() { + // TODO: test variables + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/TemplatePreviewTest.java b/src/test/java/com/mailslurp/models/TemplatePreviewTest.java new file mode 100644 index 000000000..3d7960731 --- /dev/null +++ b/src/test/java/com/mailslurp/models/TemplatePreviewTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for TemplatePreview + */ +public class TemplatePreviewTest { + private final TemplatePreview model = new TemplatePreview(); + + /** + * Model tests for TemplatePreview + */ + @Test + public void testTemplatePreview() { + // TODO: test TemplatePreview + } + + /** + * Test the property 'preview' + */ + @Test + public void previewTest() { + // TODO: test preview + } + +} diff --git a/src/test/java/com/mailslurp/models/TemplateProjectionTest.java b/src/test/java/com/mailslurp/models/TemplateProjectionTest.java new file mode 100644 index 000000000..dbca89f53 --- /dev/null +++ b/src/test/java/com/mailslurp/models/TemplateProjectionTest.java @@ -0,0 +1,86 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for TemplateProjection + */ +public class TemplateProjectionTest { + private final TemplateProjection model = new TemplateProjection(); + + /** + * Model tests for TemplateProjection + */ + @Test + public void testTemplateProjection() { + // TODO: test TemplateProjection + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'variables' + */ + @Test + public void variablesTest() { + // TODO: test variables + } + +} diff --git a/src/test/java/com/mailslurp/models/TemplateVariableTest.java b/src/test/java/com/mailslurp/models/TemplateVariableTest.java new file mode 100644 index 000000000..8cfe24ca5 --- /dev/null +++ b/src/test/java/com/mailslurp/models/TemplateVariableTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for TemplateVariable + */ +public class TemplateVariableTest { + private final TemplateVariable model = new TemplateVariable(); + + /** + * Model tests for TemplateVariable + */ + @Test + public void testTemplateVariable() { + // TODO: test TemplateVariable + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'variableType' + */ + @Test + public void variableTypeTest() { + // TODO: test variableType + } + +} diff --git a/src/test/java/com/mailslurp/models/TestNewInboxForwarderOptionsTest.java b/src/test/java/com/mailslurp/models/TestNewInboxForwarderOptionsTest.java new file mode 100644 index 000000000..5377c026a --- /dev/null +++ b/src/test/java/com/mailslurp/models/TestNewInboxForwarderOptionsTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.CreateInboxForwarderOptions; +import com.mailslurp.models.InboxForwarderTestOptions; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for TestNewInboxForwarderOptions + */ +public class TestNewInboxForwarderOptionsTest { + private final TestNewInboxForwarderOptions model = new TestNewInboxForwarderOptions(); + + /** + * Model tests for TestNewInboxForwarderOptions + */ + @Test + public void testTestNewInboxForwarderOptions() { + // TODO: test TestNewInboxForwarderOptions + } + + /** + * Test the property 'inboxForwarderTestOptions' + */ + @Test + public void inboxForwarderTestOptionsTest() { + // TODO: test inboxForwarderTestOptions + } + + /** + * Test the property 'createInboxForwarderOptions' + */ + @Test + public void createInboxForwarderOptionsTest() { + // TODO: test createInboxForwarderOptions + } + +} diff --git a/src/test/java/com/mailslurp/models/TestNewInboxRulesetOptionsTest.java b/src/test/java/com/mailslurp/models/TestNewInboxRulesetOptionsTest.java new file mode 100644 index 000000000..367b8ccbb --- /dev/null +++ b/src/test/java/com/mailslurp/models/TestNewInboxRulesetOptionsTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.CreateInboxRulesetOptions; +import com.mailslurp.models.InboxRulesetTestOptions; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for TestNewInboxRulesetOptions + */ +public class TestNewInboxRulesetOptionsTest { + private final TestNewInboxRulesetOptions model = new TestNewInboxRulesetOptions(); + + /** + * Model tests for TestNewInboxRulesetOptions + */ + @Test + public void testTestNewInboxRulesetOptions() { + // TODO: test TestNewInboxRulesetOptions + } + + /** + * Test the property 'inboxRulesetTestOptions' + */ + @Test + public void inboxRulesetTestOptionsTest() { + // TODO: test inboxRulesetTestOptions + } + + /** + * Test the property 'createInboxRulesetOptions' + */ + @Test + public void createInboxRulesetOptionsTest() { + // TODO: test createInboxRulesetOptions + } + +} diff --git a/src/test/java/com/mailslurp/models/TestPhoneNumberOptionsTest.java b/src/test/java/com/mailslurp/models/TestPhoneNumberOptionsTest.java new file mode 100644 index 000000000..acaf1ae64 --- /dev/null +++ b/src/test/java/com/mailslurp/models/TestPhoneNumberOptionsTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for TestPhoneNumberOptions + */ +public class TestPhoneNumberOptionsTest { + private final TestPhoneNumberOptions model = new TestPhoneNumberOptions(); + + /** + * Model tests for TestPhoneNumberOptions + */ + @Test + public void testTestPhoneNumberOptions() { + // TODO: test TestPhoneNumberOptions + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + +} diff --git a/src/test/java/com/mailslurp/models/ThreadProjectionTest.java b/src/test/java/com/mailslurp/models/ThreadProjectionTest.java new file mode 100644 index 000000000..e3e15bb6f --- /dev/null +++ b/src/test/java/com/mailslurp/models/ThreadProjectionTest.java @@ -0,0 +1,134 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ThreadProjection + */ +public class ThreadProjectionTest { + private final ThreadProjection model = new ThreadProjection(); + + /** + * Model tests for ThreadProjection + */ + @Test + public void testThreadProjection() { + // TODO: test ThreadProjection + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'bcc' + */ + @Test + public void bccTest() { + // TODO: test bcc + } + + /** + * Test the property 'cc' + */ + @Test + public void ccTest() { + // TODO: test cc + } + + /** + * Test the property 'aliasId' + */ + @Test + public void aliasIdTest() { + // TODO: test aliasId + } + +} diff --git a/src/test/java/com/mailslurp/models/TrackingPixelDtoTest.java b/src/test/java/com/mailslurp/models/TrackingPixelDtoTest.java new file mode 100644 index 000000000..ec3cefdd2 --- /dev/null +++ b/src/test/java/com/mailslurp/models/TrackingPixelDtoTest.java @@ -0,0 +1,117 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for TrackingPixelDto + */ +public class TrackingPixelDtoTest { + private final TrackingPixelDto model = new TrackingPixelDto(); + + /** + * Model tests for TrackingPixelDto + */ + @Test + public void testTrackingPixelDto() { + // TODO: test TrackingPixelDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'seen' + */ + @Test + public void seenTest() { + // TODO: test seen + } + + /** + * Test the property 'recipient' + */ + @Test + public void recipientTest() { + // TODO: test recipient + } + + /** + * Test the property 'html' + */ + @Test + public void htmlTest() { + // TODO: test html + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'sentEmailId' + */ + @Test + public void sentEmailIdTest() { + // TODO: test sentEmailId + } + + /** + * Test the property 'seenAt' + */ + @Test + public void seenAtTest() { + // TODO: test seenAt + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/TrackingPixelProjectionTest.java b/src/test/java/com/mailslurp/models/TrackingPixelProjectionTest.java new file mode 100644 index 000000000..9425f68ef --- /dev/null +++ b/src/test/java/com/mailslurp/models/TrackingPixelProjectionTest.java @@ -0,0 +1,116 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for TrackingPixelProjection + */ +public class TrackingPixelProjectionTest { + private final TrackingPixelProjection model = new TrackingPixelProjection(); + + /** + * Model tests for TrackingPixelProjection + */ + @Test + public void testTrackingPixelProjection() { + // TODO: test TrackingPixelProjection + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'sentEmailId' + */ + @Test + public void sentEmailIdTest() { + // TODO: test sentEmailId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'recipient' + */ + @Test + public void recipientTest() { + // TODO: test recipient + } + + /** + * Test the property 'seen' + */ + @Test + public void seenTest() { + // TODO: test seen + } + + /** + * Test the property 'seenAt' + */ + @Test + public void seenAtTest() { + // TODO: test seenAt + } + +} diff --git a/src/test/java/com/mailslurp/models/UnknownMissedEmailProjectionTest.java b/src/test/java/com/mailslurp/models/UnknownMissedEmailProjectionTest.java new file mode 100644 index 000000000..db06f79d0 --- /dev/null +++ b/src/test/java/com/mailslurp/models/UnknownMissedEmailProjectionTest.java @@ -0,0 +1,86 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UnknownMissedEmailProjection + */ +public class UnknownMissedEmailProjectionTest { + private final UnknownMissedEmailProjection model = new UnknownMissedEmailProjection(); + + /** + * Model tests for UnknownMissedEmailProjection + */ + @Test + public void testUnknownMissedEmailProjection() { + // TODO: test UnknownMissedEmailProjection + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + +} diff --git a/src/test/java/com/mailslurp/models/UnreadCountTest.java b/src/test/java/com/mailslurp/models/UnreadCountTest.java new file mode 100644 index 000000000..c45f20894 --- /dev/null +++ b/src/test/java/com/mailslurp/models/UnreadCountTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UnreadCount + */ +public class UnreadCountTest { + private final UnreadCount model = new UnreadCount(); + + /** + * Model tests for UnreadCount + */ + @Test + public void testUnreadCount() { + // TODO: test UnreadCount + } + + /** + * Test the property 'count' + */ + @Test + public void countTest() { + // TODO: test count + } + +} diff --git a/src/test/java/com/mailslurp/models/UnseenErrorCountDtoTest.java b/src/test/java/com/mailslurp/models/UnseenErrorCountDtoTest.java new file mode 100644 index 000000000..98c159fd8 --- /dev/null +++ b/src/test/java/com/mailslurp/models/UnseenErrorCountDtoTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UnseenErrorCountDto + */ +public class UnseenErrorCountDtoTest { + private final UnseenErrorCountDto model = new UnseenErrorCountDto(); + + /** + * Model tests for UnseenErrorCountDto + */ + @Test + public void testUnseenErrorCountDto() { + // TODO: test UnseenErrorCountDto + } + + /** + * Test the property 'count' + */ + @Test + public void countTest() { + // TODO: test count + } + +} diff --git a/src/test/java/com/mailslurp/models/UpdateAliasOptionsTest.java b/src/test/java/com/mailslurp/models/UpdateAliasOptionsTest.java new file mode 100644 index 000000000..e4591cae5 --- /dev/null +++ b/src/test/java/com/mailslurp/models/UpdateAliasOptionsTest.java @@ -0,0 +1,51 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UpdateAliasOptions + */ +public class UpdateAliasOptionsTest { + private final UpdateAliasOptions model = new UpdateAliasOptions(); + + /** + * Model tests for UpdateAliasOptions + */ + @Test + public void testUpdateAliasOptions() { + // TODO: test UpdateAliasOptions + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + +} diff --git a/src/test/java/com/mailslurp/models/UpdateDomainOptionsTest.java b/src/test/java/com/mailslurp/models/UpdateDomainOptionsTest.java new file mode 100644 index 000000000..82efe49d1 --- /dev/null +++ b/src/test/java/com/mailslurp/models/UpdateDomainOptionsTest.java @@ -0,0 +1,52 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UpdateDomainOptions + */ +public class UpdateDomainOptionsTest { + private final UpdateDomainOptions model = new UpdateDomainOptions(); + + /** + * Model tests for UpdateDomainOptions + */ + @Test + public void testUpdateDomainOptions() { + // TODO: test UpdateDomainOptions + } + + /** + * Test the property 'catchAllInboxId' + */ + @Test + public void catchAllInboxIdTest() { + // TODO: test catchAllInboxId + } + +} diff --git a/src/test/java/com/mailslurp/models/UpdateGroupContactsTest.java b/src/test/java/com/mailslurp/models/UpdateGroupContactsTest.java new file mode 100644 index 000000000..4d6d369bc --- /dev/null +++ b/src/test/java/com/mailslurp/models/UpdateGroupContactsTest.java @@ -0,0 +1,53 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UpdateGroupContacts + */ +public class UpdateGroupContactsTest { + private final UpdateGroupContacts model = new UpdateGroupContacts(); + + /** + * Model tests for UpdateGroupContacts + */ + @Test + public void testUpdateGroupContacts() { + // TODO: test UpdateGroupContacts + } + + /** + * Test the property 'contactIds' + */ + @Test + public void contactIdsTest() { + // TODO: test contactIds + } + +} diff --git a/src/test/java/com/mailslurp/models/UpdateInboxOptionsTest.java b/src/test/java/com/mailslurp/models/UpdateInboxOptionsTest.java new file mode 100644 index 000000000..f055bfd4a --- /dev/null +++ b/src/test/java/com/mailslurp/models/UpdateInboxOptionsTest.java @@ -0,0 +1,86 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UpdateInboxOptions + */ +public class UpdateInboxOptionsTest { + private final UpdateInboxOptions model = new UpdateInboxOptions(); + + /** + * Model tests for UpdateInboxOptions + */ + @Test + public void testUpdateInboxOptions() { + // TODO: test UpdateInboxOptions + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + + /** + * Test the property 'tags' + */ + @Test + public void tagsTest() { + // TODO: test tags + } + + /** + * Test the property 'expiresAt' + */ + @Test + public void expiresAtTest() { + // TODO: test expiresAt + } + + /** + * Test the property 'favourite' + */ + @Test + public void favouriteTest() { + // TODO: test favourite + } + +} diff --git a/src/test/java/com/mailslurp/models/UpdateInboxReplierOptionsTest.java b/src/test/java/com/mailslurp/models/UpdateInboxReplierOptionsTest.java new file mode 100644 index 000000000..7147f87bb --- /dev/null +++ b/src/test/java/com/mailslurp/models/UpdateInboxReplierOptionsTest.java @@ -0,0 +1,150 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UpdateInboxReplierOptions + */ +public class UpdateInboxReplierOptionsTest { + private final UpdateInboxReplierOptions model = new UpdateInboxReplierOptions(); + + /** + * Model tests for UpdateInboxReplierOptions + */ + @Test + public void testUpdateInboxReplierOptions() { + // TODO: test UpdateInboxReplierOptions + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'field' + */ + @Test + public void fieldTest() { + // TODO: test field + } + + /** + * Test the property 'match' + */ + @Test + public void matchTest() { + // TODO: test match + } + + /** + * Test the property 'replyTo' + */ + @Test + public void replyToTest() { + // TODO: test replyTo + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'charset' + */ + @Test + public void charsetTest() { + // TODO: test charset + } + + /** + * Test the property 'isHTML' + */ + @Test + public void isHTMLTest() { + // TODO: test isHTML + } + + /** + * Test the property 'ignoreReplyTo' + */ + @Test + public void ignoreReplyToTest() { + // TODO: test ignoreReplyTo + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'templateId' + */ + @Test + public void templateIdTest() { + // TODO: test templateId + } + + /** + * Test the property 'templateVariables' + */ + @Test + public void templateVariablesTest() { + // TODO: test templateVariables + } + +} diff --git a/src/test/java/com/mailslurp/models/UploadAttachmentBytesRequestTest.java b/src/test/java/com/mailslurp/models/UploadAttachmentBytesRequestTest.java new file mode 100644 index 000000000..904170117 --- /dev/null +++ b/src/test/java/com/mailslurp/models/UploadAttachmentBytesRequestTest.java @@ -0,0 +1,106 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UploadAttachmentBytesRequest + */ +public class UploadAttachmentBytesRequestTest { + private final UploadAttachmentBytesRequest model = new UploadAttachmentBytesRequest(); + + /** + * Model tests for UploadAttachmentBytesRequest + */ + @Test + public void testUploadAttachmentBytesRequest() { + // TODO: test UploadAttachmentBytesRequest + } + + /** + * Test the property '_short' + */ + @Test + public void _shortTest() { + // TODO: test _short + } + + /** + * Test the property '_char' + */ + @Test + public void _charTest() { + // TODO: test _char + } + + /** + * Test the property '_int' + */ + @Test + public void _intTest() { + // TODO: test _int + } + + /** + * Test the property '_long' + */ + @Test + public void _longTest() { + // TODO: test _long + } + + /** + * Test the property '_float' + */ + @Test + public void _floatTest() { + // TODO: test _float + } + + /** + * Test the property '_double' + */ + @Test + public void _doubleTest() { + // TODO: test _double + } + + /** + * Test the property 'direct' + */ + @Test + public void directTest() { + // TODO: test direct + } + + /** + * Test the property 'readOnly' + */ + @Test + public void readOnlyTest() { + // TODO: test readOnly + } + +} diff --git a/src/test/java/com/mailslurp/models/UploadAttachmentOptionsTest.java b/src/test/java/com/mailslurp/models/UploadAttachmentOptionsTest.java new file mode 100644 index 000000000..a48491a6f --- /dev/null +++ b/src/test/java/com/mailslurp/models/UploadAttachmentOptionsTest.java @@ -0,0 +1,67 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UploadAttachmentOptions + */ +public class UploadAttachmentOptionsTest { + private final UploadAttachmentOptions model = new UploadAttachmentOptions(); + + /** + * Model tests for UploadAttachmentOptions + */ + @Test + public void testUploadAttachmentOptions() { + // TODO: test UploadAttachmentOptions + } + + /** + * Test the property 'contentType' + */ + @Test + public void contentTypeTest() { + // TODO: test contentType + } + + /** + * Test the property 'filename' + */ + @Test + public void filenameTest() { + // TODO: test filename + } + + /** + * Test the property 'base64Contents' + */ + @Test + public void base64ContentsTest() { + // TODO: test base64Contents + } + +} diff --git a/src/test/java/com/mailslurp/models/UploadMultipartFormRequestTest.java b/src/test/java/com/mailslurp/models/UploadMultipartFormRequestTest.java new file mode 100644 index 000000000..ecc2953b3 --- /dev/null +++ b/src/test/java/com/mailslurp/models/UploadMultipartFormRequestTest.java @@ -0,0 +1,59 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.File; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UploadMultipartFormRequest + */ +public class UploadMultipartFormRequestTest { + private final UploadMultipartFormRequest model = new UploadMultipartFormRequest(); + + /** + * Model tests for UploadMultipartFormRequest + */ + @Test + public void testUploadMultipartFormRequest() { + // TODO: test UploadMultipartFormRequest + } + + /** + * Test the property 'contentTypeHeader' + */ + @Test + public void contentTypeHeaderTest() { + // TODO: test contentTypeHeader + } + + /** + * Test the property '_file' + */ + @Test + public void _fileTest() { + // TODO: test _file + } + +} diff --git a/src/test/java/com/mailslurp/models/UserInfoDtoTest.java b/src/test/java/com/mailslurp/models/UserInfoDtoTest.java new file mode 100644 index 000000000..6990dcf9f --- /dev/null +++ b/src/test/java/com/mailslurp/models/UserInfoDtoTest.java @@ -0,0 +1,92 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for UserInfoDto + */ +public class UserInfoDtoTest { + private final UserInfoDto model = new UserInfoDto(); + + /** + * Model tests for UserInfoDto + */ + @Test + public void testUserInfoDto() { + // TODO: test UserInfoDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'accountState' + */ + @Test + public void accountStateTest() { + // TODO: test accountState + } + + /** + * Test the property 'subscriptionType' + */ + @Test + public void subscriptionTypeTest() { + // TODO: test subscriptionType + } + + /** + * Test the property 'accountType' + */ + @Test + public void accountTypeTest() { + // TODO: test accountType + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/ValidateEmailAddressListOptionsTest.java b/src/test/java/com/mailslurp/models/ValidateEmailAddressListOptionsTest.java new file mode 100644 index 000000000..6752ba4b0 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ValidateEmailAddressListOptionsTest.java @@ -0,0 +1,52 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ValidateEmailAddressListOptions + */ +public class ValidateEmailAddressListOptionsTest { + private final ValidateEmailAddressListOptions model = new ValidateEmailAddressListOptions(); + + /** + * Model tests for ValidateEmailAddressListOptions + */ + @Test + public void testValidateEmailAddressListOptions() { + // TODO: test ValidateEmailAddressListOptions + } + + /** + * Test the property 'emailAddressList' + */ + @Test + public void emailAddressListTest() { + // TODO: test emailAddressList + } + +} diff --git a/src/test/java/com/mailslurp/models/ValidateEmailAddressListResultTest.java b/src/test/java/com/mailslurp/models/ValidateEmailAddressListResultTest.java new file mode 100644 index 000000000..b3bfd8b02 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ValidateEmailAddressListResultTest.java @@ -0,0 +1,70 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ValidateEmailAddressListResult + */ +public class ValidateEmailAddressListResultTest { + private final ValidateEmailAddressListResult model = new ValidateEmailAddressListResult(); + + /** + * Model tests for ValidateEmailAddressListResult + */ + @Test + public void testValidateEmailAddressListResult() { + // TODO: test ValidateEmailAddressListResult + } + + /** + * Test the property 'validEmailAddresses' + */ + @Test + public void validEmailAddressesTest() { + // TODO: test validEmailAddresses + } + + /** + * Test the property 'invalidEmailAddresses' + */ + @Test + public void invalidEmailAddressesTest() { + // TODO: test invalidEmailAddresses + } + + /** + * Test the property 'resultMapEmailAddressIsValid' + */ + @Test + public void resultMapEmailAddressIsValidTest() { + // TODO: test resultMapEmailAddressIsValid + } + +} diff --git a/src/test/java/com/mailslurp/models/ValidationDtoTest.java b/src/test/java/com/mailslurp/models/ValidationDtoTest.java new file mode 100644 index 000000000..a479191b0 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ValidationDtoTest.java @@ -0,0 +1,60 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.HTMLValidationResult; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ValidationDto + */ +public class ValidationDtoTest { + private final ValidationDto model = new ValidationDto(); + + /** + * Model tests for ValidationDto + */ + @Test + public void testValidationDto() { + // TODO: test ValidationDto + } + + /** + * Test the property 'emailId' + */ + @Test + public void emailIdTest() { + // TODO: test emailId + } + + /** + * Test the property 'html' + */ + @Test + public void htmlTest() { + // TODO: test html + } + +} diff --git a/src/test/java/com/mailslurp/models/ValidationMessageTest.java b/src/test/java/com/mailslurp/models/ValidationMessageTest.java new file mode 100644 index 000000000..56351a069 --- /dev/null +++ b/src/test/java/com/mailslurp/models/ValidationMessageTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for ValidationMessage + */ +public class ValidationMessageTest { + private final ValidationMessage model = new ValidationMessage(); + + /** + * Model tests for ValidationMessage + */ + @Test + public void testValidationMessage() { + // TODO: test ValidationMessage + } + + /** + * Test the property 'lineNumber' + */ + @Test + public void lineNumberTest() { + // TODO: test lineNumber + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + +} diff --git a/src/test/java/com/mailslurp/models/VerifyEmailAddressOptionsTest.java b/src/test/java/com/mailslurp/models/VerifyEmailAddressOptionsTest.java new file mode 100644 index 000000000..8b8bd4751 --- /dev/null +++ b/src/test/java/com/mailslurp/models/VerifyEmailAddressOptionsTest.java @@ -0,0 +1,75 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for VerifyEmailAddressOptions + */ +public class VerifyEmailAddressOptionsTest { + private final VerifyEmailAddressOptions model = new VerifyEmailAddressOptions(); + + /** + * Model tests for VerifyEmailAddressOptions + */ + @Test + public void testVerifyEmailAddressOptions() { + // TODO: test VerifyEmailAddressOptions + } + + /** + * Test the property 'mailServerDomain' + */ + @Test + public void mailServerDomainTest() { + // TODO: test mailServerDomain + } + + /** + * Test the property 'emailAddress' + */ + @Test + public void emailAddressTest() { + // TODO: test emailAddress + } + + /** + * Test the property 'senderEmailAddress' + */ + @Test + public void senderEmailAddressTest() { + // TODO: test senderEmailAddress + } + + /** + * Test the property 'port' + */ + @Test + public void portTest() { + // TODO: test port + } + +} diff --git a/src/test/java/com/mailslurp/models/VerifyWebhookSignatureOptionsTest.java b/src/test/java/com/mailslurp/models/VerifyWebhookSignatureOptionsTest.java new file mode 100644 index 000000000..326a34349 --- /dev/null +++ b/src/test/java/com/mailslurp/models/VerifyWebhookSignatureOptionsTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for VerifyWebhookSignatureOptions + */ +public class VerifyWebhookSignatureOptionsTest { + private final VerifyWebhookSignatureOptions model = new VerifyWebhookSignatureOptions(); + + /** + * Model tests for VerifyWebhookSignatureOptions + */ + @Test + public void testVerifyWebhookSignatureOptions() { + // TODO: test VerifyWebhookSignatureOptions + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'signature' + */ + @Test + public void signatureTest() { + // TODO: test signature + } + +} diff --git a/src/test/java/com/mailslurp/models/VerifyWebhookSignatureResultsTest.java b/src/test/java/com/mailslurp/models/VerifyWebhookSignatureResultsTest.java new file mode 100644 index 000000000..6f7e5be67 --- /dev/null +++ b/src/test/java/com/mailslurp/models/VerifyWebhookSignatureResultsTest.java @@ -0,0 +1,50 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for VerifyWebhookSignatureResults + */ +public class VerifyWebhookSignatureResultsTest { + private final VerifyWebhookSignatureResults model = new VerifyWebhookSignatureResults(); + + /** + * Model tests for VerifyWebhookSignatureResults + */ + @Test + public void testVerifyWebhookSignatureResults() { + // TODO: test VerifyWebhookSignatureResults + } + + /** + * Test the property 'isValid' + */ + @Test + public void isValidTest() { + // TODO: test isValid + } + +} diff --git a/src/test/java/com/mailslurp/models/WaitForConditionsTest.java b/src/test/java/com/mailslurp/models/WaitForConditionsTest.java new file mode 100644 index 000000000..97278c547 --- /dev/null +++ b/src/test/java/com/mailslurp/models/WaitForConditionsTest.java @@ -0,0 +1,128 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.MatchOption; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WaitForConditions + */ +public class WaitForConditionsTest { + private final WaitForConditions model = new WaitForConditions(); + + /** + * Model tests for WaitForConditions + */ + @Test + public void testWaitForConditions() { + // TODO: test WaitForConditions + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'count' + */ + @Test + public void countTest() { + // TODO: test count + } + + /** + * Test the property 'delayTimeout' + */ + @Test + public void delayTimeoutTest() { + // TODO: test delayTimeout + } + + /** + * Test the property 'timeout' + */ + @Test + public void timeoutTest() { + // TODO: test timeout + } + + /** + * Test the property 'unreadOnly' + */ + @Test + public void unreadOnlyTest() { + // TODO: test unreadOnly + } + + /** + * Test the property 'countType' + */ + @Test + public void countTypeTest() { + // TODO: test countType + } + + /** + * Test the property 'matches' + */ + @Test + public void matchesTest() { + // TODO: test matches + } + + /** + * Test the property 'sortDirection' + */ + @Test + public void sortDirectionTest() { + // TODO: test sortDirection + } + + /** + * Test the property 'since' + */ + @Test + public void sinceTest() { + // TODO: test since + } + + /** + * Test the property 'before' + */ + @Test + public void beforeTest() { + // TODO: test before + } + +} diff --git a/src/test/java/com/mailslurp/models/WaitForSingleSmsOptionsTest.java b/src/test/java/com/mailslurp/models/WaitForSingleSmsOptionsTest.java new file mode 100644 index 000000000..8976451ae --- /dev/null +++ b/src/test/java/com/mailslurp/models/WaitForSingleSmsOptionsTest.java @@ -0,0 +1,100 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WaitForSingleSmsOptions + */ +public class WaitForSingleSmsOptionsTest { + private final WaitForSingleSmsOptions model = new WaitForSingleSmsOptions(); + + /** + * Model tests for WaitForSingleSmsOptions + */ + @Test + public void testWaitForSingleSmsOptions() { + // TODO: test WaitForSingleSmsOptions + } + + /** + * Test the property 'phoneNumberId' + */ + @Test + public void phoneNumberIdTest() { + // TODO: test phoneNumberId + } + + /** + * Test the property 'timeout' + */ + @Test + public void timeoutTest() { + // TODO: test timeout + } + + /** + * Test the property 'unreadOnly' + */ + @Test + public void unreadOnlyTest() { + // TODO: test unreadOnly + } + + /** + * Test the property 'before' + */ + @Test + public void beforeTest() { + // TODO: test before + } + + /** + * Test the property 'since' + */ + @Test + public void sinceTest() { + // TODO: test since + } + + /** + * Test the property 'sortDirection' + */ + @Test + public void sortDirectionTest() { + // TODO: test sortDirection + } + + /** + * Test the property 'delay' + */ + @Test + public void delayTest() { + // TODO: test delay + } + +} diff --git a/src/test/java/com/mailslurp/models/WaitForSmsConditionsTest.java b/src/test/java/com/mailslurp/models/WaitForSmsConditionsTest.java new file mode 100644 index 000000000..e5423d33a --- /dev/null +++ b/src/test/java/com/mailslurp/models/WaitForSmsConditionsTest.java @@ -0,0 +1,136 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.SmsMatchOption; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WaitForSmsConditions + */ +public class WaitForSmsConditionsTest { + private final WaitForSmsConditions model = new WaitForSmsConditions(); + + /** + * Model tests for WaitForSmsConditions + */ + @Test + public void testWaitForSmsConditions() { + // TODO: test WaitForSmsConditions + } + + /** + * Test the property 'phoneNumberId' + */ + @Test + public void phoneNumberIdTest() { + // TODO: test phoneNumberId + } + + /** + * Test the property 'limit' + */ + @Test + public void limitTest() { + // TODO: test limit + } + + /** + * Test the property 'count' + */ + @Test + public void countTest() { + // TODO: test count + } + + /** + * Test the property 'delayTimeout' + */ + @Test + public void delayTimeoutTest() { + // TODO: test delayTimeout + } + + /** + * Test the property 'timeout' + */ + @Test + public void timeoutTest() { + // TODO: test timeout + } + + /** + * Test the property 'unreadOnly' + */ + @Test + public void unreadOnlyTest() { + // TODO: test unreadOnly + } + + /** + * Test the property 'countType' + */ + @Test + public void countTypeTest() { + // TODO: test countType + } + + /** + * Test the property 'matches' + */ + @Test + public void matchesTest() { + // TODO: test matches + } + + /** + * Test the property 'sortDirection' + */ + @Test + public void sortDirectionTest() { + // TODO: test sortDirection + } + + /** + * Test the property 'since' + */ + @Test + public void sinceTest() { + // TODO: test since + } + + /** + * Test the property 'before' + */ + @Test + public void beforeTest() { + // TODO: test before + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookBouncePayloadTest.java b/src/test/java/com/mailslurp/models/WebhookBouncePayloadTest.java new file mode 100644 index 000000000..234744b05 --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookBouncePayloadTest.java @@ -0,0 +1,110 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookBouncePayload + */ +public class WebhookBouncePayloadTest { + private final WebhookBouncePayload model = new WebhookBouncePayload(); + + /** + * Model tests for WebhookBouncePayload + */ + @Test + public void testWebhookBouncePayload() { + // TODO: test WebhookBouncePayload + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'webhookId' + */ + @Test + public void webhookIdTest() { + // TODO: test webhookId + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'webhookName' + */ + @Test + public void webhookNameTest() { + // TODO: test webhookName + } + + /** + * Test the property 'bounceId' + */ + @Test + public void bounceIdTest() { + // TODO: test bounceId + } + + /** + * Test the property 'sentToRecipients' + */ + @Test + public void sentToRecipientsTest() { + // TODO: test sentToRecipients + } + + /** + * Test the property 'sender' + */ + @Test + public void senderTest() { + // TODO: test sender + } + + /** + * Test the property 'bounceRecipients' + */ + @Test + public void bounceRecipientsTest() { + // TODO: test bounceRecipients + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookBounceRecipientPayloadTest.java b/src/test/java/com/mailslurp/models/WebhookBounceRecipientPayloadTest.java new file mode 100644 index 000000000..83073b7de --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookBounceRecipientPayloadTest.java @@ -0,0 +1,84 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookBounceRecipientPayload + */ +public class WebhookBounceRecipientPayloadTest { + private final WebhookBounceRecipientPayload model = new WebhookBounceRecipientPayload(); + + /** + * Model tests for WebhookBounceRecipientPayload + */ + @Test + public void testWebhookBounceRecipientPayload() { + // TODO: test WebhookBounceRecipientPayload + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'webhookId' + */ + @Test + public void webhookIdTest() { + // TODO: test webhookId + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'webhookName' + */ + @Test + public void webhookNameTest() { + // TODO: test webhookName + } + + /** + * Test the property 'recipient' + */ + @Test + public void recipientTest() { + // TODO: test recipient + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookDeliveryStatusPayloadTest.java b/src/test/java/com/mailslurp/models/WebhookDeliveryStatusPayloadTest.java new file mode 100644 index 000000000..c43fb0084 --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookDeliveryStatusPayloadTest.java @@ -0,0 +1,175 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookDeliveryStatusPayload + */ +public class WebhookDeliveryStatusPayloadTest { + private final WebhookDeliveryStatusPayload model = new WebhookDeliveryStatusPayload(); + + /** + * Model tests for WebhookDeliveryStatusPayload + */ + @Test + public void testWebhookDeliveryStatusPayload() { + // TODO: test WebhookDeliveryStatusPayload + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'webhookId' + */ + @Test + public void webhookIdTest() { + // TODO: test webhookId + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'webhookName' + */ + @Test + public void webhookNameTest() { + // TODO: test webhookName + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'sentId' + */ + @Test + public void sentIdTest() { + // TODO: test sentId + } + + /** + * Test the property 'remoteMtaIp' + */ + @Test + public void remoteMtaIpTest() { + // TODO: test remoteMtaIp + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'reportingMta' + */ + @Test + public void reportingMtaTest() { + // TODO: test reportingMta + } + + /** + * Test the property 'recipients' + */ + @Test + public void recipientsTest() { + // TODO: test recipients + } + + /** + * Test the property 'smtpResponse' + */ + @Test + public void smtpResponseTest() { + // TODO: test smtpResponse + } + + /** + * Test the property 'smtpStatusCode' + */ + @Test + public void smtpStatusCodeTest() { + // TODO: test smtpStatusCode + } + + /** + * Test the property 'processingTimeMillis' + */ + @Test + public void processingTimeMillisTest() { + // TODO: test processingTimeMillis + } + + /** + * Test the property 'received' + */ + @Test + public void receivedTest() { + // TODO: test received + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookDtoTest.java b/src/test/java/com/mailslurp/models/WebhookDtoTest.java new file mode 100644 index 000000000..c34f31f2a --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookDtoTest.java @@ -0,0 +1,174 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.WebhookHeaders; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookDto + */ +public class WebhookDtoTest { + private final WebhookDto model = new WebhookDto(); + + /** + * Model tests for WebhookDto + */ + @Test + public void testWebhookDto() { + // TODO: test WebhookDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'basicAuth' + */ + @Test + public void basicAuthTest() { + // TODO: test basicAuth + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'phoneId' + */ + @Test + public void phoneIdTest() { + // TODO: test phoneId + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'requestBodyTemplate' + */ + @Test + public void requestBodyTemplateTest() { + // TODO: test requestBodyTemplate + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + + /** + * Test the property 'method' + */ + @Test + public void methodTest() { + // TODO: test method + } + + /** + * Test the property 'payloadJsonSchema' + */ + @Test + public void payloadJsonSchemaTest() { + // TODO: test payloadJsonSchema + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'requestHeaders' + */ + @Test + public void requestHeadersTest() { + // TODO: test requestHeaders + } + + /** + * Test the property 'ignoreInsecureSslCertificates' + */ + @Test + public void ignoreInsecureSslCertificatesTest() { + // TODO: test ignoreInsecureSslCertificates + } + + /** + * Test the property 'useStaticIpRange' + */ + @Test + public void useStaticIpRangeTest() { + // TODO: test useStaticIpRange + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookEmailOpenedPayloadTest.java b/src/test/java/com/mailslurp/models/WebhookEmailOpenedPayloadTest.java new file mode 100644 index 000000000..ab9e96179 --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookEmailOpenedPayloadTest.java @@ -0,0 +1,117 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookEmailOpenedPayload + */ +public class WebhookEmailOpenedPayloadTest { + private final WebhookEmailOpenedPayload model = new WebhookEmailOpenedPayload(); + + /** + * Model tests for WebhookEmailOpenedPayload + */ + @Test + public void testWebhookEmailOpenedPayload() { + // TODO: test WebhookEmailOpenedPayload + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'webhookId' + */ + @Test + public void webhookIdTest() { + // TODO: test webhookId + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'webhookName' + */ + @Test + public void webhookNameTest() { + // TODO: test webhookName + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'pixelId' + */ + @Test + public void pixelIdTest() { + // TODO: test pixelId + } + + /** + * Test the property 'sentEmailId' + */ + @Test + public void sentEmailIdTest() { + // TODO: test sentEmailId + } + + /** + * Test the property 'recipient' + */ + @Test + public void recipientTest() { + // TODO: test recipient + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookEmailReadPayloadTest.java b/src/test/java/com/mailslurp/models/WebhookEmailReadPayloadTest.java new file mode 100644 index 000000000..c7f0c6220 --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookEmailReadPayloadTest.java @@ -0,0 +1,109 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookEmailReadPayload + */ +public class WebhookEmailReadPayloadTest { + private final WebhookEmailReadPayload model = new WebhookEmailReadPayload(); + + /** + * Model tests for WebhookEmailReadPayload + */ + @Test + public void testWebhookEmailReadPayload() { + // TODO: test WebhookEmailReadPayload + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'webhookId' + */ + @Test + public void webhookIdTest() { + // TODO: test webhookId + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'webhookName' + */ + @Test + public void webhookNameTest() { + // TODO: test webhookName + } + + /** + * Test the property 'emailId' + */ + @Test + public void emailIdTest() { + // TODO: test emailId + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'emailIsRead' + */ + @Test + public void emailIsReadTest() { + // TODO: test emailIsRead + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookHeaderNameValueTest.java b/src/test/java/com/mailslurp/models/WebhookHeaderNameValueTest.java new file mode 100644 index 000000000..9b75e5a7c --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookHeaderNameValueTest.java @@ -0,0 +1,58 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookHeaderNameValue + */ +public class WebhookHeaderNameValueTest { + private final WebhookHeaderNameValue model = new WebhookHeaderNameValue(); + + /** + * Model tests for WebhookHeaderNameValue + */ + @Test + public void testWebhookHeaderNameValue() { + // TODO: test WebhookHeaderNameValue + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'value' + */ + @Test + public void valueTest() { + // TODO: test value + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookHeadersTest.java b/src/test/java/com/mailslurp/models/WebhookHeadersTest.java new file mode 100644 index 000000000..716f61aaf --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookHeadersTest.java @@ -0,0 +1,53 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.WebhookHeaderNameValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookHeaders + */ +public class WebhookHeadersTest { + private final WebhookHeaders model = new WebhookHeaders(); + + /** + * Model tests for WebhookHeaders + */ + @Test + public void testWebhookHeaders() { + // TODO: test WebhookHeaders + } + + /** + * Test the property 'headers' + */ + @Test + public void headersTest() { + // TODO: test headers + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookNewAttachmentPayloadTest.java b/src/test/java/com/mailslurp/models/WebhookNewAttachmentPayloadTest.java new file mode 100644 index 000000000..a8004e921 --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookNewAttachmentPayloadTest.java @@ -0,0 +1,108 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookNewAttachmentPayload + */ +public class WebhookNewAttachmentPayloadTest { + private final WebhookNewAttachmentPayload model = new WebhookNewAttachmentPayload(); + + /** + * Model tests for WebhookNewAttachmentPayload + */ + @Test + public void testWebhookNewAttachmentPayload() { + // TODO: test WebhookNewAttachmentPayload + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'webhookId' + */ + @Test + public void webhookIdTest() { + // TODO: test webhookId + } + + /** + * Test the property 'webhookName' + */ + @Test + public void webhookNameTest() { + // TODO: test webhookName + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'attachmentId' + */ + @Test + public void attachmentIdTest() { + // TODO: test attachmentId + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'contentType' + */ + @Test + public void contentTypeTest() { + // TODO: test contentType + } + + /** + * Test the property 'contentLength' + */ + @Test + public void contentLengthTest() { + // TODO: test contentLength + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookNewContactPayloadTest.java b/src/test/java/com/mailslurp/models/WebhookNewContactPayloadTest.java new file mode 100644 index 000000000..1eb8335b7 --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookNewContactPayloadTest.java @@ -0,0 +1,167 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookNewContactPayload + */ +public class WebhookNewContactPayloadTest { + private final WebhookNewContactPayload model = new WebhookNewContactPayload(); + + /** + * Model tests for WebhookNewContactPayload + */ + @Test + public void testWebhookNewContactPayload() { + // TODO: test WebhookNewContactPayload + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'webhookId' + */ + @Test + public void webhookIdTest() { + // TODO: test webhookId + } + + /** + * Test the property 'webhookName' + */ + @Test + public void webhookNameTest() { + // TODO: test webhookName + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'contactId' + */ + @Test + public void contactIdTest() { + // TODO: test contactId + } + + /** + * Test the property 'groupId' + */ + @Test + public void groupIdTest() { + // TODO: test groupId + } + + /** + * Test the property 'firstName' + */ + @Test + public void firstNameTest() { + // TODO: test firstName + } + + /** + * Test the property 'lastName' + */ + @Test + public void lastNameTest() { + // TODO: test lastName + } + + /** + * Test the property 'company' + */ + @Test + public void companyTest() { + // TODO: test company + } + + /** + * Test the property 'primaryEmailAddress' + */ + @Test + public void primaryEmailAddressTest() { + // TODO: test primaryEmailAddress + } + + /** + * Test the property 'emailAddresses' + */ + @Test + public void emailAddressesTest() { + // TODO: test emailAddresses + } + + /** + * Test the property 'tags' + */ + @Test + public void tagsTest() { + // TODO: test tags + } + + /** + * Test the property 'metaData' + */ + @Test + public void metaDataTest() { + // TODO: test metaData + } + + /** + * Test the property 'optOut' + */ + @Test + public void optOutTest() { + // TODO: test optOut + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookNewEmailPayloadTest.java b/src/test/java/com/mailslurp/models/WebhookNewEmailPayloadTest.java new file mode 100644 index 000000000..a8ff2a733 --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookNewEmailPayloadTest.java @@ -0,0 +1,160 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.AttachmentMetaData; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookNewEmailPayload + */ +public class WebhookNewEmailPayloadTest { + private final WebhookNewEmailPayload model = new WebhookNewEmailPayload(); + + /** + * Model tests for WebhookNewEmailPayload + */ + @Test + public void testWebhookNewEmailPayload() { + // TODO: test WebhookNewEmailPayload + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'webhookId' + */ + @Test + public void webhookIdTest() { + // TODO: test webhookId + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'webhookName' + */ + @Test + public void webhookNameTest() { + // TODO: test webhookName + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'domainId' + */ + @Test + public void domainIdTest() { + // TODO: test domainId + } + + /** + * Test the property 'emailId' + */ + @Test + public void emailIdTest() { + // TODO: test emailId + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'to' + */ + @Test + public void toTest() { + // TODO: test to + } + + /** + * Test the property 'from' + */ + @Test + public void fromTest() { + // TODO: test from + } + + /** + * Test the property 'cc' + */ + @Test + public void ccTest() { + // TODO: test cc + } + + /** + * Test the property 'bcc' + */ + @Test + public void bccTest() { + // TODO: test bcc + } + + /** + * Test the property 'subject' + */ + @Test + public void subjectTest() { + // TODO: test subject + } + + /** + * Test the property 'attachmentMetaDatas' + */ + @Test + public void attachmentMetaDatasTest() { + // TODO: test attachmentMetaDatas + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookNewSmsPayloadTest.java b/src/test/java/com/mailslurp/models/WebhookNewSmsPayloadTest.java new file mode 100644 index 000000000..e65b541b7 --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookNewSmsPayloadTest.java @@ -0,0 +1,132 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookNewSmsPayload + */ +public class WebhookNewSmsPayloadTest { + private final WebhookNewSmsPayload model = new WebhookNewSmsPayload(); + + /** + * Model tests for WebhookNewSmsPayload + */ + @Test + public void testWebhookNewSmsPayload() { + // TODO: test WebhookNewSmsPayload + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'webhookId' + */ + @Test + public void webhookIdTest() { + // TODO: test webhookId + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'webhookName' + */ + @Test + public void webhookNameTest() { + // TODO: test webhookName + } + + /** + * Test the property 'smsId' + */ + @Test + public void smsIdTest() { + // TODO: test smsId + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'phoneNumber' + */ + @Test + public void phoneNumberTest() { + // TODO: test phoneNumber + } + + /** + * Test the property 'toNumber' + */ + @Test + public void toNumberTest() { + // TODO: test toNumber + } + + /** + * Test the property 'fromNumber' + */ + @Test + public void fromNumberTest() { + // TODO: test fromNumber + } + + /** + * Test the property 'body' + */ + @Test + public void bodyTest() { + // TODO: test body + } + + /** + * Test the property 'read' + */ + @Test + public void readTest() { + // TODO: test read + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookProjectionTest.java b/src/test/java/com/mailslurp/models/WebhookProjectionTest.java new file mode 100644 index 000000000..7df7944cd --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookProjectionTest.java @@ -0,0 +1,108 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookProjection + */ +public class WebhookProjectionTest { + private final WebhookProjection model = new WebhookProjection(); + + /** + * Model tests for WebhookProjection + */ + @Test + public void testWebhookProjection() { + // TODO: test WebhookProjection + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'eventName' + */ + @Test + public void eventNameTest() { + // TODO: test eventName + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'phoneNumberId' + */ + @Test + public void phoneNumberIdTest() { + // TODO: test phoneNumberId + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookRedriveResultTest.java b/src/test/java/com/mailslurp/models/WebhookRedriveResultTest.java new file mode 100644 index 000000000..01e74229b --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookRedriveResultTest.java @@ -0,0 +1,68 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookRedriveResult + */ +public class WebhookRedriveResultTest { + private final WebhookRedriveResult model = new WebhookRedriveResult(); + + /** + * Model tests for WebhookRedriveResult + */ + @Test + public void testWebhookRedriveResult() { + // TODO: test WebhookRedriveResult + } + + /** + * Test the property 'webhookResultId' + */ + @Test + public void webhookResultIdTest() { + // TODO: test webhookResultId + } + + /** + * Test the property 'success' + */ + @Test + public void successTest() { + // TODO: test success + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookResultDtoTest.java b/src/test/java/com/mailslurp/models/WebhookResultDtoTest.java new file mode 100644 index 000000000..ddfb052f8 --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookResultDtoTest.java @@ -0,0 +1,173 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.UUID; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookResultDto + */ +public class WebhookResultDtoTest { + private final WebhookResultDto model = new WebhookResultDto(); + + /** + * Model tests for WebhookResultDto + */ + @Test + public void testWebhookResultDto() { + // TODO: test WebhookResultDto + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'inboxId' + */ + @Test + public void inboxIdTest() { + // TODO: test inboxId + } + + /** + * Test the property 'webhookId' + */ + @Test + public void webhookIdTest() { + // TODO: test webhookId + } + + /** + * Test the property 'webhookUrl' + */ + @Test + public void webhookUrlTest() { + // TODO: test webhookUrl + } + + /** + * Test the property 'messageId' + */ + @Test + public void messageIdTest() { + // TODO: test messageId + } + + /** + * Test the property 'redriveId' + */ + @Test + public void redriveIdTest() { + // TODO: test redriveId + } + + /** + * Test the property 'httpMethod' + */ + @Test + public void httpMethodTest() { + // TODO: test httpMethod + } + + /** + * Test the property 'webhookEvent' + */ + @Test + public void webhookEventTest() { + // TODO: test webhookEvent + } + + /** + * Test the property 'responseStatus' + */ + @Test + public void responseStatusTest() { + // TODO: test responseStatus + } + + /** + * Test the property 'responseTimeMillis' + */ + @Test + public void responseTimeMillisTest() { + // TODO: test responseTimeMillis + } + + /** + * Test the property 'responseBodyExtract' + */ + @Test + public void responseBodyExtractTest() { + // TODO: test responseBodyExtract + } + + /** + * Test the property 'resultType' + */ + @Test + public void resultTypeTest() { + // TODO: test resultType + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + + /** + * Test the property 'seen' + */ + @Test + public void seenTest() { + // TODO: test seen + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookTestRequestTest.java b/src/test/java/com/mailslurp/models/WebhookTestRequestTest.java new file mode 100644 index 000000000..10ea998df --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookTestRequestTest.java @@ -0,0 +1,77 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookTestRequest + */ +public class WebhookTestRequestTest { + private final WebhookTestRequest model = new WebhookTestRequest(); + + /** + * Model tests for WebhookTestRequest + */ + @Test + public void testWebhookTestRequest() { + // TODO: test WebhookTestRequest + } + + /** + * Test the property 'url' + */ + @Test + public void urlTest() { + // TODO: test url + } + + /** + * Test the property 'method' + */ + @Test + public void methodTest() { + // TODO: test method + } + + /** + * Test the property 'headers' + */ + @Test + public void headersTest() { + // TODO: test headers + } + + /** + * Test the property 'payload' + */ + @Test + public void payloadTest() { + // TODO: test payload + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookTestResponseTest.java b/src/test/java/com/mailslurp/models/WebhookTestResponseTest.java new file mode 100644 index 000000000..6a659d0c9 --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookTestResponseTest.java @@ -0,0 +1,59 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookTestResponse + */ +public class WebhookTestResponseTest { + private final WebhookTestResponse model = new WebhookTestResponse(); + + /** + * Model tests for WebhookTestResponse + */ + @Test + public void testWebhookTestResponse() { + // TODO: test WebhookTestResponse + } + + /** + * Test the property 'statusCode' + */ + @Test + public void statusCodeTest() { + // TODO: test statusCode + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + +} diff --git a/src/test/java/com/mailslurp/models/WebhookTestResultTest.java b/src/test/java/com/mailslurp/models/WebhookTestResultTest.java new file mode 100644 index 000000000..9f14210ba --- /dev/null +++ b/src/test/java/com/mailslurp/models/WebhookTestResultTest.java @@ -0,0 +1,69 @@ +/* + * MailSlurp API + * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository + * + * The version of the OpenAPI document: 6.5.2 + * Contact: contact@mailslurp.dev + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.mailslurp.models; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.mailslurp.models.WebhookTestRequest; +import com.mailslurp.models.WebhookTestResponse; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + + +/** + * Model tests for WebhookTestResult + */ +public class WebhookTestResultTest { + private final WebhookTestResult model = new WebhookTestResult(); + + /** + * Model tests for WebhookTestResult + */ + @Test + public void testWebhookTestResult() { + // TODO: test WebhookTestResult + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'response' + */ + @Test + public void responseTest() { + // TODO: test response + } + + /** + * Test the property 'request' + */ + @Test + public void requestTest() { + // TODO: test request + } + +}